DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/bringup/build/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/bringup/build/meta/recipes-devtools/qemu/qemu-native_8.2.7.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/bringup/build/meta/recipes-devtools/qemu/qemu-system-native_8.2.7.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/bringup/build/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.4.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/bringup/build/meta/recipes-devtools/dnf/dnf_4.19.0.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/bringup/build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/bringup/build/meta/recipes-devtools/unfs3/unfs3_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/bringup/build/meta/recipes-extended/cpio/cpio_2.15.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['cpio-native']
NOTE: Skipping as already exists in sysroot: ['gettext-minimal-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', 'chrpath-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', 'llvm-native', 'lua-native', 'make-native', 'perl-native', 'pseudo-native', 'python3-build-native', 'python3-calver-native', 'python3-editables-native', 'python3-flit-core-native', 'python3-hatchling-native', 'python3-importlib-metadata-native', 'python3-installer-native', 'python3-mako-native', 'python3-markupsafe-native', 'python3-more-itertools-native', 'python3-packaging-native', 'python3-pathlib2-native', 'python3-pathspec-native', 'python3-pip-native', 'python3-pluggy-native', 'python3-pygments-native', 'python3-pyparsing-native', 'python3-pyproject-hooks-native', 'python3-setuptools-scm-native', 'python3-setuptools-native', 'python3-six-native', 'python3-toml-native', 'python3-tomli-native', 'python3-trove-classifiers-native', 'python3-typing-extensions-native', 'python3-wheel-native', 'python3-zipp-native', 'python3-native', 'rpm-native', 'swig-native', 'unfs3-native', 'bzip2-native', 'libarchive-native', 'libidn2-native', 'libnsl2-native', 'libsolv-native', 'libtirpc-native', 'lzlib-native', 'unzip-native', 'xz-native', 'zstd-native', 'gobject-introspection-native', 'libdrm-native', 'libepoxy-native', 'libsdl2-native', 'mesa-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', 'libcheck-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
NOTE: Executing 'TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0/recipe-sysroot-native/usr/bin/createrepo_c --update -q TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0/oe-testimage-repo/noarch' ...
NOTE: Executing 'TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0/recipe-sysroot-native/usr/bin/createrepo_c --update -q TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0/oe-testimage-repo/cortexa57' ...
NOTE: Executing 'TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0/recipe-sysroot-native/usr/bin/createrepo_c --update -q TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0/oe-testimage-repo/qemuarm64' ...
DEBUG: test suites:
	test_apt_install_from_repo (apt.AptRepoTest.test_apt_install_from_repo)
	test_ping (ping.PingTest.test_ping)
	test_ssh (ssh.SSHTest.test_ssh)
	test_cpio (buildcpio.BuildCpioTest.test_cpio)
	test_galculator (buildgalculator.GalculatorTest.test_galculator)
	test_lzip (buildlzip.BuildLzipTest.test_lzip)
	test_connmand_help (connman.ConnmanTest.test_connmand_help)
	test_connmand_running (connman.ConnmanTest.test_connmand_running)
	test_date (date.DateTest.test_date)
	test_df (df.DfTest.test_df)
	test_dnf_help (dnf.DnfBasicTest.test_dnf_help)
	test_dnf_history (dnf.DnfBasicTest.test_dnf_history)
	test_dnf_info (dnf.DnfBasicTest.test_dnf_info)
	test_dnf_search (dnf.DnfBasicTest.test_dnf_search)
	test_dnf_version (dnf.DnfBasicTest.test_dnf_version)
	test_dnf_makecache (dnf.DnfRepoTest.test_dnf_makecache)
	test_dnf_exclude (dnf.DnfRepoTest.test_dnf_exclude)
	test_dnf_install (dnf.DnfRepoTest.test_dnf_install)
	test_dnf_install_dependency (dnf.DnfRepoTest.test_dnf_install_dependency)
	test_dnf_install_from_disk (dnf.DnfRepoTest.test_dnf_install_from_disk)
	test_dnf_install_from_http (dnf.DnfRepoTest.test_dnf_install_from_http)
	test_dnf_installroot (dnf.DnfRepoTest.test_dnf_installroot)
	test_dnf_installroot_usrmerge (dnf.DnfRepoTest.test_dnf_installroot_usrmerge)
	test_dnf_reinstall (dnf.DnfRepoTest.test_dnf_reinstall)
	test_dnf_repoinfo (dnf.DnfRepoTest.test_dnf_repoinfo)
	test_gcc_compile (gcc.GccCompileTest.test_gcc_compile)
	test_gpp2_compile (gcc.GccCompileTest.test_gpp2_compile)
	test_gpp_compile (gcc.GccCompileTest.test_gpp_compile)
	test_make (gcc.GccCompileTest.test_make)
	test_python (gi.GObjectIntrospectionTest.test_python)
	test_go_compile (go.GoCompileTest.test_go_compile)
	test_go_module (go.GoCompileTest.test_go_module)
	test_gohelloworld (go.GoHelloworldTest.test_gohelloworld)
	test_kernel_module (kernelmodule.KernelModuleTest.test_kernel_module)
	test_ldd (ldd.LddTest.test_ldd)
	test_logrotate_wtmp (logrotate.LogrotateTest.test_logrotate_wtmp)
	test_logrotate_newlog (logrotate.LogrotateTest.test_logrotate_newlog)
	test_syslog_running (oe_syslog.SyslogTest.test_syslog_running)
	test_syslog_logger (oe_syslog.SyslogTestConfig.test_syslog_logger)
	test_syslog_restart (oe_syslog.SyslogTestConfig.test_syslog_restart)
	test_syslog_startup_config (oe_syslog.SyslogTestConfig.test_syslog_startup_config)
	test_opkg_install_from_repo (opkg.OpkgRepoTest.test_opkg_install_from_repo)
	test_pam (pam.PamBasicTest.test_pam)
	test_get_context (parselogs.ParseLogsTest.test_get_context)
	test_parselogs (parselogs.ParseLogsTest.test_parselogs)
	test_perl_works (perl.PerlTest.test_perl_works)
	test_ptestrunner_expectfail (ptest.PtestRunnerTest.test_ptestrunner_expectfail)
	test_ptestrunner_expectsuccess (ptest.PtestRunnerTest.test_ptestrunner_expectsuccess)
	test_python3 (python.PythonTest.test_python3)
	test_rpm_help (rpm.RpmBasicTest.test_rpm_help)
	test_rpm_query (rpm.RpmBasicTest.test_rpm_query)
	test_rpm_query_nonroot (rpm.RpmBasicTest.test_rpm_query_nonroot)
	test_rpm_install (rpm.RpmInstallRemoveTest.test_rpm_install)
	test_rpm_remove (rpm.RpmInstallRemoveTest.test_rpm_remove)
	test_check_rpm_install_removal_log_file_size (rpm.RpmInstallRemoveTest.test_check_rpm_install_removal_log_file_size)
	test_rust_c_lib_example (rust.RustCLibExampleTest.test_rust_c_lib_example)
	test_cargo_compile (rust.RustCompileTest.test_cargo_compile)
	test_rust_compile (rust.RustCompileTest.test_rust_compile)
	test_scp_file (scp.ScpTest.test_scp_file)
	test_stap (stap.StapTest.test_stap)
	test_systemd_basic (systemd.SystemdBasicTests.test_systemd_basic)
	test_systemd_failed (systemd.SystemdBasicTests.test_systemd_failed)
	test_systemd_list (systemd.SystemdBasicTests.test_systemd_list)
	test_systemd_boot_time (systemd.SystemdJournalTests.test_systemd_boot_time)
	test_systemd_journal (systemd.SystemdJournalTests.test_systemd_journal)
	test_systemd_coredump_minidebuginfo (systemd.SystemdServiceTests.test_systemd_coredump_minidebuginfo)
	test_systemd_status (systemd.SystemdServiceTests.test_systemd_status)
	test_systemd_disable_enable (systemd.SystemdServiceTests.test_systemd_disable_enable)
	test_systemd_disable_enable_ro (systemd.SystemdServiceTests.test_systemd_disable_enable_ro)
	test_systemd_stop_start (systemd.SystemdServiceTests.test_systemd_stop_start)
	test_wayland_info (weston.WestonTest.test_wayland_info)
	test_weston_can_initialize_new_wayland_compositor (weston.WestonTest.test_weston_can_initialize_new_wayland_compositor)
	test_weston_running (weston.WestonTest.test_weston_running)
	test_weston_supports_xwayland (weston.WestonTest.test_weston_supports_xwayland)
	test_xorg_running (xorg.XorgTest.test_xorg_running)
DEBUG: Not using kvm for runqemu
QMP Available for connection at TOPDIR/tmp/.yrjucqxm
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:55137
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:43379
DEBUG: launchcmd=runqemu snapshot  qemuarm64 TOPDIR/tmp/deploy/images/qemuarm64/core-image-sato-qemuarm64.rootfs.ext4 tcpserial=55137:43379 bootparams=" printk.time=1" qemuparams="-pidfile TOPDIR/pidfile_1306045  -S -qmp unix:./._mr2mwdw,server,wait -qmp unix:./.yrjucqxm,server,nowait"
DEBUG: runqemu started, pid is 1306221
DEBUG: waiting at most 300 seconds for qemu pid (04/21/26 08:41:21)
DEBUG: QMP Initializing to TOPDIR/tmp/._mr2mwdw
DEBUG: Sending SIGTERM to runqemu
Output from runqemu:
runqemu - INFO - Continuing with the following parameters:
KERNEL: [TOPDIR/tmp/deploy/images/qemuarm64/Image]
MACHINE: [qemuarm64]
FSTYPE: [ext4]
ROOTFS: [TOPDIR/tmp/deploy/images/qemuarm64/core-image-sato-qemuarm64.rootfs.ext4]
CONFFILE: [TOPDIR/tmp/deploy/images/qemuarm64/core-image-sato-qemuarm64.rootfs.qemuboot.conf]

runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap0.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Using preconfigured tap device tap1
runqemu - INFO - If this is not intended, touch /tmp/qemu-tap-locks/tap1.skip to make runqemu skip tap1.
runqemu - INFO - Network configuration: ip=192.168.7.4::192.168.7.3:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0
runqemu - INFO - Copying rootfs to /home/pokybuild/tmp/core-image-sato-qemuarm64.rootfs.ext4.1306223
runqemu - INFO - Copy done in 0.38442349433898926 seconds
runqemu - INFO - Running TOPDIR/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/qemu-system-aarch64 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:04 -netdev tap,id=net0,ifname=tap1,script=no,downscript=no -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -drive id=disk0,file=/home/pokybuild/tmp/core-image-sato-qemuarm64.rootfs.ext4.1306223,if=none,format=raw -device virtio-blk-pci,drive=disk0 -device qemu-xhci -device usb-tablet -device usb-kbd  -machine virt -cpu cortex-a57 -smp 4 -m 512 -device virtio-serial-pci -chardev socket,id=virtcon,port=55137,host=127.0.0.1,nodelay=on -device virtconsole,chardev=virtcon -serial tcp:127.0.0.1:43379,nodelay=on  -pidfile TOPDIR/pidfile_1306045  -S -qmp unix:./._mr2mwdw,server,wait -qmp unix:./.yrjucqxm,server,nowait -serial null -serial mon:vc -display sdl,show-cursor=on -device virtio-gpu-pci -kernel TOPDIR/tmp/deploy/images/qemuarm64/Image -append 'root=/dev/vda rw  mem=512M ip=192.168.7.4::192.168.7.3:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0 console=ttyAMA0 console=hvc0 swiotlb=0  printk.time=1'

runqemu - INFO - Host uptime: 94637.81

runqemu - INFO - Received signal: 15
runqemu - INFO - Cleaning up
runqemu - INFO - Host uptime: 94642.89

runqemu - INFO - Removing /home/pokybuild/tmp/core-image-sato-qemuarm64.rootfs.ext4.1306223
tput: No value for $TERM and no -T specified
runqemu - INFO - Qemu terminated by SIGTERM

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/bringup/build/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/bringup/build/meta/classes-recipe/testimage.bbclass', lineno: 364, function: testimage_main
     0360:    orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception)
     0361:    try:
     0362:        # We need to check if runqemu ends unexpectedly
     0363:        # or if the worker send us a SIGTERM
 *** 0364:        tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), runqemuparams=d.getVar("TEST_RUNQEMUPARAMS"))
     0365:        import threading
     0366:        try:
     0367:            threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (int(d.getVar("TEST_OVERALL_TIMEOUT")),)).start()
     0368:        except ValueError:
