action #156514
Updated by livdywan 12 months ago
## Observation Cron <root@openqa-service> (date; fetch_openqa_bugs)> /tmp/fetch_openqa_bugs_osd.log at Mon, 4 Mar 2024 00:20:40 +0000 (UTC): /tmp/fetch_openqa_bugs_osd.log: ``` Exception occured while fetching bsc#1158056 Traceback (most recent call last): File "/usr/bin/fetch_openqa_bugs", line 62, in <module> raise e File "/usr/bin/fetch_openqa_bugs", line 48, in <module> issue = issue_fetcher.get_issue(bugid) File "/usr/lib/python3.6/site-packages/openqa_bugfetcher/issues/__init__.py", line 88, in get_issue return self.prefix_table[prefix](self.conf, bugid) File "/usr/lib/python3.6/site-packages/openqa_bugfetcher/issues/__init__.py", line 24, in __init__ self.fetch(conf) File "/usr/lib/python3.6/site-packages/openqa_bugfetcher/issues/bugzilla_issue.py", line 28, in fetch data = req.json() File "/usr/lib/python3.6/site-packages/requests/models.py", line 898, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib64/python3.6/site-packages/simplejson/__init__.py", line 525, in loads return _default_decoder.decode(s) File "/usr/lib64/python3.6/site-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/usr/lib64/python3.6/site-packages/simplejson/decoder.py", line 400, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ``` ## Suggestions - Investigate what is causing the JSON error - likely an error string was returned instead of JSON - Handle the exception in bugzilla_issue.py and print a meaningful error - Investigate why 3 seemingly identical errors are sent in separate emails around the same time