See 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/4370/display/redirect?page=changes>

Changes:

[noreply] Disable sonarqube cron job (#24769)


------------------------------------------
[...truncated 174.74 KB...]
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/sdks/python/pytest_validatesRunnerStreamingTests-df-py37-noxdist.xml>
 -
===== 1 passed, 5 skipped, 6796 
deselected, 1 warning in 923.66s (0:15:23) 
=====

> Task :sdks:python:test-suites:dataflow:py310:validatesRunnerStreamingTests
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:140:
 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline_test.py:128:
 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:577: in run
    return self.runner.run_pipeline(self, self._options)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <apache_beam.runners.dataflow.test_dataflow_runner.TestDataflowRunner 
object at 0x7fcdc684a5f0>
pipeline = <apache_beam.pipeline.Pipeline object at 0x7fcdc6849c30>
options = <apache_beam.options.pipeline_options.PipelineOptions object at 
0x7fcdc6849e40>

    def run_pipeline(self, pipeline, options):
      """Execute test pipeline and verify test matcher"""
      test_options = options.view_as(TestOptions)
      on_success_matcher = test_options.on_success_matcher
      wait_duration = test_options.wait_until_finish_duration
      is_streaming = options.view_as(StandardOptions).streaming
    
      # [BEAM-1889] Do not send this to remote workers also, there is no need to
      # send this option to remote executors.
      test_options.on_success_matcher = None
    
      self.result = super().run_pipeline(pipeline, options)
      if self.result.has_job:
        # TODO(markflyhigh)(https://github.com/apache/beam/issues/18254): Use
        # print since Nose dosen't show logs in some cases.
        print('Worker logs: %s' % self.build_console_url(options))
        _LOGGER.info('Console log: ')
        _LOGGER.info(self.build_console_url(options))
    
      try:
        self.wait_until_in_state(PipelineState.RUNNING)
    
        if is_streaming and not wait_duration:
          _LOGGER.warning('Waiting indefinitely for streaming job.')
        self.result.wait_until_finish(duration=wait_duration)
    
        if on_success_matcher:
          from hamcrest import assert_that as hc_assert_that
>         hc_assert_that(self.result, pickler.loads(on_success_matcher))
E         AssertionError: 
E         Expected: (Test pipeline expected terminated in state: 
RUNNING and Expected 3 messages.)
E              but: Expected 3 messages. Got 0 messages. Diffs (item, 
count):
E           Expected but not in actual: dict_items([(b'message a', 1), 
(b'message b b', 1), (b'message c', 1)])
E           Unexpected: dict_items([])
E           Unexpected (with all details): []

apache_beam/runners/dataflow/test_dataflow_runner.py:70: 
AssertionError
------------------------------ Captured log call -------------------------------
INFO     apache_beam.runners.portability.stager:stager.py:772 
Executing command: 
['<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/2050596098/bin/python3.10',>
 '-m', 'pip', 'download', '--dest', '/tmp/dataflow-requirements-cache', '-r', 
'/tmp/tmp47ipyq6t/tmp_requirements.txt', '--exists-action', 'i', '--no-deps', 
'--implementation', 'cp', '--abi', 'cp310', '--platform', 
'manylinux2014_x86_64']
INFO     apache_beam.runners.portability.stager:stager.py:330 Copying 
Beam SDK 
"<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/sdks/python/build/apache-beam.tar.gz";>
 to staging location.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:443 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.10_sdk:2.45.0.dev
INFO     root:environments.py:295 Using provided Python SDK container 
image: gcr.io/cloud-dataflow/v1beta3/python310-fnapi:beam-master-20221205
INFO     root:environments.py:302 Python SDK container image set to 
"gcr.io/cloud-dataflow/v1beta3/python310-fnapi:beam-master-20221205" for Docker 
environment
INFO     apache_beam.internal.gcp.auth:auth.py:130 Setting socket 
default timeout to 60 seconds.
INFO     apache_beam.internal.gcp.auth:auth.py:132 socket default 
timeout is 60.0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/requirements.txt...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/requirements.txt
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/pickled_main_session...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/pickled_main_session
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/0-0.0.0-py2.py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/0-0.0.0-py2.py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/mock-2.0.0-py2.py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/mock-2.0.0-py2.py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/seaborn-0.12.1-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/seaborn-0.12.1-py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/PyHamcrest-1.10.1-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/PyHamcrest-1.10.1-py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/transformers-4.24.0-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/transformers-4.24.0-py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/transformers-4.25.1-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/transformers-4.25.1-py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/inflection-0.5.1-py2.py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/inflection-0.5.1-py2.py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/beautifulsoup4-4.11.1-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/beautifulsoup4-4.11.1-py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/parameterized-0.7.5-py2.py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/parameterized-0.7.5-py2.py3-none-any.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torch-1.13.0-cp38-cp38-manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torch-1.13.0-cp38-cp38-manylinux1_x86_64.whl
 in 36 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torch-1.13.1-cp38-cp38-manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torch-1.13.1-cp38-cp38-manylinux1_x86_64.whl
 in 37 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl
 in 35 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torchvision-0.14.0-cp38-cp38-manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torchvision-0.14.0-cp38-cp38-manylinux1_x86_64.whl
 in 1 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torchvision-0.14.1-cp38-cp38-manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torchvision-0.14.1-cp38-cp38-manylinux1_x86_64.whl
 in 1 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torchvision-0.14.0-cp37-cp37m-manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/torchvision-0.14.0-cp37-cp37m-manylinux1_x86_64.whl
 in 1 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/Pillow-9.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/Pillow-9.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/Pillow-9.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/Pillow-9.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/Pillow-9.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/Pillow-9.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/matplotlib-3.5.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/matplotlib-3.5.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/matplotlib-3.6.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/matplotlib-3.6.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/dataflow_python_sdk.tar...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/dataflow_python_sdk.tar
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:723 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/pipeline.pb...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:739 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0104171023-513037-nthvafm2.1672852223.513222/pipeline.pb
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:898 Create job: 
<Job
 clientRequestId: '20230104171023514312-2535'
 createTime: '2023-01-04T17:12:22.339462Z'
 currentStateTime: '1970-01-01T00:00:00Z'
 id: '2023-01-04_09_12_21-769349728277925494'
 location: 'us-central1'
 name: 'beamapp-jenkins-0104171023-513037-nthvafm2'
 projectId: 'apache-beam-testing'
 stageStates: []
 startTime: '2023-01-04T17:12:22.339462Z'
 steps: []
 tempFiles: []
 type: TypeValueValuesEnum(JOB_TYPE_STREAMING, 2)>
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:900 Created job 
with id: [2023-01-04_09_12_21-769349728277925494]
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:901 Submitted job: 
2023-01-04_09_12_21-769349728277925494
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:902 To access the 
Dataflow monitoring console, please navigate to 
https://console.cloud.google.com/dataflow/jobs/us-central1/2023-01-04_09_12_21-769349728277925494?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-01-04_09_12_21-769349728277925494?project=apache-beam-testing
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:193 Job 
2023-01-04_09_12_21-769349728277925494 is in state JOB_STATE_RUNNING
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:23.022Z: 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:238 
2023-01-04T17:12:24.077Z: JOB_MESSAGE_DETAILED: Autoscaling is enabled for job 
2023-01-04_09_12_21-769349728277925494. The number of workers will be between 1 
and 100.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:24.119Z: JOB_MESSAGE_DETAILED: Autoscaling was automatically 
enabled for job 2023-01-04_09_12_21-769349728277925494.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:31.515Z: JOB_MESSAGE_BASIC: Worker configuration: 
e2-standard-2 in us-central1-b.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:34.637Z: JOB_MESSAGE_DETAILED: Expanding SplittableParDo 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:34.675Z: JOB_MESSAGE_DETAILED: Expanding CollectionToSingleton 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:34.734Z: JOB_MESSAGE_DETAILED: Expanding CoGroupByKey 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:34.776Z: JOB_MESSAGE_DETAILED: Expanding 
SplittableProcessKeyed operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:34.815Z: JOB_MESSAGE_DETAILED: Expanding GroupByKey operations 
into streaming Read/Write steps
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:34.846Z: JOB_MESSAGE_DETAILED: Lifting 
ValueCombiningMappingFns into MergeBucketsMappingFns
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:34.881Z: JOB_MESSAGE_DEBUG: Annotating graph with Autotuner 
information.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:34.921Z: JOB_MESSAGE_DETAILED: Fusing adjacent ParDo, Read, 
Write, and Flatten operations
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:34.948Z: JOB_MESSAGE_DETAILED: Fusing consumer 
generate_metrics into ReadFromPubSub/Read
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:34.978Z: JOB_MESSAGE_DETAILED: Fusing consumer 
dump_to_pub/ToProtobuf into generate_metrics
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:35.003Z: JOB_MESSAGE_DETAILED: Fusing consumer 
dump_to_pub/Write into dump_to_pub/ToProtobuf
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:35.045Z: JOB_MESSAGE_BASIC: Running job using Streaming Engine
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:35.088Z: JOB_MESSAGE_BASIC: Using cloud KMLS key to protect 
persistent state.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:35.178Z: JOB_MESSAGE_DEBUG: Workflow config is missing a 
default resource spec.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:35.214Z: JOB_MESSAGE_DEBUG: Adding StepResource setup and 
teardown to workflow graph.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:35.247Z: JOB_MESSAGE_DEBUG: Adding workflow start and stop 
steps.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:35.285Z: JOB_MESSAGE_DEBUG: Assigning stage ids.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:36.351Z: JOB_MESSAGE_DEBUG: Starting worker pool setup.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:36.381Z: JOB_MESSAGE_BASIC: Starting 1 workers in 
us-central1-b...
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:36.427Z: JOB_MESSAGE_DEBUG: Starting worker pool setup.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:238 
2023-01-04T17:12:43.598Z: 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:238 
2023-01-04T17:13:19.886Z: 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:249 Timing out 
on waiting for job 2023-01-04_09_12_21-769349728277925494 after 60 seconds
ERROR    
apache_beam.io.gcp.tests.pubsub_matcher:pubsub_matcher.py:167 Timeout after 600 
sec. Received 0 messages from 
projects/apache-beam-testing/subscriptions/exercise_streaming_metrics_subscription_output92a3fd74-cceb-4929-bf2d-6f9c085e8fa6.
=============================== warnings summary 
===============================
../../build/gradleenv/2050596098/lib/python3.10/site-packages/hdfs/config.py:15
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/2050596098/lib/python3.10/site-packages/hdfs/config.py>:15:
 DeprecationWarning: the imp module is deprecated in favour of importlib and 
slated for removal in Python 3.12; see the module's documentation for 
alternative uses
    from imp import load_source

../../build/gradleenv/2050596098/lib/python3.10/site-packages/google/api_core/operations_v1/abstract_operations_client.py:17
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/2050596098/lib/python3.10/site-packages/google/api_core/operations_v1/abstract_operations_client.py>:17:
 DeprecationWarning: The distutils package is deprecated and slated for removal 
in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils import util

../../build/gradleenv/2050596098/lib/python3.10/site-packages/tenacity/_asyncio.py:42
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/2050596098/lib/python3.10/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):

