See 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/9765/display/redirect>

Changes:


------------------------------------------
[...truncated 224.92 KB...]
 stageStates: []
 startTime: '2022-08-28T03:52:05.614796Z'
 steps: []
 tempFiles: []
 type: TypeValueValuesEnum(JOB_TYPE_STREAMING, 2)>
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:913 Created job 
with id: [2022-08-27_20_52_05-4167054229845768571]
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:914 Submitted job: 
2022-08-27_20_52_05-4167054229845768571
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:920 To access the 
Dataflow monitoring console, please navigate to 
https://console.cloud.google.com/dataflow/jobs/us-central1/2022-08-27_20_52_05-4167054229845768571?project=apache-beam-testing
Worker logs: 
https://console.cloud.google.com/dataflow/jobs/us-central1/2022-08-27_20_52_05-4167054229845768571?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/2022-08-27_20_52_05-4167054229845768571?project=apache-beam-testing
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:197 Job 
2022-08-27_20_52_05-4167054229845768571 is in state JOB_STATE_RUNNING
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:05.231Z: JOB_MESSAGE_BASIC: Streaming Engine auto-enabled. Use 
--experiments=disable_streaming_engine to opt out.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:05.231Z: JOB_MESSAGE_BASIC: Dataflow Runner V2 auto-enabled. 
Use --experiments=disable_runner_v2 to opt out.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:06.423Z: JOB_MESSAGE_WARNING: Autoscaling is enabled for 
Dataflow Streaming Engine. Workers will scale between 1 and 100 unless 
maxNumWorkers is specified.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:06.596Z: JOB_MESSAGE_DETAILED: Autoscaling is enabled for job 
2022-08-27_20_52_05-4167054229845768571. The number of workers will be between 
1 and 100.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:06.656Z: JOB_MESSAGE_DETAILED: Autoscaling was automatically 
enabled for job 2022-08-27_20_52_05-4167054229845768571.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:12.827Z: JOB_MESSAGE_BASIC: Worker configuration: 
e2-standard-2 in us-central1-a.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:15.839Z: JOB_MESSAGE_DETAILED: Expanding SplittableParDo 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:15.866Z: JOB_MESSAGE_DETAILED: Expanding CollectionToSingleton 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:15.931Z: JOB_MESSAGE_DETAILED: Expanding CoGroupByKey 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:15.971Z: JOB_MESSAGE_DETAILED: Expanding 
SplittableProcessKeyed operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:15.995Z: JOB_MESSAGE_DETAILED: Expanding GroupByKey operations 
into streaming Read/Write steps
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.032Z: JOB_MESSAGE_DETAILED: Lifting 
ValueCombiningMappingFns into MergeBucketsMappingFns
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.066Z: JOB_MESSAGE_DEBUG: Annotating graph with Autotuner 
information.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.108Z: JOB_MESSAGE_DETAILED: Fusing adjacent ParDo, Read, 
Write, and Flatten operations
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.139Z: JOB_MESSAGE_DETAILED: Fusing consumer 
generate_metrics into ReadFromPubSub/Read
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.171Z: JOB_MESSAGE_DETAILED: Fusing consumer 
dump_to_pub/ToProtobuf into generate_metrics
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.205Z: JOB_MESSAGE_DETAILED: Fusing consumer 
dump_to_pub/Write into dump_to_pub/ToProtobuf
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.244Z: JOB_MESSAGE_BASIC: Running job using Streaming Engine
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.273Z: JOB_MESSAGE_BASIC: Using cloud KMLS key to protect 
persistent state.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.382Z: JOB_MESSAGE_DEBUG: Workflow config is missing a 
default resource spec.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.410Z: JOB_MESSAGE_DEBUG: Adding StepResource setup and 
teardown to workflow graph.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.436Z: JOB_MESSAGE_DEBUG: Adding workflow start and stop 
steps.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.468Z: JOB_MESSAGE_DEBUG: Assigning stage ids.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.532Z: JOB_MESSAGE_DEBUG: Starting worker pool setup.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.557Z: JOB_MESSAGE_DEBUG: Starting worker pool setup.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:16.591Z: JOB_MESSAGE_BASIC: Starting 1 workers in 
us-central1-a...
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:36.212Z: 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

> Task :sdks:python:test-suites:dataflow:py39:validatesRunnerStreamingTests
WARNING  
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:253 Timing out 
on waiting for job 2022-08-27_20_51_29-17769219047030976123 after 61 seconds

> Task :sdks:python:test-suites:dataflow:py37:validatesRunnerStreamingTests
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:51.369Z: JOB_MESSAGE_DETAILED: Autoscaling: Raised the number 
of workers to 1 so that the pipeline can catch up with its backlog and keep up 
with its input rate.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:53:18.194Z: JOB_MESSAGE_DETAILED: Workers have started 
successfully.
WARNING  
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:256 Timing out 
on waiting for job 2022-08-27_20_52_05-4167054229845768571 after 61 seconds
PASSED

=============================== warnings summary 
===============================
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py>:15:
 DeprecationWarning: the imp module is deprecated in favour of importlib; see 
the module's documentation for alternative uses
    from imp import load_source

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/pytest_validatesRunnerStreamingTests-df-py37-noxdist.xml>
 -
===== 1 passed, 2 skipped, 6551 
deselected, 1 warning in 659.97s (0:10:59) 
=====

> Task :sdks:python:test-suites:dataflow:py39:validatesRunnerStreamingTests
ERROR    
apache_beam.runners.dataflow.test_dataflow_runner:test_dataflow_runner.py:102 
Console URL: 
https://console.cloud.google.com/dataflow/<regionId>/2022-08-27_20_51_29-17769219047030976123?project=<projectId>
FAILED

=================================== FAILURES ===================================
_ 
ExerciseStreamingMetricsPipelineTest.test_streaming_pipeline_returns_expected_user_metrics_fnapi_it
 _

self = 
<apache_beam.runners.dataflow.dataflow_exercise_streaming_metrics_pipeline_test.ExerciseStreamingMetricsPipelineTest
 testMethod=test_streaming_pipeline_returns_expected_user_metrics_fnapi_it>

    @pytest.mark.it_validatesrunner
    @pytest.mark.no_sickbay_batch
    @pytest.mark.no_xdist
    def test_streaming_pipeline_returns_expected_user_metrics_fnapi_it(self):
      """
      Runs streaming Dataflow job and verifies that user metrics are reported
      correctly.
      """
      self._inject_words(self.input_topic, MESSAGES_TO_PUBLISH)
>     result = self.run_pipeline()

apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline_test.py:136:
 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline_test.py:124:
 in run_pipeline
    return dataflow_exercise_streaming_metrics_pipeline.run(argv)
apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline.py:99:
 in run
    result = pipeline.run()
apache_beam/pipeline.py:574: in run
    return self.runner.run_pipeline(self, self._options)
apache_beam/runners/dataflow/test_dataflow_runner.py:74: in 
run_pipeline
    self.wait_until_in_state(PipelineState.CANCELLED)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <apache_beam.runners.dataflow.test_dataflow_runner.TestDataflowRunner 
object at 0x7f084c22e7c0>
expected_state = 'CANCELLED', timeout = 600

    def wait_until_in_state(self, expected_state, 
timeout=WAIT_IN_STATE_TIMEOUT):
      """Wait until Dataflow pipeline enters a certain state."""
      consoleUrl = (
          "Console URL: https://console.cloud.google.com/dataflow/";
          f"<regionId>/{self.result.job_id()}?project=<projectId>")
      if not self.result.has_job:
        _LOGGER.error(consoleUrl)
        raise IOError('Failed to get the Dataflow job id.')
    
      start_time = time.time()
      while time.time() - start_time <= timeout:
        job_state = self.result.state
        if self.result.is_in_terminal_state() or job_state == expected_state:
          return job_state
        time.sleep(5)
      _LOGGER.error(consoleUrl)
>     raise RuntimeError(
          'Timeout after %d seconds while waiting for job %s '
          'enters expected state %s. Current state is %s.' %
          (timeout, self.result.job_id(), expected_state, self.result.state))
E     RuntimeError: Timeout after 600 seconds while waiting for job 
2022-08-27_20_51_29-17769219047030976123 enters expected state CANCELLED. 
Current state is CANCELLING.

