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/09/24 18:26:41 UTC

Build failed in Jenkins: beam_PostCommit_Py_ValCont #6869

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

Changes:

[Chad Dombrova] [BEAM-7746] Add type checking to coders

[noreply] [BEAM-9154] Ensure Chicago Taxi Example is disabled on Jenkins (#12929)

[noreply] Add to_pcollection example to wordcount_dataframe (#12923)


------------------------------------------
[...truncated 912.32 KB...]
copying apache_beam/transforms/cy_dataflow_distribution_counter.pxd -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/cy_dataflow_distribution_counter.pyx -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/dataflow_distribution_counter_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/deduplicate.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/deduplicate_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/display.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/display_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/dofn_lifecycle_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/environments.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/environments_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_it_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_java.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test_py37.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/periodicsequence.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/periodicsequence_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/ptransform.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/ptransform_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/py_dataflow_distribution_counter.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sideinputs.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sideinputs_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sql.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sql_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/stats.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/stats_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/timeutil.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/transforms_keyword_only_args_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/trigger.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/trigger_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/userstate.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/userstate_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/util.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/util_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/validate_runner_xlang_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/window.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/window_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/write_ptransform_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/typehints/__init__.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/native_type_compatibility.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/native_type_compatibility_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/opcodes.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/row_type.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/schemas.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/schemas_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typecheck.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typecheck_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typed_pipeline_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typed_pipeline_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/utils/__init__.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/annotations.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/annotations_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters.pxd -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/histogram.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/histogram_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/interactive_utils.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/interactive_utils_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/plugin.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/processes.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/processes_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/profiler.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/proto_utils.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/retry.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/retry_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/shared.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/shared_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/subprocess_server.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/subprocess_server_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/thread_pool_executor.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/thread_pool_executor_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/timestamp.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/timestamp_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/urns.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value.pxd -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
Writing apache-beam-2.26.0.dev0/setup.cfg
creating dist
Creating tar archive
removing 'apache-beam-2.26.0.dev0' (and everything under it)
SDK_LOCATION=$(find dist/apache-beam-*.tar.gz)
find dist/apache-beam-*.tar.gz

# Run ValidatesRunner tests on Google Cloud Dataflow service
echo ">>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST"
>>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST
python setup.py nosetests \
  --attr ValidatesContainer \
  --nologcapture \
  --processes=1 \
  --process-timeout=900 \
  --with-xunitmp \
  --xunitmp-file=$XUNIT_FILE \
  --ignore-files '.*py3\d?\.py$' \
  --test-pipeline-options=" \
    --runner=TestDataflowRunner \
    --project=$PROJECT \
    --region=$REGION \
    --worker_harness_container_image=$CONTAINER:$TAG \
    --staging_location=$GCS_LOCATION/staging-validatesrunner-test \
    --temp_location=$GCS_LOCATION/temp-validatesrunner-test \
    --output=$GCS_LOCATION/output \
    --sdk_location=$SDK_LOCATION \
    --num_workers=1 \
    --prebuild_sdk_container_base_image=$CONTAINER:$TAG \
    --docker_registry_push_url=us.gcr.io/$PROJECT/$USER"
running nosetests
running egg_info
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python3.6/lib/python3.6/site-packages/setuptools/dist.py>:452: UserWarning: Normalizing '2.26.0.dev' to '2.26.0.dev0'
  warnings.warn(tmpl.format(**locals()))
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/gen_protos.py>:243: UserWarning: Installing grpcio-tools is recommended for development.
  warnings.warn('Installing grpcio-tools is recommended for development.')
INFO:gen_protos:Skipping proto regeneration: all files up to date
writing apache_beam.egg-info/PKG-INFO
writing dependency_links to apache_beam.egg-info/dependency_links.txt
writing entry points to apache_beam.egg-info/entry_points.txt
writing requirements to apache_beam.egg-info/requires.txt
writing top-level names to apache_beam.egg-info/top_level.txt
reading manifest file 'apache_beam.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
WARNING:root:python-snappy is not installed; some tests will be skipped.
WARNING:root:Tensorflow is not installed, so skipping some tests.
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/io/vcfio.py>:50: UserWarning: VCF IO will support Python 3 after migration to Nucleus, see: BEAM-5628.
  "VCF IO will support Python 3 after migration to Nucleus, "
WARNING:apache_beam.runners.interactive.interactive_environment:Dependencies required for Interactive Beam PCollection visualization are not available, please use: `pip install apache-beam[interactive]` to install necessary dependencies to enable all data visualization features.
WARNING:apache_beam.runners.interactive.interactive_environment:You cannot use Interactive Beam features when you are not in an interactive environment such as a Jupyter notebook or ipython terminal.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT) ... ok
test_wordcount_it_with_prebuilt_sdk_container (apache_beam.examples.wordcount_it_test.WordCountIT) ... ERROR
test_metrics_fnapi_it (apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline_test.ExerciseMetricsPipelineTest) ... ok

======================================================================
ERROR: test_wordcount_it_with_prebuilt_sdk_container (apache_beam.examples.wordcount_it_test.WordCountIT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py",> line 64, in test_wordcount_it_with_prebuilt_sdk_container
    prebuild_sdk_container_engine='local_docker')
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py",> line 107, in _run_wordcount_it
    save_main_session=False,
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount.py",> line 94, in run
    output | 'Write' >> WriteToText(known_args.output)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 568, in __exit__
    self.result = self.run()
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 518, in run
    allow_proto_holders=True).run(False)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 547, in run
    return self.runner.run_pipeline(self, self._options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py",> line 57, in run_pipeline
    self).run_pipeline(pipeline, options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",> line 486, in run_pipeline
    environments.DockerEnvironment.from_options(options))
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/transforms/environments.py",> line 259, in from_options
    options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 141, in build_container_image
    return builder.build()
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 90, in build
    self.invoke_docker_build_and_push(container_image_name)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 154, in invoke_docker_build_and_push
    cwd=self._temp_src_dir)
  File "/usr/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'

----------------------------------------------------------------------
XML: nosetests-beam_python3.6_sdk.xml
----------------------------------------------------------------------
XML: <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/nosetests.xml>
----------------------------------------------------------------------
Ran 3 tests in 566.138s

