You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
debfx
changed the title
62-sim-arch_transactions test fails on some architectures
62-sim-arch_transactions test fails on big endian architectures
Jan 25, 2025
pcmoore
changed the title
62-sim-arch_transactions test fails on big endian architectures
BUG: 62-sim-arch_transactions test fails on big endian architectures
Jan 25, 2025
D'oh! Thanks for the report @debfx, it looks like we mistakenly added a bpf-sim-fuzz test section to a test that arch/ABI specific code in it, which is a known no-no. The good news is that the library should be okay, the bug is in the tests.
% for i in $(grep "+" *.tests | cut -d':' -f 1 | sort -u); do grep -H "bpf-sim-fuzz" $i; done
62-sim-arch_transactions.tests:test type: bpf-sim-fuzz
The basic problem is that while our framework/simulator is smart enough to do the right thing with respect to arch/ABIs, the fuzzer isn't quite as intelligent. To be honest, the fuzzer is likely of limited value in the majority of cases, but I'm not quite sure we want to remove it.
Give me a few minutes and I should have a PR which should fix this problem with the test.
Pull request #452 was merged into main and release-2.6 and should resolve this issue. @debfx please let us know if you see any other issues. Thanks for the bug report!
With libseccomp 2.6.0 the 62-sim-arch_transactions bpf-sim-fuzz test fails on big endian architectures (s390x, hppa, powerpc and ppc64).
./regression -v output
on s390x:Complete build logs for reference:
The text was updated successfully, but these errors were encountered: