Bug 12701

Summary: [2.5 M3 rc1][OE Core:Centos7] - Unpack shared repositories
Product: [Infrastructure] AutoBuilder Reporter: Aaron Chan <aaron.chun.yew.chan>
Component: autobuilderAssignee: Aaron Chan <aaron.chun.yew.chan>
Status: RESOLVED DUPLICATE QA Contact: Aaron Chan <aaron.chun.yew.chan>
Severity: normal    
Priority: Medium+ CC: apoorv.sangal, bluelightning, infras.ab.watcher, Infras.watcher, pidge, richard.purdie, ross.burton
Version: 2.5   
Target Milestone: 2.5 M4   
Hardware: x86   
OS: Multiple   
URL: http://centaurus02.png.intel.com:8010/#/builders/18/builds/17
Whiteboard:
OS type for building Yocto: CentOS Type of Regression: Regression (Found by QA test)
Verified: Documentation change: Don't know
Attachments:
Description Flags
BuildStep - Unpack shared repositories none

Description Aaron Chan 2018-04-20 02:39:02 UTC
Created attachment 4278 [details]
BuildStep - Unpack shared repositories

=======================================================================================================
BUILDSTEP - Unpack shared repositories
=======================================================================================================

Traceback (most recent call last):
  File "/home/ab/yocto-worker/nightly-oe-selftest/yocto-autobuilder-helper/scripts/shared-repo-unpack", line 43, in <module>
    repos = json.load(f)
  File "/usr/lib64/python3.4/json/__init__.py", line 268, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib64/python3.4/json/__init__.py", line 318, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python3.4/json/decoder.py", line 346, in decode
    raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 7 column 2 - line 25 column 2 (char 164 - 656)


This errors seems to be inherited from the step before this while executing BuildStep - Clobber build dir
1. errors seems to be coming from Json content @ repos = json.load(f)

However the error line seems to be error out on line 7 column 2 (Unpack shared repositories), compare to line 717 column 1 (Clobber build dir)

It appears this error is only found on this distribution (centos7) and seems to be consistent over other jobs executed. 
It also appear in my development machine running on Ubuntu 16.04
Need to further investigate this to narrow down the root cause.
Comment 1 Richard Purdie 2018-04-26 07:39:55 UTC
Hi Aaron, This looks like it might be caused by an error in the config.json file. Could you check that and if you can't find the issue, attach the config.json please?
Comment 2 Richard Purdie 2018-05-03 08:22:26 UTC
Looks like the same json load issue as 12700

*** This bug has been marked as a duplicate of bug 12700 ***