Ning Kang created BEAM-12179:
--------------------------------
Summary: 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
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}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)