FAILED (errors=1)
cleanup_container
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200924-180029
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:36677f2de76750c3bae61a4b4af9c2e0fd9e2239613798fe1ec68479facf752a
Deleted: sha256:b5c5d90435d8557958a482500648dc55c1b56eda40affb5b18fea64e190ed4c8
Deleted: sha256:b77ae70ab1b14de7a9460affd715cd76332d6632536370a4cbf67e9d6ad98fd4
Deleted: sha256:af8f8f8be6150176ba1584a0efd331a5271cca394c428bedb13a924045a80b16
Deleted: sha256:a4ee29a63ba5327c46db367c412554b4021154522e8234eb7bec79090340bc83
Deleted: sha256:995a777ee8fd1fff95e3a1420203238f74796989a4947126364f5276046ceb34
Deleted: sha256:a0360f1d5f6cab4e5a44082613f6c4e9586e7642068ef9697f3f1fb311070188
Deleted: sha256:4db4eed319714de1bd129db1c5280e7a1368cbc53ca057a2e151a57d124546f9
Deleted: sha256:6c94195a47e2cb54e9d273ff2e65d7872345deead1cd8e7bd7165b5b3b47a2f4
Deleted: sha256:cfa4796c38b2d7fb98366b27065b1154c035bfee3aed1b8fac5d0a5c83326f03
Deleted: sha256:ca7b0e9b059a31f612f738b1ce26b2c0df2d5a7687d3d1b6e75588831597960c
Deleted: sha256:b0cd77737aca3370bab24910c2f8b155d521ed6e9a23f98e8cbb768afa090b8e
Deleted: sha256:a07332d10623cf2344d47f23b57f7c557762566cf85799a7adf35ecdf8516c65
Deleted: sha256:265b75b366898af37d0d9d94c884afc985e9edd1f227b6393027765dc214dbb4
Deleted: sha256:6544ee3f642e078595a14bc1a0fe64f8d4a92993403c71ec6d8ca938d845d239
Deleted: sha256:7b4011080b27ac1dad1fe0bf707881cc951079cc59ef77ea6059d7183671f226
Deleted: sha256:97e9774ca05f3166996c522885732fe285aa414bd0b40f5c62b6241e5754647e
Deleted: sha256:d82aa99c6feecfef86c10386866771935e003d519cfd23ddbb6afe378738b8f5
Deleted: sha256:43197dac555b4ab1696f441f9de222fdac9c75e2353c23399738f6dde8cc8e85
Deleted: sha256:26e55c379fdfcca474908bf6260c6a7666565983bcdefca90ee2574c22f50499
Deleted: sha256:17df7eae60f999e64ed13a97e5adc886efec3d87d617ba42fd45e0cd53d88522
Deleted: sha256:7b63afe28f886ed6bfaa422b7b6540489666b3222bad19cfc1a5e8e26f94b96e
Deleted: sha256:cef8334cf0aed0e0deb0c66931bfd9f53681a809b87ed956cc6d9f81a992b892
Deleted: sha256:c2b034900e313980917736ce3a65b0b177355871a086cfce703529c3271af4cd
Deleted: sha256:32c85571466f24d81c73b2fbd0a4b45c1915994750b0efdb0c7a16acf56a1269
Deleted: sha256:369749f8a12d82e116a1285b3ffd48d116bef0fc87a26f3708d237cdd5b6a418
Deleted: sha256:6e03e9c7e0c24ea650a4479c96bff8e4113d3031a292ae3cd66be8922a2154b0
Deleted: sha256:2bf12242f3a25cafd3b2f3099300a63faff169bc2865da836262e12a7b981f5f
Deleted: sha256:e036757d3b58e70420dd4bf8f71c88db04cb6e3fae3c00a56c980f4431b24b1b
Deleted: sha256:41a68e36c9172fdc67b27c0f75526d19895a76df41866f9a9ebc39205da54324
Deleted: sha256:4cf5d12f600277904c0664b9cae33abf82250498d382a7d5226353f3c4c901a0
Deleted: sha256:37551da72831462038bd65acfc59f7b7d6635a0ad4bf0418270321ae9075daf5
Deleted: sha256:f0e5695dc97081fc30c61e933a6f610aca9318cc263879dbd2c90a3bdb91c388
Deleted: sha256:c2e500c198204b89893d14397b5ed0d0bae479e31498f67b1e8b7322e3ec2611
Deleted: sha256:8b837a229206759925fe0dd00dfe0e9f90361623c88cb83e7cf024917f3fa0bb
Deleted: sha256:60b68f0dc497abbc628a695e75fac7ac9df85953282749408a62944014f04611
Deleted: sha256:244e8ca5ae8819a81bda0f012e647ab714b9c9856491825310bfa0da7205be10
Deleted: sha256:e3eb50bcbc4963f6a9840024a8224171bfd05d09eab75cc07d94b6601be136a6
Deleted: sha256:b782685a726a56c5bb670719edf7076506d6c7931b0bc674cbd735ae9bde3e47
Deleted: sha256:af4f225693d7bf25e3cb197dd4370d4f4720d396fc182db8938b36d925997013
docker images --format '{{.Repository}}:{{.Tag}}' | grep 'prebuilt_sdk'
"docker rmi" requires at least 1 argument.
See 'docker rmi --help'.

Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]

Remove one or more images
Failed to remove prebuilt sdk container
Digests:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:36677f2de76750c3bae61a4b4af9c2e0fd9e2239613798fe1ec68479facf752a
  Associated tags:
 - 20200924-180029
Tags:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200924-180029
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200924-180029].
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:36677f2de76750c3bae61a4b4af9c2e0fd9e2239613798fe1ec68479facf752a].
Removed the container
Build step 'Execute shell' 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_PostCommit_Py_ValCont #6874

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


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


Build failed in Jenkins: beam_PostCommit_Py_ValCont #6873

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

Changes:

[Robin Qiu] Update release guide and script

[Ismaël Mejía] [BEAM-10759] Uses reader Avro schema to deserialize in KafkaIO

[noreply] [BEAM-9616] Add RegisterDoFn (#12903)


------------------------------------------
[...truncated 914.49 KB...]
copying apache_beam/transforms/cy_dataflow_distribution_counter.pxd -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/cy_dataflow_distribution_counter.pyx -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/dataflow_distribution_counter_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/deduplicate.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/deduplicate_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/display.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/display_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/dofn_lifecycle_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/environments.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/environments_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_it_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_java.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test_py37.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/periodicsequence.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/periodicsequence_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/ptransform.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/ptransform_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/py_dataflow_distribution_counter.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sideinputs.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sideinputs_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sql.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sql_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/stats.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/stats_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/timeutil.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/transforms_keyword_only_args_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/trigger.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/trigger_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/userstate.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/userstate_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/util.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/util_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/validate_runner_xlang_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/window.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/window_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/write_ptransform_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/typehints/__init__.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/native_type_compatibility.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/native_type_compatibility_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/opcodes.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/row_type.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/schemas.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/schemas_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typecheck.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typecheck_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typed_pipeline_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typed_pipeline_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/utils/__init__.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/annotations.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/annotations_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters.pxd -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/histogram.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/histogram_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/interactive_utils.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/interactive_utils_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/plugin.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/processes.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/processes_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/profiler.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/proto_utils.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/retry.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/retry_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/shared.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/shared_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/subprocess_server.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/subprocess_server_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/thread_pool_executor.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/thread_pool_executor_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/timestamp.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/timestamp_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/urns.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value.pxd -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
Writing apache-beam-2.26.0.dev0/setup.cfg
creating dist
Creating tar archive
removing 'apache-beam-2.26.0.dev0' (and everything under it)
SDK_LOCATION=$(find dist/apache-beam-*.tar.gz)
find dist/apache-beam-*.tar.gz

# Run ValidatesRunner tests on Google Cloud Dataflow service
echo ">>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST"
>>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST
python setup.py nosetests \
  --attr ValidatesContainer \
  --nologcapture \
  --processes=1 \
  --process-timeout=900 \
  --with-xunitmp \
  --xunitmp-file=$XUNIT_FILE \
  --ignore-files '.*py3\d?\.py$' \
  --test-pipeline-options=" \
    --runner=TestDataflowRunner \
    --project=$PROJECT \
    --region=$REGION \
    --worker_harness_container_image=$CONTAINER:$TAG \
    --staging_location=$GCS_LOCATION/staging-validatesrunner-test \
    --temp_location=$GCS_LOCATION/temp-validatesrunner-test \
    --output=$GCS_LOCATION/output \
    --sdk_location=$SDK_LOCATION \
    --num_workers=1 \
    --prebuild_sdk_container_base_image=$CONTAINER:$TAG \
    --docker_registry_push_url=us.gcr.io/$PROJECT/$USER"
running nosetests
running egg_info
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python3.6/lib/python3.6/site-packages/setuptools/dist.py>:452: UserWarning: Normalizing '2.26.0.dev' to '2.26.0.dev0'
  warnings.warn(tmpl.format(**locals()))
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/gen_protos.py>:243: UserWarning: Installing grpcio-tools is recommended for development.
  warnings.warn('Installing grpcio-tools is recommended for development.')
INFO:gen_protos:Skipping proto regeneration: all files up to date
writing apache_beam.egg-info/PKG-INFO
writing dependency_links to apache_beam.egg-info/dependency_links.txt
writing entry points to apache_beam.egg-info/entry_points.txt
writing requirements to apache_beam.egg-info/requires.txt
writing top-level names to apache_beam.egg-info/top_level.txt
reading manifest file 'apache_beam.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
WARNING:root:python-snappy is not installed; some tests will be skipped.
WARNING:root:Tensorflow is not installed, so skipping some tests.
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/io/vcfio.py>:50: UserWarning: VCF IO will support Python 3 after migration to Nucleus, see: BEAM-5628.
  "VCF IO will support Python 3 after migration to Nucleus, "
WARNING:apache_beam.runners.interactive.interactive_environment:Dependencies required for Interactive Beam PCollection visualization are not available, please use: `pip install apache-beam[interactive]` to install necessary dependencies to enable all data visualization features.
WARNING:apache_beam.runners.interactive.interactive_environment:You cannot use Interactive Beam features when you are not in an interactive environment such as a Jupyter notebook or ipython terminal.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT) ... ok
test_wordcount_it_with_prebuilt_sdk_container (apache_beam.examples.wordcount_it_test.WordCountIT) ... ERROR
test_metrics_fnapi_it (apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline_test.ExerciseMetricsPipelineTest) ... ok

