test failure in unit/test-wsc
Building the Arch Linux package with lto disabled in a (fakeroot) chroot we see a test failure:
CC unit/test-wsc.o
CCLD unit/test-wsc
./build-aux/test-driver: line 112: 5539 Aborted (core dumped) "$@" >> "$log_file" 2>&1
FAIL: unit/test-wsc
iwd 2.13: ./test-suite.log
================================
# TOTAL: 22
# PASS: 21
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: unit/test-wsc
===================
test-wsc: unit/test-wsc.c:1123: wsc_test_parse_m2: Assertion `prime' failed. FAIL unit/test-wsc (exit status: 134)
gcc-Version 13.2.1
with clang 16.0.6 it reports:
FAIL: unit/test-wsc
===================
test-wsc: unit/test-wsc.c:1123: void wsc_test_parse_m2(const void *): Assertion `prime' failed. FAIL unit/test-wsc (exit status: 134)
Any idea how to solve this or is this one expected?
-Andy
Arch Linux
Hi Andreas,
Quoted 5 lines
test-wsc:
unit/test-wsc.c:1123: voidwsc_test_parse_m2(const void *): Assertion `prime' failed. FAIL unit/test-wsc (exit status: 134)Any idea how to solve this or is this one expected?
Works here:
[denkenz@archdev ~]$ uname -a
Linux archdev 6.6.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 14 Dec 2023 03:45:42 +0000 x86_64 GNU/Linux
Looks like it is failing in l_key_new(), so the kernel is refusing to load crypto_dh5_prime. Probably a kernel misconfiguration or regression. What does strace say?
Regards,
-Denis
Am Mon, 22 Jan 2024 09:16:49 -0600
schrieb Denis Kenzior <[email protected]>:
Quoted 9 lines
Hi Andreas,
[...]
Works here:
[denkenz@archdev ~]$ uname -a
Linux archdev 6.6.7-arch1-1 #1 SMPPREEMPT_DYNAMICThu, 14 Dec 2023 03:45:42 +0000x86_64GNU/Linux
Quoted 7 lines
Looks like it is failing in
l_key_new(), so the kernel is refusing to loadcrypto_dh5_prime. Probably a kernel misconfiguration or regression. What does strace say?Regards,
-Denis
I confirm this test passing when directly invoking the build using "makepkg" but fails using our devtools "extra-x86_64-build" command. So it's some missing privilege to load the kernel module from inside the build chroot here failing that test.
-Andy