damccorm opened a new pull request, #41790:
URL: https://github.com/apache/beam/pull/41790

   Note: this PR was auto-generated by tooling. Before moving it out of draft, 
the author has done a full review of the PR, specifically evaluating it on the 
following criteria:
   
   - The PR is an appropriate fix for the issue (e.g. we're not changing a test 
to avoid a bug)
   - The PR is a simple fix to the issue (e.g. we're not adding infra when we 
could just modify a test)
   - The PR is not covering for other problems (e.g. if we're bumping timeouts, 
it is not because we're covering for a performance problem)
     
   Full details of the methodology of generation and review can be found here - 
https://docs.google.com/document/d/14lj7ECVov4T4EdwmIzNlWrRGE3lLDMOwX5xUMGzaLoc/edit?usp=sharing
   
   If you have concerns with the PR or with the underlying methodology used to 
generate this, please comment below - they will be addressed by the author not 
the tooling :)
   
   ## Summary
   
   Applies the same Bigtable zone fallback helper pattern merged in `#41554` 
(`99e0d3b03be`) to `sdks/python/apache_beam/io/gcp/bigtableio_it_test.py` after 
`us-central1-a` stockouts (`499 temporarily sold out of Cloud Bigtable in this 
zone`) hit `PostCommit TransformService Direct` 
(https://github.com/apache/beam/actions/runs/44962267401; 9 stockout failures 
across workflows on 2026-11-21/22).
   
   ## Root Cause
   
   Both `TestReadFromBigtableIT.setUp` and 
`TestWriteToBigtableXlangIT.setUpClass` hardcoded `"us-central1-a"` when 
creating temporary Cloud Bigtable development clusters, failing whenever that 
single zone experiences a temporary stockout.
   
   ## Changes
   
   - `sdks/python/apache_beam/io/gcp/bigtableio_it_test.py`: Extract 
`_create_instance_with_zone_fallback()` iterating across `('us-central1-a', 
'us-central1-b', 'us-central1-c', 'us-central1-f', 'us-east1-b')` on stockout 
errors (`sold out`, `not enough servers`, `zone_resource_pool_exhausted`), and 
call it from `TestReadFromBigtableIT.setUp` and 
`TestWriteToBigtableXlangIT.setUpClass`.
   
   ### Verification
   - Triggered `beam_PostCommit_TransformService_Direct.yml` workflow run on 
branch: [`46461995110`](https://github.com/apache/beam/actions/runs/46461995110)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to