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

Changes:


------------------------------------------
[...truncated 383.37 KB...]
py39: freeze> target/.tox-py39/py39/bin/python 
<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/bin/pip>
 freeze
py39: apache-beam @ 
file://<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/build/apache_beam-2.52.0.dev0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl>#sha256=2ca49a007bdab7ff23c433fdc611d61cb90406ad2419e7065dfac247cf202743,attrs==23.1.0,certifi==2023.7.22,cffi==1.16.0,charset-normalizer==3.3.1,cloudpickle==2.2.1,crcmod==1.7,cryptography==41.0.5,deprecation==2.1.0,dill==0.3.1.1,dnspython==2.4.2,docker==6.1.3,docopt==0.6.2,exceptiongroup==1.1.3,execnet==2.0.2,fastavro==1.9.0,fasteners==0.19,freezegun==1.2.2,greenlet==3.0.1,grpcio==1.59.0,hdfs==2.7.3,httplib2==0.22.0,hypothesis==6.88.1,idna==3.4,iniconfig==2.0.0,joblib==1.3.2,Js2Py==0.74,jsonschema==4.19.1,jsonschema-specifications==2023.7.1,mock==5.1.0,numpy==1.24.4,objsize==0.6.1,orjson==3.9.10,packaging==23.2,pandas==1.5.3,parameterized==0.9.0,pluggy==1.3.0,proto-plus==1.23.0rc1,protobuf==4.24.4,psycopg2-binary==2.9.9,pyarrow==11.0.0,pycparser==2.21,pydot==1.4.2,PyHamcrest==2.1.0,pyjsparser==2.7.1,pymongo==4.5.0,PyMySQL==1.1.0,pyparsing==3.1.1,pytest==7.4.3,pytest-timeout==2.2.0,pytest-xdist==3.3.1,python-dateutil==2.8.2,pytz==2023.3.post1,PyYAML==6.0.1,referencing==0.30.2,regex==2023.10.3,requests==2.31.0,requests-mock==1.11.0,rpds-py==0.10.6,scikit-learn==1.3.2,scipy==1.11.3,six==1.16.0,sortedcontainers==2.4.0,SQLAlchemy==1.4.50,tenacity==8.2.3,testcontainers==3.7.1,threadpoolctl==3.2.0,tomli==2.0.1,typing_extensions==4.8.0,tzlocal==5.2,urllib3==2.0.7,websocket-client==1.6.4,wrapt==1.16.0rc1,zstandard==0.21.0
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.833s

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%]
......ssssssss.sss..ss.s.ss.s.ss.s.s.................................... [  4%]
........................................................................ [  6%]
........................................................................ [  8%]
..................................ss.ss.ss....sssss.ssssssssssssssssssss [ 10%]
sssssssssssss.s.sss.ssss.sssssssssssssssssssssssssssssssssssssssssssssss [ 12%]
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 14%]
ssssssssssssssss...s.s.sssssssssssssssssssssssssssssssssssssssssssssssss [ 16%]
sssssssssssssssssssss..............s...ssssssssss...........ssssssssssss [ 18%]
ssssssssssssssssssssssssssssssssssssssssss.sssssssssssssssssssssssssssss [ 20%]
.........................................sssssssssssssssssssssssssssssss [ 22%]
................................................s...........s....s...... [ 24%]
..........s......................s..........................s........... [ 26%]
...............................................s........................ [ 28%]
.............................................s.......................... [ 30%]
.....................sssssssss.ssssss................................... [ 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%]
.................ssssssssssssssssssssssssssssssssssssssssssssssssss.ssss [ 78%]
ss.ssssssssssssssss..sssssss....sssssssssssssssssssssssssss............. [ 80%]
........................................................................ [ 82%]
........................................................................ [ 84%]
..................................................sss................... [ 86%]
.................................................ss..................... [ 88%]
...................................s..s................................. [ 90%]
........................................................................ [ 92%]
...................................ssss.....................sssssssss... [ 94%]
........................................................................ [ 96%]
........................................................................ [ 98%]
...............s..s.....................                                 [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 82.23s (0:01:22) ===========
============================= 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.01s ================
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 (143.43=setup[48.62]+cmd[0.01,0.39,1.07,0.03,2.21,91.08,0.03] 
seconds)
  congratulations :) (143.63 seconds)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py39:testPy39Cloud'.
> 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 25m 14s
22 actionable tasks: 21 executed, 1 from cache

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

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