tadeja opened a new pull request, #50598: URL: https://github.com/apache/arrow/pull/50598
### Rationale for this change Fix #50597. Nightly Crossbow job `test-conda-python-emscripten` sometimes finishes with success like [2026-07-18 Docker Test conda-python-emscripten](https://github.com/ursacomputing/crossbow/actions/runs/29628907267/job/88038728709#step:6:7261) `= 7213 passed, 997 skipped, 33 deselected, 15 xfailed, 1 xpassed, 29 warnings in 129.95s (0:02:09) =` But often hangs like [2026-07-19 Docker Test conda-python-emscripten](https://github.com/ursacomputing/crossbow/actions/runs/29672419322/job/88153721397#step:6:6851) and [2026-07-20 Docker Test conda-python-emscripten](https://github.com/ursacomputing/crossbow/actions/runs/29715959996/job/88269203693#step:6:6846) ``` driver.load_arrow() ... self.driver.execute_async_script( ... selenium.common.exceptions.TimeoutException: Message: script timeout (Session info: chrome=150.0.7871.128) Stacktrace: #0 0x5621b39b449a <unknown> ... ``` ### What changes are included in this PR? import `TimeoutException`, introduce 300s timeout + 3 attempts around load_arrow() and full Chrome restart on timeout, ignore harmless `BrokenPipeError` / `ConnectionResetError` when Chrome has to be killed mid-download for retry. ### Are these changes tested? Yes, locally by `docker compose run --rm -e SETUPTOOLS_SCM_PRETEND_VERSION=26.0.0.dev0 conda-python-emscripten`. Example test run hit the PyArrow load timeout once, restarted Chrome, and then completed successfully. ### Are there any user-facing changes? No. -- 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]
