[ 
https://issues.apache.org/jira/browse/BEAM-12694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17427364#comment-17427364
 ] 

Kyle Weaver commented on BEAM-12694:
------------------------------------

The test was much flakier than you would expect if the problem was truly random 
collisions. Random collisions of 15-character-length random strings using 
lowercase, uppercase, and digits are extremely unlikely – there are 62^15 
possible strings. And I saw the same collision occur in two separate test runs 
(on DICOM_store_WRmhFzqnPc8ZnNj). So maybe the problem was the random seeding.

Regardless, I believe [https://github.com/apache/beam/pull/15697] should fix 
the issue. Please reopen if you see this flake occur again.

> DICOMIoIntegrationTest flaky due to store ID (Python PreCommit)
> ---------------------------------------------------------------
>
>                 Key: BEAM-12694
>                 URL: https://issues.apache.org/jira/browse/BEAM-12694
>             Project: Beam
>          Issue Type: Bug
>          Components: test-failures
>    Affects Versions: 2.33.0
>            Reporter: Emily Ye
>            Assignee: David Anderson
>            Priority: P1
>              Labels: currently-failing, flake, flaky
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> DICOMIoIntegrationTest flaky with error message: 
> requests.exceptions.HTTPError: 409 Client Error: Conflict for url:
> [https://healthcare.googleapis.com/v1/projects/apache-beam-testing/locations/us-central1/datasets/apache-beam-integration-testing/dicomStores?dicomStoreId=DICOM_store_Sb5HCWRmhFzqnPc]
>  * Example: https://ci-beam.apache.org/job/beam_PostCommit_Python36/4172/
> Looks like random string generator for name 
> ([https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/dicomio_integration_test.py#L129-L130)]
>  needs to be changed?



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

Reply via email to