From Mageia wiki
Jump to: navigation, search

Killing builds on the build system

Builds that have been submitted to the build system sometimes need to be stopped before they are complete. This may be because the build has hung, a newer package version is already available, the wrong build was submitted or submitted in the wrong branch, or the submitter realizes too late there is a problem that will cause it to fail and wants to submit a fix without waiting for that failure to happen first.

Validate the request

Was the request made by the person who submitted the build, or just by a user annoyed at having the build nodes monopolized? Is it a large package that will take a long time to complete, making the effort to cancel it worthwhile? Will allowing the build to continue cause knock-on effects (like filling a nearly-full disc)?

Cancel the build

Find the build at https://pkgsubmit.mageia.org/ and look under Status for the build's ID (it will look like YYYYMMDDHHMMSS.USER.HOST.ID). If Status is not showing yet for any architecture, run pgrep -fa '\<iurt\>.*PKG' on duvel (where PKG is the package being built) to show the iurt process responsible for the build and its build ID. Log in to duvel and run:

 sudo -u schedbot cancel_build 20231231211004.pterjan.duvel.1487312

replacing the final argument with the build ID you just found.