See 
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/2768/display/redirect?page=changes>

Changes:

[github] [BEAM-2530] Implement Zeta SQL precommit compile tests and run on java


------------------------------------------
[...truncated 1.36 MB...]
apache_beam/io/fileio.py:187
apache_beam/io/fileio.py:187
apache_beam/io/fileio.py:187
apache_beam/io/fileio.py:187
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio.py>:187:
 FutureWarning: MatchAll is experimental.
    return pcoll.pipeline | beam.Create([self._file_pattern]) | MatchAll()

apache_beam/io/fileio_test.py:397
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:397:
 FutureWarning: ReadMatches is experimental.
    | beam.Map(json.loads))

apache_beam/io/fileio_test.py:213
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:213:
 FutureWarning: MatchAll is experimental.
    | beam.Map(

apache_beam/io/fileio_test.py:213
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:213:
 FutureWarning: ReadMatches is experimental.
    | beam.Map(

apache_beam/io/fileio_test.py:500
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:500:
 FutureWarning: WriteToFiles is experimental.
    file_naming=fileio.destination_prefix_naming()))

apache_beam/io/fileio_test.py:508
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:508:
 FutureWarning: MatchFiles is experimental.
    | beam.Map(json.loads))

apache_beam/io/fileio_test.py:508
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:508:
 FutureWarning: ReadMatches is experimental.
    | beam.Map(json.loads))

apache_beam/io/fileio_test.py:515
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:515:
 FutureWarning: MatchFiles is experimental.
    | "MapApache" >>

apache_beam/io/fileio_test.py:515
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:515:
 FutureWarning: ReadMatches is experimental.
    | "MapApache" >>

apache_beam/io/mongodbio_test.py:254
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/mongodbio_test.py>:254:
 FutureWarning: ReadFromMongoDB is experimental.
    uri='mongodb://test', db='db', coll='collection')

apache_beam/io/fileio_test.py:646
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:646:
 FutureWarning: WriteToFiles is experimental.
    max_writers_per_bundle=0,

apache_beam/io/fileio_test.py:653
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:653:
 FutureWarning: MatchFiles is experimental.
    | "CncfFileNames" >> beam.Map(lambda fm: fm.path))

apache_beam/io/fileio_test.py:659
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:659:
 FutureWarning: MatchFiles is experimental.
    | "ApacheFileNames" >> beam.Map(lambda fm: fm.path))

apache_beam/io/mongodbio_test.py:325
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/mongodbio_test.py>:325:
 FutureWarning: WriteToMongoDB is experimental.
    | "Write" >> WriteToMongoDB(db='test', coll='test'))

apache_beam/io/fileio_test.py:155
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:155:
 FutureWarning: MatchAll is experimental.
    | beam.FlatMap(lambda f: f.read().decode('utf-8').splitlines()))

apache_beam/io/fileio_test.py:155
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:155:
 FutureWarning: ReadMatches is experimental.
    | beam.FlatMap(lambda f: f.read().decode('utf-8').splitlines()))

apache_beam/io/fileio_test.py:78
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:78:
 FutureWarning: MatchFiles is experimental.
    | beam.Map(lambda x: x.path))

apache_beam/io/fileio_test.py:272
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:272:
 FutureWarning: ReadMatches is experimental.
    | beam.Map(lambda x: x.read_utf8()))

apache_beam/io/fileio_test.py:589
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:589:
 FutureWarning: WriteToFiles is experimental.
    | beam.ParDo(self.record_dofn()))

apache_beam/io/fileio_test.py:593
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/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:600
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:600:
 FutureWarning: ReadMatches is experimental.
    | beam.Map(

apache_beam/io/fileio_test.py:253
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:253:
 FutureWarning: ReadMatches is experimental.
    | beam.FlatMap(lambda x: x.read().decode('utf-8').splitlines()))

apache_beam/io/mongodbio_test.py:309
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/mongodbio_test.py>:309:
 FutureWarning: WriteToMongoDB is experimental.
    | "Write" >> WriteToMongoDB(db='test', coll='test'))

apache_beam/io/fileio_test.py:452
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/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:416
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:416:
 FutureWarning: WriteToFiles is experimental.
    max_writers_per_bundle=1))

apache_beam/io/fileio_test.py:424
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:424:
 FutureWarning: MatchFiles is experimental.
    | beam.Map(json.loads))

apache_beam/io/fileio_test.py:424
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:424:
 FutureWarning: ReadMatches is experimental.
    | beam.Map(json.loads))