apache_beam/runners/dataflow/test_dataflow_runner.py:103: 
RuntimeError
------------------------------ Captured log call -------------------------------
INFO     apache_beam.runners.portability.stager:stager.py:754 
Executing command: 
['<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/bin/python3.9',>
 '-m', 'pip', 'download', '--dest', '/tmp/dataflow-requirements-cache', '-r', 
'/tmp/tmpdydjhvpk/tmp_requirements.txt', '--exists-action', 'i', '--no-deps', 
'--implementation', 'cp', '--abi', 'cp39', '--platform', 'manylinux2014_x86_64']
INFO     apache_beam.runners.portability.stager:stager.py:325 Copying 
Beam SDK 
"<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/build/apache-beam.tar.gz";>
 to staging location.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:477 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:376 Default Python SDK image for 
environment is apache/beam_python3.9_sdk:2.42.0.dev
INFO     root:environments.py:295 Using provided Python SDK container 
image: gcr.io/cloud-dataflow/v1beta3/python39-fnapi:beam-master-20220811
INFO     root:environments.py:302 Python SDK container image set to 
"gcr.io/cloud-dataflow/v1beta3/python39-fnapi:beam-master-20220811" for Docker 
environment
INFO     apache_beam.internal.gcp.auth:auth.py:136 Setting socket 
default timeout to 60 seconds.
INFO     apache_beam.internal.gcp.auth:auth.py:138 socket default 
timeout is 60.0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/requirements.txt...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/requirements.txt
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/pickled_main_session...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/pickled_main_session
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/mock-2.0.0-py2.py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/mock-2.0.0-py2.py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/seaborn-0.11.2-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/seaborn-0.11.2-py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/PyHamcrest-1.10.1-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/PyHamcrest-1.10.1-py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/beautifulsoup4-4.11.1-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/beautifulsoup4-4.11.1-py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/parameterized-0.7.5-py2.py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/parameterized-0.7.5-py2.py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/matplotlib-3.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/matplotlib-3.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/matplotlib-3.5.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/matplotlib-3.5.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/matplotlib-3.5.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/matplotlib-3.5.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/matplotlib-3.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/matplotlib-3.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/dataflow_python_sdk.tar...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/dataflow_python_sdk.tar
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/dataflow-worker.jar...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/dataflow-worker.jar
 in 6 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/pipeline.pb...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:748 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0828035119-548266-nthvafm2.1661658679.548445/pipeline.pb
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:911 Create job: 
<Job
 clientRequestId: '20220828035119549582-2535'
 createTime: '2022-08-28T03:51:30.412517Z'
 currentStateTime: '1970-01-01T00:00:00Z'
 id: '2022-08-27_20_51_29-17769219047030976123'
 location: 'us-central1'
 name: 'beamapp-jenkins-0828035119-548266-nthvafm2'
 projectId: 'apache-beam-testing'
 stageStates: []
 startTime: '2022-08-28T03:51:30.412517Z'
 steps: []
 tempFiles: []
 type: TypeValueValuesEnum(JOB_TYPE_STREAMING, 2)>
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:913 Created job 
with id: [2022-08-27_20_51_29-17769219047030976123]
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:914 Submitted job: 
2022-08-27_20_51_29-17769219047030976123
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:915 To access the 
Dataflow monitoring console, please navigate to 
https://console.cloud.google.com/dataflow/jobs/us-central1/2022-08-27_20_51_29-17769219047030976123?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/2022-08-27_20_51_29-17769219047030976123?project=apache-beam-testing
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:197 Job 
2022-08-27_20_51_29-17769219047030976123 is in state JOB_STATE_RUNNING
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:30.008Z: JOB_MESSAGE_BASIC: Streaming Engine auto-enabled. Use 
--experiments=disable_streaming_engine to opt out.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:30.009Z: JOB_MESSAGE_BASIC: Dataflow Runner V2 auto-enabled. 
Use --experiments=disable_runner_v2 to opt out.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:31.067Z: JOB_MESSAGE_WARNING: Autoscaling is enabled for 
Dataflow Streaming Engine. Workers will scale between 1 and 100 unless 
maxNumWorkers is specified.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:31.144Z: JOB_MESSAGE_DETAILED: Autoscaling is enabled for job 
2022-08-27_20_51_29-17769219047030976123. The number of workers will be between 
1 and 100.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:31.173Z: JOB_MESSAGE_DETAILED: Autoscaling was automatically 
enabled for job 2022-08-27_20_51_29-17769219047030976123.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:35.486Z: JOB_MESSAGE_BASIC: Worker configuration: 
e2-standard-2 in us-central1-a.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.237Z: JOB_MESSAGE_DETAILED: Expanding SplittableParDo 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.273Z: JOB_MESSAGE_DETAILED: Expanding CollectionToSingleton 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.346Z: JOB_MESSAGE_DETAILED: Expanding CoGroupByKey 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.391Z: JOB_MESSAGE_DETAILED: Expanding 
SplittableProcessKeyed operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.428Z: JOB_MESSAGE_DETAILED: Expanding GroupByKey operations 
into streaming Read/Write steps
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.460Z: JOB_MESSAGE_DETAILED: Lifting 
ValueCombiningMappingFns into MergeBucketsMappingFns
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.508Z: JOB_MESSAGE_DEBUG: Annotating graph with Autotuner 
information.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.563Z: JOB_MESSAGE_DETAILED: Fusing adjacent ParDo, Read, 
Write, and Flatten operations
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.636Z: JOB_MESSAGE_DETAILED: Fusing consumer 
generate_metrics into ReadFromPubSub/Read
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.673Z: JOB_MESSAGE_DETAILED: Fusing consumer 
dump_to_pub/ToProtobuf into generate_metrics
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.708Z: JOB_MESSAGE_DETAILED: Fusing consumer 
dump_to_pub/Write into dump_to_pub/ToProtobuf
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.747Z: JOB_MESSAGE_BASIC: Running job using Streaming Engine
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.775Z: JOB_MESSAGE_BASIC: Using cloud KMLS key to protect 
persistent state.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.884Z: JOB_MESSAGE_DEBUG: Workflow config is missing a 
default resource spec.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.912Z: JOB_MESSAGE_DEBUG: Adding StepResource setup and 
teardown to workflow graph.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.945Z: JOB_MESSAGE_DEBUG: Adding workflow start and stop 
steps.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:38.977Z: JOB_MESSAGE_DEBUG: Assigning stage ids.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:39.034Z: JOB_MESSAGE_DEBUG: Starting worker pool setup.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:39.084Z: JOB_MESSAGE_BASIC: Starting 1 workers in 
us-central1-a...
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:51:39.121Z: JOB_MESSAGE_DEBUG: Starting worker pool setup.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:10.788Z: 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
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:242 
2022-08-28T03:52:13.937Z: JOB_MESSAGE_DETAILED: Autoscaling: Raised the number 
of workers to 1 so that the pipeline can catch up with its backlog and keep up 
with its input rate.
WARNING  
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:253 Timing out 
on waiting for job 2022-08-27_20_51_29-17769219047030976123 after 61 seconds
ERROR    
apache_beam.runners.dataflow.test_dataflow_runner:test_dataflow_runner.py:102 
Console URL: 
https://console.cloud.google.com/dataflow/<regionId>/2022-08-27_20_51_29-17769219047030976123?project=<projectId>
=============================== warnings summary 
===============================
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py>:15:
 DeprecationWarning: the imp module is deprecated in favour of importlib; see 
the module's documentation for alternative uses
    from imp import load_source

../../build/gradleenv/-1734967050/lib/python3.9/site-packages/tenacity/_asyncio.py:42
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/tenacity/_asyncio.py>:42:
 DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use 
"async def" instead
    def call(self, fn, *args, **kwargs):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/pytest_validatesRunnerStreamingTests-df-py39-noxdist.xml>
 -
=========================== short test summary info ============================
FAILED 
apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline_test.py::ExerciseStreamingMetricsPipelineTest::test_streaming_pipeline_returns_expected_user_metrics_fnapi_it
==== 1 failed, 2 skipped, 6551 deselected, 
2 warnings in 1136.77s (0:18:56) ====

> Task :sdks:python:test-suites:dataflow:py39:validatesRunnerStreamingTests 
> FAILED

FAILURE: Build failed with an exception.

* Where:
Script 
'<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'>
 line: 287

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:dataflow:py39:validatesRunnerStreamingTests'.
> 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.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1h 50m 34s
100 actionable tasks: 65 executed, 33 from cache, 2 up-to-date

Publishing build scan...
https://gradle.com/s/z6xcklcnnbfqy

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]

Reply via email to