Bug 13043

Summary: runqemu.RunqemuTests.* failing
Product: [QA/Testing] Functional (self) Testing Reporter: Ross Burton <ross.burton>
Component: oe-selftestAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: akuster, mhalstead
Version: 2.7   
Target Milestone: 2.7 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2018-11-27 15:37:32 UTC
debian9-ty-2 master-next
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/18

2018-11-27 13:58:44,758 - oe-selftest - INFO - ======================================================================
2018-11-27 13:58:44,758 - oe-selftest - INFO - ERROR: runqemu.RunqemuTests.test_boot_deploy_hddimg (subunit.RemotedTestCase)
2018-11-27 13:58:44,758 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-11-27 13:58:44,758 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/utils/commands.py", line 337, in runqemu
    qemu.start(params=qemuparams, ssh=ssh, runqemuparams=runqemuparams, launch_cmd=launch_cmd, discard_writes=discard_writes)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/targetcontrol.py", line 180, in start
    raise bb.build.FuncFailed("%s - FAILED to start qemu - check the task log and the boot log" % self.pn)
bb.build.FuncFailed: Function failed: core-image-minimal - FAILED to start qemu - check the task log and the boot log

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 97, in test_boot_deploy_hddimg
    with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
  File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/utils/commands.py", line 339, in runqemu
    raise Exception('Failed to start QEMU - see the logs in %s' % logdir)
Exception: Failed to start QEMU - see the logs in /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-28103/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage

debian9-ty-2 master-next
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/11

2018-11-27 14:03:03,386 - oe-selftest - INFO - ======================================================================
2018-11-27 14:03:03,386 - oe-selftest - INFO - ERROR: runqemu.RunqemuTests.test_boot_deploy_hddimg (subunit.RemotedTestCase)
2018-11-27 14:03:03,386 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-11-27 14:03:03,386 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 337, in runqemu
    qemu.start(params=qemuparams, ssh=ssh, runqemuparams=runqemuparams, launch_cmd=launch_cmd, discard_writes=discard_writes)
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/targetcontrol.py", line 180, in start
    raise bb.build.FuncFailed("%s - FAILED to start qemu - check the task log and the boot log" % self.pn)
bb.build.FuncFailed: Function failed: core-image-minimal - FAILED to start qemu - check the task log and the boot log

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/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 97, in test_boot_deploy_hddimg
    with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
  File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 339, in runqemu
    raise Exception('Failed to start QEMU - see the logs in %s' % logdir)
Exception: Failed to start QEMU - see the logs in /home/pokybuild/yocto-worker/oe-selftest/build/build-st-31366/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage


ubuntu1804-ty-3 master-next
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/12

2018-11-27 13:43:27,665 - oe-selftest - INFO - ======================================================================
2018-11-27 13:43:27,665 - oe-selftest - INFO - FAIL: runqemu.RunqemuTests.test_boot_rootfs (subunit.RemotedTestCase)
2018-11-27 13:43:27,665 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-11-27 13:43:27,665 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 137, in test_boot_rootfs
    self.assertTrue(qemu.runner.logged, "Failed: %s" % cmd)
  File "/usr/lib/python3.6/unittest/case.py", line 682, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : Failed: runqemu nographic /home/pokybuild/yocto-worker/oe-selftest/build/build-st-1259/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.ext4