apache_beam/typehints/pandas_type_compatibility_test.py:67
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:67:
 FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas 
in a future version. Use pandas.Index with the appropriate dtype instead.
    }).set_index(pd.Int64Index(range(123, 223), name='an_index')),

apache_beam/typehints/pandas_type_compatibility_test.py:90
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:90:
 FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas 
in a future version. Use pandas.Index with the appropriate dtype instead.
    pd.Int64Index(range(123, 223), name='an_index'),

apache_beam/typehints/pandas_type_compatibility_test.py:91
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:91:
 FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas 
in a future version. Use pandas.Index with the appropriate dtype instead.
    pd.Int64Index(range(475, 575), name='another_index'),

apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline_test.py::ExerciseStreamingMetricsPipelineTest::test_streaming_pipeline_returns_expected_user_metrics_fnapi_it
apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline_test.py::ExerciseStreamingMetricsPipelineTest::test_streaming_pipeline_returns_expected_user_metrics_fnapi_it
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/2050596098/lib/python3.10/site-packages/httplib2/__init__.py>:147:
 DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
    context = ssl.SSLContext(DEFAULT_TLS_VERSION)

-- 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_V2/ws/src/sdks/python/pytest_validatesRunnerStreamingTests-df-py310-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
 - AssertionError: 
Expected: (Test pipeline expected terminated in state: RUNNING and Expected 3 
messages.)
     but: Expected 3 messages. Got 0 messages. Diffs (item, count):
  Expected but not in actual: dict_items([(b'message a', 1), (b'message b b', 
1), (b'message c', 1)])
  Unexpected: dict_items([])
  Unexpected (with all details): []
==== 1 failed, 5 skipped, 6796 deselected, 
8 warnings in 998.39s (0:16:38) =====

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

FAILURE: Build failed with an exception.

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

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:dataflow:py310: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.

* 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.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2h 18m 20s
20 actionable tasks: 14 executed, 4 from cache, 2 up-to-date

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

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