[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Arch Linux: reschedule packages which have been tested 5 days...

Holger Levsen gitlab at salsa.debian.org
Sat Jan 19 17:33:13 GMT 2019


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


Commits:
18a33594 by Holger Levsen at 2019-01-19T17:33:01Z
reproducible Arch Linux: reschedule packages which have been tested 5 days ago. retry 404/depwait packages after 16h. (before: 10d and 24h)

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

- - - - -


1 changed file:

- bin/reproducible_archlinux_scheduler.sh


Changes:

=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -158,11 +158,11 @@ update_archlinux_repositories() {
 
 	#
 	# schedule up to $MAX packages in DEPWAIT_ or 404_ states
-	# (which have been tried at least 24h ago)
+	# (which have been tried at least 16h 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 "24 hours ago")
+	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
@@ -190,7 +190,7 @@ update_archlinux_repositories() {
 	echo "$(date -u ) - should we schedule old packages?"
 	MAX=500
 	local THRESHOLD=600
-	MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "10 days ago")
+	MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "5 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 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/18a335943078d11abf5cfb2fdca63e0888c206bd

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/18a335943078d11abf5cfb2fdca63e0888c206bd
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/20190119/f7707354/attachment.html>


More information about the Qa-jenkins-scm mailing list