See 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/879/display/redirect>

Changes:


------------------------------------------
[...truncated 163.74 KB...]
../../build/gradleenv/2050596099/lib/python3.11/site-packages/pkg_resources/__init__.py:2871
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/2050596099/lib/python3.11/site-packages/pkg_resources/__init__.py>:2871:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.iam')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/2050596099/lib/python3.11/site-packages/hdfs/config.py:28
../../build/gradleenv/2050596099/lib/python3.11/site-packages/hdfs/config.py:28
../../build/gradleenv/2050596099/lib/python3.11/site-packages/hdfs/config.py:28
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/2050596099/lib/python3.11/site-packages/hdfs/config.py>:28:
 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/2050596099/lib/python3.11/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/2050596099/lib/python3.11/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/2050596099/lib/python3.11/site-packages/google/rpc/__init__.py:20
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/2050596099/lib/python3.11/site-packages/google/rpc/__init__.py>:20:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.rpc')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    pkg_resources.declare_namespace(__name__)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/sdks/python/pytest_preCommitIT-df-py311.xml>
 -
================= 1 passed, 135 warnings in 842.98s (0:14:02) ==================

> Task :sdks:python:test-suites:dataflow:py38:preCommitIT_streaming

[gw0] FAILED 
apache_beam/examples/streaming_wordcount_it_test.py::StreamingWordCountIT::test_streaming_wordcount_it
 

=================================== FAILURES ===================================
_______________ StreamingWordCountIT.test_streaming_wordcount_it _______________
[gw0] linux -- Python 3.8.10 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/-1734967051/bin/python3.8>

self = <apache_beam.examples.streaming_wordcount_it_test.StreamingWordCountIT 
testMethod=test_streaming_wordcount_it>

    @pytest.mark.it_postcommit
    def test_streaming_wordcount_it(self):
      # Build expected dataset.
      expected_msg = [('%d: 1' % num).encode('utf-8')
                      for num in range(DEFAULT_INPUT_NUMBERS)]
    
      # Set extra options to the pipeline for test purpose
      state_verifier = PipelineStateMatcher(PipelineState.RUNNING)
      pubsub_msg_verifier = PubSubMessageMatcher(
          self.project, self.output_sub.name, expected_msg, timeout=400)
      extra_opts = {
          'input_subscription': self.input_sub.name,
          'output_topic': self.output_topic.name,
          'wait_until_finish_duration': WAIT_UNTIL_FINISH_DURATION,
          'on_success_matcher': all_of(state_verifier, pubsub_msg_verifier)
      }
    
      # Generate input data and inject to PubSub.
      self._inject_numbers(self.input_topic, DEFAULT_INPUT_NUMBERS)
    
      # Get pipeline options from command argument: --test-pipeline-options,
      # and start pipeline job by calling pipeline main function.
>     streaming_wordcount.run(
          self.test_pipeline.get_full_options_as_args(**extra_opts),
          save_main_session=False)

apache_beam/examples/streaming_wordcount_it_test.py:104: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
apache_beam/examples/streaming_wordcount.py:103: in run
    output | beam.io.WriteToPubSub(known_args.output_topic)
apache_beam/pipeline.py:600: in __exit__
    self.result = self.run()
apache_beam/pipeline.py:577: 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 0x7f4038457fd0>
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 
2023-08-12_09_44_36-15377873035705379536 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:763 Executing 
command: 
['<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/-1734967051/bin/python3.8',>
 '-m', 'pip', 'download', '--dest', '/tmp/dataflow-requirements-cache', '-r', 
'/tmp/tmp_dux5o2g/tmp_requirements.txt', '--exists-action', 'i', '--no-deps', 
'--implementation', 'cp', '--abi', 'cp38', '--platform', 'manylinux2014_x86_64']
INFO     apache_beam.runners.portability.stager:stager.py:322 Copying Beam SDK 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/sdks/python/build/apache_beam-2.51.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";>
 to staging location.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:397 
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-20230717
INFO     root:environments.py:320 Python SDK container image set to 
"gcr.io/cloud-dataflow/v1beta3/beam_python3.8_sdk:beam-master-20230717" 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:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/requirements.txt...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/requirements.txt
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/mock-2.0.0-py2.py3-none-any.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/mock-2.0.0-py2.py3-none-any.whl
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/seaborn-0.12.2-py3-none-any.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/seaborn-0.12.2-py3-none-any.whl
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/PyHamcrest-1.10.1-py3-none-any.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/PyHamcrest-1.10.1-py3-none-any.whl
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/inflection-0.5.1-py2.py3-none-any.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/inflection-0.5.1-py2.py3-none-any.whl
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/beautifulsoup4-4.12.2-py3-none-any.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/beautifulsoup4-4.12.2-py3-none-any.whl
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/parameterized-0.7.5-py2.py3-none-any.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/parameterized-0.7.5-py2.py3-none-any.whl
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/matplotlib-3.7.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/matplotlib-3.7.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/matplotlib-3.7.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/matplotlib-3.7.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/matplotlib-3.7.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/matplotlib-3.7.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 in 1 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/scikit_learn-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/scikit_learn-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 in 1 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/scikit_learn-1.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/scikit_learn-1.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/apache_beam-2.51.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/apache_beam-2.51.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 in 1 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 
Starting GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/pipeline.pb...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 
Completed GCS upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0812164427-874462-ou3s4csc.1691858667.874662/pipeline.pb
 in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:843 
