See <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/6878/display/redirect>
Changes: ------------------------------------------ [...truncated 553.59 KB...] 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/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>:401: 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/sklearn_inference_test.py::SkLearnRunInferenceTest::test_infer_too_many_rows_in_dataframe <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/sklearn_inference_test.py>:515: FutureWarning: SklearnModelHandlerPandas is experimental. No backwards-compatibility guarantees. inference_runner = SklearnModelHandlerPandas(model_uri='unused') apache_beam/ml/inference/sklearn_inference_test.py::SkLearnRunInferenceTest::test_pipeline_pandas <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/sklearn_inference_test.py>:362: FutureWarning: SklearnModelHandlerPandas is experimental. No backwards-compatibility guarantees. SklearnModelHandlerPandas(model_uri=temp_file_name)) apache_beam/ml/inference/sklearn_inference_test.py: 24 warnings <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/dill/_dill.py>:472: FutureWarning: SklearnModelHandlerPandas is experimental. No backwards-compatibility guarantees. obj = StockUnpickler.load(self) apache_beam/io/fileio_test.py::MatchContinuouslyTest::test_match_updated_files <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_test.py>:413: FutureWarning: MatchContinuously is experimental. | fileio.MatchContinuously( apache_beam/ml/inference/sklearn_inference_test.py::SkLearnRunInferenceTest::test_pipeline_pandas_custom_batching <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/sklearn_inference_test.py>:393: FutureWarning: SklearnModelHandlerPandas is experimental. No backwards-compatibility guarantees. SklearnModelHandlerPandas( apache_beam/io/fileio_test.py::MatchContinuouslyTest::test_with_deduplication <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_test.py>:346: FutureWarning: MatchContinuously is experimental. | fileio.MatchContinuously( apache_beam/ml/inference/sklearn_inference_test.py::SkLearnRunInferenceTest::test_pipeline_pandas_custom_inference <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/sklearn_inference_test.py>:418: FutureWarning: SklearnModelHandlerPandas is experimental. No backwards-compatibility guarantees. SklearnModelHandlerPandas( 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/io/fileio_test.py::MatchContinuouslyTest::test_without_deduplication <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_test.py>:378: FutureWarning: MatchContinuously is experimental. | fileio.MatchContinuously( apache_beam/ml/inference/sklearn_inference_test.py::SkLearnRunInferenceTest::test_pipeline_pandas_dict_out <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/sklearn_inference_test.py>:441: FutureWarning: SklearnModelHandlerPandas is experimental. No backwards-compatibility guarantees. SklearnModelHandlerPandas(model_uri=temp_file_name)) apache_beam/ml/inference/sklearn_inference_test.py::SkLearnRunInferenceTest::test_pipeline_pandas_joblib <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/sklearn_inference_test.py>:473: FutureWarning: SklearnModelHandlerPandas is experimental. No backwards-compatibility guarantees. SklearnModelHandlerPandas( apache_beam/ml/inference/sklearn_inference_test.py::SkLearnRunInferenceTest::test_pipeline_pandas_with_keys <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/sklearn_inference_test.py>:499: FutureWarning: SklearnModelHandlerPandas is experimental. No backwards-compatibility guarantees. SklearnModelHandlerPandas(model_uri=temp_file_name))) apache_beam/io/textio_test.py::CsvTest::test_csv_read_write apache_beam/io/textio_test.py::JsonTest::test_json_read_write <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/apache_beam/dataframe/io.py>:659: FutureWarning: WriteToFiles is experimental. return pcoll | fileio.WriteToFiles( apache_beam/io/textio_test.py::CsvTest::test_csv_read_write apache_beam/io/fileio_test.py::WriteFilesTest::test_streaming_complex_timing apache_beam/io/textio_test.py::JsonTest::test_json_read_write apache_beam/io/fileio_test.py::WriteFilesTest::test_streaming_different_file_types apache_beam/io/fileio_test.py::WriteFilesTest::test_write_to_different_file_types apache_beam/io/fileio_test.py::WriteFilesTest::test_write_to_different_file_types_some_spilling apache_beam/io/fileio_test.py::WriteFilesTest::test_write_to_dynamic_destination apache_beam/io/fileio_test.py::WriteFilesTest::test_write_to_dynamic_destination apache_beam/io/fileio_test.py::WriteFilesTest::test_write_to_single_file_batch <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>:596: 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/fileio_test.py::WriteFilesTest::test_streaming_complex_timing <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_test.py>:718: FutureWarning: WriteToFiles is experimental. | beam.io.fileio.WriteToFiles( 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>:244: DeprecationWarning: assertDictContainsSubset is deprecated 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/io/fileio_test.py::WriteFilesTest::test_streaming_different_file_types <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_test.py>:773: FutureWarning: WriteToFiles is experimental. | beam.io.fileio.WriteToFiles( apache_beam/io/fileio_test.py::WriteFilesTest::test_write_to_different_file_types <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_test.py>:627: FutureWarning: WriteToFiles is experimental. | beam.io.fileio.WriteToFiles( apache_beam/io/fileio_test.py::WriteFilesTest::test_write_to_different_file_types_some_spilling <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_test.py>:541: FutureWarning: WriteToFiles is experimental. | beam.io.fileio.WriteToFiles( apache_beam/io/fileio_test.py::WriteFilesTest::test_write_to_dynamic_destination <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_test.py>:512: FutureWarning: WriteToFiles is experimental. | fileio.WriteToFiles( apache_beam/io/fileio_test.py::WriteFilesTest::test_write_to_single_file_batch <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_test.py>:485: FutureWarning: WriteToFiles is experimental. | beam.io.fileio.WriteToFiles(path=dir)) apache_beam/yaml/yaml_transform_test.py: 18 warnings <frozen importlib._bootstrap>:742: DeprecationWarning: BuiltinImporter.module_repr() is deprecated and slated for removal in Python 3.12 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/io/textio_test.py::TextSourceTest::test_read_all_continuously_new apache_beam/io/textio_test.py::TextSourceTest::test_read_all_continuously_update <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/textio.py>:712: FutureWarning: MatchContinuously is experimental. | MatchContinuously(self._file_pattern, **self._kwargs_for_match) -- 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> - =========================== short test summary info ============================ FAILED apache_beam/typehints/typed_pipeline_test.py::SideInputTest::test_keyword_side_input_hint ==== 1 failed, 2683 passed, 452 skipped, 178 warnings in 122.06s (0:02:02) ===== ============================= test session starts ============================== platform linux -- Python 3.10.2, pytest-7.2.2, 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.2.1, hypothesis-6.70.0, timeout-2.1.0, requests-mock-1.10.0 timeout: 600.0s timeout method: signal timeout func_only: False collected 3199 items / 3127 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 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, 3127 deselected, 4 warnings in 4.76s ========== [31mERROR: InvocationError for command /bin/bash scripts/run_pytest.sh py310-cython ''"'"'--ignore=apache_beam/dataframe/ --ignore=apache_beam/examples/ --ignore=apache_beam/runners/ --ignore=apache_beam/transforms/'"'"'' (exited with code 1) [0m[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 ____________________________________ [31mERROR: py310-cython: commands failed [0m > Task :sdks:python:test-suites:tox:py310:testPy310Cython FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':sdks:python:test-suites:tox:py310:testPy310Cython'. > 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 15m 3s 23 actionable tasks: 17 executed, 4 from cache, 2 up-to-date Publishing build scan... https://gradle.com/s/y6bo52hze7bpu 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]
