Bug 12745 - [yocto-autobuilder-helper]: config.json property name expected enclosed double quotes
Summary: [yocto-autobuilder-helper]: config.json property name expected enclosed doubl...
Status: RESOLVED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: 5.99
Hardware: x86 x86_64
: Undecided major
Target Milestone: ---
Deadline: 2018-05-18
Assignee: Richard Purdie
QA Contact: Aaron Chan
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-05-10 23:28 UTC by Aaron Chan
Modified: 2018-05-11 05:46 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: CentOS
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Chan 2018-05-10 23:28:28 UTC
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder-helper/commit/?id=5a74feb9c56e70d62dbe76b171578e13117418da

Based on upstream commits: 5a74feb9c56e70d62dbe76b171578e13117418da

All Buildbot workers found to be failed at steps

+ Unpack shared repositories
+ run-config

Traceback (most recent call last):
  File "/home/ab/yocto-worker/nightly-oe-selftest/yocto-autobuilder-helper/scripts/shared-repo-unpack", line 36, in <module>
    ourconfig = utils.loadconfig(__file__)
  File "/home/ab/yocto-worker/nightly-oe-selftest/yocto-autobuilder-helper/scripts/utils.py", line 79, in loadconfig
    ourconfig = json.load(f)
  File "/usr/lib/python3.5/json/__init__.py", line 268, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.5/json/decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 501 column 13 (char 22321)

reverting the back ported changes and worked with http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder-helper/commit/?id=8c7892e3426e10768188af027f38525d0b414ec2
Comment 1 Ross Burton 2018-05-11 05:46:58 UTC
Fixed, and I also added a commit hook to validate the JSON...