-
Notifications
You must be signed in to change notification settings - Fork 173
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
QE: Add step to wait for salt jobs to finish on buildhost as part of cleanup #7082
QE: Add step to wait for salt jobs to finish on buildhost as part of cleanup #7082
Conversation
6735ea7
to
411f999
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! Thank you Vanda. LGTM.
I think we need to find a way to identify exactly the Salt job we want to monitor, not just all the Salt jobs. |
but do we use the buildhost for anything else other than this purpose? I think it's fine to do it like this in this case exactly because the buildhost only has one purpose 🤔 |
Couldn't we take care of all the parallelization tasks and tests in a future PR? I mean we still do a lot of sequential things and this one here clearly does not work as it should. So for now we have a working solution although it is not yet future proof with respect to more parallelization. Furthermore I think there are not that much other things running (in parallel) on the buildhost, yet. |
@nodeg @vandabarata We has been always postponing coding our tests thinking in parallel tests, that's the main reason we still not support it. And trying to do all in once is impossible, I already tried, and that's an Odissey. @mcalmer Gave a smarter approach in the thread that Vanda shared in the description, where you can know the state of salt jobs, and we can even try to identify the correct id for that salt job. So, if we can do it better today... why to wait doing better next year?
|
411f999
to
59f3047
Compare
What does this PR change?
One of the likely reasons for issues on the flaky tests on the buildhost, is that we're trying to do a build action while an image profile is still being deleted, as evidenced by the presence of this in the
rhn_web_ui
logs of the serverThese happened after the supposed cleanup and image deletion was done, and we were already trying to build the
auth_registry_profile
image, in the feature that ran after this.Looking at the code, it gives us a hint of what is going on
This means that the image profile deletion wasn't done in time, likely due to performance issues. Instead of increasing the timeout, we are opting to wait for all salt jobs to be done on the buildhost before moving to the next features, to avoid issues from one feature to another. (Discussion can be seen in this slack thread)
Links
4.2 https://github.com/SUSE/spacewalk/pull/21661
4.3 https://github.com/SUSE/spacewalk/pull/21658
Fixes https://github.com/SUSE/spacewalk/issues/21381
DONE
Changelogs
Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository
If you don't need a changelog check, please mark this checkbox:
If you uncheck the checkbox after the PR is created, you will need to re-run
changelog_test
(see below)Re-run a test
If you need to re-run a test, please mark the related checkbox, it will be unchecked automatically once it has re-run: