See <https://builds.apache.org/job/beam_PostCommit_Py_ValCont/5925/display/redirect?page=changes>
Changes: [jozo.vilcek] [BEAM-9420] Configurable timeout for blocking kafka API call(s) ------------------------------------------ [...truncated 629.32 KB...] copying apache_beam/transforms/py_dataflow_distribution_counter.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/sideinputs.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/sideinputs_test.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/stats.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/stats_test.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/timeutil.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/transforms_keyword_only_args_test_py3.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/trigger.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/trigger_test.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/userstate.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/userstate_test.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/util.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/util_test.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/validate_runner_xlang_test.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/window.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/window_test.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/transforms/write_ptransform_test.py -> apache-beam-2.21.0.dev0/apache_beam/transforms copying apache_beam/typehints/__init__.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/decorators.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/decorators_test.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/decorators_test_py3.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/native_type_compatibility.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/native_type_compatibility_test.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/opcodes.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/schemas.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/schemas_test.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/trivial_inference.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/trivial_inference_test.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/trivial_inference_test_py3.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/typecheck.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/typed_pipeline_test.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/typed_pipeline_test_py3.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/typehints.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/typehints_test.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/typehints/typehints_test_py3.py -> apache-beam-2.21.0.dev0/apache_beam/typehints copying apache_beam/utils/__init__.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/annotations.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/annotations_test.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/counters.pxd -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/counters.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/counters_test.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/interactive_utils.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/plugin.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/processes.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/processes_test.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/profiler.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/proto_utils.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/retry.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/retry_test.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/subprocess_server.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/subprocess_server_test.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/thread_pool_executor.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/thread_pool_executor_test.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/timestamp.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/timestamp_test.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/urns.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/windowed_value.pxd -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/windowed_value.py -> apache-beam-2.21.0.dev0/apache_beam/utils copying apache_beam/utils/windowed_value_test.py -> apache-beam-2.21.0.dev0/apache_beam/utils Writing apache-beam-2.21.0.dev0/setup.cfg creating dist Creating tar archive removing 'apache-beam-2.21.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:251: 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.21.0.dev' to '2.21.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>:241: 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 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. ' WARNING:apache_beam.io.gcp.datastore.v1.datastoreio:Using deprecated Datastore client. This client will be removed in Beam 3.0 (next Beam major release). Please migrate to apache_beam.io.gcp.datastore.v1new.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 196, 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 603, in validate if validator.is_service_runner(): File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/options/pipeline_options_validator.py",> line 131, in is_service_runner self.options.view_as(GoogleCloudOptions).dataflow_endpoint) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/options/pipeline_options.py",> line 335, in view_as view = cls(self._flags) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/options/pipeline_options.py",> line 209, in __init__ self._visible_options, _ = parser.parse_known_args(flags) File "/usr/lib/python2.7/argparse.py", line 1733, in parse_known_args namespace, args = self._parse_known_args(args, namespace) File "/usr/lib/python2.7/argparse.py", line 1774, in _parse_known_args option_tuple = self._parse_optional(arg_string) File "/usr/lib/python2.7/argparse.py", line 2082, in _parse_optional option_tuples = self._get_option_tuples(arg_string) File "/usr/lib/python2.7/argparse.py", line 2124, in _get_option_tuples for option_string in self._option_string_actions: 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-beam_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.825s FAILED (errors=2) cleanup_container Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk:20200325-134120 Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk@sha256:8b773fa4df495bb53326611feb1cf7f02d1becf14c3d27e99fd4d5333559e729 Deleted: sha256:f30fe852bf6d4985a488ad911ef32310f738102a3d22ff69b11d2fdeb6fb0619 Deleted: sha256:eea2d4537dea2d4371610502672cadbe6c7795632c6a46d8eb57e21e3693aca9 Deleted: sha256:cf3985635a87178d202957d896d1f2e6f2a2fc457a373e4a0a625d61b757d475 Deleted: sha256:2af6285fd556ad1ecdd97646c76935f49bbf6f5882dbd4d3ce406ca0517ff4bf Deleted: sha256:452825fa87c7a2e104d99d5ef094d186aa9a348bea573a8b9b76ccb2ad9c4435 Deleted: sha256:d31f3a6b1066a1f33c35e1714da4ab1be96d955ccdaf747a5e1e1a81905f3e37 Deleted: sha256:973f10ceb47ead3c6baf7f79165d7527ebf99c49d30c8f2568c9680f35e5fad4 Deleted: sha256:a3627b807748374f1d025d6ee8e12df99d67b279fe779348eedf5068175fb64e Deleted: sha256:9fd3ea04641943adaa410d974d744df8108eec3e668e4584dff5860c8c61438a Deleted: sha256:0c871d3302c26947b6cfda485a100925a21b67baf6bd41ed40a1b56d8ac0ce13 Deleted: sha256:b1b2e423aa6754d9ef6196bb4624030cf52f27b9f95bbba3eb811a2c440a910a Deleted: sha256:dc496b8a71d9d16a864299f557c190adc57f4dba3c5ea46ccac353dadc3e088a Deleted: sha256:2c8d6afe7be4d62b64170057c3d1126269621174064163b84e866f591830f694 Deleted: sha256:770bb53aecfd318a2c20d03928a79225d3e56d5a990923f47474268178df7f1d Deleted: sha256:64ace12d5dfd5e38d1885a71282b784d0fbbe3ffb25dbb4f548e4e47f89f75e2 Deleted: sha256:ec375bd3c667c7f82c4dc5131a8ebd55c695219cc7594ca69bf9ae94c2e906cb Deleted: sha256:3b522898f20c1b5889fd80e3cd7b4ba83ba3e2109ee9b2e2a1af7d225fb38c19 Deleted: sha256:13b105119cb350e4cc9b8765a1eee5c9fc2f2b004b4dec45b9b51a68fbff5151 Deleted: sha256:1f58df9575a065ac8b6c20d8fb0d710788ada9622db4695a93e6e3ee15adcf3a Deleted: sha256:c8e953b8a78eba0622b473e392b291f02f93ac90bf33514e3e940633abc419e0 Deleted: sha256:67f80915a4f8532905576fd29b9c5d8c923327c7053502d7eb38aa1e592a054b Deleted: sha256:c88b4bd66a16a93def4b927cb54184004819171d74bf01d90a7360c81c7230b3 Deleted: sha256:625d0351d9b66e3893af23ae151cf4bd808c872ff0e4ddfb449b4ac604e1a977 Deleted: sha256:aea5ca8b69676c5f990d1972ef4e871e9bb544b1ebe07758382a42d579e9ca36 Digests: - us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk@sha256:8b773fa4df495bb53326611feb1cf7f02d1becf14c3d27e99fd4d5333559e729 Associated tags: - 20200325-134120 Tags: - us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk:20200325-134120 Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk:20200325-134120]. Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk@sha256:8b773fa4df495bb53326611feb1cf7f02d1becf14c3d27e99fd4d5333559e729]. 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