======================================================================
ERROR: test_wordcount_it_with_prebuilt_sdk_container (apache_beam.examples.wordcount_it_test.WordCountIT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py",> line 64, in test_wordcount_it_with_prebuilt_sdk_container
    prebuild_sdk_container_engine='local_docker')
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py",> line 107, in _run_wordcount_it
    save_main_session=False,
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount.py",> line 94, in run
    output | 'Write' >> WriteToText(known_args.output)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 568, in __exit__
    self.result = self.run()
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 518, in run
    allow_proto_holders=True).run(False)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 547, in run
    return self.runner.run_pipeline(self, self._options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py",> line 57, in run_pipeline
    self).run_pipeline(pipeline, options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",> line 486, in run_pipeline
    environments.DockerEnvironment.from_options(options))
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/transforms/environments.py",> line 259, in from_options
    options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 141, in build_container_image
    return builder.build()
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 90, in build
    self.invoke_docker_build_and_push(container_image_name)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 154, in invoke_docker_build_and_push
    cwd=self._temp_src_dir)
  File "/usr/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'

----------------------------------------------------------------------
XML: nosetests-beam_python3.6_sdk.xml
----------------------------------------------------------------------
XML: <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/nosetests.xml>
----------------------------------------------------------------------
Ran 3 tests in 581.101s

FAILED (errors=1)
cleanup_container
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-180022
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:78ef9cbf6bd1573b96acbbba96b6263fc05d8ca031906de08e739477f2dda018
Deleted: sha256:68038b2b7c9b1832946c260721848b083a220065bd46ef1e98dde855fc38b8c1
Deleted: sha256:817de1ad5130aceb14aa3a94d4e45567e786747b3fa2a345deec074c3007c49c
Deleted: sha256:142f1e75e49813148ac6c377094c2692e15f043a9ddcdd3b38a3447191b176ac
Deleted: sha256:6ce142ebd81201c7a65d79c01ac7a042eb7a007ee7c33e2e47bdef137d2e998b
Deleted: sha256:c9d9d5810e7dd4aa286ad53ad900f2aca1edb789b628ed5c5ca1e2194418a409
Deleted: sha256:a68fbe1297862634c22200f8a4097dad1fb58041fb501e8e15fb7d2598c99301
Deleted: sha256:7bfd384abe56641fa084859da9918585f2a773ceb43c65937cb87bbf6e5abfb9
Deleted: sha256:85c049d6849183ebeeb0106061dd271dfac0348e47aa6a982d920b26182935fd
Deleted: sha256:2434f8a71c6c2d2838ed87dea305e92061957decd363c09c108cc042f92dccba
Deleted: sha256:e1e73554b1e1f3e2434ef9b8a09ceaa6411fb68d17d5d94919e18137a7fd7df3
Deleted: sha256:f216515f00d57b8afd101912372eeb428f60e740f75222ace3a861ad16320b36
Deleted: sha256:59e4a89d81e73638a10ca7d83148f057c7987a1e5c6da8b0a2e30a5c4635b915
Deleted: sha256:00a78d40ef22ae56971eb705c2f8632674a8bcee0efebe69bbbc8b08f33ab6d9
Deleted: sha256:bc4c14accfc506a2211ac742e828014cbf00a51957c91d1cbe39ca23f84d0d20
Deleted: sha256:8a26c5e54e524db695ecb042ceedbe04fca2b308b7daee686d6301f91fe7a0fd
Deleted: sha256:d82217a060837bee8a0de54483c1bd24891da8d830683710ded194c23307f472
Deleted: sha256:997f3c8aac953f3b3eb38ab60ea727f41d98b6fe03f7f89c268f1f079a099109
Deleted: sha256:b7d59dc6d87c42619f843393c5d681c7c45e60e02a9f3d90deab0acd34bef557
Deleted: sha256:46697b30b1ac90967cf31613f6dee9392c02ab26402cdab7d58e8c862c839111
Deleted: sha256:cfcb5ff970f0ea613eba194d2022cf90e50ee9f4138f9952a86aa92c270701c1
Deleted: sha256:62b75151a6cad9acdd36089aa5586b622f9ad7602d855d4dc9e2734239b73dc7
Deleted: sha256:1d45f87d794c11e8adbb7f394825d07df6a9d976df53f6360fcdd24e6bf1edab
Deleted: sha256:0a93709b99083f386ca61c2327acaeca3b2a4c7afae5487e5cdf757815030aa9
Deleted: sha256:46ca2ea61d607db94fb7c6b5d265ca6fca7a04c0ce920b0f94ae3905704b43af
Deleted: sha256:2c2c9e221c9f9ec54016400786596bf93e49a4170ab141a5a815921326ceb62d
Deleted: sha256:7db2d301d5585b12df851353aaa6f62d91f0be4044b64be4b5ea89f0676d972f
Deleted: sha256:961f07ee86e31539969e5181f549ce0cf35e19cfddf02d60cfd5a624855d1e98
Deleted: sha256:5f2bce9439ff908b5dbfa310b0c994768c9885ded816b46e71500e733a415f94
Deleted: sha256:671501738750658e93372e86775be1108dbe822d6ba9332723ea6f96fe502074
Deleted: sha256:3389c33855dfe3eb50417b889439f45a2669ccbce85ce9f59780a4f698d0e531
Deleted: sha256:d1caf64e063d9507da2a0627639eebdae8709c03214f593e50b6e2cd4fe74e43
Deleted: sha256:425cc97b08383a8a40512e35169dffa1bd1bf5663199468ddfdf47b56fa8d0ba
Deleted: sha256:791582c603523c239e20098bab16436d13182a32f35b019112b0539bfa6862d3
Deleted: sha256:df2791fa03e19261ec9041e42a05ae66e056e312fd721d5205d9378c8ffae7d5
Deleted: sha256:4d199da1f7bdf3a3fc4c7cda8937fae5ad4c6399dc57f00ee77705594e7cabfd
Deleted: sha256:4883819636cb480c7e5ea4df2c88201e248dae48ac33d08f374416bbb56bb26f
Deleted: sha256:e24910c78e425e7f8d4937fe4261863a11a6fefbe504ef4655c4beedafd0db90
Deleted: sha256:f77e5f77f943ff423f33a30ce0b9f199b37d202c87694216cfb2527f868a6a8e
Deleted: sha256:a101fc02aa6f7fcf0c7d28a48f8061edd7becfa36b32b318d3e7e537f039e536
docker images --format '{{.Repository}}:{{.Tag}}' | grep 'prebuilt_sdk'
"docker rmi" requires at least 1 argument.
See 'docker rmi --help'.

Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]

