See <https://builds.apache.org/job/beam_PostCommit_Py_ValCont/5942/display/redirect?page=changes>
Changes: [github] [BEAM-9495] Make DataCatalogTableProvider AutoCloseable (#11116) ------------------------------------------ [...truncated 632.75 KB...] 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/typecheck_test_py3.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_wordcount_fnapi_it (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/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/examples/wordcount_it_test.py",> line 54, in test_wordcount_fnapi_it self._run_wordcount_it(wordcount.run, experiment='beam_fn_api') File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py",> line 91, in _run_wordcount_it save_main_session=False) File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/examples/wordcount.py",> line 121, in run result = p.run() File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/pipeline.py",> line 498, 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 511, 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 75, 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 1573, in cancel self.job_id(), 'JOB_STATE_CANCELLED'): File "<https://builds.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/utils/retry.py",> line 236, 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 763, in modify_job_state request.job = dataflow.Job(requestedState=new_state) 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/protorpclite/messages.py",> line 973, in __setattr__ object.__setattr__(self, name, value) 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/protorpclite/messages.py",> line 1644, in __set__ t = self.type 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/protorpclite/messages.py",> line 1665, in type self.__type = message_type 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/protorpclite/messages.py",> line 1265, in __setattr__ object.__setattr__(self, name, value) 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_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) ---------------------------------------------------------------------- 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 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 91, 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-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.145s FAILED (errors=2) cleanup_container Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk:20200326-201655 Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk@sha256:86a8a4777a38382d09b88619265d9fa28b094993e3137ae8c368e811a9d5eb4e Deleted: sha256:079ac6c81c0df1e1474b39068c01e63121df90bb6b4ec65a9766f6b544e5a633 Deleted: sha256:9fe0fa68f1349a98148800e06b14dbc3a93743f92121a392b4a6349a4f012519 Deleted: sha256:468d8e12929ecba77afcd3f3a09be3e866eecacfa53af4601809c4e640a766b3 Deleted: sha256:003bf6cc91c9a16bf2103d52177674d6050717c9debf9347a3c6e22e4bb60437 Deleted: sha256:6b4ffce2d55555ce7bc811f80708eec3668e17098d36ce41598b6196fc1a60c7 Deleted: sha256:bcc0b9574b77971101d2a6e91eb0998208b8b849360d53fa704450169004a15b Deleted: sha256:f84db6759ba1de9716106492542d3bda99259d637bde8c4545b0318979e336d6 Deleted: sha256:aa9ce18f1b09730da6e6a04db04a4121af27dabc0179f9533e069c7526bb05ca Deleted: sha256:9b5512167e4e4a9678703b059b92adfe62d6f21c329348a18e28900ea3e872fb Deleted: sha256:1069674f19c9781ed558784b7c74bfab27a58ea6eab44ceea49c6b925e7176af Deleted: sha256:1261f09cb6a38f055e0c1940ebb57bde484be1af2fcc81279bd60677ea230f7e Deleted: sha256:a4182037ade34c55fc18dd5503d4f9d98f6789cf9785eaf0ed5ba1d7dfd72104 Deleted: sha256:8cb421d73985ea224d47cffbcd1c9e35e52188534562d9260160c822a11bbbfe Deleted: sha256:c2680c84c2af916f64bcbd313961b85dab4d772214a83c65ad78617dd81a6186 Deleted: sha256:ba0d2cce8881c0e681c6ff5fda3bf1450331def888079fe0bbe83b5a4dd8e8d2 Deleted: sha256:648624b3fccfc97beba4dc4fc959a031564655c90e8277d4053351bf29ff0dc3 Deleted: sha256:ecfdb6e715ba14f399631661c030feef27ed1d123bbcc39f7cc604a6e1a105b3 Deleted: sha256:fdd82795897934068cf4377320ab979ecdeb1c68f9b04c78cdfc9bbbf1d8192b Deleted: sha256:1e58c72113ece569f4bd132e3a6894385288c9a15852c506ea097674d7fdb9a2 Deleted: sha256:bfee21e5e0fb7f128c63b1ae4a836b232f9bb211ad04be226e1a7565851b3df8 Deleted: sha256:71b12df41aef1a03fd6ab7ea4012e528e1f662d157ee52abc805844441030e1c Deleted: sha256:a7f2de13af6c57057de6e2bc94ae69791f702c5d02ebfd0712aea4903466b728 Deleted: sha256:64bc0e9d8d0fcba43c9a13d87f19ce26c82f2ebc33e4fd4c81378154c088f632 Deleted: sha256:2d9d0db9308950bbbb6256123a4374acdf47ddebc5dfeca0db27454c56919ecd Digests: - us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk@sha256:86a8a4777a38382d09b88619265d9fa28b094993e3137ae8c368e811a9d5eb4e Associated tags: - 20200326-201655 Tags: - us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk:20200326-201655 Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk:20200326-201655]. Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python2.7_sdk@sha256:86a8a4777a38382d09b88619265d9fa28b094993e3137ae8c368e811a9d5eb4e]. 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