DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/qemu/qemu-native_10.0.6.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/qemu/qemu-system-native_10.0.6.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/createrepo-c/createrepo-c_1.2.1.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/dnf/dnf_4.23.0.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/unfs3/unfs3_0.11.0.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'llvm-tblgen-native', 'cmake-native', 'libtool-native', 'm4-native', 'qemu-helper-native', 'qemu-native', 'qemu-system-native', 'texinfo-dummy-native', 'openssl-native', 'libslirp-native', 'expat-native', 'gettext-native', 'glib-2.0-native', 'libxml2-native', 'ncurses-native', 'readline-native', 'util-linux-libuuid-native', 'util-linux-native', 'zlib-native', 'binutils-native', 'chrpath-native', 'clang-native', 'libclc-native', 'llvm-native', 'createrepo-c-native', 'dnf-native', 'elfutils-native', 'file-native', 'flex-native', 'gnu-config-native', 'json-c-native', 'libcomps-native', 'libdnf-native', 'libedit-native', 'libmodulemd-native', 'librepo-native', 'lua-native', 'make-native', 'perl-native', 'pseudo-native', 'python3-build-native', 'python3-calver-native', 'python3-cython-native', 'python3-editables-native', 'python3-flit-core-native', 'python3-hatchling-native', 'python3-installer-native', 'python3-mako-native', 'python3-markupsafe-native', 'python3-packaging-native', 'python3-pathspec-native', 'python3-pluggy-native', 'python3-pygments-native', 'python3-pyproject-hooks-native', 'python3-pyyaml-native', 'python3-setuptools-scm-native', 'python3-setuptools-native', 'python3-trove-classifiers-native', 'python3-wheel-native', 'python3-native', 'rpm-native', 'swig-native', 'unfs3-native', 'bzip2-native', 'diffutils-native', 'libarchive-native', 'libidn2-native', 'libsolv-native', 'libtirpc-native', 'lzlib-native', 'unzip-native', 'xz-native', 'zstd-native', 'gobject-introspection-native', 'libdrm-native', 'libepoxy-native', 'libsdl2-native', 'mesa-native', 'spirv-headers-native', 'spirv-llvm-translator-native', 'spirv-tools-native', 'virglrenderer-native', 'wayland-protocols-native', 'wayland-native', 'xrandr-native', 'libpciaccess-native', 'libpthread-stubs-native', 'libx11-native', 'libxau-native', 'libxcb-native', 'libxdamage-native', 'libxdmcp-native', 'libxext-native', 'libxfixes-native', 'libxrandr-native', 'libxrender-native', 'libxshmfence-native', 'libxxf86vm-native', 'pixman-native', 'xtrans-native', 'xcb-proto-native', 'xorgproto-native', 'makedepend-native', 'util-macros-native', 'dtc-native', 'alsa-lib-native', 'libpng-native', 'acl-native', 'attr-native', 'curl-native', 'gdbm-native', 'gmp-native', 'gnutls-native', 'libtasn1-native', 'gpgme-native', 'libassuan-native', 'libcap-ng-native', 'libcap-native', 'libffi-native', 'libgcrypt-native', 'libgpg-error-native', 'libmicrohttpd-native', 'libpcre2-native', 'libunistring-native', 'libyaml-native', 'nettle-native', 'popt-native', 'sqlite3-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_testimage
DEBUG: test suites:
test_boot_tiny (_qemutiny.QemuTinyTest.test_boot_tiny)
DEBUG: Using kvm for runqemu
QMP Available for connection at TOPDIR/tmp/.4rmv0pt7
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:60861
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:41511
DEBUG: launchcmd=runqemu snapshot kvm qemux86-64 TOPDIR/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.cpio.gz tcpserial=60861:41511 bootparams=" printk.time=1" qemuparams="-pidfile TOPDIR/pidfile_1193188 -S -qmp unix:./.wkmya3x_,server,wait -qmp unix:./.4rmv0pt7,server,nowait"
DEBUG: runqemu started, pid is 1193190
DEBUG: waiting at most 300 seconds for qemu pid (11/02/25 08:39:44)
DEBUG: QMP Initializing to TOPDIR/tmp/.wkmya3x_
DEBUG: QMP Connecting to TOPDIR/tmp/.wkmya3x_
QMP connected to QEMU at 11/02/25 08:39:45 and took 0.54 seconds
QMP released QEMU at 11/02/25 08:39:45 and took 0.12 seconds from connect
DEBUG: qemu started in 0.66 seconds - qemu procces pid is 1193195 (11/02/25 08:39:45)
DEBUG: qemu cmdline used:
TOPDIR/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -initrd /home/pokybuild/tmp/core-image-minimal-qemux86-64.rootfs.cpio.gz.1193190 -usb -device usb-tablet -usb -device usb-kbd -cpu Skylake-Client -machine q35,i8042=off -smp 4 -enable-kvm -m 256 -serial tcp:127.0.0.1:60861,nodelay=on -serial tcp:127.0.0.1:41511,nodelay=on -pidfile TOPDIR/pidfile_1193188 -S -qmp unix:./.wkmya3x_,server,wait -qmp unix:./.4rmv0pt7,server,nowait -device virtio-vga -display sdl,show-cursor=on -kernel TOPDIR/tmp/deploy/images/qemux86-64/bzImage -append root=/dev/ram0 rw debugshell ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0 console=ttyS0 console=ttyS1 oprofile.timer=1 tsc=reliable no_timer_check rcupdate.rcu_expedited=1 swiotlb=0 printk.time=1
DEBUG: Target IP: 192.168.7.2
DEBUG: Server IP: 192.168.7.1
DEBUG: Starting logging thread
DEBUG: Starting thread event loop
DEBUG: Connection request received
DEBUG: Setting connection established event
DEBUG: Output from runqemu:
runqemu - INFO - Continuing with the following parameters:
KERNEL: [TOPDIR/tmp/deploy/images/qemux86-64/bzImage]
MACHINE: [qemux86-64]
FSTYPE: [cpio.gz]
ROOTFS: [TOPDIR/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.cpio.gz]
SNAPSHOT: [Enabled. Changes on rootfs won't be kept after QEMU shutdown.]
CONFFILE: [TOPDIR/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.qemuboot.conf]
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::eth0:off:8.8.8.8 net.ifnames=0
runqemu - INFO - Copying rootfs to /home/pokybuild/tmp/core-image-minimal-qemux86-64.rootfs.cpio.gz.1193190
runqemu - INFO - Copy done in 0.00045609474182128906 seconds
runqemu - INFO - Running TOPDIR/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -initrd /home/pokybuild/tmp/core-image-minimal-qemux86-64.rootfs.cpio.gz.1193190 -usb -device usb-tablet -usb -device usb-kbd -cpu Skylake-Client -machine q35,i8042=off -smp 4 -enable-kvm -m 256 -serial tcp:127.0.0.1:60861,nodelay=on -serial tcp:127.0.0.1:41511,nodelay=on -pidfile TOPDIR/pidfile_1193188 -S -qmp unix:./.wkmya3x_,server,wait -qmp unix:./.4rmv0pt7,server,nowait -device virtio-vga -display sdl,show-cursor=on -kernel TOPDIR/tmp/deploy/images/qemux86-64/bzImage -append 'root=/dev/ram0 rw debugshell ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0 console=ttyS0 console=ttyS1 oprofile.timer=1 tsc=reliable no_timer_check rcupdate.rcu_expedited=1 swiotlb=0 printk.time=1'
runqemu - INFO - Host uptime: 212461.45
DEBUG: Waiting at most 1500 seconds for login banner (11/02/25 08:39:45)
DEBUG: Connection from 127.0.0.1:59268
WARNING: Target didn't reach login banner in 1500 seconds (11/02/25 09:04:46)
WARNING: Last 25 lines of login console (0):
WARNING: Last 25 lines of all logging (24102):
[ 0.883675] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[ 0.884875] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 0.906423] IP-Config: Complete:
[ 0.907062] device=eth0, hwaddr=52:54:00:12:34:02, ipaddr=192.168.7.2, mask=255.255.255.0, gw=192.168.7.1
[ 0.908952] host=192.168.7.2, domain=, nis-domain=(none)
[ 0.910035] bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
[ 0.910037] nameserver0=8.8.8.8
[ 0.912143] clk: Disabling unused clocks
[ 0.913226] /dev/root: Can't open blockdev
[ 0.913861] VFS: Cannot open root device "/dev/ram0" or unknown-block(1,0): error -16
[ 0.915050] Please append a correct "root=" boot option; here are the available partitions:
[ 0.916715] 0100 6144 ram0
[ 0.916717] (driver?)
[ 0.917661] 0b00 1048575 sr0
[ 0.917663] driver: sr
[ 0.918616] List of all bdev filesystems:
[ 0.919228] ext3
[ 0.919229] ext4
[ 0.919545] vfat
[ 0.919846]
[ 0.920397] VFS: Unable to mount root fs on unknown-block(1,0)
[ 0.921295] User configuration error - no valid root filesystem found
[ 0.922271] Kernel panic - not syncing: Invalid configuration from end user prevents continuing
[ 0.923739] Kernel Offset: disabled
[ 0.924278] ---[ end Kernel panic - not syncing: Invalid configuration from end user prevents continuing ]---
WARNING: Check full boot log: TOPDIR/tmp/work/qemux86_64-poky-linux-musl/core-image-minimal/1.0/testimage/qemu_boot_log.20251102083942
DEBUG: Stopping logging thread
DEBUG: Stop event received
DEBUG: Tearing down logging thread
DEBUG: Sending SIGTERM to runqemu
Output from runqemu:
runqemu - INFO - Received signal: 15
runqemu - INFO - Cleaning up
runqemu - INFO - Host uptime: 213968.55
runqemu - INFO - Removing /home/pokybuild/tmp/core-image-minimal-qemux86-64.rootfs.cpio.gz.1193190
tput: No value for $TERM and no -T specified
WARNING: Extra log data read:
/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/lib/oeqa/utils/qemurunner.py:186: ResourceWarning: unclosed <socket.socket fd=21, family=2, type=1, proto=0, laddr=('127.0.0.1', 41511), raddr=('127.0.0.1', 59268)>
return self.launch(launch_cmd, qemuparams=qemuparams, get_ip=get_ip, extra_bootparams=extra_bootparams, env=env)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
DEBUG: Sending SIGTERM to runqemu
Output from runqemu:
runqemu - INFO - Received signal: 15
runqemu - INFO - Cleaning up
runqemu - INFO - Host uptime: 213968.55
runqemu - INFO - Removing /home/pokybuild/tmp/core-image-minimal-qemux86-64.rootfs.cpio.gz.1193190
tput: No value for $TERM and no -T specified
DEBUG: Sending SIGTERM to runqemu
Output from runqemu:
runqemu - INFO - Received signal: 15
runqemu - INFO - Cleaning up
runqemu - INFO - Host uptime: 213968.55
runqemu - INFO - Removing /home/pokybuild/tmp/core-image-minimal-qemux86-64.rootfs.cpio.gz.1193190
tput: No value for $TERM and no -T specified
ERROR: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_testimage(d)
0003:
File: '/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/classes-recipe/testimage.bbclass', lineno: 124, function: do_testimage
0120: dump-guest-memory {"paging":false,"protocol":"file:%s.img"}
0121:}
0122:
0123:python do_testimage() {
*** 0124: testimage_main(d)
0125:}
0126:
0127:addtask testimage
0128:do_testimage[nostamp] = "1"
File: '/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/classes-recipe/testimage.bbclass', lineno: 376, function: testimage_main
0372: orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception)
0373: try:
0374: # We need to check if runqemu ends unexpectedly
0375: # or if the worker send us a SIGTERM
*** 0376: tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), runqemuparams=d.getVar("TEST_RUNQEMUPARAMS"))
0377: import threading
0378: try:
0379: threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (int(d.getVar("TEST_OVERALL_TIMEOUT")),)).start()
0380: except ValueError:
File: '/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/lib/oeqa/core/target/qemu.py', lineno: 91, function: start
0087: except (subprocess.CalledProcessError, subprocess.TimeoutExpired, FileNotFoundError) as err:
0088: msg += "Error running command: %s\n%s\n" % (blcmd, err)
0089: msg += "\n\n===== end: snippet =====\n"
0090:
*** 0091: raise RuntimeError("FAILED to start qemu - check the task log and the boot log %s" % (msg))
0092:
0093: def stop(self):
0094: self.runner.stop()
Exception: RuntimeError: FAILED to start qemu - check the task log and the boot log
===== start: snippet =====
===== end: snippet =====
===== start: snippet =====
file: TOPDIR/tmp/work/qemux86_64-poky-linux-musl/core-image-minimal/1.0/testimage/qemu_boot_log.20251102083942
[ 0.910035] bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
[ 0.910037] nameserver0=8.8.8.8
[ 0.912143] clk: Disabling unused clocks
[ 0.913226] /dev/root: Can't open blockdev
[ 0.913861] VFS: Cannot open root device "/dev/ram0" or unknown-block(1,0): error -16
[ 0.915050] Please append a correct "root=" boot option; here are the available partitions:
[ 0.916715] 0100 6144 ram0
[ 0.916717] (driver?)
[ 0.917661] 0b00 1048575 sr0
[ 0.917663] driver: sr
[ 0.918616] List of all bdev filesystems:
[ 0.919228] ext3
[ 0.919229] ext4
[ 0.919545] vfat
[ 0.919846]
[ 0.920397] VFS: Unable to mount root fs on unknown-block(1,0)
[ 0.921295] User configuration error - no valid root filesystem found
[ 0.922271] Kernel panic - not syncing: Invalid configuration from end user prevents continuing
[ 0.923739] Kernel Offset: disabled
[ 0.924278] ---[ end Kernel panic - not syncing: Invalid configuration from end user prevents continuing ]---
===== end: snippet =====
DEBUG: Python function do_testimage finished