apache_beam/io/fileio_test.py:431
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:431:
 FutureWarning: MatchFiles is experimental.
    | "MapApache" >>

apache_beam/io/fileio_test.py:431
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio_test.py>:431:
 FutureWarning: ReadMatches is experimental.
    | "MapApache" >>

apache_beam/io/parquetio_test.py:374
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/parquetio_test.py>:374:
 FutureWarning: The parameter chunksize is deprecated for 
pyarrow.Table.to_batches as of 0.15, please use the parameter max_chunksize 
instead
    count=12000).to_batches(chunksize=1000)

apache_beam/io/parquetio_test.py:364
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/parquetio_test.py>:364:
 FutureWarning: The parameter chunksize is deprecated for 
pyarrow.Table.to_batches as of 0.15, please use the parameter max_chunksize 
instead
    count=12000).to_batches(chunksize=1000)

apache_beam/io/parquetio_test.py:412
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/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/runners/interactive/interactive_beam.py:388
apache_beam/runners/interactive/interactive_beam.py:388
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/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://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/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-py27-cython/py27-cython/lib/python2.7/site-packages/hamcrest/library/collection/issequence_containinginorder.py:95
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/target/.tox-py27-cython/py27-cython/lib/python2.7/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/combiners.py:186
apache_beam/transforms/combiners.py:186
apache_beam/transforms/combiners.py:186
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/transforms/combiners.py>:186:
 DeprecationWarning: Compare not available in Python 3, use key instead.
    DeprecationWarning)

apache_beam/transforms/combiners.py:275
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/transforms/combiners.py>:275:
 DeprecationWarning: Compare not available in Python 3, use key instead.
    DeprecationWarning)

apache_beam/transforms/util_test.py:655
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/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://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/pytest_py27-cython.xml>
 -
=========== 2548 passed, 626 skipped, 79 warnings in 651.55 seconds ============
============================= test session starts ==============================
platform linux2 -- Python 2.7.12, pytest-4.6.10, py-1.8.1, pluggy-0.13.1
cachedir: target/.tox-py27-cython/py27-cython/.pytest_cache
rootdir: 
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python,>
 inifile: pytest.ini
plugins: requests-mock-1.8.0, xdist-1.32.0, forked-1.1.3, timeout-1.3.4
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 3231 items / 3173 deselected / 4 skipped / 54 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/__init__.py:82
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/__init__.py>:82:
 UserWarning: You are using Apache Beam with Python 2. New releases of Apache 
Beam will soon support Python 3 only.
    'You are using Apache Beam with Python 2. '

target/.tox-py27-cython/py27-cython/lib/python2.7/site-packages/py/_code/_assertionold.py:3
  
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/target/.tox-py27-cython/py27-cython/lib/python2.7/site-packages/py/_code/_assertionold.py>:3:
 DeprecationWarning: The compiler package is deprecated and removed in Python 
3.x.
    from compiler import parse, ast, pycodegen

-- Docs: https://docs.pytest.org/en/latest/warnings.html
- generated xml file: 
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/pytest_py27-cython_no_xdist.xml>
 -
====== 57 passed, 5 skipped, 3173 deselected, 2 warnings in 8.31 seconds =======
py27-cython run-test-post: commands[0] | 
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py27-cython: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:preCommitPy2

> 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.xml
----------------------------------------------------------------------
XML: 
<https://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/nosetests.xml>
----------------------------------------------------------------------
Ran 1 test in 560.831s

OK
Worker logs: 
https://console.cloud.google.com/dataflow/jobs/us-central1/2020-05-18_05_43_56-17199634541727499777?project=apache-beam-testing

> Task :sdks:python:test-suites:dataflow:py2:preCommitIT_V2

> Task :sdks:python:test-suites:dataflow:py37:preCommitIT_streaming_V2
Worker logs: 
https://console.cloud.google.com/dataflow/jobs/us-central1/2020-05-18_05_44_03-13611222297548032872?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://builds.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/nosetests.xml>
----------------------------------------------------------------------
Ran 1 test in 587.041s

OK

> Task :sdks:python:test-suites:dataflow:py37:preCommitIT_V2

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py37:testPy37Cython'.
> 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 39m 11s
86 actionable tasks: 69 executed, 17 from cache

Publishing build scan...
https://gradle.com/s/mlljxief2l6mo

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscr...@beam.apache.org
For additional commands, e-mail: builds-h...@beam.apache.org

Reply via email to