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

Changes:


------------------------------------------
[...truncated 687.52 KB...]
    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/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/mongodbio_test.py::ReadFromMongoDBTest_0::test_read_from_mongodb
apache_beam/io/mongodbio_test.py::ReadFromMongoDBTest_1::test_read_from_mongodb
  
<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/mongodbio_test.py>:592:
 FutureWarning: ReadFromMongoDB is experimental.
    bucket_auto=self.bucket_auto)

apache_beam/io/mongodbio_test.py::WriteToMongoDBTest::test_write_to_mongodb_with_existing_id
  
<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/mongodbio_test.py>:651:
 FutureWarning: WriteToMongoDB is experimental.
    | "Write" >> WriteToMongoDB(db='test', coll='test'))

apache_beam/io/mongodbio_test.py::WriteToMongoDBTest::test_write_to_mongodb_with_generated_id
  
<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/mongodbio_test.py>:667:
 FutureWarning: WriteToMongoDB is experimental.
    | "Write" >> WriteToMongoDB(db='test', coll='test'))

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::MatchContinuouslyTest::test_match_updated_files
  
<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_test.py>:419:
 FutureWarning: MatchContinuously is experimental.
    | beam.Map(_create_extra_file))

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/py37/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:351:
 FutureWarning: MatchContinuously is experimental.
    | beam.Map(_create_extra_file))

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/py37/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:384:
 FutureWarning: MatchContinuously is experimental.
    | beam.Map(_create_extra_file))

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/py37/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:723:
 FutureWarning: WriteToFiles is experimental.
    | beam.ParDo(self.record_dofn()))

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>: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/textio_test.py: 2 warnings
apache_beam/yaml/readme_test.py: 8 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/dataframe/io.py>:664:
 FutureWarning: WriteToFiles is experimental.
    sink=lambda _: _WriteToPandasFileSink(

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>:619:
 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/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/py37/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:780:
 FutureWarning: WriteToFiles is experimental.
    max_writers_per_bundle=0,

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/py37/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/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/py37/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:633:
 FutureWarning: WriteToFiles is experimental.
    file_naming=fileio.destination_prefix_naming()))

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/py37/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::SkLearnRunInferenceTest::test_pipeline_pandas
apache_beam/ml/inference/sklearn_inference_test.py::SkLearnRunInferenceTest::test_pipeline_pandas_custom_batching
apache_beam/ml/inference/sklearn_inference_test.py::SkLearnRunInferenceTest::test_pipeline_pandas_custom_inference
apache_beam/ml/inference/sklearn_inference_test.py::SkLearnRunInferenceTest::test_pipeline_pandas_dict_out
apache_beam/ml/inference/sklearn_inference_test.py::SkLearnRunInferenceTest::test_pipeline_pandas_joblib
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/py37/build/srcs/sdks/python/target/.tox-py37-cython/py37-cython/lib/python3.7/site-packages/dill/_dill.py>:472:
 FutureWarning: SklearnModelHandlerPandas is experimental. No 
backwards-compatibility guarantees.
    obj = StockUnpickler.load(self)

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/py37/build/srcs/sdks/python/apache_beam/ml/inference/sklearn_inference_test.py>:397:
 FutureWarning: SklearnModelHandlerPandas is experimental. No 
backwards-compatibility guarantees.
    max_batch_size=5))

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/py37/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:548:
 FutureWarning: WriteToFiles is experimental.
    max_writers_per_bundle=1))

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/py37/build/srcs/sdks/python/apache_beam/ml/inference/sklearn_inference_test.py>:420:
 FutureWarning: SklearnModelHandlerPandas is experimental. No 
backwards-compatibility guarantees.
    inference_fn=alternate_pandas_inference_fn))

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/py37/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/py37/build/srcs/sdks/python/apache_beam/ml/inference/sklearn_inference_test.py>:474:
 FutureWarning: SklearnModelHandlerPandas is experimental. No 
backwards-compatibility guarantees.
    model_uri=temp_file_name, model_file_type=ModelFileType.JOBLIB))

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/py37/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:516:
 FutureWarning: WriteToFiles is experimental.
    file_naming=fileio.destination_prefix_naming("test")))

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/py37/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/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/py37/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:485:
 FutureWarning: WriteToFiles is experimental.
    | beam.io.fileio.WriteToFiles(path=dir))

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/py37/build/srcs/sdks/python/apache_beam/io/textio.py>:718:
 FutureWarning: MatchContinuously is experimental.
    | 'ReadAllFiles' >> self._read_all_files._disable_reshuffle())

-- 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>
 -
========= 2718 passed, 465 skipped, 146 warnings in 119.66s (0:01:59) ==========
============================= 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.2.1, hypothesis-6.75.0, timeout-2.1.0, requests-mock-1.10.0
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 3246 items / 3174 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, 3174 deselected, 2 warnings in 5.17s ==========
py37-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>
___________________________________ summary 
____________________________________
  py37-cython: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py37:preCommitPy37

> Task :sdks:python:test-suites:tox:py39:testPy39Cython
============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-7.3.1, pluggy-1.0.0
cachedir: target/.tox-py39-cython/py39-cython/.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: xdist-3.2.1, hypothesis-6.75.0, timeout-2.1.0, requests-mock-1.10.0
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 3246 items / 3174 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-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py:15
  
<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-cython/py39-cython/lib/python3.9/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-py39-cython/py39-cython/lib/python3.9/site-packages/pkg_resources/__init__.py:121
  
<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-cython/py39-cython/lib/python3.9/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/py39/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/py39/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/py39/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/py39/build/srcs/sdks/python/pytest_py39-cython_no_xdist.xml>
 -
========= 72 passed, 11 skipped, 3174 deselected, 5 warnings in 4.98s ==========
py39-cython run-test-post: commands[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>
___________________________________ summary 
____________________________________
  py39-cython: commands succeeded
  congratulations :)

> 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

BUILD FAILED in 15m 47s
26 actionable tasks: 20 executed, 4 from cache, 2 up-to-date
Build scan background action failed.
java.lang.IllegalArgumentException: 
com.gradle.enterprise.gradleplugin.internal.extension.a is not an interface
        at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:590)
        at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)
        at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)
        at java.lang.reflect.WeakCache.get(WeakCache.java:127)
        at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)
        at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719)
        at 
com.gradle.ProxyFactory$ProxyingInvocationHandler.createLocalProxy(ProxyFactory.java:64)
        at 
com.gradle.ProxyFactory$ProxyingInvocationHandler.lambda$adaptActionArg$1(ProxyFactory.java:59)
        at 
com.gradle.enterprise.gradleplugin.internal.extension.b$3.run(SourceFile:100)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:750)

Publishing build scan...
https://gradle.com/s/4qyprxws5p3za

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