Bug 12440

Summary: test_qemu_efi (oeqa.selftest.wic.Wic) fails on Fedora26
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Javier Zepeda <javierx.zepeda.murguia>
Component: coreAssignee: Armin Kuster <akuster>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: 2.3.3   
Target Milestone: 2.3.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
test_qemu_efi_logs none

Description Javier Zepeda 2017-12-20 23:29:41 UTC
Created attachment 4161 [details]
test_qemu_efi_logs

BUILD: 2.3.3
Commit: 022df4653576c72752156bef8fda0e1aa46733d2
ENVIRONMENT: Fedora 26 x86_64

The errors below are gotten in Fedora26 by using AB and running oe-selftest; build returns an error from test_qemu_efi 

======================================================================
FAIL [78.375s]: test_qemu_efi (oeqa.selftest.wic.Wic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &#34;/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/meta/lib/oeqa/selftest/wic.py&#34;, line 58, in wrapped_f
    return func(*args, **kwargs)
  File &#34;/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/meta/lib/oeqa/selftest/wic.py&#34;, line 624, in test_qemu_efi
    self.assertEqual(0, bitbake(&#39;core-image-minimal ovmf&#39;).status)
  File &#34;/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/meta/lib/oeqa/utils/commands.py&#34;, line 150, in bitbake
    return runCmd(cmd, ignore_status, timeout, **options)
  File &#34;/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/meta/lib/oeqa/utils/commands.py&#34;, line 128, in runCmd
    raise AssertionError(&#34;Command &#39;%s&#39; returned non-zero exit status %d:\n%s&#34; % (command, result.status, exc_output))
AssertionError: Command &#39;bitbake  core-image-minimal ovmf&#39; returned non-zero exit status 1:


ERROR: ovmf-native-git-r0 do_compile: oe_runmake failed
ERROR: ovmf-native-git-r0 do_compile: Function failed: do_compile (log file is located at /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/build/tmp/work/x86_64-linux/ovmf-native/git-r0/temp/log.do_compile.11028)
ERROR: Logfile of failure stored in: /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/build/tmp/work/x86_64-linux/ovmf-native/git-r0/temp/log.do_compile.11028
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/build/tmp/work/x86_64-linux/ovmf-native/git-r0/temp/log.do_compile.11028)
ERROR: Task (virtual:native:/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/meta/recipes-core/ovmf/ovmf_git.bb:do_compile) failed with exit code &#39;1&#39;
Summary: 1 task failed:
  virtual:native:/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/meta/recipes-core/ovmf/ovmf_git.bb:do_compile
=====================================================================

The full log has been attached at this post.
Comment 1 Richard Purdie 2017-12-21 15:58:09 UTC
Probably needs some of the ovmf fixes in master backporting to pyro. Just luck we've not hit this on the autobuilder (e.g. http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=49b6d84fe368ba602caf4d0353a2bf07c28117bc and similar)
Comment 2 Armin Kuster 2018-01-06 06:34:53 UTC
back port patch
Comment 4 Armin Kuster 2018-03-22 08:17:08 UTC
in pyro