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

   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
   
   Fixes repeated DinD `/run` tmpfs exhaustion (`io.containerd.runc.v2: write 
/run/docker/containerd/daemon/...: no space left on device`) in `PostCommit 
Python` (py313), which occurred 6 times in 7 days across 7 distinct `highmem22` 
pods (runs https://github.com/apache/beam/actions/runs/45665899847, 
https://github.com/apache/beam/actions/runs/45868651102, 
https://github.com/apache/beam/actions/runs/45946466565, 
https://github.com/apache/beam/actions/runs/46112600361, 
https://github.com/apache/beam/actions/runs/46171031694, 
https://github.com/apache/beam/actions/runs/46202099310, and 
https://github.com/apache/beam/actions/runs/46360492005).
   
   ## Root Cause
   
   Since `#41648` unskipped the 35 Redis `uses_testcontainer` tests, 
`:sdks:python:test-suites:direct:py313:testcontainersTest` ran with 
`basicTestOpts`'s `--numprocesses=8` concurrently with 
`:sdks:python:test-suites:portable:py313:postCommitPy313IT` 
(`CrossLanguageDebeziumIOTest`, launching `localstack`, 
`debezium/example-postgres`, and `apache/beam_java21_sdk`). The combined 
container burst transiently exhausts the `docker:24.0.7-dind-alpine3.18` 
sidecar's `/run` tmpfs.
   
   ## Changes
   
   - `sdks/python/test-suites/direct/common.gradle`: In `testcontainersTest`, 
add `mustRunAfter 
":sdks:python:test-suites:portable:py${pythonVersionSuffix}:postCommitPy${pythonVersionSuffix}IT"`
 and cap xdist concurrency to `--numprocesses=2` (replacing `--numprocesses=8`).
   
   ### Verification
   - Triggered `beam_PostCommit_Python.yml` workflow run on branch: 
[`46452371330`](https://github.com/apache/beam/actions/runs/46452371330)
   


-- 
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