Bug 12701 - [2.5 M3 rc1][OE Core:Centos7] - Unpack shared repositories
Summary: [2.5 M3 rc1][OE Core:Centos7] - Unpack shared repositories
Status: RESOLVED DUPLICATE of bug 12700
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: 2.5
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.5 M4
Assignee: Aaron Chan
QA Contact: Aaron Chan
URL: http://centaurus02.png.intel.com:8010...
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-04-20 02:39 UTC by Aaron Chan
Modified: 2018-05-03 08:22 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: CentOS
Type of Regression: Regression (Found by QA test)
Verified:
Documentation change: Don't know


Attachments
BuildStep - Unpack shared repositories (3.91 KB, application/octet-stream)
2018-04-20 02:39 UTC, Aaron Chan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***