See <https://builds.apache.org/job/beam_PostCommit_Py_ValCont/4308/display/redirect>
------------------------------------------ [...truncated 215.68 KB...] copying apache_beam/transforms/cy_dataflow_distribution_counter.pxd -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/cy_dataflow_distribution_counter.pyx -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/dataflow_distribution_counter_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/display.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/display_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/dofn_lifecycle_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/external.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/external_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/external_test_it.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/external_test_py3.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/external_test_py37.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/ptransform.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/ptransform_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/py_dataflow_distribution_counter.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/sideinputs.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/sideinputs_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/stats.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/stats_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/timeutil.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/trigger.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/trigger_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/userstate.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/userstate_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/util.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/util_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/window.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/window_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/transforms/write_ptransform_test.py -> apache-beam-2.17.0.dev0/apache_beam/transforms copying apache_beam/typehints/__init__.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/decorators.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/decorators_test.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/decorators_test_py3.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/native_type_compatibility.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/native_type_compatibility_test.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/opcodes.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/trivial_inference.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/trivial_inference_test.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/trivial_inference_test_py3.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/typecheck.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/typed_pipeline_test.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/typed_pipeline_test_py3.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/typehints.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/typehints_test.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/typehints/typehints_test_py3.py -> apache-beam-2.17.0.dev0/apache_beam/typehints copying apache_beam/utils/__init__.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/annotations.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/annotations_test.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/counters.pxd -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/counters.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/counters_test.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/plugin.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/processes.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/processes_test.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/profiler.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/proto_utils.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/retry.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/retry_test.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/timestamp.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/timestamp_test.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/urns.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/windowed_value.pxd -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/windowed_value.py -> apache-beam-2.17.0.dev0/apache_beam/utils copying apache_beam/utils/windowed_value_test.py -> apache-beam-2.17.0.dev0/apache_beam/utils Writing apache-beam-2.17.0.dev0/setup.cfg creating dist Creating tar archive removing 'apache-beam-2.17.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.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:185: 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>:474: UserWarning: Normalizing '2.17.0.dev' to '2.17.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>:57: UserWarning: Installing grpcio-tools is recommended for development. warnings.warn('Installing grpcio-tools is recommended for development.') 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>:84: 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:root: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:root:Make sure that locally built Python SDK docker image has Python 2.7 interpreter. Failure: SyntaxError (invalid syntax (external_test_py37.py, line 46)) ... ERROR WARNING:root:--region not set; will default to us-central1. Future releases of Beam will require the user to set the region explicitly. https://cloud.google.com/compute/docs/regions-zones/regions-zones WARNING:root:--region not set; will default to us-central1. Future releases of Beam will require the user to set the region explicitly. https://cloud.google.com/compute/docs/regions-zones/regions-zones WARNING:root:--region not set; will default to us-central1. Future releases of Beam will require the user to set the region explicitly. https://cloud.google.com/compute/docs/regions-zones/regions-zones WARNING:root:--region not set; will default to us-central1. Future releases of Beam will require the user to set the region explicitly. https://cloud.google.com/compute/docs/regions-zones/regions-zones test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT) ... ok WARNING:root:Discarding unparseable args: ['--output=gs://temp-storage-for-end-to-end-tests/output'] WARNING:root:Discarding unparseable args: ['--output=gs://temp-storage-for-end-to-end-tests/output'] test_metrics_fnapi_it (apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline_test.ExerciseMetricsPipelineTest) ... ERROR ====================================================================== ERROR: Failure: SyntaxError (invalid syntax (external_test_py37.py, line 46)) ---------------------------------------------------------------------- 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/loader.py",> line 418, in loadTestsFromName addr.filename, addr.module) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/importer.py",> line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/nose/importer.py",> line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/transforms/external_test_py37.py",> line 46 integer_example: int ^ SyntaxError: invalid syntax ====================================================================== 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 60, 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 48, in run_pipeline return dataflow_exercise_metrics_pipeline.apply_and_run(p) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_exercise_metrics_pipeline.py",> line 180, in apply_and_run result = pipeline.run() File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 407, in run self._options).run(False) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 420, in run return self.runner.run_pipeline(self, self._options) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py",> line 71, in run_pipeline self.result.cancel() File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",> line 1369, in cancel return self.state File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",> line 1309, in state self._update_job() File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",> line 1265, in _update_job self._job = self._runner.dataflow_client.get_job(self.job_id()) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/utils/retry.py",> line 206, in wrapper return fun(*args, **kwargs) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py",> line 672, in get_job response = self._client.projects_locations_jobs.Get(request) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/runners/dataflow/internal/clients/dataflow/dataflow_v1b3_client.py",> line 689, in Get config, request, global_params=global_params) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/apitools/base/py/base_api.py",> line 729, in _RunMethod http, http_request, **opts) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/apitools/base/py/http_wrapper.py",> line 346, in MakeRequest check_response_func=check_response_func) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/apitools/base/py/http_wrapper.py",> line 396, in _MakeRequestNoRetry redirections=redirections, connection_type=connection_type) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/oauth2client/transport.py",> line 169, in new_request redirections, connection_type) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/oauth2client/transport.py",> line 169, in new_request redirections, connection_type) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/httplib2/__init__.py",> line 2133, in request cachekey, File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/httplib2/__init__.py",> line 1796, in _request conn, request_uri, method, body, headers File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/container/venv/python/local/lib/python2.7/site-packages/httplib2/__init__.py",> line 1737, in _conn_request response = conn.getresponse() File "/usr/lib/python2.7/httplib.py", line 1152, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 463, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 419, in _read_status line = self.fp.readline(_MAXLINE + 1) File "/usr/lib/python2.7/socket.py", line 480, in readline data = self._sock.recv(self._rbufsize) File "/usr/lib/python2.7/ssl.py", line 756, in recv return self.read(buflen) File "/usr/lib/python2.7/ssl.py", line 643, in read v = self._sslobj.read(len) 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 3 tests in 1480.506s FAILED (errors=2) cleanup_container Untagged: us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk:20190913-000031 Untagged: us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk@sha256:ca886848a4636a13cd703a9e3ca43c56b3ff1110db2b929cb8222f074e24229d Deleted: sha256:a9aa1f48b8f87700fe5eddc2e9fe0064209d2b44d3062bda1dbb0e6918d19792 Deleted: sha256:dd27e76601e4d81b963a457038f0141de60c27133b1d1d4121f94356a7b39e2b Deleted: sha256:6be8ecc302377262e56c9ba6ea3041a7c071d9e0e92609f940ad96c2c756878e Deleted: sha256:0399e52eda72cd445038d1e2d5434050c8c65e85214def6c54bd2014b575c0e4 Deleted: sha256:6208461369855677e02bd5e8e97c88fc2190ec11649cc1fb3020323733f57fc4 Deleted: sha256:1e44ed97e32b069d5659fcfa628de858fc23467e7fb09fc650f708a36908019d Deleted: sha256:3658df26ee5c24f73671810612e4536966346201065fee7179485f79671ee430 Deleted: sha256:7bfa09e1b11d97b12e82bf0194ca950998bc4e8ab63fa7ab5a1b54d6b53963e8 Deleted: sha256:379a0c25e5ef2681010f4d60a567a62c9084c02b203c73e26fee41ad1c1c6280 Deleted: sha256:0e399eea3c62206a0ad449ef408cf93f4c9c7e4127774ef4ec1aa7ad02c2f9bc Deleted: sha256:553144f983dfcab391e488c7e6fbb5af3ea543ababa51c83ee1c4f310a11e292 Deleted: sha256:3fc2201ed2ce61f2265d5d91da5cb1722e19e05e137cbb64321a9e04ff16c0c9 Deleted: sha256:139ef8321873cc03922dee31c1455d32e82e13085980c6758063e2f4582a8aab Deleted: sha256:bf97612a45ff1be6d0c5923660253032197d6a1722fa50e1a318e811cd6ff52f Digests: - us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk@sha256:ca886848a4636a13cd703a9e3ca43c56b3ff1110db2b929cb8222f074e24229d Associated tags: - 20190913-000031 Tags: - us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk:20190913-000031 Deleted [us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk:20190913-000031]. Deleted [us.gcr.io/apache-beam-testing/jenkins/python2.7_sdk@sha256:ca886848a4636a13cd703a9e3ca43c56b3ff1110db2b929cb8222f074e24229d]. 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