Issue #674
test_vectors fail for af-alg crypters on ubuntu utopic ppc64el
Description
test_vectors is failing on Ubuntu utopic on ppc64el:
Running suite 'vectors': Running case 'failures': - Failure in 'test_vectors': failed > 0: 25 test vectors failed (suites/test_vectors.c:30, i = 0) Passed 0/1 'vectors' test cases
History
#1 Updated by Tobias Brunner over 6 years ago
- Status changed from New to Feedback
- Assignee set to Tobias Brunner
Is it possible to run the tests/the build on such a host with the following environment variables set?
TESTS_SUITES="vectors" TESTS_VERBOSITY=1
#2 Updated by Jonathan Davies over 6 years ago
As we debugged yesterday, the tests are failing like this:
- http://pastebin.ubuntu.com/8025918/
However, building the 5.1.2 on the same box works fine, while 5.1.3 does not: http://pastebin.ubuntu.com/8026147/
#3 Updated by Jonathan Davies over 6 years ago
Doing a bisection, this appears to be a result of 636076d45d6879c8679c721714451bfe89617e15.
#4 Updated by Tobias Brunner over 6 years ago
- Subject changed from test_vectors failing on ubuntu utopic ppc64el to test_vectors fail for af-alg crypters on ubuntu utopic ppc64el
Correct, so earlier releases were prone to the same issue, the unit tests just didn't reveal it (636076d45d was released with 5.1.3).
I guess we'd have to have a closer look at AF_ALG on ppc64el, to see what triggers errors like these:
writing to AF_ALG crypter failed: Cannot allocate memory disabled AES_CBC[af-alg]: aes_cbc1 test vector failed
But that might be difficult due to the lack of a suitable test system (doing this in QEMU is a pain). So the only fix, for now, is disabling the af-alg plugin on this platform.
#5 Updated by Tobias Brunner almost 3 years ago
- Status changed from Feedback to Closed
- Resolution set to No feedback
Closing old issues. If this is still a problem, please reopen.