[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Arch Linux: allow scheduling of many more old/depwait/404...

Holger Levsen gitlab at salsa.debian.org
Thu Sep 10 18:28:43 BST 2020



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
c6013e6a by Holger Levsen at 2020-09-10T19:28:36+02:00
reproducible Arch Linux: allow scheduling of many more old/depwait/404 packages (also ones tested recently) to catch up on backlog

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


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 16h ago)
+	# (which have been tried at least 2h ago)
 	#
 	echo "$(date -u ) - should we schedule packages in DEPWAIT_ or 404_ states?"
-	local MAX=350
-	local MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "16 hours ago")
+	local MAX=3500
+	local MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "2 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=501
-	local THRESHOLD=600
-	MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "4 days ago")
+	MAX=10010
+	local THRESHOLD=16000
+	MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "1 day 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/c6013e6aba45cc549a6add5df8ff3f0c97ffbea0

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c6013e6aba45cc549a6add5df8ff3f0c97ffbea0
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/e7389da6/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list