| Message ID | 20240208082821.430510-1-adrian.freihofer@siemens.com |
|---|---|
| Headers | show |
| Series | python 3.12 related fixes | expand |
On Thu, 8 Feb 2024 at 09:28, Adrian Freihofer <adrian.freihofer@gmail.com> wrote: > - runtime_test.TestImage.test_testimage_virgl_gtk_sdl: FAILED (1454.58s) > No idea why this fails. If you can show the error that happens here, I can take a look. Alex
Hi Alex
Thank you.
It looks like there is already a Fedora-39 runner in the AB. So maybe
it's easier for you to wait for the results from the official Yocto
machine later on.
But of course I can provide you some lines from my log files.
(Unfortunately I already deleted the qemu-bootlog).
2024-02-08 02:41:24,247 - oe-selftest - INFO -
runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTe
stCase)
2024-02-08 02:41:24,250 - oe-selftest - INFO - ... FAIL
2024-02-08 02:41:24,364 - oe-selftest - INFO -
2: 109/130 376/576 (1454.58s) (2 failed) (runtime_test.TestImage.test_
testimage_virgl_gtk_sdl)
2024-02-08 02:41:24,364 - oe-selftest - INFO -
testtools.testresult.real._StringException: Traceback (most recent cal
l last):
File "/home/adrian/projets/oss/poky/meta/lib/oeqa/core/decorator/__in
it__.py", line 35, in wrapped_f
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/adrian/projets/oss/poky/meta/lib/oeqa/selftest/cases/runt
ime_test.py", line 264, in test_testimage_virgl_gtk_sdl
bitbake('-c testimage core-image-minimal')
File "/home/adrian/projets/oss/poky/meta/lib/oeqa/utils/commands.py",
line 234, in bitbake
return runCmd(cmd, ignore_status, timeout, output_log=output_log, *
*options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^
File "/home/adrian/projets/oss/poky/meta/lib/oeqa/utils/commands.py",
line 212, in runCmd
raise AssertionError("Command '%s' returned non-
zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'bitbake -c testimage core-image-
minimal' returned non-zero exit status 1:
Loading cache...done.
Loaded 1930 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.7.2"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "x86_64-poky-linux"
MACHINE = "qemux86-64"
DISTRO = "poky"
DISTRO_VERSION = "4.3+snapshot-
245f71953bc7fdfbda6aa69bc71221867c5d9764"
TUNE_FEATURES = "m64 core2"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "adrianf/oe-selftest-fedora-
39:245f71953bc7fdfbda6aa69bc71221867c5d9764"
meta-selftest = "main:4d71a2f5c246deea74326929c1b4a50d4282b254"
Initialising tasks...Sstate summary: Wanted 52 Local 52 Mirrors 0 Misse
d 0 Current 452 (100% match, 100% complete)
done.
NOTE: Executing Tasks
NOTE: Running task 1716 of 1716 (/home/adrian/projets/oss/poky/meta/rec
ipes-core/images/core-image-minimal.bb:do_testimage)
NOTE: recipe core-image-minimal-1.0-r0: task do_testimage: Started
QMP Available for connection at /home/adrian/projets/oss/poky/build-st-
2701801/tmp/.wzpw04s6
ERROR: core-image-minimal-1.0-
r0 do_testimage: Qemu pid didn't appear in 300 seconds (02/08/24 02:41:
20)
ERROR: core-image-minimal-1.0-
r0 do_testimage: Status information, poll status: 0, pidfile exists: Fa
lse, pidfile contents None, proc pid exists False
ERROR: core-image-minimal-1.0-r0 do_testimage: Output from runqemu:
runqemu - INFO - Continuing with the following parameters:
KERNEL: [/home/adrian/projets/oss/poky/build-st-
2701801/tmp/deploy/images/qemux86-64/bzImage]
MACHINE: [qemux86-64]
FSTYPE: [ext4]
ROOTFS: [/home/adrian/projets/oss/poky/build-st-
2701801/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-
64.rootfs.ext4]
CONFFILE: [/home/adrian/projets/oss/poky/build-st-
2701801/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 - Running /home/adrian/projets/oss/poky/build-st-
2701801/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 -
drive file=/home/adrian/projets/oss/poky/build-st-
2701801/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-
64.rootfs.ext4,if=virtio,format=raw -usb -device usb-tablet -usb -
device usb-kbd -cpu IvyBridge -machine q35,i8042=off -smp 4 -enable-
kvm -m 256 -serial tcp:127.0.0.1:32917,nodelay=on -
serial tcp:127.0.0.1:48415,nodelay=on -
pidfile /home/adrian/projets/oss/poky/build-st-
2701801/pidfile_3501104 -S -qmp unix:./.611zx6pl,server,wait -
qmp unix:./.wzpw04s6,server,nowait -snapshot -device virtio-vga-gl -
display gtk,gl=on,show-cursor=on -
kernel /home/adrian/projets/oss/poky/build-st-
2701801/tmp/deploy/images/qemux86-64/bzImage -
append 'root=/dev/vda rw ip=192.168.7.2::192.168.7.1:255.255.255.0::et
h0: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 prin
tk.time=1'
runqemu - INFO - Host uptime: 842696.36
runqemu - ERROR -
Failed to run qemu: Authorization required, but no authorization proto
col specified
qemu-system-x86_64: OpenGL is not supported by the display
runqemu - INFO - Cleaning up
runqemu - INFO - Host uptime: 842696.45
tput: No value for $TERM and no -T specified
ERROR: core-image-minimal-1.0-
r0 do_testimage: 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: '/home/adrian/projets/oss/poky/meta/classes-
recipe/testimage.bbclass', lineno: 119, function: do_testimage
0115: dump-guest-
memory {"paging":false,"protocol":"file:%s.img"}
0116:}
0117:
0118:python do_testimage() {
*** 0119: testimage_main(d)
0120:}
0121:
0122:addtask testimage
0123:do_testimage[nostamp] = "1"
File: '/home/adrian/projets/oss/poky/meta/classes-
recipe/testimage.bbclass', lineno: 397, function: testimage_main
0393: orig_sigterm_handler = signal.signal(signal.SIGTERM, sigt
erm_exception)
0394: try:
0395: # We need to check if runqemu ends unexpectedly
0396: # or if the worker send us a SIGTERM
*** 0397: tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), r
unqemuparams=d.getVar("TEST_RUNQEMUPARAMS"))
0398: import threading
0399: try:
0400: threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOU
T")), handle_test_timeout, (int(d.getVar("TEST_OVERALL_TIMEOUT")),)).st
art()
0401: except ValueError:
File: '/home/adrian/projets/oss/poky/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" % (b
lcmd, 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 =====
Error running command: ['tail', '-
20', '/home/adrian/projets/oss/poky/build-st-
2701801/tmp/work/qemux86_64-poky-linux/core-image-
minimal/1.0/testimage/qemu_boot_log.20240208013616']
Command '['tail', '-20', '/home/adrian/projets/oss/poky/build-st-
2701801/tmp/work/qemux86_64-poky-linux/core-image-
minimal/1.0/testimage/qemu_boot_log.20240208013616']' returned non-
zero exit status 1.
===== end: snippet =====
ERROR: Logfile of failure stored in: /home/adrian/projets/oss/poky/buil
d-st-2701801/tmp/work/qemux86_64-poky-linux/core-image-
minimal/1.0/temp/log.do_testimage.3501104
NOTE: recipe core-image-minimal-1.0-r0: task do_testimage: Failed
ERROR: Task (/home/adrian/projets/oss/poky/meta/recipes-
core/images/core-image-
minimal.bb:do_testimage) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1716 tasks of which 1715 didn't need to
be rerun and 1 failed.
Summary: 1 task failed:
/home/adrian/projets/oss/poky/meta/recipes-core/images/core-image-
minimal.bb:do_testimage
Summary: There were 4 ERROR messages, returning a non-zero exit code.
Stderr:
2024-02-07 22:42:37,482 - oe-selftest - INFO -
Adding: "include selftest.inc" in /home/adrian/projets/oss/poky/build-
st-2701801/conf/local.conf
2024-02-07 22:42:37,482 - oe-selftest - INFO -
Adding: "include bblayers.inc" in bblayers.conf
/usr/lib64/python3.12/unittest/case.py:580: RuntimeWarning: TestResult
has no addDuration method
warnings.warn("TestResult has no addDuration method",
/usr/lib64/python3.12/unittest/case.py:580: RuntimeWarning: TestResult
has no addDuration method
warnings.warn("TestResult has no addDuration method",
/usr/lib64/python3.12/unittest/case.py:580: RuntimeWarning: TestResult
has no addDuration method
warnings.warn("TestResult has no addDuration method",
/usr/lib64/python3.12/unittest/case.py:580: RuntimeWarning: TestResult
has no addDuration method
warnings.warn("TestResult has no addDuration method",
Regards,
Adrian
On Thu, 2024-02-08 at 10:15 +0100, Alexander Kanavin wrote:
> On Thu, 8 Feb 2024 at 09:28, Adrian Freihofer
> <adrian.freihofer@gmail.com> wrote:
> > - runtime_test.TestImage.test_testimage_virgl_gtk_sdl: FAILED
> > (1454.58s)
> > No idea why this fails.
>
> If you can show the error that happens here, I can take a look.
>
> Alex
"qemu... -device virtio-vga-gl -display gtk,gl=on,show-cursor=on " "qemu-system-x86_64: OpenGL is not supported by the display" I think it's something in your local environment, and most likely not a general fedora 39 issue. You don't need to check further if you don't rely on accelerated virtual graphics in qemu. We'll deal with it if the official AB worker starts showing issues. Alex On Thu, 8 Feb 2024 at 13:29, <adrian.freihofer@gmail.com> wrote: > > Hi Alex > > Thank you. > > It looks like there is already a Fedora-39 runner in the AB. So maybe it's easier for you to wait for the results from the official Yocto machine later on. > But of course I can provide you some lines from my log files. (Unfortunately I already deleted the qemu-bootlog). > > > 2024-02-08 02:41:24,247 - oe-selftest - INFO - runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase) > 2024-02-08 02:41:24,250 - oe-selftest - INFO - ... FAIL > 2024-02-08 02:41:24,364 - oe-selftest - INFO - 2: 109/130 376/576 (1454.58s) (2 failed) (runtime_test.TestImage.test_testimage_virgl_gtk_sdl) > 2024-02-08 02:41:24,364 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last): > File "/home/adrian/projets/oss/poky/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f > return func(*args, **kwargs) > ^^^^^^^^^^^^^^^^^^^^^ > File "/home/adrian/projets/oss/poky/meta/lib/oeqa/selftest/cases/runtime_test.py", line 264, in test_testimage_virgl_gtk_sdl > bitbake('-c testimage core-image-minimal') > File "/home/adrian/projets/oss/poky/meta/lib/oeqa/utils/commands.py", line 234, in bitbake > return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/home/adrian/projets/oss/poky/meta/lib/oeqa/utils/commands.py", line 212, in runCmd > raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output)) > AssertionError: Command 'bitbake -c testimage core-image-minimal' returned non-zero exit status 1: > Loading cache...done. > Loaded 1930 entries from dependency cache. > NOTE: Resolving any missing task queue dependencies > > Build Configuration: > BB_VERSION = "2.7.2" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "universal" > TARGET_SYS = "x86_64-poky-linux" > MACHINE = "qemux86-64" > DISTRO = "poky" > DISTRO_VERSION = "4.3+snapshot-245f71953bc7fdfbda6aa69bc71221867c5d9764" > TUNE_FEATURES = "m64 core2" > TARGET_FPU = "" > meta > meta-poky > meta-yocto-bsp = "adrianf/oe-selftest-fedora-39:245f71953bc7fdfbda6aa69bc71221867c5d9764" > meta-selftest = "main:4d71a2f5c246deea74326929c1b4a50d4282b254" > > Initialising tasks...Sstate summary: Wanted 52 Local 52 Mirrors 0 Missed 0 Current 452 (100% match, 100% complete) > done. > NOTE: Executing Tasks > NOTE: Running task 1716 of 1716 (/home/adrian/projets/oss/poky/meta/recipes-core/images/core-image-minimal.bb:do_testimage) > NOTE: recipe core-image-minimal-1.0-r0: task do_testimage: Started > QMP Available for connection at /home/adrian/projets/oss/poky/build-st-2701801/tmp/.wzpw04s6 > ERROR: core-image-minimal-1.0-r0 do_testimage: Qemu pid didn't appear in 300 seconds (02/08/24 02:41:20) > ERROR: core-image-minimal-1.0-r0 do_testimage: Status information, poll status: 0, pidfile exists: False, pidfile contents None, proc pid exists False > ERROR: core-image-minimal-1.0-r0 do_testimage: Output from runqemu: > runqemu - INFO - Continuing with the following parameters: > KERNEL: [/home/adrian/projets/oss/poky/build-st-2701801/tmp/deploy/images/qemux86-64/bzImage] > MACHINE: [qemux86-64] > FSTYPE: [ext4] > ROOTFS: [/home/adrian/projets/oss/poky/build-st-2701801/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.ext4] > CONFFILE: [/home/adrian/projets/oss/poky/build-st-2701801/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 - Running /home/adrian/projets/oss/poky/build-st-2701801/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 -drive file=/home/adrian/projets/oss/poky/build-st-2701801/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.ext4,if=virtio,format=raw -usb -device usb-tablet -usb -device usb-kbd -cpu IvyBridge -machine q35,i8042=off -smp 4 -enable-kvm -m 256 -serial tcp:127.0.0.1:32917,nodelay=on -serial tcp:127.0.0.1:48415,nodelay=on -pidfile /home/adrian/projets/oss/poky/build-st-2701801/pidfile_3501104 -S -qmp unix:./.611zx6pl,server,wait -qmp unix:./.wzpw04s6,server,nowait -snapshot -device virtio-vga-gl -display gtk,gl=on,show-cursor=on -kernel /home/adrian/projets/oss/poky/build-st-2701801/tmp/deploy/images/qemux86-64/bzImage -append 'root=/dev/vda rw 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: 842696.36 > > runqemu - ERROR - Failed to run qemu: Authorization required, but no authorization protocol specified > > qemu-system-x86_64: OpenGL is not supported by the display > > runqemu - INFO - Cleaning up > runqemu - INFO - Host uptime: 842696.45 > > tput: No value for $TERM and no -T specified > > ERROR: core-image-minimal-1.0-r0 do_testimage: 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: '/home/adrian/projets/oss/poky/meta/classes-recipe/testimage.bbclass', lineno: 119, function: do_testimage > 0115: dump-guest-memory {"paging":false,"protocol":"file:%s.img"} > 0116:} > 0117: > 0118:python do_testimage() { > *** 0119: testimage_main(d) > 0120:} > 0121: > 0122:addtask testimage > 0123:do_testimage[nostamp] = "1" > File: '/home/adrian/projets/oss/poky/meta/classes-recipe/testimage.bbclass', lineno: 397, function: testimage_main > 0393: orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception) > 0394: try: > 0395: # We need to check if runqemu ends unexpectedly > 0396: # or if the worker send us a SIGTERM > *** 0397: tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), runqemuparams=d.getVar("TEST_RUNQEMUPARAMS")) > 0398: import threading > 0399: try: > 0400: threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (int(d.getVar("TEST_OVERALL_TIMEOUT")),)).start() > 0401: except ValueError: > File: '/home/adrian/projets/oss/poky/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 ===== > > Error running command: ['tail', '-20', '/home/adrian/projets/oss/poky/build-st-2701801/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/testimage/qemu_boot_log.20240208013616'] > Command '['tail', '-20', '/home/adrian/projets/oss/poky/build-st-2701801/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/testimage/qemu_boot_log.20240208013616']' returned non-zero exit status 1. > > > ===== end: snippet ===== > > > ERROR: Logfile of failure stored in: /home/adrian/projets/oss/poky/build-st-2701801/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/temp/log.do_testimage.3501104 > NOTE: recipe core-image-minimal-1.0-r0: task do_testimage: Failed > ERROR: Task (/home/adrian/projets/oss/poky/meta/recipes-core/images/core-image-minimal.bb:do_testimage) failed with exit code '1' > NOTE: Tasks Summary: Attempted 1716 tasks of which 1715 didn't need to be rerun and 1 failed. > > Summary: 1 task failed: > /home/adrian/projets/oss/poky/meta/recipes-core/images/core-image-minimal.bb:do_testimage > Summary: There were 4 ERROR messages, returning a non-zero exit code. > > > Stderr: > 2024-02-07 22:42:37,482 - oe-selftest - INFO - Adding: "include selftest.inc" in /home/adrian/projets/oss/poky/build-st-2701801/conf/local.conf > 2024-02-07 22:42:37,482 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf > /usr/lib64/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method > warnings.warn("TestResult has no addDuration method", > > /usr/lib64/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method > warnings.warn("TestResult has no addDuration method", > > /usr/lib64/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method > warnings.warn("TestResult has no addDuration method", > > /usr/lib64/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method > warnings.warn("TestResult has no addDuration method", > > Regards, > Adrian > > > > On Thu, 2024-02-08 at 10:15 +0100, Alexander Kanavin wrote: > > On Thu, 8 Feb 2024 at 09:28, Adrian Freihofer > <adrian.freihofer@gmail.com> wrote: > > - runtime_test.TestImage.test_testimage_virgl_gtk_sdl: FAILED (1454.58s) > No idea why this fails. > > > If you can show the error that happens here, I can take a look. > > Alex > > >
Bug fixes for host distros with Python 3.12. Tested by running the oe-selftest suite like this: oe-selftest -a --skip-tests distrodata.Distrodata.test_checkpkg \ reproducible -T yocto-mirrors -T machine -T toolchain-user \ -T toolchain-system -j4 using the default local.conf file with 3 extra lines: SANITY_TESTED_DISTROS = "" IMAGE_INSTALL:append = ' ssh-pregen-hostkeys' QEMU_USE_KVM = 'True' Host distro: Fedora 39 With this patchset the oe-selftest summary looks like this: - oe-selftest () - Ran 575 tests in 19413.991s - FAIL - Required tests failed (successes=558, skipped=8, failures=8, errors=1) Failing tests are: - esdk.oeSDKExtSelfTest.test_image_generation_binary_feeds: ERROR - esdk.oeSDKExtSelfTest.test_install_libraries_headers: ERROR When running bitbake core-image-minimal -c populate_sdk_ext the exit values is 130 which explains why the test fails. No further analysis done. - runtime_test.TestImage.test_testimage_virgl_gtk_sdl: FAILED (1454.58s) No idea why this fails. - spdx.SPDXCheck.test_spdx_base_files: FAILED (21.39s) AssertionError: ...base-files.spdx.json' does not exist No further analysis done. All wic tests pass if executed with oe-selftest -r wic. Also adding e.g. -j4 works fine as well. However, executing the wic tests with oe-selftest -a leads to failing tests (more than once): - wic.ModifyTests.test_wic_cp: FAILED (34.47s) - wic.ModifyTests.test_wic_cp_ext: FAILED (57.94s) - wic.ModifyTests.test_wic_ls: FAILED (32.14s) - wic.ModifyTests.test_wic_ls_ext: FAILED (71.36s) - wic.ModifyTests.test_wic_rm: FAILED (32.40s) - wic.ModifyTests.test_wic_rm_ext: FAILED (24.41s) The last patch fixes many warnings related to invalid regex patterns. https://docs.python.org/3/library/re.html basically states that regular expressions using the backslash character like "foo\s*" should be written as raw strings like r"foo\s*". This patch does that for most but not for all regexes. Some are not easy to convert and/or test. Adrian Freihofer (7): recipetool: cleanup imports oeqa: replace deprecated assertEquals selftest: replace assertRaisesRegexp oeqa/selftest/oelib/buildhistory: git default branch oeqa/selftest/runtime_test: allow GPLv3 for bash oeqa/selftest/recipetool: fix for python 3.12 python 3.12 compatible regex bitbake/lib/bs4/tests/test_tree.py | 2 +- .../feature-microblaze-versions.inc | 2 +- meta/lib/oeqa/oetest.py | 2 +- meta/lib/oeqa/sdk/buildtools-cases/sanity.py | 2 +- meta/lib/oeqa/selftest/cases/bblayers.py | 2 +- meta/lib/oeqa/selftest/cases/devtool.py | 2 +- meta/lib/oeqa/selftest/cases/fitimage.py | 6 +-- meta/lib/oeqa/selftest/cases/liboe.py | 2 +- .../oeqa/selftest/cases/oelib/buildhistory.py | 10 ++--- meta/lib/oeqa/selftest/cases/recipetool.py | 18 ++++----- meta/lib/oeqa/selftest/cases/runcmd.py | 8 ++-- meta/lib/oeqa/selftest/cases/runtime_test.py | 6 +++ meta/lib/patchtest/tests/base.py | 4 +- meta/lib/patchtest/utils.py | 6 +-- .../perf/perf/sort-pmuevents.py | 8 ++-- meta/recipes-rt/rt-tests/files/rt_bmark.py | 2 +- scripts/combo-layer | 2 +- scripts/contrib/bbvars.py | 6 +-- scripts/contrib/convert-overrides.py | 8 ++-- scripts/lib/checklayer/__init__.py | 4 +- scripts/lib/recipetool/create.py | 12 +++--- scripts/lib/recipetool/create_buildsys.py | 40 +++++++++---------- scripts/oe-check-sstate | 2 +- scripts/oe-pkgdata-util | 2 +- scripts/opkg-query-helper.py | 2 +- scripts/patchtest-get-branch | 2 +- 26 files changed, 84 insertions(+), 78 deletions(-)