Bug 14651 - runqemu tries to kill(None)
Summary: runqemu tries to kill(None)
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 4.0
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-12-08 17:00 UTC by Ross Burton
Modified: 2021-12-09 15:53 UTC (History)
2 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 Ross Burton 2021-12-08 17:00:47 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/2896/steps/14/logs/stdio

DEBUG: waiting at most 300 seconds for qemu pid (12/05/21 16:39:52)
ERROR: Qemu pid didn't appear in 300 seconds (12/05/21 16:44:52)
ERROR: Status information, poll status: None, pidfile exists: False, pidfile contents None, proc pid exists False
...
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/scripts/runqemu", line 1609, in main
    config.setup_rootfs()
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/scripts/runqemu", line 1218, in setup_rootfs
    shutil.copyfile(self.rootfs, newrootfs)
  File "/usr/lib/python3.7/shutil.py", line 122, in copyfile
    copyfileobj(fsrc, fdst)
  File "/usr/lib/python3.7/shutil.py", line 79, in copyfileobj
    buf = fsrc.read(length)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/scripts/runqemu", line 1596, in sigterm_handler
    os.kill(config.qemupid, signal.SIGTERM)
TypeError: an integer is required (got type NoneType)