See <https://ci-beam.apache.org/job/beam_PostCommit_XVR_PythonUsingJava_Dataflow/2571/display/redirect>
Changes: ------------------------------------------ [...truncated 681.11 KB...] b613ab572be3: Preparing 28f879928d0c: Preparing 3c862c89601b: Preparing 8c854450c70c: Preparing 47a0492361a1: Preparing 53ae7e5bcde8: Preparing b613ab572be3: Waiting f941d3a9cdbb: Waiting 53ae7e5bcde8: Waiting 47a0492361a1: Waiting 28f879928d0c: Waiting 8c854450c70c: Waiting 966a94d7b290: Pushed 98add0e83c8e: Pushed 8244f54af1b3: Pushed f941d3a9cdbb: Layer already exists 47bfe86ce536: Layer already exists b613ab572be3: Layer already exists 28f879928d0c: Layer already exists 3c862c89601b: Layer already exists 8c854450c70c: Layer already exists 47a0492361a1: Layer already exists 53ae7e5bcde8: Layer already exists 55d0a537c832: Pushed 72e4da007067: Pushed c3fcffc00f65: Pushed 20231102225259: digest: sha256:3ca9023dfa1db3d8eb921c80e248c4b9e86267ea6f29530cf22a8793ce47355d size: 3267 > Task :runners:google-cloud-dataflow-java:setupXVR > Task :runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerSetup Launching Java expansion service @ 39833 Launching Python expansion service @ 39461 > Task > :runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerPythonUsingJava >>> RUNNING integration tests with pipeline options: >>> --runner=TestDataflowRunner --project=apache-beam-testing >>> --region=us-central1 >>> --sdk_harness_container_image_overrides=.*java.*,us.gcr.io/apache-beam-testing/java-postcommit-it/java:20231102225259 >>> >>> --sdk_location=<https://ci-beam.apache.org/job/beam_PostCommit_XVR_PythonUsingJava_Dataflow/ws/src/sdks/python/build/apache-beam.tar.gz> >>> pytest options: --capture=no --numprocesses=8 --timeout=4500 >>> --log-cli-level=INFO >>> collect markers: -m=uses_java_expansion_service ============================= test session starts ============================== platform linux -- Python 3.8.10, pytest-7.4.3, pluggy-1.3.0 rootdir: <https://ci-beam.apache.org/job/beam_PostCommit_XVR_PythonUsingJava_Dataflow/ws/src/sdks/python> configfile: pytest.ini plugins: timeout-2.2.0, xdist-3.3.1, requests-mock-1.11.0, hypothesis-6.88.1 timeout: 4500.0s timeout method: signal timeout func_only: False created: 8/8 workers 8 workers [10 items] scheduling tests via LoadScheduling apache_beam/io/external/generate_sequence_test.py::XlangGenerateSequenceTest::test_generate_sequence apache_beam/io/external/generate_sequence_test.py::XlangGenerateSequenceTest::test_generate_sequence_java_external_transform apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_combine_per_key apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_cogroup_by_key apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_combine_globally apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_multi_input_output_with_sideinput apache_beam/io/external/generate_sequence_test.py::XlangGenerateSequenceTest::test_generate_sequence_java_class_lookup_payload_builder apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_group_by_key [gw6] FAILED apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_group_by_key [gw0] PASSED apache_beam/io/external/generate_sequence_test.py::XlangGenerateSequenceTest::test_generate_sequence_java_class_lookup_payload_builder apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_prefix [gw2] PASSED apache_beam/io/external/generate_sequence_test.py::XlangGenerateSequenceTest::test_generate_sequence_java_external_transform [gw5] PASSED apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_combine_per_key [gw1] PASSED apache_beam/io/external/generate_sequence_test.py::XlangGenerateSequenceTest::test_generate_sequence apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_partition [gw3] PASSED apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_cogroup_by_key [gw4] PASSED apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_combine_globally [gw7] PASSED apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_multi_input_output_with_sideinput [gw0] PASSED apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_prefix [gw1] PASSED apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_partition =================================== FAILURES =================================== __________________ ValidateRunnerXlangTest.test_group_by_key ___________________ [gw6] linux -- Python 3.8.10 <https://ci-beam.apache.org/job/beam_PostCommit_XVR_PythonUsingJava_Dataflow/ws/src/build/gradleenv/1922375555/bin/python3.8> self = <apache_beam.transforms.validate_runner_xlang_test.ValidateRunnerXlangTest testMethod=test_group_by_key> test_pipeline = None @pytest.mark.uses_java_expansion_service @pytest.mark.uses_python_expansion_service def test_group_by_key(self, test_pipeline=None): > CrossLanguageTestPipelines().run_group_by_key( test_pipeline or self.create_pipeline()) apache_beam/transforms/validate_runner_xlang_test.py:266: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ apache_beam/transforms/validate_runner_xlang_test.py:141: in run_group_by_key assert_that(res, equal_to(['0:1,2', '1:3'])) apache_beam/pipeline.py:608: in __exit__ self.result = self.run() apache_beam/testing/test_pipeline.py:112: in run result = super().run( apache_beam/pipeline.py:585: in run return self.runner.run_pipeline(self, self._options) apache_beam/runners/dataflow/test_dataflow_runner.py:66: in run_pipeline self.result.wait_until_finish(duration=wait_duration) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <DataflowPipelineResult <Job clientRequestId: '20231102230411433628-5768' createTime: '2023-11-02T23:04:22.505755Z' ...023-11-02T23:04:22.505755Z' steps: [] tempFiles: [] type: TypeValueValuesEnum(JOB_TYPE_BATCH, 1)> at 0x7f6a8d929e20> duration = None def wait_until_finish(self, duration=None): if not self.is_in_terminal_state(): if not self.has_job: raise IOError('Failed to get the Dataflow job id.') consoleUrl = ( "Console URL: https://console.cloud.google.com/" f"dataflow/jobs/<RegionId>/{self.job_id()}" "?project=<ProjectId>") thread = threading.Thread( target=DataflowRunner.poll_for_job_completion, args=(self._runner, self, duration)) # Mark the thread as a daemon thread so a keyboard interrupt on the main # thread will terminate everything. This is also the reason we will not # use thread.join() to wait for the polling thread. thread.daemon = True thread.start() while thread.is_alive(): time.sleep(5.0) # TODO: Merge the termination code in poll_for_job_completion and # is_in_terminal_state. terminated = self.is_in_terminal_state() assert duration or terminated, ( 'Job did not reach to a terminal state after waiting indefinitely. ' '{}'.format(consoleUrl)) if terminated and self.state != PipelineState.DONE: # TODO(BEAM-1290): Consider converting this to an error log based on # theresolution of the issue. _LOGGER.error(consoleUrl) > raise DataflowRuntimeException( 'Dataflow pipeline failed. State: %s, Error:\n%s' % (self.state, getattr(self._runner, 'last_error_msg', None)), E apache_beam.runners.dataflow.dataflow_runner.DataflowRuntimeException: Dataflow pipeline failed. State: FAILED, Error: E Workflow failed. apache_beam/runners/dataflow/dataflow_runner.py:771: DataflowRuntimeException ------------------------------ Captured log call ------------------------------- INFO apache_beam.runners.portability.stager:stager.py:322 Copying Beam SDK "<https://ci-beam.apache.org/job/beam_PostCommit_XVR_PythonUsingJava_Dataflow/ws/src/sdks/python/build/apache-beam.tar.gz"> to staging location. INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:395 Pipeline has additional dependencies to be installed in SDK worker container, consider using the SDK container image pre-building workflow to avoid repetitive installations. Learn more on https://cloud.google.com/dataflow/docs/guides/using-custom-containers#prebuild INFO root:environments.py:313 Using provided Python SDK container image: gcr.io/cloud-dataflow/v1beta3/beam_python3.8_sdk:beam-master-20231023 INFO root:environments.py:320 Python SDK container image set to "gcr.io/cloud-dataflow/v1beta3/beam_python3.8_sdk:beam-master-20231023" for Docker environment INFO apache_beam.runners.portability.fn_api_runner.translations:translations.py:712 ==================== <function pack_combiners at 0x7f6a5bd70d30> ==================== INFO apache_beam.runners.portability.fn_api_runner.translations:translations.py:712 ==================== <function sort_stages at 0x7f6a5bd71550> ==================== INFO apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 Starting GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1102230411-431885-zxz6xnth.1698966251.432130/beam-sdks-java-testing-expansion-service-testExpansionService-2.53.0-SNAPSHOT-Y2gd5OBgR6fycast9Cte2F4QRp8al96DS8CF3zIYyyw.jar... INFO apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 Completed GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1102230411-431885-zxz6xnth.1698966251.432130/beam-sdks-java-testing-expansion-service-testExpansionService-2.53.0-SNAPSHOT-Y2gd5OBgR6fycast9Cte2F4QRp8al96DS8CF3zIYyyw.jar in 7 seconds. INFO apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 Starting GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1102230411-431885-zxz6xnth.1698966251.432130/dataflow_python_sdk.tar... INFO apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 Completed GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1102230411-431885-zxz6xnth.1698966251.432130/dataflow_python_sdk.tar in 0 seconds. INFO apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 Starting GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1102230411-431885-zxz6xnth.1698966251.432130/pipeline.pb... INFO apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 Completed GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1102230411-431885-zxz6xnth.1698966251.432130/pipeline.pb in 0 seconds. INFO apache_beam.runners.dataflow.internal.apiclient:apiclient.py:843 Create job: <Job clientRequestId: '20231102230411433628-5768' createTime: '2023-11-02T23:04:22.505755Z' currentStateTime: '1970-01-01T00:00:00Z' id: '2023-11-02_16_04_19-6381372311776248756' location: 'us-central1' name: 'beamapp-jenkins-1102230411-431885-zxz6xnth' projectId: 'apache-beam-testing' stageStates: [] startTime: '2023-11-02T23:04:22.505755Z' steps: [] tempFiles: [] type: TypeValueValuesEnum(JOB_TYPE_BATCH, 1)> INFO apache_beam.runners.dataflow.internal.apiclient:apiclient.py:845 Created job with id: [2023-11-02_16_04_19-6381372311776248756] INFO apache_beam.runners.dataflow.internal.apiclient:apiclient.py:846 Submitted job: 2023-11-02_16_04_19-6381372311776248756 INFO apache_beam.runners.dataflow.internal.apiclient:apiclient.py:847 To access the Dataflow monitoring console, please navigate to https://console.cloud.google.com/dataflow/jobs/us-central1/2023-11-02_16_04_19-6381372311776248756?project=apache-beam-testing INFO apache_beam.runners.dataflow.test_dataflow_runner:test_dataflow_runner.py:58 Console log: INFO apache_beam.runners.dataflow.test_dataflow_runner:test_dataflow_runner.py:59 https://console.cloud.google.com/dataflow/jobs/us-central1/2023-11-02_16_04_19-6381372311776248756?project=apache-beam-testing INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:150 Job 2023-11-02_16_04_19-6381372311776248756 is in state JOB_STATE_RUNNING INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-02T23:04:25.330Z: JOB_MESSAGE_BASIC: Worker configuration: e2-standard-2 in us-central1-b. INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-02T23:04:28.281Z: JOB_MESSAGE_BASIC: Executing operation ExternalTransform(beam:transforms:xlang:test:gbk)/Create INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-02T23:04:28.329Z: JOB_MESSAGE_BASIC: Starting 1 workers in us-central1-b... INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-02T23:04:28.553Z: JOB_MESSAGE_BASIC: Finished operation ExternalTransform(beam:transforms:xlang:test:gbk)/Create INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-02T23:04:37.489Z: JOB_MESSAGE_BASIC: Executing operation Create/Impulse+Create/FlatMap(<lambda at core.py:3774>)+Create/Map(decode)+ExternalTransform(beam:transforms:xlang:test:gbk)/Write INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-02T23:04:43.395Z: JOB_MESSAGE_BASIC: Your project already contains 100 Dataflow-created metric descriptors, so new user metrics of the form custom.googleapis.com/* will not be created. However, all user metrics are also available in the metric dataflow.googleapis.com/job/user_counter. If you rely on the custom metrics, you can delete old / unused metric descriptors. See https://developers.google.com/apis-explorer/#p/monitoring/v3/monitoring.projects.metricDescriptors.list and https://developers.google.com/apis-explorer/#p/monitoring/v3/monitoring.projects.metricDescriptors.delete ERROR apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:204 2023-11-02T23:06:34.168Z: JOB_MESSAGE_ERROR: Startup of the worker pool in zone us-central1-b failed to bring up any of the desired 1 workers. Please refer to https://cloud.google.com/dataflow/docs/guides/common-errors#worker-pool-failure for help troubleshooting. ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS: Instance 'beamapp-jenkins-110223041-11021604-ccxj-harness-s68f' creation failed: The zone 'projects/apache-beam-testing/zones/us-central1-b' does not have enough resources available to fulfill the request. '(resource type:compute)'. ERROR apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:204 2023-11-02T23:06:34.194Z: JOB_MESSAGE_ERROR: Workflow failed. INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-02T23:06:34.246Z: JOB_MESSAGE_BASIC: Finished operation Create/Impulse+Create/FlatMap(<lambda at core.py:3774>)+Create/Map(decode)+ExternalTransform(beam:transforms:xlang:test:gbk)/Write INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-02T23:06:34.375Z: JOB_MESSAGE_BASIC: Stopping worker pool... INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-02T23:06:50.958Z: JOB_MESSAGE_BASIC: Worker pool stopped. INFO apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:150 Job 2023-11-02_16_04_19-6381372311776248756 is in state JOB_STATE_FAILED ERROR apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:770 Console URL: https://console.cloud.google.com/dataflow/jobs/<RegionId>/2023-11-02_16_04_19-6381372311776248756?project=<ProjectId> - generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_XVR_PythonUsingJava_Dataflow/ws/src/sdks/python/pytest_xlangValidateRunner.xml> - =========================== short test summary info ============================ FAILED apache_beam/transforms/validate_runner_xlang_test.py::ValidateRunnerXlangTest::test_group_by_key - apache_beam.runners.dataflow.dataflow_runner.DataflowRuntimeException: Dataflow pipeline failed. State: FAILED, Error: Workflow failed. ============= 1 failed, 9 passed, 17 skipped in 960.47s (0:16:00) ============== > Task > :runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerPythonUsingJava > FAILED > Task :runners:google-cloud-dataflow-java:cleanupXVR UP-TO-DATE > Task :runners:google-cloud-dataflow-java:cleanUpDockerPythonImages Untagged: us.gcr.io/apache-beam-testing/java-postcommit-it/python:20231102225259 Untagged: us.gcr.io/apache-beam-testing/java-postcommit-it/python@sha256:3ca9023dfa1db3d8eb921c80e248c4b9e86267ea6f29530cf22a8793ce47355d WARNING: Successfully resolved tag to sha256, but it is recommended to use sha256 directly. Tag: [us.gcr.io/apache-beam-testing/java-postcommit-it/python:20231102225259] - referencing digest: [us.gcr.io/apache-beam-testing/java-postcommit-it/python@sha256:3ca9023dfa1db3d8eb921c80e248c4b9e86267ea6f29530cf22a8793ce47355d] Deleted [[us.gcr.io/apache-beam-testing/java-postcommit-it/python:20231102225259] (referencing [us.gcr.io/apache-beam-testing/java-postcommit-it/python@sha256:3ca9023dfa1db3d8eb921c80e248c4b9e86267ea6f29530cf22a8793ce47355d])]. Removing untagged image us.gcr.io/apache-beam-testing/java-postcommit-it/python@sha256:3ca9023dfa1db3d8eb921c80e248c4b9e86267ea6f29530cf22a8793ce47355d > Task :runners:google-cloud-dataflow-java:cleanUpDockerJavaImages Untagged: us.gcr.io/apache-beam-testing/java-postcommit-it/java:20231102225259 Untagged: us.gcr.io/apache-beam-testing/java-postcommit-it/java@sha256:c94ed0f32919c7bec95cf387ae09337f9d303d650e16a9158a8d24c85ea8d2d4 WARNING: Successfully resolved tag to sha256, but it is recommended to use sha256 directly. Tag: [us.gcr.io/apache-beam-testing/java-postcommit-it/java:20231102225259] - referencing digest: [us.gcr.io/apache-beam-testing/java-postcommit-it/java@sha256:c94ed0f32919c7bec95cf387ae09337f9d303d650e16a9158a8d24c85ea8d2d4] Deleted [[us.gcr.io/apache-beam-testing/java-postcommit-it/java:20231102225259] (referencing [us.gcr.io/apache-beam-testing/java-postcommit-it/java@sha256:c94ed0f32919c7bec95cf387ae09337f9d303d650e16a9158a8d24c85ea8d2d4])]. Removing untagged image us.gcr.io/apache-beam-testing/java-postcommit-it/java@sha256:c94ed0f32919c7bec95cf387ae09337f9d303d650e16a9158a8d24c85ea8d2d4 > Task :runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerCleanup Stopping expansion service pid: 4177405. Stopping expansion service pid: 4177406. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerPythonUsingJava'. > Process 'command 'sh'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Get more help at https://help.gradle.org. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 27m 25s 154 actionable tasks: 105 executed, 45 from cache, 4 up-to-date Publishing build scan... https://ge.apache.org/s/7o55drov2b4d2 Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
