[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] Revert "reproducible Arch Linux: allow scheduling of many more old/depwait/404...
Holger Levsen
gitlab at salsa.debian.org
Thu Sep 10 18:43:04 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
adfe8050 by Holger Levsen at 2020-09-10T19:29:28+02:00
Revert "reproducible Arch Linux: allow scheduling of many more old/depwait/404 packages (also ones tested recently) to catch up on backlog"
This reverts commit c6013e6aba45cc549a6add5df8ff3f0c97ffbea0.
- - - - -
1 changed file:
- bin/reproducible_archlinux_scheduler.sh
Changes:
=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -155,11 +155,11 @@ update_archlinux_repositories() {
#
# schedule up to $MAX packages in DEPWAIT_ or 404_ states
- # (which have been tried at least 2h ago)
+ # (which have been tried at least 16h ago)
#
echo "$(date -u ) - should we schedule packages in DEPWAIT_ or 404_ states?"
- local MAX=3500
- local MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "2 hours ago")
+ local MAX=350
+ local MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "16 hours ago")
local SCHDATE=$(date -u +"%Y-%m-%d %H:%M" -d "7 days")
QUERY="SELECT s.id FROM sources AS s
JOIN results AS r ON s.id=r.package_id
@@ -185,9 +185,9 @@ update_archlinux_repositories() {
# (only if less than $THRESHOLD packages are currently scheduled)
#
echo "$(date -u ) - should we schedule old packages?"
- MAX=10010
- local THRESHOLD=16000
- MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "1 day ago")
+ MAX=501
+ local THRESHOLD=600
+ MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "4 days ago")
SCHDATE=$(date -u +"%Y-%m-%d %H:%M" -d "7 days")
local CURRENT=$(query_db "SELECT count(*) FROM sources AS s JOIN schedule AS sch ON s.id=sch.package_id WHERE build_type='ci_build' AND s.distribution=$DISTROID AND s.architecture='x86_64' AND sch.date_build_started IS NULL;")
if [ $CURRENT -le $THRESHOLD ] ; then
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/adfe80506e05f79f4060b2ad50633d54d0a9c713
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/adfe80506e05f79f4060b2ad50633d54d0a9c713
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200910/3de8da47/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list