See
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/7098/display/redirect>
Changes:
------------------------------------------
[...truncated 533.36 KB...]
self.assertDictContainsSubset(case['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>:230:
DeprecationWarning: assertDictContainsSubset is deprecated
self.assertDictContainsSubset(case['expected'], options.get_all_options())
apache_beam/yaml/readme_test.py: 24 warnings
apache_beam/yaml/yaml_transform_test.py: 27 warnings
<frozen importlib._bootstrap>:742: DeprecationWarning:
BuiltinImporter.module_repr() is deprecated and slated for removal in Python
3.12
-- 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>
-
========= 2722 passed, 469 skipped, 169 warnings in 126.12s (0:02:06) ==========
============================= test session starts ==============================
platform linux -- Python 3.10.2, pytest-7.3.1, pluggy-1.0.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.0, hypothesis-6.75.3, timeout-2.1.0, requests-mock-1.10.0
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 3254 items / 3182 deselected / 11 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:15
<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>:15:
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
target/.tox-py310-cython/py310-cython/lib/python3.10/site-packages/pkg_resources/__init__.py:121
<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/pkg_resources/__init__.py>:121:
DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
apache_beam/typehints/pandas_type_compatibility_test.py:67
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:67:
FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas
in a future version. Use pandas.Index with the appropriate dtype instead.
}).set_index(pd.Int64Index(range(123, 223), name='an_index')),
apache_beam/typehints/pandas_type_compatibility_test.py:90
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:90:
FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas
in a future version. Use pandas.Index with the appropriate dtype instead.
pd.Int64Index(range(123, 223), name='an_index'),
apache_beam/typehints/pandas_type_compatibility_test.py:91
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:91:
FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas
in a future version. Use pandas.Index with the appropriate dtype instead.
pd.Int64Index(range(475, 575), name='another_index'),
-- 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, 11 skipped, 3182 deselected, 5 warnings in 6.84s ==========
[1mpy310-cython run-test-post: commands[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>
[0m___________________________________ summary
____________________________________
[32m py310-cython: commands succeeded
[0m[32m congratulations :)
[0m
> Task :sdks:python:test-suites:tox:py310:preCommitPy310
> Task :sdks:python:test-suites:tox:py37:testPy37Cython
...ssssssss.............................. [ 83%]
........................................................................ [ 85%]
........................................................................ [ 88%]
........................................................................ [ 90%]
...................ss.s................................................. [ 92%]
..................ss...........................................s...s.... [ 95%]
........................................................................ [ 97%]
.....................................s..s............................... [ 99%]
............. [100%]
=============================== warnings summary ===============================
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/hdfs/config.py:15
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/hdfs/config.py:15
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/hdfs/config.py:15
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/hdfs/config.py:15
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/hdfs/config.py:15
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/hdfs/config.py:15
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/hdfs/config.py:15
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/hdfs/config.py>:15:
DeprecationWarning: the imp module is deprecated in favour of importlib; see
the module's documentation for alternative uses
from imp import load_source
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/pkg_resources/__init__.py:121
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/pkg_resources/__init__.py:121
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/pkg_resources/__init__.py:121
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/pkg_resources/__init__.py:121
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/pkg_resources/__init__.py:121
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/pkg_resources/__init__.py:121
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/pkg_resources/__init__.py:121
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/pkg_resources/__init__.py>:121:
DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
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/py37/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/py37/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/py37/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/py37/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/py37/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/py37/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/py37/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/py37/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/py37/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/py37/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/py37/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/py37/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/mongodbio_test.py: 10 warnings
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py37/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/aws/s3io_test.py::TestS3IO::test_rename
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py37/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/py37/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/py37/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/py37/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: 1 warning
apache_beam/options/pipeline_options_test.py: 24 warnings
/usr/lib/python3.7/unittest/case.py:1156: DeprecationWarning:
assertDictContainsSubset is deprecated
DeprecationWarning)
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/py37/build/srcs/sdks/python/apache_beam/io/fileio.py>:593:
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/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/py37/build/srcs/sdks/python/apache_beam/ml/inference/base_test.py>:722:
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/py37/build/srcs/sdks/python/apache_beam/ml/inference/base_test.py>:746:
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/py37/build/srcs/sdks/python/pytest_py37-cython.xml>
-
========== 2722 passed, 469 skipped, 99 warnings in 116.12s (0:01:56) ==========
============================= test session starts ==============================
platform linux -- Python 3.7.12, pytest-7.3.1, pluggy-1.0.0
cachedir: target/.tox-py37-cython/py37-cython/.pytest_cache
rootdir:
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python>
configfile: pytest.ini
plugins: xdist-3.3.0, hypothesis-6.75.3, timeout-2.1.0, requests-mock-1.10.0
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 3254 items / 3182 deselected / 11 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-py37-cython/py37-cython/lib/python3.7/site-packages/hdfs/config.py:15
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/hdfs/config.py>:15:
DeprecationWarning: the imp module is deprecated in favour of importlib; see
the module's documentation for alternative uses
from imp import load_source
target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/pkg_resources/__init__.py:121
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/pkg_resources/__init__.py>:121:
DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
-- 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/py37/build/srcs/sdks/python/pytest_py37-cython_no_xdist.xml>
-
========= 72 passed, 11 skipped, 3182 deselected, 2 warnings in 5.44s ==========
[1mpy37-cython run-test-post: commands[0] | bash
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
[0m___________________________________ summary
____________________________________
[32m py37-cython: commands succeeded
[0m[32m congratulations :)
[0m
> Task :sdks:python:test-suites:tox:py37:preCommitPy37
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
BUILD FAILED in 16m 45s
26 actionable tasks: 26 executed
Publishing build scan...
https://ge.apache.org/s/m55goqpzf62fg
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]