Bug 13588

Summary: zeaus-rc1] oe-selftest fails in imagefeatures on test_hypervisor_fmts
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Armin Kuster <akuster>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: 3.0   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: Don't know

Description Armin Kuster 2019-10-09 15:05:18 UTC
File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/imagefeatures.py", line 165, in test_hypervisor_fmts
    data = json.loads(result.output)
  File "/usr/lib64/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/imagefeatures.py", line 169, in test_hypervisor_fmts
    self.fail("Could not parse '%ss'" % result.output)
  File "/usr/lib64/python3.7/unittest/case.py", line 680, in fail
    raise self.failureException(msg)
AssertionError: Could not parse '/bin/sh: /home/pokybuild/yocto-worker/oe-selftest/build/build-st-39246/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/lib/libreadline.so.8: no version information available (required by /bin/sh)
Comment 1 Armin Kuster 2019-10-09 15:07:01 UTC
this is also causing "wic.Wic2.test_fixed_size" to fail
Comment 3 Ross Burton 2019-10-09 16:10:39 UTC
That patch was designed to help figure out what was causing this failure.

It's due to:

/bin/sh: /home/pokybuild/yocto-worker/oe-selftest/build/build-st-39246/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/lib/libreadline.so.8: no version information available (required by /bin/sh)

Which is a tumbleweed-specific issue with uninative and readline.