[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible opensuse: notify IRC and Bernhard of job failures

Mattia Rizzolo gitlab at salsa.debian.org
Thu Dec 13 12:40:38 GMT 2018


Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
9704f222 by Mattia Rizzolo at 2018-12-13T12:38:32Z
reproducible opensuse: notify IRC and Bernhard of job failures

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -
19b01d7e by Mattia Rizzolo at 2018-12-13T12:39:02Z
reproducible opensuse: try decoding the input before giving it to json

Traceback (most recent call last):
  File "./reproducible_opensuse_import_json.py", line 22, in <module>
    ostatus = json.loads(ofile)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


2 changed files:

- bin/reproducible_opensuse_import_json.py
- job-cfg/reproducible.yaml


Changes:

=====================================
bin/reproducible_opensuse_import_json.py
=====================================
@@ -18,7 +18,7 @@ from rblib.confparse import log
 json_url = 'http://rb.zq1.de/compare.factory/reproducible.json'
 
 log.info('Downloading status fileā€¦')
-ofile = urlopen(json_url).read()
+ofile = urlopen(json_url).read().decode('utf-8')
 ostatus = json.loads(ofile)
 
 


=====================================
job-cfg/reproducible.yaml
=====================================
@@ -663,6 +663,7 @@
                     my_description: 'Import the status json'
                     my_timed: 'H H * * H'
                     my_shell: 'cd /srv/jenkins/bin/ && ./reproducible_opensuse_import_json.py && ./reproducible_html_indexes.py --distro opensuse && ./reproducible_html_all_packages.py --distro opensuse'
+                    my_recipients: 'jenkins+reproducible-builds bernhard+debianjenkins at lsmod.de qa-jenkins-scm at lists.alioth.debian.org'
             my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
             my_hname: ''
             my_timeout: '1440'



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/d216ef4f0e1e0015e3a0180680e0d8faee7809f4...19b01d7ea611ebd84bdf1a76a64a396ff7e9a5fa

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/d216ef4f0e1e0015e3a0180680e0d8faee7809f4...19b01d7ea611ebd84bdf1a76a64a396ff7e9a5fa
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/20181213/8637f4f6/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list