Remove one or more images
Failed to remove prebuilt sdk container
Digests:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:78ef9cbf6bd1573b96acbbba96b6263fc05d8ca031906de08e739477f2dda018
  Associated tags:
 - 20200925-180022
Tags:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-180022
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-180022].
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:78ef9cbf6bd1573b96acbbba96b6263fc05d8ca031906de08e739477f2dda018].
Removed the container
Build step 'Execute shell' marked build as failure

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


Build failed in Jenkins: beam_PostCommit_Py_ValCont #6872

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

Changes:

[noreply] Change when streaming Combine on Flink should be fired (#12931)


------------------------------------------
[...truncated 911.30 KB...]
copying apache_beam/transforms/cy_dataflow_distribution_counter.pxd -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/cy_dataflow_distribution_counter.pyx -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/dataflow_distribution_counter_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/deduplicate.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/deduplicate_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/display.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/display_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/dofn_lifecycle_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/environments.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/environments_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_it_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_java.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test_py37.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/periodicsequence.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/periodicsequence_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/ptransform.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/ptransform_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/py_dataflow_distribution_counter.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sideinputs.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sideinputs_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sql.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sql_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/stats.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/stats_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/timeutil.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/transforms_keyword_only_args_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/trigger.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/trigger_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/userstate.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/userstate_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/util.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/util_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/validate_runner_xlang_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/window.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/window_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/write_ptransform_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/typehints/__init__.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/native_type_compatibility.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/native_type_compatibility_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/opcodes.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/row_type.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/schemas.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/schemas_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typecheck.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typecheck_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typed_pipeline_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typed_pipeline_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/utils/__init__.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/annotations.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/annotations_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters.pxd -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/histogram.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/histogram_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/interactive_utils.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/interactive_utils_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/plugin.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/processes.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/processes_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/profiler.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/proto_utils.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/retry.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/retry_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/shared.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/shared_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/subprocess_server.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/subprocess_server_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/thread_pool_executor.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/thread_pool_executor_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/timestamp.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/timestamp_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/urns.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value.pxd -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
Writing apache-beam-2.26.0.dev0/setup.cfg
creating dist
Creating tar archive
removing 'apache-beam-2.26.0.dev0' (and everything under it)
SDK_LOCATION=$(find dist/apache-beam-*.tar.gz)
find dist/apache-beam-*.tar.gz

# Run ValidatesRunner tests on Google Cloud Dataflow service
echo ">>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST"
>>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST
python setup.py nosetests \
  --attr ValidatesContainer \
  --nologcapture \
  --processes=1 \
  --process-timeout=900 \
  --with-xunitmp \
  --xunitmp-file=$XUNIT_FILE \
  --ignore-files '.*py3\d?\.py$' \
  --test-pipeline-options=" \
    --runner=TestDataflowRunner \
    --project=$PROJECT \
    --region=$REGION \
    --worker_harness_container_image=$CONTAINER:$TAG \
    --staging_location=$GCS_LOCATION/staging-validatesrunner-test \
    --temp_location=$GCS_LOCATION/temp-validatesrunner-test \
    --output=$GCS_LOCATION/output \
    --sdk_location=$SDK_LOCATION \
    --num_workers=1 \
    --prebuild_sdk_container_base_image=$CONTAINER:$TAG \
    --docker_registry_push_url=us.gcr.io/$PROJECT/$USER"
running nosetests
running egg_info
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python3.6/lib/python3.6/site-packages/setuptools/dist.py>:452: UserWarning: Normalizing '2.26.0.dev' to '2.26.0.dev0'
  warnings.warn(tmpl.format(**locals()))
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/gen_protos.py>:243: UserWarning: Installing grpcio-tools is recommended for development.
  warnings.warn('Installing grpcio-tools is recommended for development.')
INFO:gen_protos:Skipping proto regeneration: all files up to date
writing apache_beam.egg-info/PKG-INFO
writing dependency_links to apache_beam.egg-info/dependency_links.txt
writing entry points to apache_beam.egg-info/entry_points.txt
writing requirements to apache_beam.egg-info/requires.txt
writing top-level names to apache_beam.egg-info/top_level.txt
reading manifest file 'apache_beam.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
WARNING:root:python-snappy is not installed; some tests will be skipped.
WARNING:root:Tensorflow is not installed, so skipping some tests.
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/io/vcfio.py>:50: UserWarning: VCF IO will support Python 3 after migration to Nucleus, see: BEAM-5628.
  "VCF IO will support Python 3 after migration to Nucleus, "
WARNING:apache_beam.runners.interactive.interactive_environment:Dependencies required for Interactive Beam PCollection visualization are not available, please use: `pip install apache-beam[interactive]` to install necessary dependencies to enable all data visualization features.
WARNING:apache_beam.runners.interactive.interactive_environment:You cannot use Interactive Beam features when you are not in an interactive environment such as a Jupyter notebook or ipython terminal.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT) ... ok
test_wordcount_it_with_prebuilt_sdk_container (apache_beam.examples.wordcount_it_test.WordCountIT) ... ERROR
test_metrics_fnapi_it (apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline_test.ExerciseMetricsPipelineTest) ... ok

======================================================================
ERROR: test_wordcount_it_with_prebuilt_sdk_container (apache_beam.examples.wordcount_it_test.WordCountIT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py",> line 64, in test_wordcount_it_with_prebuilt_sdk_container
    prebuild_sdk_container_engine='local_docker')
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py",> line 107, in _run_wordcount_it
    save_main_session=False,
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount.py",> line 94, in run
    output | 'Write' >> WriteToText(known_args.output)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 568, in __exit__
    self.result = self.run()
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 518, in run
    allow_proto_holders=True).run(False)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 547, in run
    return self.runner.run_pipeline(self, self._options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py",> line 57, in run_pipeline
    self).run_pipeline(pipeline, options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",> line 486, in run_pipeline
    environments.DockerEnvironment.from_options(options))
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/transforms/environments.py",> line 259, in from_options
    options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 141, in build_container_image
    return builder.build()
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 90, in build
    self.invoke_docker_build_and_push(container_image_name)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 154, in invoke_docker_build_and_push
    cwd=self._temp_src_dir)
  File "/usr/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'

----------------------------------------------------------------------
XML: nosetests-beam_python3.6_sdk.xml
----------------------------------------------------------------------
XML: <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/nosetests.xml>
----------------------------------------------------------------------
Ran 3 tests in 611.396s

