public inbox for iwd@lists.linux.dev
 help / color / mirror / Atom feed
* test failure in unit/test-wsc
@ 2024-01-22  9:53 Andreas Radke
  2024-01-22 15:16 ` Denis Kenzior
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Radke @ 2024-01-22  9:53 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

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

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: test failure in unit/test-wsc
  2024-01-22  9:53 test failure in unit/test-wsc Andreas Radke
@ 2024-01-22 15:16 ` Denis Kenzior
  2024-01-22 18:22   ` Andreas Radke
  0 siblings, 1 reply; 3+ messages in thread
From: Denis Kenzior @ 2024-01-22 15:16 UTC (permalink / raw)
  To: Andreas Radke, iwd

Hi Andreas,

> 
> 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?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: test failure in unit/test-wsc
  2024-01-22 15:16 ` Denis Kenzior
@ 2024-01-22 18:22   ` Andreas Radke
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Radke @ 2024-01-22 18:22 UTC (permalink / raw)
  To: Denis Kenzior; +Cc: iwd

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

Am Mon, 22 Jan 2024 09:16:49 -0600
schrieb Denis Kenzior <denkenz@gmail.com>:

> Hi Andreas,
> 
>  [...]  
> 
> 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
> 

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

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-22 18:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22  9:53 test failure in unit/test-wsc Andreas Radke
2024-01-22 15:16 ` Denis Kenzior
2024-01-22 18:22   ` Andreas Radke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox