You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "HyukjinKwon (via GitHub)" <gi...@apache.org> on 2026/07/08 01:40:26 UTC
[PR] [DO-NOT-MERGE][SPARK-58026][INFRA] Bound SparkR Windows test step to avoid silent 2h job timeout [spark]
HyukjinKwon opened a new pull request, #57107:
URL: https://github.com/apache/spark/pull/57107
### What changes were proposed in this pull request?
**[DO-NOT-MERGE]** — split out from the flaky-test deflake work; the fix itself is verified (see CI below).
The scheduled `build_sparkr_window` workflow (`Build / SparkR-only`, windows-2025) intermittently hangs in the **"Run SparkR tests"** step while the R process waits on the SparkR backend socket handshake during session initialization. With no step-level timeout, a stalled handshake silently consumes the full 120-minute job timeout and surfaces as a *cancellation* rather than a fast, retryable failure — this alternates roughly every other scheduled run.
This adds `timeout-minutes: 60` to the "Run SparkR tests" step so a stalled handshake fails fast; successful runs finish the step well under the cap.
### Why are the changes needed?
Convert a silent 2-hour job cancel into a fast, retryable failure, and stop the workflow from alternating red/green due to a startup hang rather than a real regression.
### Does this PR introduce _any_ user-facing change?
No. CI-workflow-only change.
### How was this patch tested?
Fork CI (`build_sparkr_window` on the fork): ✅ **PASS** — https://github.com/HyukjinKwon/spark/actions/runs/28906197544
Finished in ~1h20m with tests running to completion (`══ DONE ══`); the watchdog did not fire, confirming it is non-disruptive to healthy runs.
JIRA: https://issues.apache.org/jira/browse/SPARK-58026
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-58026][INFRA] Bound SparkR Windows test step to avoid silent 2h job timeout [spark]
Posted by "HyukjinKwon (via GitHub)" <gi...@apache.org>.
HyukjinKwon commented on PR #57107:
URL: https://github.com/apache/spark/pull/57107#issuecomment-4911335088
**Merge Summary:**
- merged into master https://github.com/apache/spark/commit/e0838ae41073fde3a998b85d1c80e38d418f586c
- merged into branch-4.x https://github.com/apache/spark/commit/2c2cc491c364c86b25404b3e419ade28fbed249c
- merged into branch-4.2 https://github.com/apache/spark/commit/1b08b5da5ea7511165158c9cd790725bd20975d9
- merged into branch-4.1 https://github.com/apache/spark/commit/95c9796438b1bcf9cfc8dd7ee21737faef3d710b
- merged into branch-4.0 https://github.com/apache/spark/commit/79850431fe3bd5c80d1b4c2cfd2b697b3de8ee98
*Posted by `merge_spark_pr.py`*
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-58026][INFRA] Bound SparkR Windows test step to avoid silent 2h job timeout [spark]
Posted by "HyukjinKwon (via GitHub)" <gi...@apache.org>.
HyukjinKwon closed pull request #57107: [SPARK-58026][INFRA] Bound SparkR Windows test step to avoid silent 2h job timeout
URL: https://github.com/apache/spark/pull/57107
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org