Skip to content
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

Thread logic needs to allow multiple runs #9

Open
jimbair opened this issue Sep 22, 2022 · 1 comment
Open

Thread logic needs to allow multiple runs #9

jimbair opened this issue Sep 22, 2022 · 1 comment

Comments

@jimbair
Copy link
Collaborator

jimbair commented Sep 22, 2022

When running two runs (say c8s and c9s) at the same time, the following loop logic bleeds between the two runs:

https://github.com/rpminspect/rpminspect-tag-runner/blob/main/tag_runner.sh#L130

I suspect we can do something clever to allow this without it being too convoluted.

@jimbair
Copy link
Collaborator Author

jimbair commented Jan 19, 2023

This also runs into stuck builds; if we run into a bug where a build stalls out and you kill the script, the subsequent run will run work until the end of inspections, then it waits for the stuck inspection still. I ran into this with a stuck comparison build on el9 but when I started an el8 run, it got stuck at the end of inspections but before the comparisons.

This would also solve that issue (and we probably should have a trap() to pkill runs as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant