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/05/21 19:18:19 UTC

Build failed in Jenkins: beam_PreCommit_Python_Cron #2781

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

Changes:

[rohde.samuel] Make GroupByKey a primitive

[rohde.samuel] Move ReifyWindows etc to DirectRunner, don't subclass from GBK

[rohde.samuel] remove references to _GroupByKeyOnly

[rohde.samuel] add back the ReifyWindows to the GBK, some internal tests depend on it.

[chamikara] Clarifies Dataflow execution environment model

[chamikara] Fixes typos.

[rohde.samuel] Skip checking input determinism for GBKs embedded in x-lang transforms.

[chamikara] Clarifies text.

[rehmanmuradali0] Update changes.md


------------------------------------------
[...truncated 1.48 MB...]
    | 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/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: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/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: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: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: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/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: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/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: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/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/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: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/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/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)

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)

-- 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> -
=========== 2586 passed, 592 skipped, 79 warnings in 589.24 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 3235 items / 3177 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, 3177 deselected, 2 warnings in 8.38 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
INFO:apache_beam.runners.dataflow.dataflow_runner:2020-05-21T19:13:19.973Z: JOB_MESSAGE_DETAILED: Checking permissions granted to controller Service Account.
WARNING:apache_beam.runners.dataflow.dataflow_runner:Timing out on waiting for job 2020-05-21_12_07_09-3843996242767375978 after 360 seconds
DEBUG:google.auth.transport._http_client:Making request: GET http://169.254.169.254
DEBUG:google.auth.transport._http_client:Making request: GET http://metadata.google.internal/computeMetadata/v1/project/project-id
DEBUG:google.auth.transport.requests:Making request: GET http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/?recursive=true
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): metadata.google.internal:80
DEBUG:urllib3.connectionpool:http://metadata.google.internal:80 "GET /computeMetadata/v1/instance/service-accounts/default/?recursive=true HTTP/1.1" 200 144
DEBUG:google.auth.transport.requests:Making request: GET http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/844138762903-compute@developer.gserviceaccount.com/token
DEBUG:urllib3.connectionpool:http://metadata.google.internal:80 "GET /computeMetadata/v1/instance/service-accounts/844138762903-compute@developer.gserviceaccount.com/token HTTP/1.1" 200 192

> Task :sdks:python:test-suites:dataflow:py37:preCommitIT_streaming_V2
WARNING:apache_beam.runners.dataflow.dataflow_runner:Timing out on waiting for job 2020-05-21_12_08_31-702367574509037680 after 360 seconds
DEBUG:google.auth.transport._http_client:Making request: GET http://169.254.169.254
DEBUG:google.auth.transport._http_client:Making request: GET http://metadata.google.internal/computeMetadata/v1/project/project-id
DEBUG:google.auth.transport.requests:Making request: GET http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/?recursive=true
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): metadata.google.internal:80
DEBUG:urllib3.connectionpool:http://metadata.google.internal:80 "GET /computeMetadata/v1/instance/service-accounts/default/?recursive=true HTTP/1.1" 200 144
DEBUG:google.auth.transport.requests:Making request: GET http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/844138762903-compute@developer.gserviceaccount.com/token
DEBUG:urllib3.connectionpool:http://metadata.google.internal:80 "GET /computeMetadata/v1/instance/service-accounts/844138762903-compute@developer.gserviceaccount.com/token HTTP/1.1" 200 192

> 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 598.488s

OK
Worker logs: https://console.cloud.google.com/dataflow/jobs/us-central1/2020-05-21_12_07_09-3843996242767375978?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-21_12_08_31-702367574509037680?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 604.457s

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:py36:testPy36Cython'.
> 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 41m 16s
86 actionable tasks: 68 executed, 18 from cache

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

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 #2782

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


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