See
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/3189/display/redirect?page=changes>
Changes:
[tobiasz.kedzierski] [BEAM-10835] Improve Github Actions cancelling duplicated
runs
[tobiasz.kedzierski] [BEAM-10837] Remove unused beam_PerformanceTests_Analysis
Jenkins Job
[Ismaël Mejía] [BEAM-10673] Add public methods and validation to
------------------------------------------
[...truncated 1.47 MB...]
| fileio.MatchAll()
apache_beam/io/fileio_test.py:212
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:212:
FutureWarning: ReadMatches is experimental.
| fileio.ReadMatches()
apache_beam/io/fileio_test.py:584
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:584:
FutureWarning: WriteToFiles is experimental.
| beam.io.fileio.WriteToFiles(
apache_beam/io/fileio_test.py:593
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:593:
FutureWarning: MatchFiles is experimental.
files = (p | beam.io.fileio.MatchFiles(FileSystems.join(dir, '*')))
apache_beam/io/fileio_test.py:599
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:599:
FutureWarning: ReadMatches is experimental.
| beam.io.fileio.ReadMatches()
apache_beam/io/fileio_test.py:153
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:153:
FutureWarning: MatchAll is experimental.
| fileio.MatchAll()
apache_beam/io/fileio_test.py:154
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:154:
FutureWarning: ReadMatches is experimental.
| fileio.ReadMatches()
apache_beam/io/fileio_test.py:77
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:77:
FutureWarning: MatchFiles is experimental.
| fileio.MatchFiles(FileSystems.join(tempdir, '*'))
apache_beam/io/fileio_test.py:271
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:271:
FutureWarning: ReadMatches is experimental.
| fileio.ReadMatches(skip_directories=False)
apache_beam/io/fileio_test.py:252
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:252:
FutureWarning: ReadMatches is experimental.
| fileio.ReadMatches()
apache_beam/io/fileio_test.py:452
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:452:
FutureWarning: WriteToFiles is experimental.
write_transform = beam.io.fileio.WriteToFiles(path=dir)
apache_beam/io/fileio_test.py:639
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:639:
FutureWarning: WriteToFiles is experimental.
| beam.io.fileio.WriteToFiles(
apache_beam/io/fileio_test.py:652
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:652:
FutureWarning: MatchFiles is experimental.
| fileio.MatchFiles(FileSystems.join(dir, 'cncf*'))
apache_beam/io/fileio_test.py:658
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:658:
FutureWarning: MatchFiles is experimental.
"MatchApache" >> fileio.MatchFiles(FileSystems.join(dir, 'apache*'))
apache_beam/io/fileio_test.py:409
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:409:
FutureWarning: WriteToFiles is experimental.
| beam.io.fileio.WriteToFiles(
apache_beam/io/fileio_test.py:421
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:421:
FutureWarning: MatchFiles is experimental.
| fileio.MatchFiles(FileSystems.join(dir, 'cncf*'))
apache_beam/io/fileio_test.py:422
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:422:
FutureWarning: ReadMatches is experimental.
| fileio.ReadMatches()
apache_beam/io/fileio_test.py:429
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:429:
FutureWarning: MatchFiles is experimental.
"MatchApache" >> fileio.MatchFiles(FileSystems.join(dir, 'apache*'))
apache_beam/io/fileio_test.py:430
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:430:
FutureWarning: ReadMatches is experimental.
| "ReadApache" >> fileio.ReadMatches()
apache_beam/io/parquetio_test.py:375
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/parquetio_test.py>:375:
FutureWarning: The parameter chunksize is deprecated for
pyarrow.Table.to_batches as of 0.15, please use the parameter max_chunksize
instead
pa.Table.from_batches([batch]) for batch in self._records_as_arrow(
apache_beam/io/mongodbio_test.py:264
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/mongodbio_test.py>:264:
FutureWarning: ReadFromMongoDB is experimental.
docs = p | 'ReadFromMongoDB' >> ReadFromMongoDB(
apache_beam/io/mongodbio_test.py:339
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/mongodbio_test.py>:339:
FutureWarning: WriteToMongoDB is experimental.
| "Write" >> WriteToMongoDB(db='test', coll='test'))
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215
/usr/lib/python3.8/unittest/case.py:1215: DeprecationWarning:
assertDictContainsSubset is deprecated
warnings.warn('assertDictContainsSubset is deprecated',
apache_beam/io/parquetio_test.py:365
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/parquetio_test.py>:365:
FutureWarning: The parameter chunksize is deprecated for
pyarrow.Table.to_batches as of 0.15, please use the parameter max_chunksize
instead
pa.Table.from_batches([batch]) for batch in self._records_as_arrow(
apache_beam/runners/interactive/recording_manager.py:304
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/runners/interactive/recording_manager.py>:304:
BeamDeprecationWarning: options is deprecated since First stable release.
References to <pipeline>.options will not be supported
runner, self.user_pipeline, options=self.user_pipeline.options)
apache_beam/runners/interactive/interactive_beam.py:388
apache_beam/runners/interactive/interactive_beam.py:388
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/runners/interactive/interactive_beam.py>:388:
BeamDeprecationWarning: options is deprecated since First stable release.
References to <pipeline>.options will not be supported
runner, user_pipeline, user_pipeline.options)
apache_beam/runners/interactive/interactive_beam.py:411
apache_beam/runners/interactive/interactive_beam.py:411
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/runners/interactive/interactive_beam.py>:411:
BeamDeprecationWarning: options is deprecated since First stable release.
References to <pipeline>.options will not be supported
result = pf.PipelineFragment(list(pcolls), user_pipeline.options).run()
target/.tox-py38-cython/py38-cython/lib/python3.8/site-packages/hamcrest/library/collection/issequence_containinginorder.py:95
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/target/.tox-py38-cython/py38-cython/lib/python3.8/site-packages/hamcrest/library/collection/issequence_containinginorder.py>:95:
DeprecationWarning: deprecated - use contains_exactly(*items)
warnings.warn("deprecated - use contains_exactly(*items)",
DeprecationWarning)
apache_beam/transforms/util_test.py:651
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/transforms/util_test.py>:651:
FutureWarning: GroupIntoBatches is experimental.
| util.GroupIntoBatches(GroupIntoBatchesTest.BATCH_SIZE)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
- generated xml file:
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/pytest_py38-cython.xml>
-
=========== 2867 passed, 683 skipped, 329 warnings in 218.40 seconds ===========
============================= test session starts ==============================
platform linux -- Python 3.8.5, pytest-4.6.11, py-1.9.0, pluggy-0.13.1
cachedir: target/.tox-py38-cython/py38-cython/.pytest_cache
rootdir:
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python,>
inifile: pytest.ini
plugins: requests-mock-1.8.0, xdist-1.34.0, timeout-1.4.2, forked-1.3.0
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 3611 items / 3549 deselected / 3 skipped / 59 selected
apache_beam/coders/fast_coders_test.py .............................. [ 48%]
apache_beam/coders/slow_coders_test.py .............................. [ 96%]
apache_beam/io/gcp/tests/bigquery_matcher_test.py s [ 98%]
apache_beam/runners/portability/stager_test.py . [100%]
=============================== warnings summary ===============================
apache_beam/typehints/typehints.py:693
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/typehints/typehints.py>:693:
DeprecationWarning: Using or importing the ABCs from 'collections' instead of
from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop
working
if not isinstance(type_params, collections.Iterable):
apache_beam/typehints/typehints.py:532
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/typehints/typehints.py>:532:
DeprecationWarning: Using or importing the ABCs from 'collections' instead of
from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop
working
if not isinstance(type_params, (collections.Sequence, set)):
apache_beam/io/vcfio.py:49
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/io/vcfio.py>:49:
UserWarning: VCF IO will support Python 3 after migration to Nucleus, see:
BEAM-5628.
warnings.warn(
target/.tox-py38-cython/py38-cython/lib/python3.8/site-packages/tenacity/_asyncio.py:42
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/target/.tox-py38-cython/py38-cython/lib/python3.8/site-packages/tenacity/_asyncio.py>:42:
DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use
"async def" instead
def call(self, fn, *args, **kwargs):
-- Docs: https://docs.pytest.org/en/latest/warnings.html
- generated xml file:
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/pytest_py38-cython_no_xdist.xml>
-
====== 61 passed, 4 skipped, 3549 deselected, 4 warnings in 8.61 seconds =======
[1mpy38-cython run-test-post: commands[0] | bash
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
[0m___________________________________ summary
____________________________________
[32m py38-cython: commands succeeded
[0m[32m congratulations :)
[0m
> Task :sdks:python:test-suites:tox:py38:preCommitPy38
> Task :sdks:python:test-suites:dataflow:py37:preCommitIT_streaming_V2
Worker logs:
https://console.cloud.google.com/dataflow/jobs/us-central1/2020-08-31_11_33_28-2230763955980874168?project=apache-beam-testing
test_streaming_wordcount_it
(apache_beam.examples.streaming_wordcount_it_test.StreamingWordCountIT) ... ok
----------------------------------------------------------------------
XML: nosetests-preCommitIT-df-py37.xml
----------------------------------------------------------------------
XML:
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/nosetests.xml>
----------------------------------------------------------------------
Ran 1 test in 521.163s
OK
> Task :sdks:python:test-suites:dataflow:py2:preCommitIT_streaming_V2
test_streaming_wordcount_it
(apache_beam.examples.streaming_wordcount_it_test.StreamingWordCountIT) ... ok
----------------------------------------------------------------------
XML: nosetests-preCommitIT-df-py27.xml
----------------------------------------------------------------------
XML:
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/nosetests.xml>
----------------------------------------------------------------------
Ran 1 test in 553.547s
OK
Worker logs:
https://console.cloud.google.com/dataflow/jobs/us-central1/2020-08-31_11_33_09-2669089848388218676?project=apache-beam-testing
> Task :sdks:python:test-suites:dataflow:preCommitIT_V2
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py35:testPy35Cloud'.
> 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. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py35:testPy35Cython'.
> 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. Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 37m 46s
87 actionable tasks: 69 executed, 18 from cache
Publishing build scan...
https://gradle.com/s/nceybx4elayvc
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]