aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
Commit message (Collapse)AuthorAgeFilesLines
* ulri: Add some loggingPascal Terjan2024-04-121-0/+2
|
* Add an utility to cancel a buildPascal Terjan2024-01-011-132/+4
| | | | | | | | | | | | | | Usage: $ cancel_build 20231231211004.pterjan.duvel.1487312 *: [cancel_build] check uploads tree I: [cancel_build] check dir: /var/lib/schedbot/uploads/done I: [cancel_build] check dir: /var/lib/schedbot/uploads/todo I: [cancel_build] Failing 20231231211004.pterjan.duvel.1487312 and cleaning up done architectures I: [cancel_build] Killing process 1146007 on rabbit2 (building for arch "i586") I: [cancel_build] Killing process 2204767 on ecosse0 (building for arch "x86_64") I: [cancel_build] Killing process 3092253 on ociaa1-a (building for arch "aarch64") I: [cancel_build] Killing process 3092165 on ociaa1-b (building for arch "armv7hl")
* Limit retries in case of install_deps_failurePascal Terjan2023-12-111-6/+14
| | | | | | | | | | | A new config option (backoff_delays) was added to ulri. It contains a list of delays (in seconds) between retries and default to [5*60, 30*60, 60*60, 120*60] (5m, 30m, 1h, 2h). When reaching the end of the list, we fail permanently. To never retry, set it to []. To retry forever, set it to undef.
* ulri: Fix a crash after build failures0.8.2.2Pascal Terjan2023-02-011-1/+1
|
* ulri: Fix syntaxPascal Terjan2023-01-291-2/+2
|
* Increase robustness when scp fails0.8.0Pascal Terjan2023-01-191-32/+15
| | | | | Do not remove lock file and mark build as done until we copied all the files.
* ulri: Remove duplication on loading lock filePascal Terjan2022-04-261-9/+3
|
* ulri: Better maintain in progress buildsPascal Terjan2022-04-251-0/+8
|
* ulri: rely on status.log to know a build completedPascal Terjan2022-04-251-22/+19
| | | | | | | | | | This will fix packages not marked as noarch but having only noarch subpackages, even if we still end up wasting resources. The only risk I see is if the noarch packages get built on all mandatory architectures first, upload starts and other architectures complete in hte middle, however this should not modify the files being uploaded, we use a temporary file and rename so it should be fine.
* Move check_{no,}arch to a new RPM modulePascal Terjan2020-03-151-2/+3
| | | | They have nothing to do with the config and work on an RPM file.
* Revert "Delete useless check"Pascal Terjan2020-02-171-0/+3
| | | | | | This reverts commit edfd0db4a445d0b9d86defa202b5c9ff3ac8beb3. This check is actually useful, add a comment instead.
* Delete obsolete commentsPascal Terjan2020-02-151-47/+0
|
* Delete useless checkPascal Terjan2020-02-151-1/+0
| | | | It is already checked a few lines earlier
* Use SIGTERM to kill iurt and install a handlerPascal Terjan2018-10-161-2/+2
|
* Ignore failures when cancelling buildsPascal Terjan2018-10-161-12/+18
| | | | | This will avoid listing other architectures as failed, and giving some confusing logs.
* remove unused parameterThierry Vignaud2018-10-151-2/+2
|
* Add missing import0.7.7Pascal Terjan2018-10-141-1/+1
|
* Kill other architectures in case of failurePascal Terjan2018-10-141-0/+4
|
* Try killing the build when ulri sees a timeoutPascal Terjan2018-10-141-5/+12
| | | | | | This only matters if the build node for some reason has a larger timeout than the main config, in which case we were forgetting about it.
* Update TODOPascal Terjan2018-10-061-0/+1
|
* Only use mandatory archs for noarch buildsPascal Terjan2018-10-061-1/+9
|
* Add/Update TODOsPascal Terjan2018-08-101-0/+2
|
* Only compute timeout oncePascal Terjan2018-08-101-3/+2
|
* Fail build which timeout even is machine is unreachablePascal Terjan2018-06-021-3/+3
|
* Add TODOsPascal Terjan2018-06-021-1/+3
|
* Simplify failure detection logic and fix cleanupPascal Terjan2017-02-061-22/+19
| | | | | | | | Especially: - fetch logs when dependencies can not be installed - properly cleanup logs on the build machine in all cases - really discard other architectures if a mandatory one had already failed
* Extract get_target_arch helperOlivier Blin2016-11-241-4/+3
|
* Delete src.rpm after last non mandatory arch failsPascal Terjan2016-11-241-2/+2
|
* Record failed build in the in-memory treePascal Terjan2016-11-241-1/+2
|
* Have consistent ordering for queue statusPascal Terjan2016-11-081-1/+1
|
* Only mandatory arches are fatalPascal Terjan2016-10-201-3/+2
| | | | | Currently any previous failures casues to force fail anything succeeding later.
* Only build noarch packages oncePascal Terjan2016-10-141-0/+1
|
* Do not rebuild noarch packages that are already building/builtPascal Terjan2016-10-121-3/+8
|
* Fix reuse of {arch} part of the treePascal Terjan2016-10-111-1/+3
| | | | | | | | It is used by ulri for both builds in progress and already done, while emi expects it to be only for done ones. This causes to upload only part of mandatory arches and later reject the other.
* Fix call to build_package0.6.26Pascal Terjan2016-10-041-1/+1
|
* Reorganize code detecting build statusPascal Terjan2016-10-041-36/+34
| | | | | | | If we can't get status, log a warning and go on. If status is not ready yet, verify the build is still in progress and there is no timeout. Else, analyze the status.
* Do not give up on a build when failing to check its statusPascal Terjan2016-10-031-69/+67
|
* Remove some useless connection to the build nodePascal Terjan2016-10-031-1/+1
| | | | | If we know the build is completed there is no point checking the state of the remote process.
* Fix exclusion warning to not log 1Pascal Terjan2016-05-251-1/+1
|
* Do not consider iurt is no longer running when failing to sshPascal Terjan2016-05-211-2/+3
|
* Do not retry when a build succeeds while it is already being retriedPascal Terjan2016-05-211-2/+2
|
* Enable ServerAliveInterval by defaultPascal Terjan2016-04-151-1/+1
|
* Do not try to build failed packagesPascal Terjan2016-02-151-2/+3
|
* Move something invariant out of a loopPascal Terjan2016-02-151-8/+5
|
* Better modules splitPascal Terjan2016-02-061-9/+2
|
* Start splitting ulriPascal Terjan2016-02-061-198/+22
|
* Cleanup lines with only whitespacePascal Terjan2016-02-061-42/+42
|
* Move exclude_machine to a better placePascal Terjan2016-02-031-8/+8
|
* Use a shared function to load the state of upload treePascal Terjan2016-01-231-93/+6
|
* Do not modify $run in the tree callbacksPascal Terjan2016-01-231-3/+11
|