openssl / openssl

TLS/SSL and crypto library
https://www.openssl.org
Apache License 2.0
24.86k stars 9.92k forks source link

Multiple test failures on arm32 using openssl 1.1.1g #12896

Open robmcgee-mag opened 3 years ago

robmcgee-mag commented 3 years ago

Hey guys,

I'm cross-compiling openssl 1.1.1g on debian10 to target arm64 and arm32. Seeing some test failures on arm32 (armhf). arm64 has no issue with these tests.

Btw, I'm also skipping a test for both as mentioned here: https://github.com/openssl/openssl/issues/12242

$ uname -a
Linux dev-debian10-20 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux

Configuration output:

/usr/local/bin/perl ./Configure --prefix="/bamboo/debian10armhf/gcc8_3/release32" linux-armv4 shared
Configuring OpenSSL version 1.1.1g (0x1010107fL) for linux-armv4
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile

**********************************************************************
***                                                                ***
***   OpenSSL has been successfully configured                     ***
***                                                                ***
***   If you encounter a problem while building, please open an    ***
***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
***   and include the output from the following command:           ***
***                                                                ***
***       perl configdata.pm --dump                                ***
***                                                                ***
***   (If you are new to OpenSSL, you might want to consult the    ***
***   'Troubleshooting' section in the INSTALL file first)         ***
***                                                                ***
**********************************************************************

Configuration data dump file: configdata_dump.txt

Overriding make vars to use cross-compilers: $ make CXX=arm-linux-gnueabihf-g++-8 CC=arm-linux-gnueabihf-gcc-8 LD=arm-linux-gnueabihf-ld

No warnings or build errors..

Running tests: $ make test TESTS-test_afalg

...

Test Summary Report
-------------------
../test/recipes/60-test_x509_store.t             (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
../test/recipes/90-test_includes.t               (Wstat: 1024 Tests: 5 Failed: 4)
  Failed tests:  1-4
  Non-zero exit status: 4
../test/recipes/90-test_store.t                  (Wstat: 2304 Tests: 209 Failed: 9)
  Failed tests:  196-198, 204-209
  Non-zero exit status: 9
Files=154, Tests=1465, 1394 wallclock secs ( 3.01 usr  0.36 sys + 1354.67 cusr 41.24 csys = 1399.28 CPU)
Result: FAIL

So I ran each verbosely with: make test TESTS=test_<test> V=1

I'll attach each log as a txt file so as not to dump a huge amount of text here. 60-test_x509_store.txt 90-test_includes.txt 90-test_store.txt

Any help is appreciated.

mattcaswell commented 3 years ago

Hmm...they all seem related in some way to reading files from the filesystem. My guess is something environmental is screwing up.

robmcgee-mag commented 3 years ago

Strange that it only happens on our armhf build. We use the same VMs to build on aarch64 and they don't report any issues.

nhorman commented 2 weeks ago

Marking as inactive, to be closed at the end of 3.4 dev, barring further input