Bug 14442 - runqemu.QemuTest.test_qemu_can_shutdown failure
Summary: runqemu.QemuTest.test_qemu_can_shutdown failure
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: oeqa/runtime (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.4 M2
Assignee: Alexandre Belloni
QA Contact:
URL:
Whiteboard: AB-INT AB-INT-TMPFS
Depends on:
Blocks:
 
Reported: 2021-06-17 14:22 UTC by Alexandre Belloni
Modified: 2021-06-28 10:27 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.