Alex Amato created BEAM-12673:
---------------------------------

             Summary: 
apache_beam.examples.streaming_wordcount_it_test.StreamingWordCountIT.test_streaming_wordcount_it
 flakey
                 Key: BEAM-12673
                 URL: https://issues.apache.org/jira/browse/BEAM-12673
             Project: Beam
          Issue Type: Test
          Components: test-failures
            Reporter: Alex Amato


The test failed twice because another Dataflow job already existed with the 
same name.

(Are we running multiple occurrences of the test at the same time, and using 
the timestamp to generate the name? If so, Occasionally the same timestamp will 
be picked twice)

The workflow could not be created. Causes: (a8f47b4f3654731d): There is already 
an active job named beamapp-jenkins-0728180349-027689. If you want to submit a 
second job, try again by setting a different name."

[https://ci-beam.apache.org/job/beam_PreCommit_Python_Commit/19388/]



Both fail with this error:



def __ProcessHttpResponse(self, method_config, http_response, request): 
"""Process the given http response.""" if http_response.status_code not in 
(http_client.OK, http_client.CREATED, http_client.NO_CONTENT): raise 
exceptions.HttpError.FromResponse( > http_response, 
method_config=method_config, request=request) E 
apitools.base.py.exceptions.HttpConflictError: HttpError accessing <

[https://dataflow.googleapis.com/v1b3/projects/apache-beam-testing/locations/us-central1/jobs?alt=json]

>: response: <\{'vary': 'Origin, X-Origin, Referer', 'content-type': 
>'application/json; charset=UTF-8', 'date': 'Wed, 28 Jul 2021 18:05:03 GMT', 
>'server': 'ESF', 'cache-control': 'private', 'x-xss-protection': '0', 
>'x-frame-options': 'SAMEORIGIN', 'x-content-type-options': 'nosniff', 
>'transfer-encoding': 'chunked', 'status': '409', 'content-length': '318', 
>'-content-encoding': 'gzip'}>, content <\{ E "error": { E "code": 409, E 
>"message": "(1ddd3f68174d9490): The workflow could not be created. Causes: 
>(a8f47b4f3654731d): There is already an active job named 
>beamapp-jenkins-0728180349-027689. If you want to submit a second job, try 
>again by setting a different name.", E "status": "ALREADY_EXISTS" E } E } E >

Run 1:

[https://ci-beam.apache.org/job/beam_PreCommit_Python_Commit/19388/testReport/junit/apache_beam.examples.streaming_wordcount_it_test/StreamingWordCountIT/test_streaming_wordcount_it/]

 

Run 2

https://ci-beam.apache.org/job/beam_PreCommit_Python_Commit/19388/testReport/junit/apache_beam.examples.streaming_wordcount_it_test/StreamingWordCountIT/test_streaming_wordcount_it_2/



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to