You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@beam.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2020/07/31 01:05:37 UTC

Build failed in Jenkins: beam_PreCommit_Python_Cron #3062

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

Changes:

[Robert Bradshaw] Convert katas to use with syntax rather than explicit run call.

[Robert Bradshaw] Move class definition outside of with statement.

[ningk] [BEAM-10545] KernelModel and jest tests

[Robert Bradshaw] Fix placeholder offsets.

[douglas.damon] Add Composite transforms to Go SDK katas

[jiyongjung] Bump google cloud bigquery to 1.26.1

[Rui Wang] remove redundent precommits.

[ningk] Change the syntax of private _onIOPub to a function declaration instead

[douglas.damon] Update stepik

[simonepri] Add failing test for count on an empty pcollection

[simonepri] Fix go count on an empty pcollection

[noreply] [BEAM-10559] Add apache_beam.examples.sql_taxi (#12399)


------------------------------------------
[...truncated 1.76 MB...]
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: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.py:187
apache_beam/io/fileio.py:187
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://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>:187: FutureWarning: MatchAll is experimental.
    return pcoll.pipeline | beam.Create([self._file_pattern]) | MatchAll()

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: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: MatchAll is experimental.
    | beam.Map(lambda rf: rf.open().readline()))

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:78
  <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>:78: FutureWarning: MatchFiles is experimental.
    | beam.Map(lambda x: x.path))

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/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:272
  <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>:272: FutureWarning: ReadMatches is experimental.
    | beam.Map(lambda x: x.read_utf8()))

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/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: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: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/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/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/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: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/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/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/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> -
=========== 2694 passed, 624 skipped, 77 warnings in 641.53 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 3375 items / 3317 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://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 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://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> -
====== 57 passed, 5 skipped, 3317 deselected, 2 warnings in 7.86 seconds =======
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 ____________________________________
  py27-cython: commands succeeded
  congratulations :)

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

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py37:testPy37Cloud'.
> 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 1h 4m 27s
90 actionable tasks: 72 executed, 18 from cache

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

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

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


Jenkins build is back to normal : beam_PreCommit_Python_Cron #3063

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/3063/display/redirect?page=changes>


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