-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apache_beam.examples.streaming_wordcount_it_test.StreamingWordCountIT.test_streaming_wordcount_it flakey #21121
Comments
.take-issue |
This was reported in July 2021. I looked through about 40 builds. I couldn't find any flakes. Perhaps jenkins had some issues that are now resolved. |
.close-issue |
I actually encountered it a couple of times, most recently yesterday: https://ci-beam.apache.org/job/beam_PreCommit_Python_Commit/25312/console Note that this test somehow not reported in "Test Result" but the logs show it is failing:
|
|
Just wanted to update with what I did in case I don't come back to this. Getting this test to run locally entailed two things.
or
I checked the dataflow job that was linked in Abacn comment. The job showed "about 500" messages in each transform (which was the prediction) though it didn't promise exactness (the failure showed 501 messages). I am convinced this is a real breakage and may indicate a more serious issue. I just couldn't reproduce the flake on my local runs as they took 8 minutes each. |
encountered again:
|
I think this is fixed. If not, it should get auto-flagged by our tooling anyways, so this should be safe to close |
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/
Imported from Jira BEAM-12673. Original Jira may contain additional context.
Reported by: [email protected].
The text was updated successfully, but these errors were encountered: