Bug 14442

Summary: runqemu.QemuTest.test_qemu_can_shutdown failure
Product: [QA/Testing] Runtime Testing Reporter: Alexandre Belloni <alexandre.belloni>
Component: oeqa/runtimeAssignee: Alexandre Belloni <alexandre.belloni>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: randy.macleod, richard.purdie, sakib.sajal
Version: unspecified   
Target Milestone: 3.4 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT AB-INT-TMPFS
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2021-06-17 14:22:23 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/3533/steps/19/logs/stdio

qemux86 ubuntu1804-ty-3




2021-06-15 02:37:04,553 - oe-selftest - INFO - runqemu.QemuTest.test_qemu_can_shutdown (subunit.RemotedTestCase)
2021-06-15 02:37:04,554 - oe-selftest - INFO -  ... FAIL
2021-06-15 02:37:04,554 - oe-selftest - INFO - 10: 1/1 3/15 (267.23s) (runqemu.QemuTest.test_qemu_can_shutdown)
2021-06-15 02:37:04,554 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemux86/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 190, in test_qemu_can_shutdown
    self.assertTrue(qemu_shutdown_succeeded, 'Failed: %s does not shutdown within timeout(%s)' % (self.machine, shutdown_timeout))
  File "/usr/lib/python3.6/unittest/case.py", line 682, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : Failed: qemux86 does not shutdown within timeout(120)
Comment 2 Randy MacLeod 2021-06-17 14:55:38 UTC
If you see this again, get the qemu guest dmesg output and paste it here. We suspect that the guest kernel is crashing.

Sakib, Can we dump the qemu log file if this happens?
Comment 3 Richard Purdie 2021-06-28 10:27:16 UTC
Closing as likely caused by rcu stall hangs. Without the kernel logs we can't tell. We'll open new bugs if issues recur.