See <https://builds.apache.org/job/beam_PostCommit_Py_ValCont/5548/display/redirect?page=changes>
Changes: [ankurgoenka] [BEAM-9290] Support runner_harness_container_image in released python ------------------------------------------ [...truncated 660.08 KB...] copying apache_beam/transforms/external_java.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/external_test.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/external_test_it.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/external_test_py3.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/external_test_py37.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/ptransform.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/ptransform_test.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/py_dataflow_distribution_counter.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/sideinputs.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/sideinputs_test.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/stats.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/stats_test.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/timeutil.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/transforms_keyword_only_args_test_py3.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/trigger.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/trigger_test.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/userstate.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/userstate_test.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/util.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/util_test.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/validate_runner_xlang_test.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/window.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/window_test.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/transforms/write_ptransform_test.py -> apache-beam-2.20.0.dev0/apache_beam/transforms copying apache_beam/typehints/__init__.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/decorators.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/decorators_test.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/decorators_test_py3.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/native_type_compatibility.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/native_type_compatibility_test.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/opcodes.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/schemas.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/schemas_test.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/trivial_inference.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/trivial_inference_test.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/trivial_inference_test_py3.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/typecheck.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/typed_pipeline_test.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/typed_pipeline_test_py3.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/typehints.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/typehints_test.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/typehints/typehints_test_py3.py -> apache-beam-2.20.0.dev0/apache_beam/typehints copying apache_beam/utils/__init__.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/annotations.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/annotations_test.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/counters.pxd -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/counters.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/counters_test.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/interactive_utils.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/plugin.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/processes.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/processes_test.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/profiler.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/proto_utils.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/retry.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/retry_test.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/subprocess_server.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/thread_pool_executor.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/thread_pool_executor_test.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/timestamp.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/timestamp_test.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/urns.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/windowed_value.pxd -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/windowed_value.py -> apache-beam-2.20.0.dev0/apache_beam/utils copying apache_beam/utils/windowed_value_test.py -> apache-beam-2.20.0.dev0/apache_beam/utils Writing apache-beam-2.20.0.dev0/setup.cfg creating dist Creating tar archive removing 'apache-beam-2.20.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 \ --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" setup.py:245: UserWarning: You are using Apache Beam with Python 2. New releases of Apache Beam will soon support Python 3 only. 'You are using Apache Beam with Python 2. ' <https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/setuptools/dist.py>:476: UserWarning: Normalizing '2.20.0.dev' to '2.20.0.dev0' normalized_version, running nosetests running egg_info <https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/gen_protos.py>:224: UserWarning: Installing grpcio-tools is recommended for development. warnings.warn('Installing grpcio-tools is recommended for development.') Skipping proto regeneration: all files up to date writing requirements to apache_beam.egg-info/requires.txt writing apache_beam.egg-info/PKG-INFO writing top-level names to apache_beam.egg-info/top_level.txt writing dependency_links to apache_beam.egg-info/dependency_links.txt writing entry points to apache_beam.egg-info/entry_points.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' <https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/__init__.py>:82: UserWarning: You are using Apache Beam with Python 2. New releases of Apache Beam will soon support Python 3 only. 'You are using Apache Beam with Python 2. ' No handlers could be found for logger "apache_beam.io.gcp.datastore.v1.datastoreio" WARNING:root:python-snappy is not installed; some tests will be skipped. WARNING:root:Tensorflow is not installed, so skipping some tests. WARNING:apache_beam.runners.interactive.interactive_environment:Interactive Beam requires Python 3.5.3+. 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 2.7 interpreter. <https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/transforms/trigger_test.py>:541: YAMLLoadWarning: calling yaml.load_all() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. for spec in yaml.load_all(open(transcript_filename)): WARNING:apache_beam.options.pipeline_options:--region not set; will default to us-central1. Future releases of Beam will require the user to set --region explicitly, or else have a default set via the gcloud tool. https://cloud.google.com/compute/docs/regions-zones WARNING:apache_beam.options.pipeline_options:--region not set; will default to us-central1. Future releases of Beam will require the user to set --region explicitly, or else have a default set via the gcloud tool. https://cloud.google.com/compute/docs/regions-zones test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT) ... ERROR test_metrics_fnapi_it (apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline_test.ExerciseMetricsPipelineTest) ... ERROR ====================================================================== ERROR: test suite for <class 'apache_beam.examples.wordcount_it_test.WordCountIT'> ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/plugins/multiprocess.py",> line 812, in run test(orig) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/suite.py",> line 177, in __call__ return self.run(*arg, **kw) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/plugins/multiprocess.py",> line 822, in run test.config.plugins.addError(test,err) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/plugins/manager.py",> line 99, in __call__ return self.call(*arg, **kw) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/plugins/manager.py",> line 167, in simple result = meth(*arg, **kw) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/plugins/xunit.py",> line 287, in addError tb = format_exception(err, self.encoding) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/pyversion.py",> line 214, in format_exception ''.join(traceback.format_exception(*exc_info)), File "/usr/lib/python2.7/traceback.py", line 141, in format_exception list = list + format_tb(tb, limit) File "/usr/lib/python2.7/traceback.py", line 76, in format_tb return format_list(extract_tb(tb, limit)) File "/usr/lib/python2.7/traceback.py", line 101, in extract_tb line = linecache.getline(filename, lineno, f.f_globals) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/lib/python2.7/linecache.py",> line 14, in getline lines = getlines(filename, module_globals) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/lib/python2.7/linecache.py",> line 41, in getlines return updatecache(filename, module_globals) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/lib/python2.7/linecache.py",> line 132, in updatecache lines = fp.readlines() File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/plugins/multiprocess.py",> line 276, in signalhandler raise TimedOutException() TimedOutException: '<nose.plugins.multiprocess.NoSharedFixtureContextSuite context=WordCountIT>' ====================================================================== ERROR: test_metrics_fnapi_it (apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline_test.ExerciseMetricsPipelineTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/plugins/multiprocess.py",> line 812, in run test(orig) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/case.py",> line 45, in __call__ return self.run(*arg, **kwarg) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/case.py",> line 133, in run self.runTest(result) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/case.py",> line 151, in runTest test(result) File "/usr/lib/python2.7/unittest/case.py", line 393, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.7/unittest/case.py", line 329, in run testMethod() File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_exercise_metrics_pipeline_test.py",> line 57, in test_metrics_fnapi_it result = self.run_pipeline(experiment='beam_fn_api') File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_exercise_metrics_pipeline_test.py",> line 38, in run_pipeline test_pipeline = TestPipeline(is_integration_test=True) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/testing/test_pipeline.py",> line 107, in __init__ super(TestPipeline, self).__init__(runner, options) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 190, in __init__ errors = PipelineOptionsValidator(self._options, runner).validate() File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/options/pipeline_options_validator.py",> line 121, in validate errors.extend(self.options.view_as(cls).validate(self)) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/options/pipeline_options.py",> line 619, in validate self.view_as(GoogleCloudOptions).region = self._get_default_gcp_region() File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/options/pipeline_options.py",> line 584, in _get_default_gcp_region raw_output = processes.check_output(cmd, stderr=DEVNULL) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/utils/processes.py",> line 85, in check_output out = subprocess.check_output(*args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 568, in check_output output, unused_err = process.communicate() File "/usr/lib/python2.7/subprocess.py", line 792, in communicate stdout = _eintr_retry_call(self.stdout.read) File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call return func(*args) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/plugins/multiprocess.py",> line 276, in signalhandler raise TimedOutException() TimedOutException: 'test_metrics_fnapi_it (apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline_test.ExerciseMetricsPipelineTest)' ---------------------------------------------------------------------- XML: nosetests-python2.7_sdk.xml ---------------------------------------------------------------------- XML: <https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/nosetests.xml> ---------------------------------------------------------------------- Ran 2 tests in 904.630s FAILED (errors=2) cleanup_container Untagged: us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk:20200214-000000 Untagged: us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk@sha256:748eb51fcfac6764f8fe7d9132e3564910156c5a437e69fc5e8b1f9ed8d24844 Deleted: sha256:1d9a5e67b894324fb6a2e0235daddada231e71f371d65e8b4072e57f31eba9ce Deleted: sha256:018486085a92215509856fb81f392755ac935489a10d8da4ce757d665b70a575 Deleted: sha256:1eab51a77ff6093f9e84d6df4d7c09409112f6a7143b7e5903fbff88b2e886dc Deleted: sha256:2cc4741a347adde92cb52d201d07c691a27826e75c17b31fff27e0c1b8bc1302 Deleted: sha256:7c81d3c50cef63f0cdebf13b21ed3133db8e95824c643736384e297fce0f71fc Deleted: sha256:ec60e9bdc8dae3db5e71abdcf804fa68c0d365859f0a56a15c8cd8fcf60d41d7 Deleted: sha256:c3f8b776e35a135e43677bc30af99819a1211a01875fccc39d9d6e1c7550e4ca Deleted: sha256:e67682c8041d06b1b531003ff9945e9e818d31253b73b0b10c326b95c9d22ceb Deleted: sha256:e87041993995f639af9cee62feba3608bb20628830d2a01f82130a7dd9b117ea Deleted: sha256:8a6ac06646f8709753b292eb4482337889073f78410f29db3fb0694f25d7e7eb Deleted: sha256:ee38c109af1ff6df2ac91557819f4184b66e3bed9fdb1d7a9ddb1801544a8600 Deleted: sha256:5f0d4425a249e60395c647fa02ddee479aebc37d7302b60225dac0695aa7fbf8 Deleted: sha256:54b26ec95120dafc5196871a059972fe0133287ba85d54d03530c3500620ae92 Deleted: sha256:ab2f8ecceced506c03c58f05fd8f0f2e22d3e9d0fc64583070979de1d3e796a8 Deleted: sha256:296963970a3c04ffdde6685f7d0b71ad51c8352d688803c705d3bde96080ba3d Deleted: sha256:b0ba3521ba26348d10f833a878683be357031e55954795cd6a852c659f7d8875 Deleted: sha256:c5a5ab43aef94652c1f7b9cb61fa8431eff0c657ea89b47c16b862a77c5704cc Deleted: sha256:f8fba9d4ff79912083bc0830aea8f14ad86c30f6c2f78f2697ed9ab6ac9c1390 Deleted: sha256:6be5372dda571604f60ea358a2fdd3e4b61681c4dcc3bd33e0dad18afac1d763 Deleted: sha256:a06dc9ba39b5ba459489af0a3a3bc0b33d36479995bac51523fd6bececececda Deleted: sha256:5046be58d2cc903a16fb3bbffb5aea6e6bcb7c6a0d6f2929a871c1b8d665ed49 Deleted: sha256:2464048bb903508cdc796064d35195d5b5d26ffefc017115058b08192c539b67 Deleted: sha256:f0f4d84887f3deb5a73db8d29ec08bf39212e74e9c5f308926c86dab1e632f55 Deleted: sha256:1fa3deed8d3d5862b21b62f5a9c219967fd1924dca3b92b4a1793be3d4580e7d Digests: - us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk@sha256:748eb51fcfac6764f8fe7d9132e3564910156c5a437e69fc5e8b1f9ed8d24844 Associated tags: - 20200214-000000 Tags: - us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk:20200214-000000 Deleted [us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk:20200214-000000]. Deleted [us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk@sha256:748eb51fcfac6764f8fe7d9132e3564910156c5a437e69fc5e8b1f9ed8d24844]. Removed the container Build step 'Execute shell' marked build as failure --------------------------------------------------------------------- To unsubscribe, e-mail: builds-unsubscr...@beam.apache.org For additional commands, e-mail: builds-h...@beam.apache.org