File: '/srv/pokybuild/yocto-worker/bringup/build/meta/lib/oeqa/core/target/qemu.py', lineno: 53, function: start
     0049:    def start(self, params=None, extra_bootparams=None, runqemuparams=''):
     0050:        if self.use_slirp and not self.server_ip:
     0051:            self.logger.error("Could not start qemu with slirp without server ip - provide 'TEST_SERVER_IP'")
     0052:            raise RuntimeError("FAILED to start qemu - check the task log and the boot log")
 *** 0053:        if self.runner.start(params, extra_bootparams=extra_bootparams, runqemuparams=runqemuparams):
     0054:            self.ip = self.runner.ip
     0055:            if self.use_slirp:
     0056:                target_ip_port = self.runner.ip.split(':')
     0057:                if len(target_ip_port) == 2:
File: '/srv/pokybuild/yocto-worker/bringup/build/meta/lib/oeqa/utils/qemurunner.py', lineno: 184, function: start
     0180:                self.logger.debug('Bypassing VMDK rootfs for runqemu')
     0181:            else:
     0182:                launch_cmd += ' %s' % (self.rootfs)
     0183:
 *** 0184:        return self.launch(launch_cmd, qemuparams=qemuparams, get_ip=get_ip, extra_bootparams=extra_bootparams, env=env)
     0185:
     0186:    def launch(self, launch_cmd, get_ip = True, qemuparams = None, extra_bootparams = None, env = None):
     0187:        # use logfile to determine the recipe-sysroot-native path and
     0188:        # then add in the site-packages path components and add that