FAILED (errors=1)
cleanup_container
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-120034
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:42eb7201fd68077d68c9dc27528d9430098648c079ea31fb1e2c6faefd1a47c7
Deleted: sha256:cc9a747f61373ba5c55bf0d18b973cd64dea574edb2973637565d5316477258e
Deleted: sha256:968883943749b909993d44724bf5169a03e68df323e971e642c125b18b8f0b55
Deleted: sha256:76199251714160b1c98ca7fdb1da7d4fc79541d758cf5e4bc598ec169333c83f
Deleted: sha256:5874b78ac4048fdfc3629a72f5cb7601da4960bfff121c530c8f23c06f93d05d
Deleted: sha256:b9d167df6f0062456be9d8f7cd5d40117b1f923422c95ce6880d9833504d5455
Deleted: sha256:6903c9c469665aac953a70b0b8d9ea1ccd6eb559dcac818e198e510a2cd7a10a
Deleted: sha256:740389fc4ed713b70c01f55908b83acaecc1b8c03aaddadbf88f8132205c9dd1
Deleted: sha256:eda8ecf8fbd90f59ec345748ff0dcb5db291e9b3000038ccb9d28adc7a9ce587
Deleted: sha256:2470a9644e76eed616c8c00b9b9c02ca8c0ee3a79b11ebd227917bef3850aa6e
Deleted: sha256:2d25f3006c8374f702dfe52daa8b8e0362d018e66ebbcfc8c8d849ee67205c3e
Deleted: sha256:3a8815e2d5fe07b5987b9d4c05530c52b17edcea32a2f489428efb03011a57d9
Deleted: sha256:6d81e0bbcfe851bb85b96f115dfdaf9514770d14f5be455803e7482abf8867b2
Deleted: sha256:2a4c31199d66311af6ad7935b9509ac035cb42bbbf5a9c87aaad9255d75f034f
Deleted: sha256:ee986b32045f79cd04d03b61d05635605279c0800669db0ebc24b4d367c42f35
Deleted: sha256:54f45faad76abb39d6d2557c269377b5915d225d37a05a428f24969029a8bd5c
Deleted: sha256:fb325aa7ea6b8de347ff3d7c787326c15b7f2864938aced1997fb81078ccd1c3
Deleted: sha256:a36ea58609a96d438d51c9d7c4553c8cf3e2f7ad385e5dbd2981350dc2d64fc9
Deleted: sha256:de5adc3c1d8f3705548989a8e97cc71fbaa89b1dec57518c768535b10b563bd3
Deleted: sha256:aa3b41dbdf5d4063c4f4aa8e2241b0e9496ca382b836d386854e718d02ee9c71
Deleted: sha256:2781243b22f70d5c59d0839ceccb74f7d5764abbee51172fb54e370a9cdb67c9
Deleted: sha256:9c73f0acc7c1e3ca089b4ee7389303de2c2cb96610cf031795d87a9f269e1bf6
Deleted: sha256:f36dddad4a53385070450c567c58d6e1d0169f2d90eff22e30632f8d65ec3141
Deleted: sha256:e8b2fb5d8c5892ae6d83f44efb8748b3c662c285e99a1ecdafab79649aff14ff
Deleted: sha256:0cca26f1a949f82b5a6ddadf167e820abd60c186278b3b280e94a917fd88db35
Deleted: sha256:15daca94ee62634a2fa196feabfbd6644733a2dd680c6ab66b6f581430eef351
Deleted: sha256:d1e622d5a65a8f2ba85b28b664c48ed7ec88404a5af9d8060145c8e84433dbf1
Deleted: sha256:cedb1ec964263c7117d1b6fb8e69e21b4a34907576421d71daf988574e1d8bfb
Deleted: sha256:d25493e761590dae9e8b971528a4154b731b91bca70d2ae9183ff89aacbb8ae1
Deleted: sha256:ef399e7692486d63ec72657a6feb65c8aa7dd09e9e0e233ab32896f43f82abce
Deleted: sha256:74594cfab3b37a42ecfae69650cf406c18fac9b5590aba3e9b76787af3673e6e
Deleted: sha256:a1893ac95b632da9220ad6e4fcd3326522b9602f5994d390607f2bd85853ea9f
Deleted: sha256:52e37fb9dce240796dffb45b9e975eff0cd6120e55ba16b5913d8d96b1153bf5
Deleted: sha256:cdb481b095f727897db76e2a7c5a03f508339608c8701f394a6acf3b24255eed
Deleted: sha256:6db1848a3d6f4daa7e0ece10d55581a3367fca821b7226fd031d8236c1fc5f5d
Deleted: sha256:8e0edb7c3b73fc1f08a45dc9cef25e50d7251f1936cf2da531bd40b6997ed1f6
Deleted: sha256:78451d81c80b17245db2d0fffdae968da81046a7faebb5648f656397cbc5f6b8
Deleted: sha256:652bd9e71f88959e7b207db3520257b0e01cbc9e1469bf3f8f4acade94cd1d93
Deleted: sha256:2bca914f951f3b9711e748ef35c84a9eff4cdb286b9cedc8fe265bd5010d16aa
Deleted: sha256:053bb676be10f713143d8aba093820701a2c887ad312a6d1993470e7cd5c4418
docker images --format '{{.Repository}}:{{.Tag}}' | grep 'prebuilt_sdk'
"docker rmi" requires at least 1 argument.
See 'docker rmi --help'.

Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]

Remove one or more images
Failed to remove prebuilt sdk container
Digests:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:42eb7201fd68077d68c9dc27528d9430098648c079ea31fb1e2c6faefd1a47c7
  Associated tags:
 - 20200925-120034
Tags:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-120034
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-120034].
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:42eb7201fd68077d68c9dc27528d9430098648c079ea31fb1e2c6faefd1a47c7].
Removed the container
Build step 'Execute shell' marked build as failure

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


Build failed in Jenkins: beam_PostCommit_Py_ValCont #6871

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

Changes:

[noreply] [BEAM-10960] Fix DropFields does not maintain the original fields order

