damccorm opened a new pull request, #41786:
URL: https://github.com/apache/beam/pull/41786
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 silent startup timeout failures in
`:sdks:python:test-suites:direct:xlang:transformServiceSetup` (2 identical ~56s
exit-1 failures in 7 days:
https://github.com/apache/beam/actions/runs/45118397906 and
https://github.com/apache/beam/actions/runs/45991271998).
## Production Impact
- **Affected workloads**: Users starting the Apache Beam Transform Service
via `TransformServiceLauncher` (`--command up` / `waitTillUp(-1)`) in
environments with slow Docker Compose startup or image/container initialization
(does not affect Cloud Dataflow worker execution).
- **Symptom**: `DEFAULT_START_WAIT_TIME` is hardcoded to `50000` ms (50s),
causing premature `TimeoutException` under moderate Docker contention.
- **Resolution**: Raise `DEFAULT_START_WAIT_TIME` from `50000` ms to
`120000` ms, and dump `/tmp/beam-transform-service-<id>-java1.log` to stderr in
`sdks/python/scripts/run_transform_service.sh` if startup exits non-zero
(preserving the real exit code).
## Changes
- `TransformServiceLauncher.java`: Increase `DEFAULT_START_WAIT_TIME` from
`50000` to `120000`.
- `sdks/python/scripts/run_transform_service.sh`: Capture the real exit code
on `start` failure, dump `$TEMP_DIR/$FILE_BASE-java1.log` to stderr, and exit
with that code.
### Verification
- Triggered `beam_PostCommit_TransformService_Direct.yml` workflow run on
branch: [`46461058387`](https://github.com/apache/beam/actions/runs/46461058387)
--
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]