See 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/3008/display/redirect?page=changes>

Changes:

[Etienne Chauchot] [BEAM-10471] Change assertion method to improve 
expressiveness and


------------------------------------------
[...truncated 1.57 MB...]
  
<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: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:389
  
<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>:389:
 FutureWarning: WriteToFiles is experimental.
    | beam.io.fileio.WriteToFiles(path=dir))

apache_beam/io/fileio_test.py:394
  
<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>:394:
 FutureWarning: MatchFiles is experimental.
    | fileio.MatchFiles(FileSystems.join(dir, '*'))

apache_beam/io/fileio_test.py:395
  
<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>:395:
 FutureWarning: ReadMatches is experimental.
    | fileio.ReadMatches()

apache_beam/io/parquetio_test.py:412
  
<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>:412:
 FutureWarning: The parameter chunksize is deprecated for 
pyarrow.Table.to_batches as of 0.15, please use the parameter max_chunksize 
instead
    for batch in orig.to_batches(chunksize=20)

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/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/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'))

apache_beam/io/parquetio_test.py:363
  
<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>:363:
 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/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()

/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',

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:655
  
<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>:655:
 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>
 -
========== 2710 passed, 593 skipped, 201 warnings in 1099.32 seconds ===========
============================= test session starts ==============================
platform linux -- Python 3.8.3, 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: forked-1.2.0, requests-mock-1.8.0, xdist-1.33.0, timeout-1.4.2
timeout: 600.0s
timeout method: signal
timeout func_only: False

> Task :sdks:python:test-suites:tox:py35:testPy35Cython
.......sssss....................sss............s............... [ 87%]
........................................................................ [ 89%]
....s.....................ss.....s[gw0] node down: Not properly terminated
F
replacing crashed worker gw0
..............s......ERROR: InvocationError for command 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py35/build/srcs/sdks/python/scripts/run_pytest.sh>
 py35-cython '' (exited with code -15)
py35-cython run-test-post: commands[0] | 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py35/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
Terminated

> Task :sdks:python:test-suites:tox:py37:testPy37Cython FAILED
...............................sERROR: InvocationError for command 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_pytest.sh>
 py37-cython '' (exited with code -15)
py37-cython run-test-post: commands[0] | 
<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>
scripts/run_tox.sh: line 52: 14415 Terminated              tox -c tox.ini 
--recreate -e $1 --installpkg $2

> Task :sdks:python:test-suites:tox:py36:testPy36Cython
..................sssss.ssss. [ 78%]
...............s.s........................[gw0] node down: Not properly 
terminated
F
replacing crashed worker gw0
ERROR: InvocationError for command 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py36/build/srcs/sdks/python/scripts/run_pytest.sh>
 py36-cython '' (exited with code -15)
py36-cython run-test-post: commands[0] | 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py36/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
scripts/run_tox.sh: line 52: 14607 Terminated              tox -c tox.ini 
--recreate -e $1 --installpkg $2
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 6, in <module>
BrokenPipeError: [Errno 32] Broken pipe

> Task :sdks:python:test-suites:tox:py2:testPy2Cython FAILED
......s....................... [ 13%]
..............ssss.........s....s................ERROR: InvocationError for 
command 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/scripts/run_pytest.sh>
 py27-cython '' (exited with code -15)
py27-cython run-test-post: commands[0] | 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
scripts/run_tox.sh: line 52: 18557 Terminated              tox -c tox.ini 
--recreate -e $1 --installpkg $2

> Task :sdks:python:test-suites:tox:py38:testPy38Cython
ERROR: InvocationError for command 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/scripts/run_pytest.sh>
 py38-cython '' (exited with code -15)
py38-cython run-test-post: commands[0] | 
<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>
scripts/run_tox.sh: line 52: 13587 Terminated              tox -c tox.ini 
--recreate -e $1 --installpkg $2

failed to abort command 'sh'
org.gradle.process.internal.ExecException: A problem occurred waiting for 
process 'command 'sh'' to complete.
        at 