Create job: <Job
 clientRequestId: '20230812164427875805-9895'
 createTime: '2023-08-12T16:44:37.536625Z'
 currentStateTime: '1970-01-01T00:00:00Z'
 id: '2023-08-12_09_44_36-15377873035705379536'
 location: 'us-central1'
 name: 'beamapp-jenkins-0812164427-874462-ou3s4csc'
 projectId: 'apache-beam-testing'
 stageStates: []
 startTime: '2023-08-12T16:44:37.536625Z'
 steps: []
 tempFiles: []
 type: TypeValueValuesEnum(JOB_TYPE_STREAMING, 2)>
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:845 
Created job with id: [2023-08-12_09_44_36-15377873035705379536]
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:846 
Submitted job: 2023-08-12_09_44_36-15377873035705379536
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-08-12_09_44_36-15377873035705379536?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-08-12_09_44_36-15377873035705379536?project=apache-beam-testing
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:154 
Job 2023-08-12_09_44_36-15377873035705379536 is in state JOB_STATE_RUNNING
WARNING  apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:206 
2023-08-12T16:44:38.843Z: 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:204 
2023-08-12T16:44:42.931Z: JOB_MESSAGE_BASIC: Worker configuration: 
e2-standard-2 in us-central1-b.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:204 
2023-08-12T16:44:46.436Z: JOB_MESSAGE_BASIC: Running job using Streaming Engine
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:204 
2023-08-12T16:44:46.468Z: JOB_MESSAGE_BASIC: Using cloud KMLS key to protect 
persistent state.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:204 
2023-08-12T16:44:46.850Z: JOB_MESSAGE_BASIC: Starting 1 workers in 
us-central1-b...
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:204 
2023-08-12T16:45:09.095Z: 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:204 
2023-08-12T16:49:14.414Z: JOB_MESSAGE_BASIC: Worker configuration: 
e2-standard-2 in us-central1-b.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:204 
2023-08-12T16:49:37.554Z: 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:220 
Timing out on waiting for job 2023-08-12_09_44_36-15377873035705379536 after 
602 seconds
ERROR    
apache_beam.runners.dataflow.test_dataflow_runner:test_dataflow_runner.py:102 
Console URL: 
https://console.cloud.google.com/dataflow/<regionId>/2023-08-12_09_44_36-15377873035705379536?project=<projectId>
=============================== warnings summary ===============================
apache_beam/runners/portability/stager.py:63
apache_beam/runners/portability/stager.py:63
apache_beam/runners/portability/stager.py:63
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/sdks/python/apache_beam/runners/portability/stager.py>:63:
 DeprecationWarning: pkg_resources is deprecated as an API. See 
https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

../../build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py:2871:
 60 warnings
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py>:2871:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py:2871:
 48 warnings
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py>:2871:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.cloud')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py:2350:
 12 warnings
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py>:2350:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(parent)

../../build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py:2871
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py:2871
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py:2871
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py>:2871:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.logging')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py:2871
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py:2871
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py:2871
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/pkg_resources/__init__.py>:2871:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.iam')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/-1734967051/lib/python3.8/site-packages/hdfs/config.py:28
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/hdfs/config.py:28
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/hdfs/config.py:28
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/hdfs/config.py>:28:
 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/-1734967051/lib/python3.8/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/google/rpc/__init__.py:20
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/google/rpc/__init__.py>:20:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.rpc')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    pkg_resources.declare_namespace(__name__)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Integration_Cron/ws/src/sdks/python/pytest_preCommitIT-df-py38.xml>
 -
=========================== short test summary info ============================
FAILED 
apache_beam/examples/streaming_wordcount_it_test.py::StreamingWordCountIT::test_streaming_wordcount_it
 - RuntimeError: Timeout after 600 seconds while waiting for job 
2023-08-12_09_44_36-15377873035705379536 enters expected state CANCELLED. 
Current state is CANCELLING.
================= 1 failed, 135 warnings in 1263.14s (0:21:03) =================

> Task :sdks:python:test-suites:dataflow:py38:preCommitIT_streaming FAILED

FAILURE: Build failed with an exception.

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

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:dataflow:py38:preCommitIT_streaming'.
> 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.6.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 39m 57s
24 actionable tasks: 18 executed, 4 from cache, 2 up-to-date

Publishing build scan...
https://ge.apache.org/s/kblfcwukkux4g

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