[Git][qa/jenkins.debian.net][master] reproducible Debian scheduler: also schedule untested packages with priority...

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Mar 26 21:25:18 GMT 2024



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


Commits:
2dea4493 by Holger Levsen at 2024-03-26T22:24:54+01:00
reproducible Debian scheduler: also schedule untested packages with priority (else slow archs cannot keep up with experimental growing)

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

- - - - -


1 changed file:

- bin/reproducible_scheduler.py


Changes:

=====================================
bin/reproducible_scheduler.py
=====================================
@@ -34,7 +34,8 @@ and LIMIT arrays:
 
 First, the scheduler is only started for an architecture if the number of
 currently scheduled packages is lower than MAXIMA*3. Then if the number of
-scheduled packages is higher than MAXIMA, only new versions are scheduled...
+scheduled packages is higher than MAXIMA, only untested packages and new
+versions are scheduled...
 
 
 Then, for each category (totally _untested_ packages, _new_ versions,
@@ -749,12 +750,12 @@ def scheduler(arch):
     log.info(f"Currently scheduled packages in all suites on {arch}: {total}")
     if total > MAXIMA[arch]:
         log.info(str(total) + ' packages already scheduled' +
-                 ', only scheduling new versions.')
+                 ', only scheduling untested packages and new versions.')
         empty_pkgs = {}
         for suite in SUITES:
             empty_pkgs[suite] = []
-        untested, msg_untested = empty_pkgs, ''
-        new, msg_new = schedule_new_versions(arch, total)
+        untested, msg_untested = schedule_untested_packages(arch, total)
+        new, msg_new = schedule_new_versions(arch, total+len(untested))
         old_ftbfs, msg_old_ftbfs = empty_pkgs, ''
         old_depwait, msg_old_depwait = empty_pkgs, ''
         old, msg_old = empty_pkgs, ''



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2dea4493dfe8e5cec4d452f8b73cd72e82747ede

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2dea4493dfe8e5cec4d452f8b73cd72e82747ede
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/20240326/6a6af5e5/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list