-
Notifications
You must be signed in to change notification settings - Fork 475
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
When integration test does not end properly it leaves minishift running #1157
Comments
In the Who is timing out? |
@gbraad Often it is because of a network issue. But some fails were also when there were changes with iso building job. It is fine to fail, but then it is wrong to throw away next day's nightly tests. Sometimes I am doing the clean up manually to save the next day, but I should not do that ideally. I am fine with OnTimeout() if it will work, but I am still curious, what would pre-flight check cost us, or why you want to avoid them? :) Another possibility would be to have some option to trigger the clean up through some command, so I could do that just on automated tests - but that is the case only if OnTimeout() plan fails. |
With CentOS CI, the node is always handed in a clean state. For nightlies
it seems we rerun on the same install? If so, something else needs to
ensure the clean state. It feels weird to me that a build and test it runs
would have to clean up first. This is rather an action that happens at the
end (but I think after the timeout, we are unable to do something). Why not
cronbased? Or a depended task? I am trying to understand the setup. Which
platforms suffer from this, etc
…--
Gerard Braad | http://gbraad.nl
[ Doing Open Source Matters ]
|
@gbraad It can happen on all platforms. Yes, this problem can be handled in jenkins job directly, which would lead me to writing a solution for each platform. But another perspective is also: if for any reason, developer, user, qe has some broken forgotten instance of minishift from previous test run still running, can be from terminating the process because you are impatient, what is the meaning of letting her start the tests and watch how they fail. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@agajdosi Is this still an issue? |
@hferentschik Sorry, missed your comment. This issue is less frequent as it was before, also I added some pre-flight checks to the nightly jobs, but still it is here. However in most cases it is caused by application deployment timeout, so I have created an issue: #1703 which should fix it. I will then report here whether the issue is minimized or we need to add more timeouts to out steps. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
When integration test runner fails - for example on a timeout then minishift.runner.EnsureDeleted() in afterSuite() is not executed and thus the environment is not left clean - minishift instance is running. This can be little impractical in cases of manual use, but is much more in cases of automated tests. In downstream, when nightly tests fail it this manner, then also next nightly tests will fail as minishift start is then not possible.
Would be nice to add check into beforeSuite() to prevent this issue.
The text was updated successfully, but these errors were encountered: