See <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/7549/display/redirect?page=changes>
Changes: [noreply] Merge pull request #27991: Refactor ConvertHelpers in "core" to not ------------------------------------------ [...truncated 492.79 KB...] apache_beam/yaml/yaml_transform_unit_test.py: 9 warnings <frozen importlib._bootstrap>:742: DeprecationWarning: BuiltinImporter.module_repr() is deprecated and slated for removal in Python 3.12 apache_beam/options/pipeline_options_test.py: 12 warnings <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/apache_beam/options/pipeline_options_test.py>:219: DeprecationWarning: assertDictContainsSubset is deprecated self.assertDictContainsSubset(expected, options.get_all_options()) apache_beam/options/pipeline_options_test.py: 12 warnings <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/apache_beam/options/pipeline_options_test.py>:205: DeprecationWarning: assertDictContainsSubset is deprecated self.assertDictContainsSubset(expected, options.get_all_options()) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/pytest_py310-cython.xml> - ========= 2954 passed, 499 skipped, 224 warnings in 110.86s (0:01:50) ========== ============================= test session starts ============================== platform linux -- Python 3.10.2, pytest-7.4.1, pluggy-1.3.0 cachedir: target/.tox-py310-cython/py310-cython/.pytest_cache rootdir: <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python> configfile: pytest.ini plugins: xdist-3.3.1, requests-mock-1.11.0, hypothesis-6.84.2, timeout-2.1.0 timeout: 600.0s timeout method: signal timeout func_only: False collected 3510 items / 3438 deselected / 18 skipped / 72 selected apache_beam/coders/fast_coders_test.py ................................. [ 45%] ... [ 50%] apache_beam/coders/slow_coders_test.py ................................. [ 95%] ... [100%] =============================== warnings summary =============================== target/.tox-py310-cython/py310-cython/lib/python3.10/site-packages/hdfs/config.py:28 <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/target/.tox-py310-cython/py310-cython/lib/python3.10/site-packages/hdfs/config.py>:28: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses from imp import load_source -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/pytest_py310-cython_no_xdist.xml> - ========== 72 passed, 18 skipped, 3438 deselected, 1 warning in 5.26s ========== py310-cython: commands_post[0]> bash <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/scripts/run_tox_cleanup.sh> .pkg_external_sdist_meta: _exit <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/target/.tox-py310-cython/.pkg_external/tmp/sdist-extract/apache-beam-2.51.0.dev0>> python <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/build/gradleenv/608272753/lib/python3.10/site-packages/pyproject_api/_backend.py> True setuptools.build_meta __legacy__ py310-cython: OK (595.29=setup[261.51]+cmd[0.00,0.38,1.03,0.03,209.37,2.39,120.53,0.05] seconds) congratulations :) (595.48 seconds) > Task :sdks:python:test-suites:tox:py310:preCommitPy310 > Task :sdks:python:test-suites:tox:py39:testPy39Cython ........................................................ [ 92%] .......ssss................................sssssssss.................... [ 94%] ...............s....s................................................... [ 96%] ........................................................................ [ 98%] ..................sssssssssss....................... [100%] =============================== warnings summary =============================== target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py:28 target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py:28 target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py:28 target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py:28 target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py:28 target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py:28 target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py:28 <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py>:28: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses from imp import load_source apache_beam/io/mongodbio_test.py: 10 warnings <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/range_trackers.py>:404: DeprecationWarning: invalid escape sequence '\ΓΈ' return position.decode(encoding='unicode_escape', errors='replace') apache_beam/io/fileio_test.py: 7 warnings apache_beam/io/textio_test.py: 2 warnings apache_beam/yaml/readme_test.py: 10 warnings apache_beam/yaml/yaml_transform_test.py: 1 warning <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/fileio.py>:605: BeamDeprecationWarning: options is deprecated since First stable release. References to <pipeline>.options will not be supported p.options.view_as(GoogleCloudOptions).temp_location or apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:173: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. self.assertTrue(src_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:175: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. dest_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:179: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. self.assertTrue(src_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:180: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. self.assertTrue(dest_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_paths_error apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io.py>:291: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. for entry in self.list_prefix(src): apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:293: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. src_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:295: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. dest_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:306: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. src_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree apache_beam/io/aws/s3io_test.py::TestS3IO::test_copy_tree <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:308: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. dest_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/io/aws/s3io_test.py::TestS3IO::test_delete <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:442: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. files = self.aws.list_prefix(self.TEST_DATA_PATH) apache_beam/io/aws/s3io_test.py::TestS3IO::test_delete_paths apache_beam/io/aws/s3io_test.py::TestS3IO::test_delete_tree <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io.py>:439: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. paths = self.list_prefix(root) apache_beam/io/aws/s3io_test.py::TestS3IO::test_list_prefix apache_beam/io/aws/s3io_test.py::TestS3IO::test_list_prefix apache_beam/io/aws/s3io_test.py::TestS3IO::test_list_prefix <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:788: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. set(self.aws.list_prefix(file_pattern).items()), apache_beam/io/aws/s3io_test.py::TestS3IO::test_rename <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:323: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. self.assertTrue(src_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/io/aws/s3io_test.py::TestS3IO::test_rename <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:325: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. dest_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/io/aws/s3io_test.py::TestS3IO::test_rename <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:329: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. self.assertFalse(src_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/io/aws/s3io_test.py::TestS3IO::test_rename <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/io/aws/s3io_test.py>:330: BeamDeprecationWarning: list_prefix is deprecated since 2.45.0. Use list_files instead. self.assertTrue(dest_file_name in self.aws.list_prefix(self.TEST_DATA_PATH)) apache_beam/ml/inference/base_test.py::RunInferenceBaseTest::test_run_inference_side_input_in_batch_multi_process_shared apache_beam/utils/multi_process_shared_test.py::MultiProcessSharedTest::test_call_illegal_attr apache_beam/utils/multi_process_shared_test.py::MultiProcessSharedTest::test_release_always_proxy <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/_pytest/threadexception.py>:73: PytestUnhandledThreadExceptionWarning: Exception in thread MainProcess Traceback (most recent call last): File "/usr/lib/python3.9/multiprocessing/managers.py", line 245, in serve_client request = recv() File "/usr/lib/python3.9/multiprocessing/connection.py", line 255, in recv buf = self._recv_bytes() File "/usr/lib/python3.9/multiprocessing/connection.py", line 419, in _recv_bytes buf = self._recv(4) File "/usr/lib/python3.9/multiprocessing/connection.py", line 388, in _recv raise EOFError EOFError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/usr/lib/python3.9/threading.py", line 910, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.9/multiprocessing/managers.py", line 212, in handle_request result = func(c, *args, **kwds) File "/usr/lib/python3.9/multiprocessing/managers.py", line 413, in accept_connection self.serve_client(c) File "/usr/lib/python3.9/multiprocessing/managers.py", line 293, in serve_client sys.exit(0) SystemExit: 0 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) apache_beam/testing/test_pipeline_test.py: 1 warning apache_beam/options/pipeline_options_test.py: 24 warnings /usr/lib/python3.9/unittest/case.py:1140: DeprecationWarning: assertDictContainsSubset is deprecated warnings.warn('assertDictContainsSubset is deprecated', apache_beam/ml/inference/base_test.py::RunInferenceBaseTest::test_run_inference_with_iterable_side_input <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/ml/inference/base_test.py>:934: BeamDeprecationWarning: options is deprecated since First stable release. References to <pipeline>.options will not be supported test_pipeline.options.view_as(StandardOptions).streaming = True apache_beam/ml/inference/base_test.py::RunInferenceBaseTest::test_run_inference_with_iterable_side_input_multi_process_shared <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/ml/inference/base_test.py>:958: BeamDeprecationWarning: options is deprecated since First stable release. References to <pipeline>.options will not be supported test_pipeline.options.view_as(StandardOptions).streaming = True -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/pytest_py39-cython.xml> - ========== 2954 passed, 499 skipped, 95 warnings in 93.97s (0:01:33) =========== ============================= test session starts ============================== platform linux -- Python 3.9.10, pytest-7.4.1, pluggy-1.3.0 cachedir: target/.tox-py39-cython/py39-cython/.pytest_cache rootdir: <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python> configfile: pytest.ini plugins: xdist-3.3.1, requests-mock-1.11.0, hypothesis-6.84.2, timeout-2.1.0 timeout: 600.0s timeout method: signal timeout func_only: False collected 3510 items / 3438 deselected / 18 skipped / 72 selected apache_beam/coders/fast_coders_test.py ................................. [ 45%] ... [ 50%] apache_beam/coders/slow_coders_test.py ................................. [ 95%] ... [100%] =============================== warnings summary =============================== target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py:28 <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py>:28: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses from imp import load_source -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/pytest_py39-cython_no_xdist.xml> - ========== 72 passed, 18 skipped, 3438 deselected, 1 warning in 4.70s ========== py39-cython: commands_post[0]> bash <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/scripts/run_tox_cleanup.sh> .pkg_external_sdist_meta: _exit <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-cython/.pkg_external/tmp/sdist-extract/apache-beam-2.51.0.dev0>> python <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/build/gradleenv/-1227304281/lib/python3.9/site-packages/pyproject_api/_backend.py> True setuptools.build_meta __legacy__ py39-cython: OK (599.58=setup[270.60]+cmd[0.01,0.63,1.25,0.03,220.29,2.93,103.78,0.06] seconds) congratulations :) (599.78 seconds) > Task :sdks:python:test-suites:tox:py39:preCommitPy39 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':sdks:python:test-suites:tox:py311:testPy311Cloud'. > 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. * Get more help at https://help.gradle.org BUILD FAILED in 15m 41s 23 actionable tasks: 17 executed, 4 from cache, 2 up-to-date Publishing build scan... https://ge.apache.org/s/qugmiqcldroes 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]
