Bug 14486

Summary: qemu rootfs copy is taking too much time
Product: [Infrastructure] AutoBuilder Reporter: Alexandre Belloni <alexandre.belloni>
Component: autobuilderAssignee: Aryaman Gupta <Aryaman.Gupta>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium+ CC: alexandre.belloni, infras.ab.watcher, Infras.watcher, jon.mason, leonardo.sandoval, pidge, randy.macleod
Version: 3.3   
Target Milestone: 4.1 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2021-07-22 10:45:25 UTC
ERROR: core-image-sato-sdk-1.0-r0 do_testimage: Qemu pid didn't appear in 300 seconds (07/22/21 02:32:37)
ERROR: core-image-sato-sdk-1.0-r0 do_testimage: Status information, poll status: None, pidfile exists: False, pidfile contents None, proc pid exists False

runqemu - INFO - Using preconfigured tap device tap0
runqemu - INFO - If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu skip tap0.
runqemu - INFO - Network configuration: ip=192.168.7.2::192.168.7.1:255.255.255.0
runqemu - INFO - Copying rootfs to /home/pokybuild/tmp/core-image-sato-sdk-qemux86.ext4.21455
ERROR: core-image-sato-sdk-1.0-r0 do_testimage: Error executing a python function in exec_python_func() autogenerated:
[...]
Exception: RuntimeError: FAILED to start qemu - check the task log and the boot log 


https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/3709/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/3603/steps/12/logs/stdio
Comment 1 Randy MacLeod 2021-07-22 14:42:14 UTC
This may be addressed by the 'make -l <NUM>' so let's wait a few weeks to see.
Comment 2 Richard Purdie 2021-09-14 13:33:27 UTC
We've not seen this in a couple of months and it does seem to be AB IO load dependent so closing as not sure what else we can do about it.
Comment 3 Alexandre Belloni 2021-12-09 13:47:31 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/42/builds/4379/steps/13/logs/stdio

qemuarm64 debian10-ty-2
Comment 5 Alexandre Belloni 2021-12-11 15:02:47 UTC
Note that the 4 previous instances have managed to finish the copy itself:
runqemu - INFO - Copy done in 303.0577745437622 seconds


https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/2896/steps/14/logs/stdio
Comment 7 Alexandre Belloni 2022-01-13 00:47:09 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/2947/steps/15/logs/stdio

Copy done in 320.3755326271057 seconds
Comment 9 Alexandre Belloni 2022-02-02 22:18:52 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/4652/steps/14/logs/stdio
centos7-ty-4 non-SSD
Comment 10 Alexandre Belloni 2022-03-17 12:49:19 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3270/steps/15/logs/stdio

oe-selftest-centos centos7-ty-4

Many occurrences on this one
Comment 11 Richard Purdie 2022-04-16 10:22:40 UTC
*** Bug 14769 has been marked as a duplicate of this bug. ***
Comment 12 Leonardo Sandoval 2022-04-20 22:40:13 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/2929/steps/14/logs/stdio

│ ubuntu1604-ty-1  │ Non-SSD │
Comment 13 Alexandre Belloni 2022-06-09 13:12:39 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/3668/steps/15/logs/stdio
ubuntu1604-ty-1 non SSD
Comment 14 Randy MacLeod 2022-09-08 15:03:07 UTC
Fixed by using SSDs.