Re: BUG: selftests/net/tls: FAIL in sm4_ccm tests

From: Mirsad Goran Todorovac
Date: Tue Mar 21 2023 - 15:57:23 EST


On 3/21/2023 3:59 AM, Jakub Kicinski wrote:
On Mon, 20 Mar 2023 17:07:36 +0100 Mirsad Todorovac wrote:
The environment is AlmaLinux 8.7 running 6.3-rc3 vanilla kernel with
MGLRU, KMEMLEAK and CONFIG_DEBUG_KOBJECT=y enabled.

Do you have SM4 and CCM enabled in you kernel .config ?
It's not a popular cipher.
Make sure your config has all the options listed in
tools/testing/selftests/net/config

Done that. Thanks, now all tools/testing/selftest/net/tls tests passed:

# PASSED: 554 / 554 tests passed.
# Totals: pass:554 fail:0 xfail:0 xpass:0 skip:0 error:0

Should I then probably rebuild the kernel for the tests with tools/testing/selftest/*/config merged?

Thanks,
Mirsad

--
Mirsad Todorovac
Sistem inženjer
Grafički fakultet | Akademija likovnih umjetnosti
Sveučilište u Zagrebu

System engineer
Faculty of Graphic Arts | Academy of Fine Arts
University of Zagreb, Republic of Croatia
tel. +385 (0)1 3711 451
mob. +385 91 57 88 355