Bug 14166 - qemumips64 failed to shutdown
Summary: qemumips64 failed to shutdown
Status: RESOLVED DUPLICATE of bug 14128
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 3.3
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2020-12-28 08:04 UTC by Naveen Saini
Modified: 2021-03-11 19:40 UTC (History)
4 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 Naveen Saini 2020-12-28 08:04:23 UTC
2020-12-22 07:03:01,126 - oe-selftest - INFO - ERROR: runqemu.QemuTest.test_qemu_can_shutdown (subunit.RemotedTestCase)
2020-12-22 07:03:01,126 - oe-selftest - INFO - ----------------------------------------------------------------------
2020-12-22 07:03:01,127 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemumips64/build/meta/lib/oeqa/utils/commands.py", line 353, in runqemu
    qemu.start(params=qemuparams, ssh=ssh, runqemuparams=runqemuparams, launch_cmd=launch_cmd, discard_writes=discard_writes)
  File "/home/pokybuild/yocto-worker/qemumips64/build/meta/lib/oeqa/targetcontrol.py", line 179, in start
    raise RuntimeError("%s - FAILED to start qemu - check the task log and the boot log" % self.pn)
RuntimeError: core-image-minimal - FAILED to start qemu - check the task log and the boot log

During handling of the above exception, another exception occurred:

Logs at https://autobuilder.yoctoproject.org/typhoon/#/builders/74/builds/2836
Comment 2 Alexandre Belloni 2021-03-11 19:38:28 UTC
(In reply to comment #0)
> 2020-12-22 07:03:01,126 - oe-selftest - INFO - ERROR:
> runqemu.QemuTest.test_qemu_can_shutdown (subunit.RemotedTestCase)
> 2020-12-22 07:03:01,126 - oe-selftest - INFO -
> ----------------------------------------------------------------------
> 2020-12-22 07:03:01,127 - oe-selftest - INFO -
> testtools.testresult.real._StringException: Traceback (most recent call
> last):
>   File
> "/home/pokybuild/yocto-worker/qemumips64/build/meta/lib/oeqa/utils/commands.
> py", line 353, in runqemu
>     qemu.start(params=qemuparams, ssh=ssh, runqemuparams=runqemuparams,
> launch_cmd=launch_cmd, discard_writes=discard_writes)
>   File
> "/home/pokybuild/yocto-worker/qemumips64/build/meta/lib/oeqa/targetcontrol.
> py", line 179, in start
>     raise RuntimeError("%s - FAILED to start qemu - check the task log and
> the boot log" % self.pn)
> RuntimeError: core-image-minimal - FAILED to start qemu - check the task log
> and the boot log
> 
> During handling of the above exception, another exception occurred:
> 
> Logs at
> https://autobuilder.yoctoproject.org/typhoon/#/builders/74/builds/2836

That one was actually cause byt the RCU CPU stall detection
Comment 3 Alexandre Belloni 2021-03-11 19:39:18 UTC
(In reply to comment #1)
> https://autobuilder.yoctoproject.org/typhoon/#/builders/42/builds/2943

This was:
  File "/home/pokybuild/yocto-worker/qemuarm64/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 191, 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: qemuarm64 does not shutdown within timeout(120)
Comment 4 Alexandre Belloni 2021-03-11 19:40:31 UTC
Merge of all the qemu does not shutdown within timeout issues

*** This bug has been marked as a duplicate of bug 14128 ***