Sergey Nuyanzin created FLINK-40451:
---------------------------------------
Summary: E2E test timeout keeps CI running until the timeout ends,
even after the test passes
Key: FLINK-40451
URL: https://issues.apache.org/jira/browse/FLINK-40451
Project: Flink
Issue Type: Technical Debt
Components: Build System / CI
Reporter: Sergey Nuyanzin
Assignee: Sergey Nuyanzin
When an end-to-end test starts, it also starts a hidden sleep timer (e.g. 900s)
as a safety timeout. When the test passes early, we stop the timer's watchdog —
but the sleep itself keeps running. That leftover sleep holds the CI output
pipe open, so the CI step can't finish until the full timeout ends.
Example:
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=78243&view=logs&j=af184cdd-c6d8-5084-0b69-7e9c67b35f7a&t=0f3adb59-eefa-51c6-2858-3654d9e0749d&l=1378
the job logged
{noformat}
rm: cannot remove
'/home/vsts/work/1/s/flink-end-to-end-tests/test-scripts/temp-test-directory-52939195255/tmp/backup':
No such file or directory
{noformat}
however finally completed 12+ mins after that because of timeout mentioned above
--
This message was sent by Atlassian Jira
(v8.20.10#820010)