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

Changes:

[Maximilian Michels] Revert "Merge pull request #12408: [BEAM-10602] Display 
Python streaming

[kcweaver] [BEAM-10681] Set metrics supported in Spark portable runner.

[noreply] [BEAM-7705] Add BigQuery Java samples (#12118)

[Maximilian Michels] [BEAM-10602] Add latency/checkpoint duration as separate 
panels in ParDo

[tobiasz.kedzierski] [BEAM-10686] Simplify names for GCP variables check in GA

[noreply] Fix format string in PipelineValidator (#12522)

[noreply] Fix some typos (#12539)

[noreply] Linkage Checker 1.5.0 (#12545)


------------------------------------------
[...truncated 1.59 MB...]

apache_beam/io/fileio.py:485
apache_beam/io/fileio.py:485
apache_beam/io/fileio.py:485
apache_beam/io/fileio.py:485
apache_beam/io/fileio.py:485
apache_beam/io/fileio.py:485
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/fileio.py>:485:
 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:195
  
<https://ci-beam.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>:195:
 FutureWarning: ReadMatches is experimental.
    | beam.Map(lambda rf: rf.open().readline()))

apache_beam/io/fileio_test.py:508
  
<https://ci-beam.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://ci-beam.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://ci-beam.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://ci-beam.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/fileio_test.py:452
  
<https://ci-beam.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:119
  
<https://ci-beam.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>:119:
 FutureWarning: MatchAll is experimental.
    | beam.Map(lambda x: x.path))

apache_beam/io/fileio_test.py:213
  
<https://ci-beam.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://ci-beam.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/mongodbio_test.py:323
  
<https://ci-beam.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>:323:
 FutureWarning: WriteToMongoDB is experimental.
    | "Write" >> WriteToMongoDB(db='test', coll='test'))

apache_beam/io/fileio_test.py:155
  
<https://ci-beam.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://ci-beam.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:253
  
<https://ci-beam.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/fileio_test.py:172
  
<https://ci-beam.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>:172:
 FutureWarning: MatchAll is experimental.
    | beam.FlatMap(lambda rf: csv.reader(_get_file_reader(rf))))

apache_beam/io/fileio_test.py:172
  
<https://ci-beam.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>:172:
 FutureWarning: ReadMatches is experimental.
    | beam.FlatMap(lambda rf: csv.reader(_get_file_reader(rf))))

apache_beam/io/fileio_test.py:646
  
<https://ci-beam.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://ci-beam.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://ci-beam.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/fileio_test.py:389
  
<https://ci-beam.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>:389:
 FutureWarning: WriteToFiles is experimental.
    | beam.io.fileio.WriteToFiles(path=dir))

apache_beam/io/fileio_test.py:397
  
<https://ci-beam.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: MatchFiles is experimental.
    | beam.Map(json.loads))

apache_beam/io/fileio_test.py:397
  
<https://ci-beam.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:416
  
<https://ci-beam.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://ci-beam.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://ci-beam.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://ci-beam.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://ci-beam.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://ci-beam.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:412
  
<https://ci-beam.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/io/mongodbio_test.py:268
  
<https://ci-beam.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>:268:
 FutureWarning: ReadFromMongoDB is experimental.
    projection=projection)

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

apache_beam/io/fileio_test.py:589
  
<https://ci-beam.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://ci-beam.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://ci-beam.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/parquetio_test.py:364
  
<https://ci-beam.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/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/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://ci-beam.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()

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

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

target/.tox-py27-cython/py27-cython/lib/python2.7/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/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/util_test.py:651
  
<https://ci-beam.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>: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/py2/build/srcs/sdks/python/pytest_py27-cython.xml>
 -
====== 1 failed, 2714 passed, 687 skipped, 77 warnings in 675.45 seconds =======
============================= test session starts ==============================
platform linux2 -- Python 2.7.12, pytest-4.6.11, py-1.9.0, pluggy-0.13.1
cachedir: target/.tox-py27-cython/py27-cython/.pytest_cache
rootdir: 
<https://ci-beam.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.34.0, timeout-1.4.2, forked-1.3.0
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 3463 items / 3401 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/__init__.py:82
  
<https://ci-beam.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 the final Apache Beam release with Python 2 
support. New releases of Apache Beam will require Python 3.6 or a newer version.
    'You are using the final Apache Beam release with Python 2 support. '

target/.tox-py27-cython/py27-cython/lib/python2.7/site-packages/py/_code/_assertionold.py:3
  
<https://ci-beam.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://ci-beam.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>
 -
====== 61 passed, 4 skipped, 3401 deselected, 2 warnings in 8.38 seconds =======
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 1)
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>
___________________________________ summary ____________________________________
ERROR:   py27-cython: commands failed

> Task :sdks:python:test-suites:tox:py2:testPy2Cython FAILED

> Task :sdks:python:test-suites:dataflow:py37:preCommitIT_streaming_V2
Worker logs: 
https://console.cloud.google.com/dataflow/jobs/us-central1/2020-08-12_11_35_10-2821174375490995460?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 539.811s

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:py2:testPy2Cython'.
> 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 35s
90 actionable tasks: 72 executed, 18 from cache

Publishing build scan...
https://gradle.com/s/2wkcwunby4xxu

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