See 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/7605/display/redirect?page=changes>

Changes:

[noreply] Merge pull request #28262: [runners-flink] #28258 Wait infinitely if 
the


------------------------------------------
[...truncated 498.13 KB...]
  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>
 -
========= 2975 passed, 501 skipped, 103 warnings in 114.96s (0:01:54) ==========
============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-7.4.2, 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: hypothesis-6.86.2, xdist-3.3.1, requests-mock-1.11.0, timeout-2.1.0
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 3533 items / 3461 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, 3461 deselected, 1 warning in 5.09s ==========
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.52.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 
(635.87=setup[285.70]+cmd[0.01,0.41,1.10,0.03,221.27,2.83,124.45,0.06] seconds)
  congratulations :) (636.08 seconds)

> Task :sdks:python:test-suites:tox:py39:preCommitPy39

> Task :sdks:python:test-suites:tox:py310:testPy310Cython
..s..s..........................sssssssssss........................... [ 99%]
....                                                                     [100%]
=============================== warnings summary ===============================
target/.tox-py310-cython/py310-cython/lib/python3.10/site-packages/hdfs/config.py:28
target/.tox-py310-cython/py310-cython/lib/python3.10/site-packages/hdfs/config.py:28
target/.tox-py310-cython/py310-cython/lib/python3.10/site-packages/hdfs/config.py:28
target/.tox-py310-cython/py310-cython/lib/python3.10/site-packages/hdfs/config.py:28
target/.tox-py310-cython/py310-cython/lib/python3.10/site-packages/hdfs/config.py:28
target/.tox-py310-cython/py310-cython/lib/python3.10/site-packages/hdfs/config.py:28
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

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/py310/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: 18 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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/py310/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/testing/test_pipeline_test.py::TestPipelineTest::test_create_test_pipeline_options
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/apache_beam/testing/test_pipeline_test.py>:71:
 DeprecationWarning: assertDictContainsSubset is deprecated
    self.assertDictContainsSubset(

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/py310/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/testing/test_stream_test.py::TestStreamTest::test_basic_execution_with_service
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/apache_beam/runners/direct/test_stream_impl.py>:317:
 DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
    event_stream.setDaemon(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/py310/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

apache_beam/yaml/readme_test.py: 54 warnings
apache_beam/yaml/yaml_mapping_test.py: 36 warnings
apache_beam/yaml/yaml_transform_scope_test.py: 2 warnings
apache_beam/yaml/yaml_transform_test.py: 50 warnings
apache_beam/yaml/yaml_transform_unit_test.py: 9 warnings
apache_beam/yaml/yaml_udf_test.py: 15 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>
 -
========= 2975 passed, 501 skipped, 267 warnings in 128.75s (0:02:08) ==========
============================= test session starts ==============================
platform linux -- Python 3.10.2, pytest-7.4.2, 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: hypothesis-6.86.2, xdist-3.3.1, requests-mock-1.11.0, timeout-2.1.0
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 3533 items / 3461 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, 3461 deselected, 1 warning in 5.44s ==========
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.52.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 
(637.61=setup[281.06]+cmd[0.00,0.45,1.16,0.03,213.72,2.43,138.69,0.06] seconds)
  congratulations :) (637.80 seconds)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py310:testPy310Cloud'.
> 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 17m 5s
23 actionable tasks: 17 executed, 4 from cache, 2 up-to-date

Publishing build scan...
https://ge.apache.org/s/ebjlx3bnome72

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]

Reply via email to