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

Changes:


------------------------------------------
[...truncated 416.59 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.844s

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%]
..........s.s.ss.s.ss.ss.ss.s.ss.sss.ss.ss.............................. [  4%]
........................................................................ [  6%]
........................................................................ [  8%]
.........................................ssssss.sssss.ss.ss.ssssssssssss [ 10%]
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 12%]
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 14%]
ssssssssssssssss...s.s.sssssssssss.sssssssssssssssssssssssssssssssssssss [ 16%]
ssssssssssssssssssssss................s..ssssssssss...........ssssssssss [ 18%]
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.ss [ 20%]
ss.........................................sssssssssssssssssssssssssssss [ 22%]
ss.........................................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................................. [ 76%]
....................ssssssssssssssssssssssssssssssssssssssssssss.sssssss [ 78%]
sssssssssssssssssssssssssss.s...sssssssssssssssssssss.s.sssss........... [ 80%]
......................................................................... [ 82%]
........................................................................ [ 84%]
..................................................sss................... [ 86%]
...................................................ss................... [ 88%]
...................................s..s................................. [ 90%]
........................................................................ [ 92%]
...................................ssss.s..s............................ [ 94%]
...................ssssss.sss........................................... [ 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 77.92s (0:01:17) ===========
============================= 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.15s ================
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 (139.94=setup[48.99]+cmd[0.01,0.39,1.10,0.03,2.25,87.13,0.03] 
seconds)
  congratulations :) (140.14 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:py38:testPy38Cloud'.
> 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 27s
22 actionable tasks: 21 executed, 1 from cache

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

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