New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flaky test: TestRunInteractiveWithRestartPolicy #39352
Comments
Also seeing this occur on experimental; https://jenkins.dockerproject.org/job/Docker-PRs-experimental/45700/console (docker#194)
|
Is it because of the high number of build tasks or high load? |
No idea; haven't looked into it yet. It has become (more?) flaky recently though |
Looked at it quickly. This testcase There is a description of this function in the documentation.
https://godoc.org/gotest.tools/icmd#StartCmd I think we can try to use |
Reopening this one, as it has become flaky again recently on Windows
|
I will continue to follow up. |
Thanks! Not sure what changed, but I noticed it failing a couple of times 😅 |
It seems that the test is not flaky -
After some time, the loop breaks:
Some observations:
Possibly there is some race which results in exit code being obtained after the process got already restarted? |
Yes, that's quite likely; that would definitely explain it. Looks like the test is assuming that we capture the exit status, but combined with a |
It's a bit odd though that the CLI doesn't exit / capture the exit-code on the first exit though; so that would mean the cli is either "re-attaching" after the container restarts, or never detaches 🤔 |
This test looks to be flaky recently; e.g. #38806 (comment), and #39351 (comment)
https://jenkins.dockerproject.org/job/Docker-PRs-WoW-RS5-Process/2722/console
This test was flaky once before, which was addressed by increasing the timeout; #27078
The text was updated successfully, but these errors were encountered: