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

Changes:


------------------------------------------
[...truncated 1.98 MB...]
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:828 To access the 
Dataflow monitoring console, please navigate to 
https://console.cloud.google.com/dataflow/jobs/us-central1/2021-09-08_05_27_26-13145430687122147275?project=apache-beam-testing
WARNING  
apache_beam.runners.dataflow.test_dataflow_runner:test_dataflow_runner.py:64 
Waiting indefinitely for streaming job.
______________ ReshuffleTest.test_reshuffle_preserves_timestamps 
_______________
[gw3] linux -- Python 3.6.8 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967053/bin/python3.6>

self = <apache_beam.transforms.util_test.ReshuffleTest 
testMethod=test_reshuffle_preserves_timestamps>

    @pytest.mark.it_validatesrunner
    def test_reshuffle_preserves_timestamps(self):
      with TestPipeline() as pipeline:
    
        # Create a PCollection and assign each element with a different 
timestamp.
        before_reshuffle = (
            pipeline
            | beam.Create([
                {
                    'name': 'foo', 'timestamp': MIN_TIMESTAMP
                },
                {
                    'name': 'foo', 'timestamp': 0
                },
                {
                    'name': 'bar', 'timestamp': 33
                },
                {
                    'name': 'bar', 'timestamp': 0
                },
            ])
            | beam.Map(
                lambda element: beam.window.TimestampedValue(
                    element, element['timestamp'])))
    
        # Reshuffle the PCollection above and assign the timestamp of an 
element
        # to that element again.
        after_reshuffle = before_reshuffle | beam.Reshuffle()
    
        # Given an element, emits a string which contains the timestamp and 
the
        # name field of the element.
        def format_with_timestamp(element, 
timestamp=beam.DoFn.TimestampParam):
          t = str(timestamp)
          if timestamp == MIN_TIMESTAMP:
            t = 'MIN_TIMESTAMP'
          elif timestamp == MAX_TIMESTAMP:
            t = 'MAX_TIMESTAMP'
          return '{} - {}'.format(t, element['name'])
    
        # Combine each element in before_reshuffle with its timestamp.
        formatted_before_reshuffle = (
            before_reshuffle
            | "Get before_reshuffle timestamp" >> 
beam.Map(format_with_timestamp))
    
        # Combine each element in after_reshuffle with its timestamp.
        formatted_after_reshuffle = (
            after_reshuffle
            | "Get after_reshuffle timestamp" >> 
beam.Map(format_with_timestamp))
    
        expected_data = [
            'MIN_TIMESTAMP - foo',
            'Timestamp(0) - foo',
            'Timestamp(33) - bar',
            'Timestamp(0) - bar'
        ]
    
        # Can't compare formatted_before_reshuffle and 
formatted_after_reshuffle
        # directly, because they are deferred PCollections while equal_to 
only
        # takes a concrete argument.
        assert_that(
            formatted_before_reshuffle,
            equal_to(expected_data),
            label="formatted_before_reshuffle")
        assert_that(
            formatted_after_reshuffle,
            equal_to(expected_data),
>           label="formatted_after_reshuffle")

apache_beam/transforms/util_test.py:614: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
apache_beam/pipeline.py:586: in __exit__
    self.result = self.run()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <apache_beam.testing.test_pipeline.TestPipeline object at 0x7f2141aa8588>
test_runner_api = True

    def run(self, test_runner_api=True):
      result = super(TestPipeline, self).run(
          test_runner_api=(
              False if self.not_use_test_runner_api else 
test_runner_api))
      if self.blocking:
        state = result.wait_until_finish()
>       assert state in (PipelineState.DONE, PipelineState.CANCELLED), \
            "Pipeline execution failed."
E       AssertionError: Pipeline execution failed.
E       assert 'FAILED' in ('DONE', 'CANCELLED')

