See 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/7749/display/redirect>

Changes:


------------------------------------------
[...truncated 384.39 KB...]
py39: commands_pre[0]> python --version
Python 3.9.10
py39: commands_pre[1]> pip --version
pip 23.2.1 from 
<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/py39/lib/python3.9/site-packages/pip>
 (python 3.9)
py39: commands_pre[2]> pip check
No broken requirements found.
py39: commands_pre[3]> 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>
py39: commands[0]> python apache_beam/examples/complete/autocomplete_test.py
s.
----------------------------------------------------------------------
Ran 2 tests in 0.876s

OK (skipped=1)
py39: commands[1]> 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_pytest.sh>
 py39 ''"'"'--ignore=apache_beam/dataframe/ --ignore=apache_beam/examples/ 
--ignore=apache_beam/runners/ --ignore=apache_beam/transforms/'"'"''
pytest_args: 
posargs: --ignore=apache_beam/dataframe/ --ignore=apache_beam/examples/ 
--ignore=apache_beam/runners/ --ignore=apache_beam/transforms/
============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-7.4.3, pluggy-1.3.0
cachedir: target/.tox-py39/py39/.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: timeout-2.2.0, xdist-3.3.1, requests-mock-1.11.0, hypothesis-6.88.1
timeout: 600.0s
timeout method: signal
timeout func_only: False
created: 6/6 workers
6 workers [3568 items]

..........................s............................................. [  2%]
............ss.s.ss.ss.ss.ss.ss.s.ss.ss.ss.s............................ [  4%]
........................................................................ [  6%]
........................................................................ [  8%]
..............................................ssssss.sssss..ssssssssssss [ 10%]
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 12%]
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 14%]
ssssssssssssssssssss...s.s.ssssssssssss.ssssssssssssss.sssssssssss.ss.ss [ 16%]
sssssssssssssssssssssssssssss..........s...ssssssssss...........ssssssss [ 18%]
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.sssssssss [ 20%]
ssss...........................................................sssssssss [ 22%]
ssssssssssssssssssssss.................s.......s.................s...... [ 24%]
.......s........................s...............................s....... [ 26%]
..............................................s......................... [ 28%]
.........................................s.............................. [ 30%]
..................sssssssssssssss....................................... [ 32%]
........................................................................ [ 34%]
........................................................................ [ 36%]
........................................s............................... [ 38%]
...............................................................s........ [ 40%]
....s................................................................... [ 42%]
........................................................................ [ 44%]
........................................................................ [ 46%]
........................................................................ [ 48%]
........................................................................ [ 50%]
......................................................................... [ 52%]
........................................................................ [ 54%]
........................................................................ [ 56%]
........................................................................ [ 58%]
........................................................................ [ 60%]
........................................................................ [ 62%]
........................................................................ [ 64%]
........................................................................ [ 66%]
........................................................................ [ 68%]
..................................ssss.................................. [ 70%]
...............................................................s........ [ 72%]
................................ssss.................................... [ 74%]
..s..s.................................................................. [ 76%]
..s.....ssssss..s..s.................................................... [ 78%]
........................................................................ [ 80%]
.....................................................ss.s.ssss...sss.sss [ 82%]
.s..s.sss..s.ss..ss.s.ss.ss.s.s.s.s.ss.s.ss.s.s.s.s..sss.sss..s.ssss...s [ 84%]
s.ssss....ssss..sss.sss..ss..sss...ssss....ss......s....sssssss.ssssssss [ 86%]
ssssssss........................ss...................................... [ 88%]
........................................................................ [ 90%]
........................................................................ [ 92%]
........................................................................ [ 94%]
........................ssss...................................sssssssss [ 96%]
........................................................................ [ 98%]
.......................................                                  [100%]
=============================== warnings summary ===============================
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/target/.tox-py39/py39/lib/python3.9/site-packages/apache_beam/io/range_trackers.py>:404:
 DeprecationWarning: invalid escape sequence '\ΓΈ'
    return position.decode(encoding='unicode_escape', errors='replace')

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/target/.tox-py39/py39/lib/python3.9/site-packages/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/target/.tox-py39/py39/lib/python3.9/site-packages/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/options/pipeline_options_test.py: 24 warnings
apache_beam/testing/test_pipeline_test.py: 1 warning
  /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_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/py39/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))

-- 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.xml>
 -
========== 2998 passed, 587 skipped, 66 warnings in 72.42s (0:01:12) ===========
============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-7.4.3, pluggy-1.3.0
cachedir: target/.tox-py39/py39/.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: timeout-2.2.0, xdist-3.3.1, requests-mock-1.11.0, hypothesis-6.88.1
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 3640 items / 3568 deselected / 17 skipped / 72 selected

apache_beam/coders/fast_coders_test.py ................................. [ 45%]
...                                                                      [ 50%]
apache_beam/coders/slow_coders_test.py ................................. [ 95%]
...                                                                      [100%]

- 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_no_xdist.xml>
 -
=============== 72 passed, 17 skipped, 3568 deselected in 5.32s ================
py39: 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>
  py39: OK (135.26=setup[49.52]+cmd[0.01,0.41,1.14,0.03,2.32,81.80,0.03] 
seconds)
  congratulations :) (135.46 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: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.

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

For more on this, please refer to 
https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.

BUILD FAILED in 26m 48s
22 actionable tasks: 21 executed, 1 from cache

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

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