Cron outputs every several hours a traceback on usr/local/bin/lock-wrapper package-owner-aliases /usr/local/bin/package-owner-aliases.sh
Traceback (most recent call last):
File "/usr/local/bin/owner-email.py", line 49, in <module>
for project in get_pagure_projects():
File "/usr/local/bin/owner-email.py", line 40, in get_pagure_projects
data = response.json()
File "/usr/lib/python2.7/site-packages/requests/models.py", line 802, in json
return json.loads(self.text, **kwargs)
File "/usr/lib64/python2.7/site-packages/simplejson/__init__.py", line 516, in loads
File "/usr/lib64/python2.7/site-packages/simplejson/decoder.py", line 374, in decode
obj, end = self.raw_decode(s)
File "/usr/lib64/python2.7/site-packages/simplejson/decoder.py", line 404, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
error creating owner-alias file
When do you need this? (YYYY/MM/DD)
When is this no longer needed or useful? (YYYY/MM/DD)
If we cannot complete your request, what is the impact?
I'm going to run this one manually, as far as I can tell the JSON files are returning JSON
Completed fine when I ran it.
Do we see more errors in the logs?
Yes, it's sporadic. Today has had it at:
Metadata Update from @bowlofeggs:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
Metadata Update from @cverna:
- Issue tagged with: medium-gain, medium-trouble
Metadata Update from @pingou:
- Issue assigned to pingou
Should be mitigated by https://pagure.io/fedora-infra/ansible/pull-request/52
Commit 0db60354 fixes this issue
to comment on this ticket.