Closed dumol closed 3 years ago
For reference, the tests when run under a VirtualBox VM.
make -j3 depend && make -j3 _tests
make[1]: Entering directory `/home/chevah/pythia/build/openssl-1.1.1k'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Leaving directory `/home/chevah/pythia/build/openssl-1.1.1k'
make[1]: Entering directory `/home/chevah/pythia/build/openssl-1.1.1k'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
( cd test; \
mkdir -p test-runs; \
SRCTOP=../. \
BLDTOP=../. \
RESULT_D=test-runs \
PERL="/usr/local/bin/perl" \
EXE_EXT= \
OPENSSL_ENGINES=`cd .././engines 2>/dev/null && pwd` \
OPENSSL_DEBUG_MEMORY=on \
/usr/local/bin/perl .././test/run_tests.pl )
../test/recipes/01-test_abort......................ok
../test/recipes/01-test_sanity.....................ok
../test/recipes/01-test_symbol_presence............skipped: Only useful when building shared libraries
../test/recipes/01-test_test.......................ok
../test/recipes/02-test_errstr.....................ok
../test/recipes/02-test_internal_ctype.............ok
../test/recipes/02-test_lhash......................ok
../test/recipes/02-test_ordinals...................ok
../test/recipes/02-test_stack......................ok
../test/recipes/03-test_exdata.....................ok
../test/recipes/03-test_internal_asn1..............ok
../test/recipes/03-test_internal_chacha............ok
../test/recipes/03-test_internal_curve448..........ok
../test/recipes/03-test_internal_ec................ok
../test/recipes/03-test_internal_mdc2..............ok
../test/recipes/03-test_internal_modes.............ok
../test/recipes/03-test_internal_poly1305..........ok
../test/recipes/03-test_internal_siphash...........ok
../test/recipes/03-test_internal_sm2...............ok
../test/recipes/03-test_internal_sm4...............ok
../test/recipes/03-test_internal_ssl_cert_table....ok
../test/recipes/03-test_internal_x509..............ok
../test/recipes/03-test_ui.........................ok
../test/recipes/04-test_asn1_decode................ok
../test/recipes/04-test_asn1_encode................ok
../test/recipes/04-test_asn1_string_table..........ok
../test/recipes/04-test_bio_callback...............ok
../test/recipes/04-test_bioprint...................ok
../test/recipes/04-test_err........................ok
../test/recipes/04-test_pem........................ok
../test/recipes/05-test_bf.........................ok
../test/recipes/05-test_cast.......................ok
../test/recipes/05-test_cmac.......................ok
../test/recipes/05-test_des........................ok
../test/recipes/05-test_hmac.......................ok
../test/recipes/05-test_idea.......................ok
../test/recipes/05-test_md2........................skipped: md2 is not supported by this OpenSSL build
../test/recipes/05-test_mdc2.......................ok
../test/recipes/05-test_rand.......................ok
../test/recipes/05-test_rc2........................ok
../test/recipes/05-test_rc4........................ok
../test/recipes/05-test_rc5........................skipped: rc5 is not supported by this OpenSSL build
../test/recipes/06-test-rdrand.....................ok
../test/recipes/10-test_bn.........................ok
../test/recipes/10-test_exp........................ok
../test/recipes/15-test_dh.........................ok
../test/recipes/15-test_dsa........................ok
../test/recipes/15-test_ec.........................ok
../test/recipes/15-test_ecdsa......................ok
../test/recipes/15-test_ecparam....................ok
../test/recipes/15-test_genec......................ok
../test/recipes/15-test_genrsa.....................ok
../test/recipes/15-test_mp_rsa.....................ok
../test/recipes/15-test_out_option.................ok
../test/recipes/15-test_rsa........................ok
../test/recipes/15-test_rsapss.....................ok
../test/recipes/20-test_dgst.......................ok
../test/recipes/20-test_enc........................ok
../test/recipes/20-test_enc_more...................ok
../test/recipes/20-test_passwd.....................ok
../test/recipes/25-test_crl........................ok
../test/recipes/25-test_d2i........................ok
../test/recipes/25-test_pkcs7......................ok
../test/recipes/25-test_req........................ok
../test/recipes/25-test_sid........................ok
../test/recipes/25-test_verify.....................ok
../test/recipes/25-test_x509.......................ok
../test/recipes/30-test_afalg......................skipped: test_afalg not supported for this build
../test/recipes/30-test_engine.....................ok
../test/recipes/30-test_evp........................ok
../test/recipes/30-test_evp_extra..................ok
../test/recipes/30-test_pbelu......................ok
../test/recipes/30-test_pkey_meth..................ok
../test/recipes/30-test_pkey_meth_kdf..............ok
../test/recipes/40-test_rehash.....................ok
../test/recipes/60-test_x509_check_cert_pkey.......ok
../test/recipes/60-test_x509_dup_cert..............ok
../test/recipes/60-test_x509_store.................ok
../test/recipes/60-test_x509_time..................ok
../test/recipes/70-test_asyncio....................ok
../test/recipes/70-test_bad_dtls...................ok
../test/recipes/70-test_clienthello................ok
../test/recipes/70-test_comp.......................skipped: test_comp needs the dynamic engine feature enabled
../test/recipes/70-test_key_share..................skipped: test_key_share needs the dynamic engine feature enabled
../test/recipes/70-test_packet.....................ok
../test/recipes/70-test_recordlen..................ok
../test/recipes/70-test_renegotiation..............skipped: test_renegotiation needs the dynamic engine feature enabled
../test/recipes/70-test_servername.................ok
../test/recipes/70-test_sslcbcpadding..............skipped: test_sslcbcpadding needs the dynamic engine feature enabled
../test/recipes/70-test_sslcertstatus..............skipped: test_sslcertstatus needs the dynamic engine feature enabled
../test/recipes/70-test_sslextension...............skipped: test_sslextension needs the dynamic engine feature enabled
../test/recipes/70-test_sslmessages................skipped: test_sslmessages needs the dynamic engine feature enabled
../test/recipes/70-test_sslrecords.................skipped: test_sslrecords needs the dynamic engine feature enabled
../test/recipes/70-test_sslsessiontick.............skipped: test_sslsessiontick needs the dynamic engine feature enabled
../test/recipes/70-test_sslsigalgs.................skipped: test_sslsigalgs needs the dynamic engine feature enabled
../test/recipes/70-test_sslsignature...............skipped: test_sslsignature needs the dynamic engine feature enabled
../test/recipes/70-test_sslskewith0p...............skipped: test_sslskewith0p needs the dynamic engine feature enabled
../test/recipes/70-test_sslversions................skipped: test_sslversions needs the dynamic engine feature enabled
../test/recipes/70-test_sslvertol..................skipped: test_sslextension needs the dynamic engine feature enabled
../test/recipes/70-test_tls13alerts................skipped: test_tls13alerts needs the dynamic engine feature enabled
../test/recipes/70-test_tls13cookie................skipped: test_tls13cookie needs the dynamic engine feature enabled
../test/recipes/70-test_tls13downgrade.............skipped: test_tls13downgrade needs the dynamic engine feature enabled
../test/recipes/70-test_tls13hrr...................skipped: test_tls13hrr needs the dynamic engine feature enabled
../test/recipes/70-test_tls13kexmodes..............skipped: test_tls13kexmodes needs the dynamic engine feature enabled
../test/recipes/70-test_tls13messages..............skipped: test_tls13messages needs the dynamic engine feature enabled
../test/recipes/70-test_tls13psk...................skipped: test_tls13psk needs the dynamic engine feature enabled
../test/recipes/70-test_tlsextms...................skipped: test_tlsextms needs the dynamic engine feature enabled
../test/recipes/70-test_verify_extra...............ok
../test/recipes/70-test_wpacket....................ok
../test/recipes/80-test_ca.........................ok
../test/recipes/80-test_cipherbytes................ok
../test/recipes/80-test_cipherlist.................ok
../test/recipes/80-test_ciphername.................ok
../test/recipes/80-test_cms........................ok
../test/recipes/80-test_cmsapi.....................ok
../test/recipes/80-test_ct.........................ok
../test/recipes/80-test_dane.......................ok
../test/recipes/80-test_dtls.......................ok
../test/recipes/80-test_dtls_mtu...................ok
../test/recipes/80-test_dtlsv1listen...............ok
../test/recipes/80-test_ocsp.......................ok
../test/recipes/80-test_pkcs12.....................ok
../test/recipes/80-test_ssl_new....................ok
../test/recipes/80-test_ssl_old....................ok
../test/recipes/80-test_ssl_test_ctx...............ok
../test/recipes/80-test_sslcorrupt.................ok
../test/recipes/80-test_tsa........................ok
../test/recipes/80-test_x509aux....................ok
../test/recipes/90-test_asn1_time..................ok
../test/recipes/90-test_async......................ok
../test/recipes/90-test_bio_enc....................ok
../test/recipes/90-test_bio_memleak................ok
../test/recipes/90-test_constant_time..............ok
../test/recipes/90-test_fatalerr...................ok
../test/recipes/90-test_gmdiff.....................ok
../test/recipes/90-test_gost.......................skipped: GOST support is disabled in this OpenSSL build
../test/recipes/90-test_ige........................ok
../test/recipes/90-test_includes...................ok
../test/recipes/90-test_memleak....................ok
../test/recipes/90-test_overhead...................ok
../test/recipes/90-test_secmem.....................ok
../test/recipes/90-test_shlibload..................skipped: Test only supported in a shared build
../test/recipes/90-test_srp........................ok
../test/recipes/90-test_sslapi.....................ok
../test/recipes/90-test_sslbuffers.................ok
../test/recipes/90-test_store......................ok
../test/recipes/90-test_sysdefault.................ok
../test/recipes/90-test_threads....................ok
../test/recipes/90-test_time_offset................ok
../test/recipes/90-test_tls13ccs...................ok
../test/recipes/90-test_tls13encryption............ok
../test/recipes/90-test_tls13secrets...............skipped: tls13secrets is not supported in this build
../test/recipes/90-test_v3name.....................ok
../test/recipes/95-test_external_boringssl.........skipped: No external tests in this configuration
../test/recipes/95-test_external_krb5..............skipped: No external tests in this configuration
../test/recipes/95-test_external_pyca..............skipped: No external tests in this configuration
../test/recipes/99-test_ecstress...................ok
../test/recipes/99-test_fuzz.......................ok
All tests successful.
Files=158, Tests=2430, 191 wallclock secs ( 0.77 usr 0.20 sys + 168.35 cusr 22.97 csys = 192.29 CPU)
Result: PASS
make[1]: Leaving directory `/home/chevah/pythia/build/openssl-1.1.1k'
I have no idea why this fails. Maybe different perl versions / missing perl dependecy?
Maybe try to run a single tests and get detailed logs as documented here https://wiki.openssl.org/index.php/Self_Test_Failures#Debug_the_Test
:( ugly bug
Solved by adding local-perl-Test-Simple-1.001003-1.noarch.rpm to https://binary.chevah.com/third-party-stuff/centos5/endpoint/.
All OpenSSL tests now pass under Docker: https://github.com/chevah/pythia/pull/21/checks?check_run_id=2342172529
OpenSSL 1.1.1 tests run successfully in a CentOS 5.11 VM, but fail under Docker with: