Re: test failure in 3.7

James Prestwood <[email protected]> Mon, 5 May 2025 05:39:18 -0700
Newsgroups dev.linux.lists.iwd
Message-ID <[email protected]>
Hi,

On 5/5/25 4:57 AM, Marcel Holtmann wrote:
> Hi Andreas,
>
>> the new 3.7 release gives a test failure compiling for Arch Linux
>> using gcc15:
>>
>> .. contents:: :depth: 2
>>
>> FAIL: unit/test-storage
>> =======================
>>
>> test-storage: unit/test-storage.c:41: test_short_encrypted_bytes: Assertion
>> `__storage_decrypt(settings, "mySSID", &changed) < 0' failed.
>> TAP version 12
>> 1..1
>> not ok 1 - /storage/profile encryption
>> FAIL: unit/test-storage 1 - /storage/profile encryption
> it works for me. I checked on Debian and Fedora on x86_64, ppc32 and aarch64. What architecture is this?
>
> Can you check the return value of __storage_decrypt().

The return value would help, but I also just sent a patch which skips 
this test if AES_CTR isn't supported by the kernel in case that's the 
problem. I also tested this in an arch docker container without an issue 
fwiw.

Thanks,

James

>
> Regards
>
> Marcel
>
>