[noreply] [BEAM-6103] Enable BQ streaming insert timeouts (#12893)


------------------------------------------
[...truncated 910.31 KB...]
copying apache_beam/transforms/cy_dataflow_distribution_counter.pxd -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/cy_dataflow_distribution_counter.pyx -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/dataflow_distribution_counter_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/deduplicate.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/deduplicate_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/display.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/display_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/dofn_lifecycle_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/environments.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/environments_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_it_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_java.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test_py37.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/periodicsequence.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/periodicsequence_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/ptransform.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/ptransform_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/py_dataflow_distribution_counter.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sideinputs.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sideinputs_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sql.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sql_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/stats.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/stats_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/timeutil.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/transforms_keyword_only_args_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/trigger.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/trigger_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/userstate.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/userstate_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/util.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/util_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/validate_runner_xlang_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/window.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/window_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/write_ptransform_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/typehints/__init__.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/native_type_compatibility.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/native_type_compatibility_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/opcodes.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/row_type.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/schemas.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/schemas_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typecheck.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typecheck_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typed_pipeline_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typed_pipeline_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/utils/__init__.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/annotations.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/annotations_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters.pxd -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/histogram.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/histogram_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/interactive_utils.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/interactive_utils_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/plugin.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/processes.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/processes_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/profiler.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/proto_utils.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/retry.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/retry_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/shared.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/shared_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/subprocess_server.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/subprocess_server_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/thread_pool_executor.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/thread_pool_executor_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/timestamp.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/timestamp_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/urns.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value.pxd -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
Writing apache-beam-2.26.0.dev0/setup.cfg
creating dist
Creating tar archive
removing 'apache-beam-2.26.0.dev0' (and everything under it)
SDK_LOCATION=$(find dist/apache-beam-*.tar.gz)
find dist/apache-beam-*.tar.gz

# Run ValidatesRunner tests on Google Cloud Dataflow service
echo ">>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST"
>>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST
python setup.py nosetests \
  --attr ValidatesContainer \
  --nologcapture \
  --processes=1 \
  --process-timeout=900 \
  --with-xunitmp \
  --xunitmp-file=$XUNIT_FILE \
  --ignore-files '.*py3\d?\.py$' \
  --test-pipeline-options=" \
    --runner=TestDataflowRunner \
    --project=$PROJECT \
    --region=$REGION \
    --worker_harness_container_image=$CONTAINER:$TAG \
    --staging_location=$GCS_LOCATION/staging-validatesrunner-test \
    --temp_location=$GCS_LOCATION/temp-validatesrunner-test \
    --output=$GCS_LOCATION/output \
    --sdk_location=$SDK_LOCATION \
    --num_workers=1 \
    --prebuild_sdk_container_base_image=$CONTAINER:$TAG \
    --docker_registry_push_url=us.gcr.io/$PROJECT/$USER"
running nosetests
running egg_info
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python3.6/lib/python3.6/site-packages/setuptools/dist.py>:452: UserWarning: Normalizing '2.26.0.dev' to '2.26.0.dev0'
  warnings.warn(tmpl.format(**locals()))
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/gen_protos.py>:243: UserWarning: Installing grpcio-tools is recommended for development.
  warnings.warn('Installing grpcio-tools is recommended for development.')
INFO:gen_protos:Skipping proto regeneration: all files up to date
writing apache_beam.egg-info/PKG-INFO
writing dependency_links to apache_beam.egg-info/dependency_links.txt
writing entry points to apache_beam.egg-info/entry_points.txt
writing requirements to apache_beam.egg-info/requires.txt
writing top-level names to apache_beam.egg-info/top_level.txt
reading manifest file 'apache_beam.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
WARNING:root:python-snappy is not installed; some tests will be skipped.
WARNING:root:Tensorflow is not installed, so skipping some tests.
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/io/vcfio.py>:50: UserWarning: VCF IO will support Python 3 after migration to Nucleus, see: BEAM-5628.
  "VCF IO will support Python 3 after migration to Nucleus, "
WARNING:apache_beam.runners.interactive.interactive_environment:Dependencies required for Interactive Beam PCollection visualization are not available, please use: `pip install apache-beam[interactive]` to install necessary dependencies to enable all data visualization features.
WARNING:apache_beam.runners.interactive.interactive_environment:You cannot use Interactive Beam features when you are not in an interactive environment such as a Jupyter notebook or ipython terminal.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT) ... ok
test_wordcount_it_with_prebuilt_sdk_container (apache_beam.examples.wordcount_it_test.WordCountIT) ... ERROR
test_metrics_fnapi_it (apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline_test.ExerciseMetricsPipelineTest) ... ok

======================================================================
ERROR: test_wordcount_it_with_prebuilt_sdk_container (apache_beam.examples.wordcount_it_test.WordCountIT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py",> line 64, in test_wordcount_it_with_prebuilt_sdk_container
    prebuild_sdk_container_engine='local_docker')
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py",> line 107, in _run_wordcount_it
    save_main_session=False,
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount.py",> line 94, in run
    output | 'Write' >> WriteToText(known_args.output)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 568, in __exit__
    self.result = self.run()
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 518, in run
    allow_proto_holders=True).run(False)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 547, in run
    return self.runner.run_pipeline(self, self._options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py",> line 57, in run_pipeline
    self).run_pipeline(pipeline, options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",> line 486, in run_pipeline
    environments.DockerEnvironment.from_options(options))
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/transforms/environments.py",> line 259, in from_options
    options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 141, in build_container_image
    return builder.build()
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 90, in build
    self.invoke_docker_build_and_push(container_image_name)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 154, in invoke_docker_build_and_push
    cwd=self._temp_src_dir)
  File "/usr/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'

----------------------------------------------------------------------
XML: nosetests-beam_python3.6_sdk.xml
----------------------------------------------------------------------
XML: <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/nosetests.xml>
----------------------------------------------------------------------
Ran 3 tests in 560.548s

FAILED (errors=1)
cleanup_container
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-060026
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:8561ddab89614c77223e8857a1248a1234ac38e5ceb87e0cfbcd5fd4c5523f41
Deleted: sha256:9234970e4449caa3a4297f69c4adf103da81b1379d7b00de8c12c578b0f23646
Deleted: sha256:674fb7ad8b3eac69b52f394b8a2d91481c5dd691ddf0b2cb09134e4c99d400c7
Deleted: sha256:b5df92a95807ed0055f6b2d6e21e6125dcabbcacec9589887f6d8ce3a6ec34f6
Deleted: sha256:1561169e71efde9583461d7fd5540cf6c8e47e6fb73503d4f99df9603e171da9
Deleted: sha256:74f40ed515b5a4235810d7e8dd4bb1d4b661a199873826da453a167a78f17b83
Deleted: sha256:175d78901ef35036971225dfa156b0a22001b335735a91a098ae2738f14fb406
Deleted: sha256:2038cd44d92811d423d001866f1718368ca1fc78a09f0ea6efa89622e44c4a59
Deleted: sha256:da57f8e7bc2478d226b93466b77d65efd3f4149d8d19e4da2f9121fa999841e7
Deleted: sha256:8f450ef86ce61891f8848bf78146f8602ef425a70d452257b388e7040104242a
Deleted: sha256:89f0505b37d0708d575476fb28123c9485c4605e2e20e6b7e10eb18acc65be38
Deleted: sha256:97fa5c759c7d32f5c6888f8542d4f63a37de25cfec663eddc7df5a8a4fc001af
Deleted: sha256:cf521c32cbf78629e51abb07418a13be7440ef651a00d863542ec79f238871b7
Deleted: sha256:5fe27c5e40f48433abb1cced626a1138b4abd89ce1028d1cd0a5d140e988122d
Deleted: sha256:2f1657510fe08c84228c34fcf9c45ecc88c589b00680c8c69d9aa5fc463483c6
Deleted: sha256:9c847bf44a8cf7a34cfaaefcf1b84ea6ec8a9e79c07ee2147a1801e32b0179c7
Deleted: sha256:ce91384eb1328f13c83126bc6fd60b01cb2ee2e9809eb4ed4b19db05fd2ce54a
Deleted: sha256:743a04202cfa1152edb699d562c308856423ecbb332e09300b20a21ac9b98581
Deleted: sha256:3ebc7dfe9a1d2e34175b1af5d758d8dd1355f3ba5d6686b038308cdb5edd32f1
Deleted: sha256:0248fb049804e2f39d6c607138c94d3b13646f64befefb2a7c0d5fa9e0d5f1f2
Deleted: sha256:625d53e2eee973a368667b5dc1432a66626f775efaaca30e3224a5c76cefc686
Deleted: sha256:e94f44f4ad39c9f10b0cf41b6474be8c7bdcb2b14c584cc6ae358aaa86ed28c6
Deleted: sha256:829e28f4ea5058141df48b1e82b37ea0758158cf1e6ed3a2696bafe9d85689ac
Deleted: sha256:7e7cfbd111dd6ef1103d872ef507dc995ae605fcdc0a8f411353bcc06e669126
Deleted: sha256:9241e5715eb2658d33093944c95a860a62e82c1aa29326f55f021763ceb70bd5
Deleted: sha256:6c6b29cae4486268b5de9fcdb2f3e230ec581badd3c820e846be6cb7f802054b
Deleted: sha256:3d00d9162ee58717c46522f8b15f3e56a490ef96a44ef610b90fce54bcba8f89
Deleted: sha256:0ca46499013dcdc68416ada3628cbedc1eafb466d92b00e47101062ebe79005a
Deleted: sha256:3938f7b1f83a032d91d3d414adb28d2d1cf3d01de3fbdbddde1df9ef13e4f9e7
Deleted: sha256:eb81fa6d786672d39fa18e250f36b85c35b0ef687e636db5bedc5796ab25252e
Deleted: sha256:2aa008be270a71dd239072084bd2f50bb1687b7900735cb66bade94e4942daa2
Deleted: sha256:a3451642db609a44547ad657474be6cf347a6ba7017b5b3490cdc200d1f03586
Deleted: sha256:f023e826ed55b982b959701aabe6f7f818f104484e7e286c73db0dfbe9329c5b
Deleted: sha256:099de3a00f321f914a95eaafb4f6415ae7c1fae7978c233e267559de964f1be0
Deleted: sha256:8f3bb9fb3d71ff3ee40fbefeac812f27d374287a14ad1aab50c62b43f28384d1
Deleted: sha256:e34c0c08e30eb58a86d23788ac0befb02508efe7c2d0c3d4c96ecd00f09a3dc3
Deleted: sha256:c4a4d1103b3408ea77873c7bbda0b0a01060b3617b7e546a4f47e63ccb2e577c
Deleted: sha256:e2b01423d679299a6efa573cca7ab90d4eecbe138972d24cf7983fddae8eac7b
Deleted: sha256:2438c7f7fe3c378f8d0ef90a4f04573fa02c4293c97ba5b70a3c700c4d10a420
Deleted: sha256:4a4aad90fd9328868c42f376d80416bf4757f54d30a231144d6db7a5f24598bf
docker images --format '{{.Repository}}:{{.Tag}}' | grep 'prebuilt_sdk'
"docker rmi" requires at least 1 argument.
See 'docker rmi --help'.

Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]