apache_beam/testing/test_pipeline.py:117: AssertionError
------------------------------ Captured log call -------------------------------
INFO     apache_beam.runners.portability.stager:stager.py:644 
Executing command: 
['<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967053/bin/python3.6',>
 '-m', 'pip', 'download', '--dest', '/tmp/dataflow-requirements-cache', '-r', 
'postcommit_requirements.txt', '--exists-action', 'i', '--no-binary', ':all:']
INFO     apache_beam.runners.portability.stager:stager.py:300 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.
WARNING  root:environments.py:374 Make sure that locally built Python 
SDK docker image has Python 3.6 interpreter.
INFO     root:environments.py:380 Default Python SDK image for 
environment is apache/beam_python3.6_sdk:2.34.0.dev
INFO     root:environments.py:296 Using provided Python SDK container 
image: gcr.io/cloud-dataflow/v1beta3/python36-fnapi:beam-master-20210809
INFO     root:environments.py:304 Python SDK container image set to 
"gcr.io/cloud-dataflow/v1beta3/python36-fnapi:beam-master-20210809" for Docker 
environment
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/requirements.txt...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/requirements.txt
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/pbr-5.6.0.tar.gz...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/pbr-5.6.0.tar.gz
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/mock-1.3.0.tar.gz...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/mock-1.3.0.tar.gz
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/mock-2.0.0.tar.gz...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/mock-2.0.0.tar.gz
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/six-1.16.0.tar.gz...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/six-1.16.0.tar.gz
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/soupsieve-2.2.tar.gz...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/soupsieve-2.2.tar.gz
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/soupsieve-2.2.1.tar.gz...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/soupsieve-2.2.1.tar.gz
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/PyHamcrest-1.10.1.tar.gz...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/PyHamcrest-1.10.1.tar.gz
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/parameterized-0.7.5.tar.gz...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/parameterized-0.7.5.tar.gz
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/beautifulsoup4-4.9.3.tar.gz...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/beautifulsoup4-4.9.3.tar.gz
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/beautifulsoup4-4.10.0.tar.gz...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/beautifulsoup4-4.10.0.tar.gz
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/dataflow_python_sdk.tar...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/dataflow_python_sdk.tar
 in 0 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/dataflow-worker.jar...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/dataflow-worker.jar
 in 3 seconds.
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:639 Starting GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/pipeline.pb...
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:658 Completed GCS 
upload to 
gs://temp-storage-for-end-to-end-tests/staging-it/beamapp-jenkins-0908122721-825588.1631104041.825767/pipeline.pb
 in 0 seconds.
WARNING  apache_beam.options.pipeline_options:pipeline_options.py:309 
Discarding unparseable args: ['--sleep_secs=20', 
'--kms_key_name=projects/apache-beam-testing/locations/global/keyRings/beam-it/cryptoKeys/test']
WARNING  apache_beam.options.pipeline_options:pipeline_options.py:309 
Discarding unparseable args: ['--sleep_secs=20', 
'--kms_key_name=projects/apache-beam-testing/locations/global/keyRings/beam-it/cryptoKeys/test']
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:819 Create job: 
<Job
                                                                           
clientRequestId: '20210908122721826830-9462'
                                                                           
createTime: '2021-09-08T12:27:28.254337Z'
                                                                           
currentStateTime: '1970-01-01T00:00:00Z'
                                                                           id: 
'2021-09-08_05_27_27-16704744277746730643'
                                                                           
location: 'us-central1'
                                                                           
name: 'beamapp-jenkins-0908122721-825588'
                                                                           
projectId: 'apache-beam-testing'
                                                                           
stageStates: []
                                                                           
startTime: '2021-09-08T12:27:28.254337Z'
                                                                           
steps: []
                                                                           
tempFiles: []
                                                                           
type: TypeValueValuesEnum(JOB_TYPE_STREAMING, 2)>
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:821 Created job 
with id: [2021-09-08_05_27_27-16704744277746730643]
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:822 Submitted job: 
2021-09-08_05_27_27-16704744277746730643
INFO     
apache_beam.runners.dataflow.internal.apiclient:apiclient.py:828 To access the 
Dataflow monitoring console, please navigate to 
https://console.cloud.google.com/dataflow/jobs/us-central1/2021-09-08_05_27_27-16704744277746730643?project=apache-beam-testing
WARNING  
apache_beam.runners.dataflow.test_dataflow_runner:test_dataflow_runner.py:64 
Waiting indefinitely for streaming job.
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/pytest_validatesRunnerStreamingTests-df-py36-xdist.xml>
 -
=============== 26 failed, 3 passed, 3 skipped in 108.33 seconds 
===============

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

FAILURE: Build completed with 6 failures.

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

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

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

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

3: Task 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: 149

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

4: Task 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: 181

* 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. Run with --scan to get full insights.
==============================================================================

5: Task 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: 181

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

6: Task 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: 181

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:dataflow:py36: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 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See 
https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 27m 16s
92 actionable tasks: 62 executed, 30 from cache

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

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