Bug 12440 - test_qemu_efi (oeqa.selftest.wic.Wic) fails on Fedora26
Summary: test_qemu_efi (oeqa.selftest.wic.Wic) fails on Fedora26
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.3.3
Hardware: x86 Multiple
: Medium+ minor
Target Milestone: 2.3.4
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-12-20 23:29 UTC by Javier Zepeda
Modified: 2018-03-22 08:17 UTC (History)
3 users (show)

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


Attachments
test_qemu_efi_logs (210.00 KB, application/x-tar)
2017-12-20 23:29 UTC, Javier Zepeda
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/meta/lib/oeqa/selftest/wic.py", line 58, in wrapped_f
    return func(*args, **kwargs)
  File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/meta/lib/oeqa/selftest/wic.py", line 624, in test_qemu_efi
    self.assertEqual(0, bitbake('core-image-minimal ovmf').status)
  File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/meta/lib/oeqa/utils/commands.py", line 150, in bitbake
    return runCmd(cmd, ignore_status, timeout, **options)
  File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora26/build/meta/lib/oeqa/utils/commands.py", line 128, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'bitbake  core-image-minimal ovmf' 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 '1'
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