Remove one or more images
Failed to remove prebuilt sdk container
Digests:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:8561ddab89614c77223e8857a1248a1234ac38e5ceb87e0cfbcd5fd4c5523f41
  Associated tags:
 - 20200925-060026
Tags:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-060026
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-060026].
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:8561ddab89614c77223e8857a1248a1234ac38e5ceb87e0cfbcd5fd4c5523f41].
Removed the container
Build step 'Execute shell' marked build as failure

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


Build failed in Jenkins: beam_PostCommit_Py_ValCont #6870

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

Changes:

[milan.cermak] Adds unit tests for the parse_table_reference function

[noreply] Merge pull request #12918 from [BEAM-10910]: Validate the BigQuery table

[noreply] [Minor] Typo/grammatical changes (#12849)


------------------------------------------
[...truncated 912.02 KB...]
copying apache_beam/transforms/cy_dataflow_distribution_counter.pxd -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/cy_dataflow_distribution_counter.pyx -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/dataflow_distribution_counter_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/deduplicate.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/deduplicate_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/display.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/display_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/dofn_lifecycle_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/environments.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/environments_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_it_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_java.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/external_test_py37.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/periodicsequence.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/periodicsequence_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/ptransform.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/ptransform_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/py_dataflow_distribution_counter.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sideinputs.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sideinputs_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sql.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/sql_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/stats.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/stats_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/timeutil.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/transforms_keyword_only_args_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/trigger.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/trigger_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/userstate.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/userstate_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/util.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/util_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/validate_runner_xlang_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/window.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/window_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/transforms/write_ptransform_test.py -> apache-beam-2.26.0.dev0/apache_beam/transforms
copying apache_beam/typehints/__init__.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/decorators_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/native_type_compatibility.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/native_type_compatibility_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/opcodes.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/row_type.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/schemas.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/schemas_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/trivial_inference_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typecheck.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typecheck_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typed_pipeline_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typed_pipeline_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints_test.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/typehints/typehints_test_py3.py -> apache-beam-2.26.0.dev0/apache_beam/typehints
copying apache_beam/utils/__init__.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/annotations.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/annotations_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters.pxd -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/counters_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/histogram.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/histogram_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/interactive_utils.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/interactive_utils_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/plugin.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/processes.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/processes_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/profiler.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/proto_utils.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/retry.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/retry_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/shared.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/shared_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/subprocess_server.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/subprocess_server_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/thread_pool_executor.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/thread_pool_executor_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/timestamp.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/timestamp_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/urns.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value.pxd -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value.py -> apache-beam-2.26.0.dev0/apache_beam/utils
copying apache_beam/utils/windowed_value_test.py -> apache-beam-2.26.0.dev0/apache_beam/utils
Writing apache-beam-2.26.0.dev0/setup.cfg
creating dist
Creating tar archive
removing 'apache-beam-2.26.0.dev0' (and everything under it)
SDK_LOCATION=$(find dist/apache-beam-*.tar.gz)
find dist/apache-beam-*.tar.gz

# Run ValidatesRunner tests on Google Cloud Dataflow service
echo ">>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST"
>>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST
python setup.py nosetests \
  --attr ValidatesContainer \
  --nologcapture \
  --processes=1 \
  --process-timeout=900 \
  --with-xunitmp \
  --xunitmp-file=$XUNIT_FILE \
  --ignore-files '.*py3\d?\.py$' \
  --test-pipeline-options=" \
    --runner=TestDataflowRunner \
    --project=$PROJECT \
    --region=$REGION \
    --worker_harness_container_image=$CONTAINER:$TAG \
    --staging_location=$GCS_LOCATION/staging-validatesrunner-test \
    --temp_location=$GCS_LOCATION/temp-validatesrunner-test \
    --output=$GCS_LOCATION/output \
    --sdk_location=$SDK_LOCATION \
    --num_workers=1 \
    --prebuild_sdk_container_base_image=$CONTAINER:$TAG \
    --docker_registry_push_url=us.gcr.io/$PROJECT/$USER"
running nosetests
running egg_info
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python3.6/lib/python3.6/site-packages/setuptools/dist.py>:452: UserWarning: Normalizing '2.26.0.dev' to '2.26.0.dev0'
  warnings.warn(tmpl.format(**locals()))
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/gen_protos.py>:243: UserWarning: Installing grpcio-tools is recommended for development.
  warnings.warn('Installing grpcio-tools is recommended for development.')
INFO:gen_protos:Skipping proto regeneration: all files up to date
writing apache_beam.egg-info/PKG-INFO
writing dependency_links to apache_beam.egg-info/dependency_links.txt
writing entry points to apache_beam.egg-info/entry_points.txt
writing requirements to apache_beam.egg-info/requires.txt
writing top-level names to apache_beam.egg-info/top_level.txt
reading manifest file 'apache_beam.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
WARNING:root:python-snappy is not installed; some tests will be skipped.
WARNING:root:Tensorflow is not installed, so skipping some tests.
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/io/vcfio.py>:50: UserWarning: VCF IO will support Python 3 after migration to Nucleus, see: BEAM-5628.
  "VCF IO will support Python 3 after migration to Nucleus, "
WARNING:apache_beam.runners.interactive.interactive_environment:Dependencies required for Interactive Beam PCollection visualization are not available, please use: `pip install apache-beam[interactive]` to install necessary dependencies to enable all data visualization features.
WARNING:apache_beam.runners.interactive.interactive_environment:You cannot use Interactive Beam features when you are not in an interactive environment such as a Jupyter notebook or ipython terminal.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
WARNING:root:Make sure that locally built Python SDK docker image has Python 3.6 interpreter.
test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT) ... ok
test_wordcount_it_with_prebuilt_sdk_container (apache_beam.examples.wordcount_it_test.WordCountIT) ... ERROR
test_metrics_fnapi_it (apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline_test.ExerciseMetricsPipelineTest) ... ok

