See 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/4245/display/redirect>

Changes:


------------------------------------------
[...truncated 226.87 KB...]

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 2 messages. Diffs (item, count):
  Expected but not in actual: dict_items([(b'message c', 1)])
  Unexpected: dict_items([])
  Unexpected (with all details): []
==== 1 failed, 5 skipped, 6743 deselected, 
8 warnings in 1027.70s (0:17:07) ====

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

> Task :sdks:python:test-suites:dataflow:py37: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 0x7f7ea459ddd0>
pipeline = <apache_beam.pipeline.Pipeline object at 0x7f7ea4590c10>
options = <apache_beam.options.pipeline_options.PipelineOptions object at 
0x7f7ea4590fd0>

    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:780 
Executing command: 
['<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967052/bin/python3.7',>
 '-m', 'pip', 'download', '--dest', '/tmp/dataflow-requirements-cache', '-r', 
'/tmp/tmpo_95lt36/tmp_requirements.txt', '--exists-action', 'i', '--no-deps', 
'--implementation', 'cp', '--abi', 'cp37m', '--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:485 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.7_sdk:2.45.0.dev
INFO     root:environments.py:296 Using provided Python SDK container 
image: gcr.io/cloud-dataflow/v1beta3/python37-fnapi:beam-master-20221122
INFO     root:environments.py:304 Python SDK container image set to 
"gcr.io/cloud-dataflow/v1beta3/python37-fnapi:beam-master-20221122" 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:133 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-1204111609-243718-nthvafm2.1670152569.243909/requirements.txt...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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-1204111609-243718-nthvafm2.1670152569.243909/pickled_main_session...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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-1204111609-243718-nthvafm2.1670152569.243909/0-0.0.0-py2.py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/0-0.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-1204111609-243718-nthvafm2.1670152569.243909/mock-2.0.0-py2.py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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-1204111609-243718-nthvafm2.1670152569.243909/seaborn-0.12.1-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/seaborn-0.12.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-1204111609-243718-nthvafm2.1670152569.243909/PyHamcrest-1.10.1-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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-1204111609-243718-nthvafm2.1670152569.243909/transformers-4.24.0-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/transformers-4.24.0-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-1204111609-243718-nthvafm2.1670152569.243909/transformers-4.25.1-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/transformers-4.25.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-1204111609-243718-nthvafm2.1670152569.243909/beautifulsoup4-4.11.1-py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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-1204111609-243718-nthvafm2.1670152569.243909/parameterized-0.7.5-py2.py3-none-any.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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-1204111609-243718-nthvafm2.1670152569.243909/torch-1.13.0-cp38-cp38-manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/torch-1.13.0-cp38-cp38-manylinux1_x86_64.whl
 in 42 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-1204111609-243718-nthvafm2.1670152569.243909/torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl
 in 35 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-1204111609-243718-nthvafm2.1670152569.243909/torchvision-0.14.0-cp38-cp38-manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/torchvision-0.14.0-cp38-cp38-manylinux1_x86_64.whl
 in 1 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-1204111609-243718-nthvafm2.1670152569.243909/torchvision-0.14.0-cp37-cp37m-manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/torchvision-0.14.0-cp37-cp37m-manylinux1_x86_64.whl
 in 1 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-1204111609-243718-nthvafm2.1670152569.243909/Pillow-9.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/Pillow-9.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/matplotlib-3.5.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/matplotlib-3.6.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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:732 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/dataflow_python_sdk.tar...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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-1204111609-243718-nthvafm2.1670152569.243909/dataflow-worker.jar...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/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-1204111609-243718-nthvafm2.1670152569.243909/pipeline.pb...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:751 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-1204111609-243718-nthvafm2.1670152569.243909/pipeline.pb
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:911 Create job: 
<Job
 clientRequestId: '20221204111609245142-2535'
 createTime: '2022-12-04T11:17:40.769505Z'
 currentStateTime: '1970-01-01T00:00:00Z'
 id: '2022-12-04_03_17_40-17944073163630685820'
 location: 'us-central1'
 name: 'beamapp-jenkins-1204111609-243718-nthvafm2'
 projectId: 'apache-beam-testing'
 stageStates: []
 startTime: '2022-12-04T11:17:40.769505Z'
 steps: []
 tempFiles: []
 type: TypeValueValuesEnum(JOB_TYPE_STREAMING, 2)>
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:913 Created job 
with id: [2022-12-04_03_17_40-17944073163630685820]
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:914 Submitted job: 
2022-12-04_03_17_40-17944073163630685820
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-12-04_03_17_40-17944073163630685820?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-12-04_03_17_40-17944073163630685820?project=apache-beam-testing
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:198 Job 
2022-12-04_03_17_40-17944073163630685820 is in state JOB_STATE_RUNNING
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:41.565Z: 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:243 
2022-12-04T11:17:41.676Z: JOB_MESSAGE_DETAILED: Autoscaling is enabled for job 
2022-12-04_03_17_40-17944073163630685820. The number of workers will be between 
1 and 100.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:41.722Z: JOB_MESSAGE_DETAILED: Autoscaling was automatically 
enabled for job 2022-12-04_03_17_40-17944073163630685820.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:50.059Z: JOB_MESSAGE_BASIC: Worker configuration: 
e2-standard-2 in us-central1-b.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:51.935Z: JOB_MESSAGE_DETAILED: Expanding SplittableParDo 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:51.984Z: JOB_MESSAGE_DETAILED: Expanding CollectionToSingleton 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.056Z: JOB_MESSAGE_DETAILED: Expanding CoGroupByKey 
operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.091Z: JOB_MESSAGE_DETAILED: Expanding 
SplittableProcessKeyed operations into optimizable parts.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.132Z: JOB_MESSAGE_DETAILED: Expanding GroupByKey operations 
into streaming Read/Write steps
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.165Z: JOB_MESSAGE_DETAILED: Lifting 
ValueCombiningMappingFns into MergeBucketsMappingFns
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.196Z: JOB_MESSAGE_DEBUG: Annotating graph with Autotuner 
information.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.245Z: JOB_MESSAGE_DETAILED: Fusing adjacent ParDo, Read, 
Write, and Flatten operations
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.286Z: JOB_MESSAGE_DETAILED: Fusing consumer 
generate_metrics into ReadFromPubSub/Read
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.318Z: JOB_MESSAGE_DETAILED: Fusing consumer 
dump_to_pub/ToProtobuf into generate_metrics
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.341Z: JOB_MESSAGE_DETAILED: Fusing consumer 
dump_to_pub/Write into dump_to_pub/ToProtobuf
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.379Z: JOB_MESSAGE_BASIC: Running job using Streaming Engine
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.430Z: JOB_MESSAGE_DEBUG: Workflow config is missing a 
default resource spec.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.464Z: JOB_MESSAGE_DEBUG: Adding StepResource setup and 
teardown to workflow graph.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.493Z: JOB_MESSAGE_DEBUG: Adding workflow start and stop 
steps.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:52.528Z: JOB_MESSAGE_DEBUG: Assigning stage ids.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:53.634Z: JOB_MESSAGE_DEBUG: Starting worker pool setup.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:53.672Z: JOB_MESSAGE_DEBUG: Starting worker pool setup.
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:17:53.703Z: JOB_MESSAGE_BASIC: Starting 1 workers in 
us-central1-b...
INFO     
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:243 
2022-12-04T11:18:24.912Z: 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
WARNING  
apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:257 Timing out 
on waiting for job 2022-12-04_03_17_40-17944073163630685820 after 61 seconds
ERROR    
apache_beam.io.gcp.tests.pubsub_matcher:pubsub_matcher.py:171 Timeout after 600 
sec. Received 0 messages from 
projects/apache-beam-testing/subscriptions/exercise_streaming_metrics_subscription_output79e86869-254c-441b-befe-d9bc6af461f8.
=============================== 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_V2/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_V2/ws/src/sdks/python/pytest_validatesRunnerStreamingTests-df-py37-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, 6743 deselected, 
1 warning in 979.98s (0:16:19) =====

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

FAILURE: Build completed with 2 failures.

1: Task 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: 291

* 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.
==============================================================================

2: Task 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: 291

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:dataflow:py37: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 23m 48s
97 actionable tasks: 62 executed, 33 from cache, 2 up-to-date

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

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