See <https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/1700/display/redirect?page=changes>
Changes: [dpcollins] [BEAM-12882] - fix test that is flaky when jenkins is overloaded [noreply] [BEAM-12885] Enable NeedsRunner Tests for Samza Portable Runner (#15512) [noreply] [BEAM-12100][BEAM-10379][BEAM-9514][BEAM-12647][BEAM-12099] [noreply] [BEAM-12543] Fix DataFrrame typo (#15509) [noreply] [BEAM-12794] Remove obsolete uses of sys.exc_info. (#15507) [noreply] [BEAM-11666] flake on RecordingManagerTest (#15118) [kawaigin] [BEAM-10708] Introspect beam_sql output [noreply] Minor: Restore "Bugfix" section in CHANGES.md (#15516) [Kyle Weaver] [BEAM-10459] Unignore numeric aggregation tests. ------------------------------------------ [...truncated 97.34 KB...] > Task > :sdks:python:test-suites:direct:xlang:validatesCrossLanguageRunnerPythonUsingSql >>> RUNNING integration tests with pipeline options: --runner=PortableRunner >>> --job_endpoint=localhost:40681 --environment_cache_millis=10000 >>> --experiments=beam_fn_api >>> pytest options: >>> collect markers: -m=xlang_sql_expansion_service ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-4.6.11, py-1.10.0, pluggy-0.13.1 rootdir: <https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/ws/src/sdks/python,> inifile: pytest.ini plugins: xdist-1.34.0, timeout-1.4.2, forked-1.3.0, requests-mock-1.9.3 timeout: 600.0s timeout method: signal timeout func_only: False collected 5000 items / 4991 deselected / 9 selected apache_beam/transforms/sql_test.py ...FF.... [100%] =================================== FAILURES =================================== __________________________ SqlTransformTest.test_map ___________________________ self = <apache_beam.transforms.sql_test.SqlTransformTest testMethod=test_map> def test_map(self): with TestPipeline() as p: out = ( p | beam.Create([ Shopper('bob', { 'bananas': 6, 'cherries': 3 }), Shopper('alice', { 'apples': 2, 'bananas': 3 }) ]).with_output_types(Shopper) | SqlTransform("SELECT * FROM PCOLLECTION WHERE shopper = 'alice'")) > assert_that(out, equal_to([('alice', {'apples': 2, 'bananas': 3})])) apache_beam/transforms/sql_test.py:190: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ apache_beam/pipeline.py:590: in __exit__ self.result = self.run() apache_beam/testing/test_pipeline.py:116: in run state = result.wait_until_finish() apache_beam/runners/portability/portable_runner.py:600: in wait_until_finish raise self._runtime_exception apache_beam/runners/portability/portable_runner.py:606: in _observe_state for state_response in self._state_stream: ../../build/gradleenv/1922375555/lib/python3.6/site-packages/grpc/_channel.py:426: in __next__ return self._next() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.DEADLINE_EXCEEDED details = "Deadline Exc....1:40681","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"Deadline Exceeded","grpc_status":4}" > def _next(self): with self._state.condition: if self._state.code is None: event_handler = _event_handler(self._state, self._response_deserializer) self._state.due.add(cygrpc.OperationType.receive_message) operating = self._call.operate( (cygrpc.ReceiveMessageOperation(_EMPTY_FLAGS),), event_handler) if not operating: self._state.due.remove(cygrpc.OperationType.receive_message) elif self._state.code is grpc.StatusCode.OK: raise StopIteration() else: raise self def _response_ready(): return (self._state.response is not None or (cygrpc.OperationType.receive_message not in self._state.due and self._state.code is not None)) _common.wait(self._state.condition.wait, _response_ready) if self._state.response is not None: response = self._state.response self._state.response = None return response elif cygrpc.OperationType.receive_message not in self._state.due: if self._state.code is grpc.StatusCode.OK: raise StopIteration() elif self._state.code is not None: > raise self E grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with: E status = StatusCode.DEADLINE_EXCEEDED E details = "Deadline Exceeded" E debug_error_string = "{"created":"@1631751604.703032405","description":"Error received from peer ipv4:127.0.0.1:40681","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"Deadline Exceeded","grpc_status":4}" E > ../../build/gradleenv/1922375555/lib/python3.6/site-packages/grpc/_channel.py:826: _MultiThreadedRendezvous ----------------------------- Captured stderr call ----------------------------- WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter. WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter. WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter. ------------------------------ Captured log call ------------------------------- WARNING root:environments.py:374 Make sure that locally built Python SDK docker image has Python 3.6 interpreter. WARNING root:environments.py:374 Make sure that locally built Python SDK docker image has Python 3.6 interpreter. WARNING root:portable_runner.py:570 Make sure that locally built Python SDK docker image has Python 3.6 interpreter. ________________________ SqlTransformTest.test_project _________________________ self = <apache_beam.transforms.sql_test.SqlTransformTest testMethod=test_project> def test_project(self): with TestPipeline() as p: out = ( p | beam.Create([SimpleRow(1, "foo", 3.14)]) | SqlTransform("SELECT `id`, `flt` FROM PCOLLECTION")) > assert_that(out, equal_to([(1, 3.14)])) apache_beam/transforms/sql_test.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ apache_beam/pipeline.py:590: in __exit__ self.result = self.run() apache_beam/testing/test_pipeline.py:116: in run state = result.wait_until_finish() apache_beam/runners/portability/portable_runner.py:600: in wait_until_finish raise self._runtime_exception apache_beam/runners/portability/portable_runner.py:606: in _observe_state for state_response in self._state_stream: ../../build/gradleenv/1922375555/lib/python3.6/site-packages/grpc/_channel.py:426: in __next__ return self._next() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.DEADLINE_EXCEEDED details = "Deadline Exc....1:40681","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"Deadline Exceeded","grpc_status":4}" > def _next(self): with self._state.condition: if self._state.code is None: event_handler = _event_handler(self._state, self._response_deserializer) self._state.due.add(cygrpc.OperationType.receive_message) operating = self._call.operate( (cygrpc.ReceiveMessageOperation(_EMPTY_FLAGS),), event_handler) if not operating: self._state.due.remove(cygrpc.OperationType.receive_message) elif self._state.code is grpc.StatusCode.OK: raise StopIteration() else: raise self def _response_ready(): return (self._state.response is not None or (cygrpc.OperationType.receive_message not in self._state.due and self._state.code is not None)) _common.wait(self._state.condition.wait, _response_ready) if self._state.response is not None: response = self._state.response self._state.response = None return response elif cygrpc.OperationType.receive_message not in self._state.due: if self._state.code is grpc.StatusCode.OK: raise StopIteration() elif self._state.code is not None: > raise self E grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with: E status = StatusCode.DEADLINE_EXCEEDED E details = "Deadline Exceeded" E debug_error_string = "{"created":"@1631751677.079106957","description":"Error received from peer ipv4:127.0.0.1:40681","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"Deadline Exceeded","grpc_status":4}" E > ../../build/gradleenv/1922375555/lib/python3.6/site-packages/grpc/_channel.py:826: _MultiThreadedRendezvous ----------------------------- Captured stderr call ----------------------------- WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter. WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter. WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter. ------------------------------ Captured log call ------------------------------- WARNING root:environments.py:374 Make sure that locally built Python SDK docker image has Python 3.6 interpreter. WARNING root:environments.py:374 Make sure that locally built Python SDK docker image has Python 3.6 interpreter. WARNING root:portable_runner.py:570 Make sure that locally built Python SDK docker image has Python 3.6 interpreter. - generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/ws/src/sdks/python/pytest_xlangSqlValidateRunner.xml> - ============ 2 failed, 7 passed, 4991 deselected in 419.31 seconds ============= Exception in thread wait_until_finish_read: Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/ws/src/sdks/python/apache_beam/runners/portability/portable_runner.py",> line 565, in read_messages for message in self._message_stream: File "<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/ws/src/build/gradleenv/1922375555/lib/python3.6/site-packages/grpc/_channel.py",> line 426, in __next__ return self._next() File "<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/ws/src/build/gradleenv/1922375555/lib/python3.6/site-packages/grpc/_channel.py",> line 826, in _next raise self grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.DEADLINE_EXCEEDED details = "Deadline Exceeded" debug_error_string = "{"created":"@1631751604.705057393","description":"Error received from peer ipv4:127.0.0.1:40681","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"Deadline Exceeded","grpc_status":4}" > Exception in thread wait_until_finish_read: Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/ws/src/sdks/python/apache_beam/runners/portability/portable_runner.py",> line 565, in read_messages for message in self._message_stream: File "<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/ws/src/build/gradleenv/1922375555/lib/python3.6/site-packages/grpc/_channel.py",> line 426, in __next__ return self._next() File "<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/ws/src/build/gradleenv/1922375555/lib/python3.6/site-packages/grpc/_channel.py",> line 826, in _next raise self grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.DEADLINE_EXCEEDED details = "Deadline Exceeded" debug_error_string = "{"created":"@1631751677.080084573","description":"Error received from peer ipv4:127.0.0.1:40681","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"Deadline Exceeded","grpc_status":4}" > > Task > :sdks:python:test-suites:direct:xlang:validatesCrossLanguageRunnerPythonUsingSql > FAILED > Task :sdks:python:test-suites:direct:xlang:validatesCrossLanguageRunnerCleanup Stopping expansion service pid: 8014. Stopping expansion service pid: 8018. > Task :sdks:python:test-suites:direct:xlang:fnApiJobServerCleanup Killing process at 17586 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':sdks:python:test-suites:direct:xlang:validatesCrossLanguageRunnerPythonUsingSql'. > Process 'command 'sh'' finished with non-zero exit value 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 35m 59s 163 actionable tasks: 122 executed, 37 from cache, 4 up-to-date Publishing build scan... https://gradle.com/s/7pwivemr7iobs Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
