[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 3 commits: reproducible debian: maintenance: drop two dead lines
Mattia Rizzolo
gitlab at salsa.debian.org
Sat May 19 14:33:51 BST 2018
Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net
Commits:
3937bced by Mattia Rizzolo at 2018-05-19T13:58:06+02:00
reproducible debian: maintenance: drop two dead lines
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
402f2ad1 by Mattia Rizzolo at 2018-05-19T15:27:34+02:00
reproducible debian: remove_scheduler: disable call to generate the schedule page
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
e3c6b657 by Mattia Rizzolo at 2018-05-19T15:33:16+02:00
reproducible debian: web scheduler: drop the --dry-run, let's try it for real!
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
3 changed files:
- bin/cgi-bin/schedule
- bin/reproducible_maintenance.sh
- bin/reproducible_remote_scheduler.py
Changes:
=====================================
bin/cgi-bin/schedule
=====================================
--- a/bin/cgi-bin/schedule
+++ b/bin/cgi-bin/schedule
@@ -15,7 +15,7 @@ cgitb.enable()
def debug_info():
# Debug info, to be removed once ready to go.
print()
- print('WARNING: This endpoint is still a WORK IN PROGRESS. This means that the option details can change, and it will not commit any change.')
+ print('WARNING: This endpoint is still a WORK IN PROGRESS. This means that the option details may change without notice.')
print('You are aunthenticated as: {}'.format(user))
print(cgi.FieldStorage())
@@ -82,7 +82,6 @@ def main(args):
cmd = (
'/srv/jenkins/bin/reproducible_remote_scheduler.py',
*args,
- '--dry-run',
'--architecture', a,
'--suite', s,
*form.getlist('pkg'),
=====================================
bin/reproducible_maintenance.sh
=====================================
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -511,8 +511,6 @@ if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ] ; then
if [ "$(dirname $PROBLEM)" = "/var/log/jenkins" ] ; then
if [ "$(basename $PROBLEM)" = "reproducible-diskspace-issues.log" ]; then
echo "diskspace issues should always be investigated." > $TMPFILE
- elif [ "$(basename $PROBLEM)" != "postgresql-9.6-main.log " ]; then
- echo "A few entries per day are normal, a few dozens or hundreds probably not." > $TMPFILE
fi
if grep -q https $PROBLEM ; then
echo "$(grep -c https $PROBLEM) entries found:"
=====================================
bin/reproducible_remote_scheduler.py
=====================================
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -364,9 +364,12 @@ def rest(scheduling_args, requester, local, suite, arch):
if notify_on_start or artifacts:
irc_msg(info_msg)
- if not dry_run:
- from reproducible_html_live_status import generate_schedule
- generate_schedule(arch) # update the HTML page
+ # Takes way too much time atm (even minutes in case of high load) and that
+ # page is generated every ~half hour anyway.
+ # Also this requires extra privileges to www-data, for the web scheduler.
+ #if not dry_run:
+ # from reproducible_html_live_status import generate_schedule
+ # generate_schedule(arch) # update the HTML page
def main():
scheduling_args, requester, local, suites, archs = parse_args()
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/db383202549413f84b6d761d16fb2744f9844ceb...e3c6b6570baadb21f06e7e9cae4c7d38befea78e
---
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/db383202549413f84b6d761d16fb2744f9844ceb...e3c6b6570baadb21f06e7e9cae4c7d38befea78e
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/20180519/fe59480a/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list