======================================================================
ERROR: test_wordcount_it_with_prebuilt_sdk_container (apache_beam.examples.wordcount_it_test.WordCountIT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py",> line 64, in test_wordcount_it_with_prebuilt_sdk_container
    prebuild_sdk_container_engine='local_docker')
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py",> line 107, in _run_wordcount_it
    save_main_session=False,
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount.py",> line 94, in run
    output | 'Write' >> WriteToText(known_args.output)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 568, in __exit__
    self.result = self.run()
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 518, in run
    allow_proto_holders=True).run(False)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 547, in run
    return self.runner.run_pipeline(self, self._options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py",> line 57, in run_pipeline
    self).run_pipeline(pipeline, options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",> line 486, in run_pipeline
    environments.DockerEnvironment.from_options(options))
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/transforms/environments.py",> line 259, in from_options
    options)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 141, in build_container_image
    return builder.build()
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 90, in build
    self.invoke_docker_build_and_push(container_image_name)
  File "<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py",> line 154, in invoke_docker_build_and_push
    cwd=self._temp_src_dir)
  File "/usr/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'

----------------------------------------------------------------------
XML: nosetests-beam_python3.6_sdk.xml
----------------------------------------------------------------------
XML: <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/nosetests.xml>
----------------------------------------------------------------------
Ran 3 tests in 583.086s

FAILED (errors=1)
cleanup_container
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-000027
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:c3286541068710b963b25b1f2802d30567b17c764f1f33cb59ecf05fc1d2b36f
Deleted: sha256:c349adc848a714714cf8d0e7c13433c329665d4967fc1102e334adf2d352ac72
Deleted: sha256:95d4fd2f255708658fa672447527692e1bb4220c37a1e92ea4fff25b42759992
Deleted: sha256:dbda88cd943167b83f33a771957e4319647375007a9950fc0cb033753f941f34
Deleted: sha256:e9360e629d4345a3ffb44eab25e85296f0943036c0ead5845a32bc4d5a7a745e
Deleted: sha256:30513a8553fee8eaa72af5db6a981272688d184ea5c4c7a29741478895ad9cba
Deleted: sha256:d5f562e716ed754261cf71d7a00e51dd944801662d16650b320b6710e8bb05a1
Deleted: sha256:c860415d9ce41bf1930730f931c27f6337d9830d99c86ec6b4d084abd8fd344d
Deleted: sha256:b3b2bc4f2706d46bea92dc5aaf0a9bf76eb37ebde968941423f8fad3e8ee98e1
Deleted: sha256:2b648b7db87d54c6d37167ddb0b684d6d7d181365c2180e691e63782b52067b1
Deleted: sha256:0e315bd7a6d52434dc680f14c7516f91ff66538bb1a716d344a91ea7c52f6ea6
Deleted: sha256:094a94b0de8d28a1ba356da2342b60416ccb8778e4f809e2baa79936ee12ac45
Deleted: sha256:42193da90a33c9be5743495082b6097045709aadd95f0a14040a129520f0f791
Deleted: sha256:ccda88c587480a5c127de2362cb953726964e530d7adc071f4295bbb031636f6
Deleted: sha256:acdf73eb4e4476f0184642a36975b7117349ee3ab23d2756c6424175fa9f16b2
Deleted: sha256:805adfb0ead27ea35ec304c02a4ddfb29d4f1303eededb7f653586ad12e97232
Deleted: sha256:78e822cbe1a88388ba83909c9d37466e8c2dff2275c082f51e8427d713d1bd10
Deleted: sha256:dab2f5a780523443f2cdf41d505345a2307abdd0e7606c16a250f8ca49ee70d6
Deleted: sha256:db33d95400da8c7356a82f3c42c6d84dfce4d1dcdb223c5cb35706dd3ec6fc20
Deleted: sha256:010e20d526672d4596974062e6618ce62c40b6c4ade9e7ef6ab6fb8960d078e5
Deleted: sha256:fd2992ffde7b26dfd24bfeecdb86ef7d712f05445813109e61eda3c139eea7c3
Deleted: sha256:1533a87fd1a75513e4bd8e4b53e7ee58ee00797fb905841dc0405db83a6fffde
Deleted: sha256:d2341e6d01e587b1b4a447f4f9cba8c3c59e6e118349069dba6ec1bfff728286
Deleted: sha256:1f9f9e7efc771b93b2cf37303a7d68fd44645aaa53a96eb3a8b31b8d222a7e5d
Deleted: sha256:106c1854c5ba2c7219e8fad427794338564187d8cc138aeeb636ef07c1aaa591
Deleted: sha256:80e669bf5ba72cb6a243a6d974106819075d362cee078283174a07e0e3cb12ed
Deleted: sha256:ea0b17ab22e01e3953ad79d5a161a401ee52930b4732a195f5e5bea97e184c47
Deleted: sha256:baa8e460108e50dd72875926841f1764d57c3f4d2c1f63e934bba3f79084dc73
Deleted: sha256:71b20aa3ab6cafcce9a85525164c276bb2d64cf494076542e34c4bdf49454674
Deleted: sha256:0ae0632d282a272013c3b64513edbf8d953cf9d6bd0f23a0e6f5c202f2dc2a6b
Deleted: sha256:8212908ae0c011f37549c0ac8e44ca9c5c965541cdfb30366782177af152c38f
Deleted: sha256:9ce9c832b51d3ee2a075dec4f2a6cf137a94445fe60331235178d69c4be98a21
Deleted: sha256:08629a696e19b14ce6f5bae2b06fe02657c715f25cf5f8de67eeac192bbca6bb
Deleted: sha256:e4ed0541c724ed2f475a724cbb94673211e61e1b4e4e920a8a8ad090831c4241
Deleted: sha256:b7a2fe4b4011e4c33f8aca577d515b328c5221171eaf88e2cd0aefe06ddc86c3
Deleted: sha256:93ebef446344b6b1446beab88686aef6f24ac9167e7b93b10f5c648586f41d65
Deleted: sha256:f2fd13c6b16f26461295c94e25d114b5929e4b450921d37b5973f83cac84a28a
Deleted: sha256:d94948e6453b61b32d3ef209fc507ee1fc50351d2f965cf01cceb0d58b0c5c12
Deleted: sha256:80779690a4c69f49b55faf3e96b219ebfc65d2b33d5749bb21fc62e0924d78a9
Deleted: sha256:da04de0d24a7f215507c518346d7b0898669e7b808afcc455c311808a5d2dd84
docker images --format '{{.Repository}}:{{.Tag}}' | grep 'prebuilt_sdk'
"docker rmi" requires at least 1 argument.
See 'docker rmi --help'.

Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]

Remove one or more images
Failed to remove prebuilt sdk container
Digests:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:c3286541068710b963b25b1f2802d30567b17c764f1f33cb59ecf05fc1d2b36f
  Associated tags:
 - 20200925-000027
Tags:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-000027
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20200925-000027].
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:c3286541068710b963b25b1f2802d30567b17c764f1f33cb59ecf05fc1d2b36f].
Removed the container
Build step 'Execute shell' marked build as failure

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