File: '/srv/pokybuild/yocto-worker/bringup/build/meta/lib/oeqa/utils/qemurunner.py', lineno: 332, function: launch
     0328:        try:
     0329:            os.chdir(os.path.dirname(qmp_port))
     0330:            try:
     0331:                from qmp.legacy import QEMUMonitorProtocol
 *** 0332:                self.qmp = QEMUMonitorProtocol(os.path.basename(qmp_port))
     0333:            except OSError as msg:
     0334:                self.logger.warning("Failed to initialize qemu monitor socket: %s File: %s" % (msg, msg.filename))
     0335:                return False
     0336:
File: 'TOPDIR/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0/recipe-sysroot-native/usr/lib/qemu-python/qmp/legacy.py', lineno: 89, function: __init__
     0085:            raise ValueError(
     0086:                "server argument should be False when passing a socket")
     0087:
     0088:        self._qmp = QMPClient(nickname)
 *** 0089:        self._aloop = asyncio.get_event_loop()
     0090:        self._address = address
     0091:        self._timeout: Optional[float] = None
     0092:
     0093:        if server:
File: '/usr/lib/python3.14/asyncio/events.py', lineno: 715, function: get_event_loop
     0711:
     0712:        Returns an instance of EventLoop or raises an exception.
     0713:        """
     0714:        if self._local._loop is None:
 *** 0715:            raise RuntimeError('There is no current event loop in thread %r.'
     0716:                               % threading.current_thread().name)
     0717:
     0718:        return self._local._loop
     0719:
Exception: RuntimeError: There is no current event loop in thread 'MainThread'.

DEBUG: Python function do_testimage finished

Error details

Submitted on:
21/04/26 09:16
Error type:
Recipe
Task:
do_testimage
Recipe:
core-image-sato
Recipe version:
1.0-r0
Machine:
qemuarm64
Distro:
poky
Build system:
x86_64-linux
Target system:
aarch64-poky-linux
Host distro:
ubuntu-26.04/ubuntu-26.04
Branch:
stable/scarthgap-nut
Commit:
4ee71a7987ded5a79d66fb830f5484be47055a2d
Build:
#236616
Submitter:
yp-ab-ubuntu2604-vk-1
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/96/builds/27
Similar errors:
1
Open a bug