You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ning Kang (Jira)" <ji...@apache.org> on 2021/04/16 02:53:00 UTC

[jira] [Updated] (BEAM-12179) PortableRunnerTestWithExternalEnv failing

     [ https://issues.apache.org/jira/browse/BEAM-12179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ning Kang updated BEAM-12179:
-----------------------------
    Description: 
The test seems to be failing on Ubuntu platform for multiple PRs.  An [example|https://github.com/apache/beam/pull/14558/checks?check_run_id=2358281557].

A similar issue in the past is BEAM-8646.

{code}
______________ PortableRunnerTestWithExternalEnv.test_assert_that ______________
[gw1] linux -- Python 3.8.9 /home/runner/work/beam/beam/sdks/python/target/.tox/py38/bin/python

self = <apache_beam.runners.portability.portable_runner_test.PortableRunnerTestWithExternalEnv testMethod=test_assert_that>

    def test_assert_that(self):
      # TODO: figure out a way for fn_api_runner to parse and raise the
      # underlying exception.
      with self.assertRaisesRegex(Exception, 'Failed assert'):
        with self.create_pipeline() as p:
>         assert_that(p | beam.Create(['a', 'b']), equal_to(['a']))
E         AssertionError: "Failed assert" does not match "<_MultiThreadedRendezvous of RPC that terminated with:
E         	status = StatusCode.DEADLINE_EXCEEDED
E         	details = "Deadline Exceeded"
E         	debug_error_string = "{"created":"@1618536797.894329055","description":"Error received from peer ipv6:[::1]:43041","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"Deadline Exceeded","grpc_status":4}"
E         >"

apache_beam/runners/portability/fn_api_runner/fn_runner_test.py:110: AssertionError
{code}


  was:
The test seems to be failing on Ubuntu platform for multiple PRs. 

A similar issue in the past is BEAM-8646.

{code}
______________ PortableRunnerTestWithExternalEnv.test_assert_that ______________
[gw1] linux -- Python 3.8.9 /home/runner/work/beam/beam/sdks/python/target/.tox/py38/bin/python

self = <apache_beam.runners.portability.portable_runner_test.PortableRunnerTestWithExternalEnv testMethod=test_assert_that>

    def test_assert_that(self):
      # TODO: figure out a way for fn_api_runner to parse and raise the
      # underlying exception.
      with self.assertRaisesRegex(Exception, 'Failed assert'):
        with self.create_pipeline() as p:
>         assert_that(p | beam.Create(['a', 'b']), equal_to(['a']))
E         AssertionError: "Failed assert" does not match "<_MultiThreadedRendezvous of RPC that terminated with:
E         	status = StatusCode.DEADLINE_EXCEEDED
E         	details = "Deadline Exceeded"
E         	debug_error_string = "{"created":"@1618536797.894329055","description":"Error received from peer ipv6:[::1]:43041","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"Deadline Exceeded","grpc_status":4}"
E         >"

apache_beam/runners/portability/fn_api_runner/fn_runner_test.py:110: AssertionError
{code}



> PortableRunnerTestWithExternalEnv failing
> -----------------------------------------
>
>                 Key: BEAM-12179
>                 URL: https://issues.apache.org/jira/browse/BEAM-12179
>             Project: Beam
>          Issue Type: Improvement
>          Components: test-failures
>            Reporter: Ning Kang
>            Priority: P2
>
> The test seems to be failing on Ubuntu platform for multiple PRs.  An [example|https://github.com/apache/beam/pull/14558/checks?check_run_id=2358281557].
> A similar issue in the past is BEAM-8646.
> {code}
> ______________ PortableRunnerTestWithExternalEnv.test_assert_that ______________
> [gw1] linux -- Python 3.8.9 /home/runner/work/beam/beam/sdks/python/target/.tox/py38/bin/python
> self = <apache_beam.runners.portability.portable_runner_test.PortableRunnerTestWithExternalEnv testMethod=test_assert_that>
>     def test_assert_that(self):
>       # TODO: figure out a way for fn_api_runner to parse and raise the
>       # underlying exception.
>       with self.assertRaisesRegex(Exception, 'Failed assert'):
>         with self.create_pipeline() as p:
> >         assert_that(p | beam.Create(['a', 'b']), equal_to(['a']))
> E         AssertionError: "Failed assert" does not match "<_MultiThreadedRendezvous of RPC that terminated with:
> E         	status = StatusCode.DEADLINE_EXCEEDED
> E         	details = "Deadline Exceeded"
> E         	debug_error_string = "{"created":"@1618536797.894329055","description":"Error received from peer ipv6:[::1]:43041","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"Deadline Exceeded","grpc_status":4}"
> E         >"
> apache_beam/runners/portability/fn_api_runner/fn_runner_test.py:110: AssertionError
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)