org.gradle.process.internal.DefaultExecHandle.execExceptionFor(DefaultExecHandle.java:232)
        at 
org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(DefaultExecHandle.java:209)
        at 
org.gradle.process.internal.DefaultExecHandle.failed(DefaultExecHandle.java:356)
        at 
org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:86)
        at 
org.gradle.internal.operations.CurrentBuildOperationPreservingRunnable.run(CurrentBuildOperationPreservingRunnable.java:42)
        at 
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
        at 
org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at 
org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Shutdown in progress
        at 
java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82)
        at java.lang.Runtime.removeShutdownHook(Runtime.java:239)
        at 
org.gradle.process.internal.shutdown.ShutdownHooks.removeShutdownHook(ShutdownHooks.java:33)
        at 
org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(DefaultExecHandle.java:199)
        at 
org.gradle.process.internal.DefaultExecHandle.aborted(DefaultExecHandle.java:352)
        at 
org.gradle.process.internal.ExecHandleRunner.completed(ExecHandleRunner.java:107)
        at 
org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:83)
        ... 7 more

> Task :sdks:python:test-suites:tox:py38:testPy38Cython FAILED
failed to abort command 'sh'
org.gradle.process.internal.ExecException: A problem occurred waiting for 
process 'command 'sh'' to complete.
        at 
org.gradle.process.internal.DefaultExecHandle.execExceptionFor(DefaultExecHandle.java:232)
        at 
org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(DefaultExecHandle.java:209)
        at 
org.gradle.process.internal.DefaultExecHandle.failed(DefaultExecHandle.java:356)
        at 
org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:86)
        at 
org.gradle.internal.operations.CurrentBuildOperationPreservingRunnable.run(CurrentBuildOperationPreservingRunnable.java:42)
        at 
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
        at 
org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at 
org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Shutdown in progress
        at 
java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82)
        at java.lang.Runtime.removeShutdownHook(Runtime.java:239)
        at 
org.gradle.process.internal.shutdown.ShutdownHooks.removeShutdownHook(ShutdownHooks.java:33)
        at 
org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(DefaultExecHandle.java:199)
        at 
org.gradle.process.internal.DefaultExecHandle.aborted(DefaultExecHandle.java:352)
        at 
org.gradle.process.internal.ExecHandleRunner.completed(ExecHandleRunner.java:107)
        at 
org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:83)
        ... 7 more
> Task :sdks:python:test-suites:tox:py36:testPy36Cython FAILED
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=1638f8cc-d7df-4556-a7cc-7015504b8ea6, 
currentDir=<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src}>
Attempting to read last messages from the daemon log...
Daemon pid: 7458
  log file: /home/jenkins/.gradle/daemon/5.2.1/daemon-7458.out.log
----- Last  20 lines from daemon log file - daemon-7458.out.log -----
        at 
org.gradle.process.internal.DefaultExecHandle.execExceptionFor(DefaultExecHandle.java:232)
        at 
org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(DefaultExecHandle.java:209)
        at 
org.gradle.process.internal.DefaultExecHandle.failed(DefaultExecHandle.java:356)
        at 
org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:86)
        at 
org.gradle.internal.operations.CurrentBuildOperationPreservingRunnable.run(CurrentBuildOperationPreservingRunnable.java:42)
        at 
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
        at 
org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at 
org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Shutdown in progress
        at 
java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82)
        at java.lang.Runtime.removeShutdownHook(Runtime.java:239)
        at 
org.gradle.process.internal.shutdown.ShutdownHooks.removeShutdownHook(ShutdownHooks.java:33)
        at 
org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(DefaultExecHandle.java:199)
        at 
org.gradle.process.internal.DefaultExecHandle.aborted(DefaultExecHandle.java:352)
        at 
org.gradle.process.internal.ExecHandleRunner.completed(ExecHandleRunner.java:107)
        at 
org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:83)
        ... 7 more
----- End of the daemon log -----


FAILURE: Build failed with an exception.

* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may 
have crashed)

* 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
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