[openssl-project] [openssl-commits] FAILED build of OpenSSL branch master with options -d --strict-warnings enable-asan no-shared -DOPENSSL_SMALL_FOOTPRINT

Matt Caswell matt at openssl.org
Mon Sep 24 14:25:48 UTC 2018


I'm getting strange results for this. I can't recreate this locally.

When I run this on the run-checker box every test fails. Running a test
with V=1, give this:

$ make TESTS=test_sanity V=1 test
make depend && make _tests
make[1]: Entering directory '/home/matt/enable-asan'
make[1]: Leaving directory '/home/matt/enable-asan'
make[1]: Entering directory '/home/matt/enable-asan'
( cd test; \
  mkdir -p test-runs; \
  SRCTOP=../../openssl \
  BLDTOP=../. \
  RESULT_D=test-runs \
  PERL="/usr/bin/perl" \
  EXE_EXT= \
  OPENSSL_ENGINES=`cd .././engines 2>/dev/null && pwd` \
  OPENSSL_DEBUG_MEMORY=on \
    /usr/bin/perl ../../openssl/test/run_tests.pl test_sanity )
../../openssl/test/recipes/01-test_sanity.t ..
1..1
==2035==AddressSanitizer CHECK failed:
/build/llvm-toolchain-3.8-_PD09B/llvm-toolchain-3.8-3.8/projects/compiler-rt/lib/asan/asan_rtl.cc:407
"((!asan_init_is_running && "ASan init calls itself!")) != (0)" (0x0, 0x0)
    <empty stack>

../../util/shlib_wrap.sh ../../test/sanitytest => 1
not ok 1 - running sanitytest

#   Failed test 'running sanitytest'
#   at
/home/matt/enable-asan/test/../../openssl/util/perl/OpenSSL/Test/Simple.pm
line 77.
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

Test Summary Report
-------------------
../../openssl/test/recipes/01-test_sanity.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=1, Tests=1,  1 wallclock secs ( 0.04 usr  0.00 sys +  0.16 cusr
0.02 csys =  0.22 CPU)
Result: FAIL
Makefile:204: recipe for target '_tests' failed
make[1]: *** [_tests] Error 1
make[1]: Leaving directory '/home/matt/enable-asan'
Makefile:202: recipe for target 'tests' failed
make: *** [tests] Error 2


Which makes no sense to me at all. I don't know why this has suddenly
started happening. Maybe something environmental has changed?

Matt




On 23/09/18 23:31, OpenSSL run-checker wrote:
> Platform and configuration command:
> 
> $ uname -a
> Linux run 4.4.0-135-generic #161-Ubuntu SMP Mon Aug 27 10:45:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> $ CC=clang ../openssl/config -d --strict-warnings enable-asan no-shared -DOPENSSL_SMALL_FOOTPRINT
> 
> Commit log since last time:
> 
> 0f58220973 Create the .rnd file it it does not exist
> 46d085096c typo-fixes: miscellaneous typo fixes
> f39a02c68a Fix the max psk len for TLSv1.3
> cd6fe29f5b Add a test for the certificate callback
> 524006dd1b Delay setting the sig algs until after the cert_cb has been called
> dda5396aae crypto/bn/asm/x86_64-gcc.c: remove unnecessary redefinition of BN_ULONG
> 
> Build log ended with (last 100 lines):
> 
> ../../openssl/test/recipes/80-test_dtls_mtu.t               (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/80-test_dtlsv1listen.t           (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/80-test_ocsp.t                   (Wstat: 768 Tests: 11 Failed: 3)
>   Failed tests:  1, 10-11
>   Non-zero exit status: 3
> ../../openssl/test/recipes/80-test_pkcs12.t                 (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/80-test_ssl_new.t                (Wstat: 6656 Tests: 27 Failed: 26)
>   Failed tests:  1-21, 23-27
>   Non-zero exit status: 26
> ../../openssl/test/recipes/80-test_ssl_old.t                (Wstat: 1280 Tests: 6 Failed: 5)
>   Failed tests:  1-2, 4-6
>   Non-zero exit status: 5
> ../../openssl/test/recipes/80-test_ssl_test_ctx.t           (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/80-test_sslcorrupt.t             (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/80-test_tsa.t                    (Wstat: 256 Tests: 20 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/80-test_x509aux.t                (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_asn1_time.t              (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_async.t                  (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_bio_enc.t                (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_constant_time.t          (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_fatalerr.t               (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_gmdiff.t                 (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_ige.t                    (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_includes.t               (Wstat: 768 Tests: 3 Failed: 3)
>   Failed tests:  1-3
>   Non-zero exit status: 3
> ../../openssl/test/recipes/90-test_memleak.t                (Wstat: 512 Tests: 2 Failed: 2)
>   Failed tests:  1-2
>   Non-zero exit status: 2
> ../../openssl/test/recipes/90-test_overhead.t               (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_secmem.t                 (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_srp.t                    (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_sslapi.t                 (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_sslbuffers.t             (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_sysdefault.t             (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_threads.t                (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_time_offset.t            (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_tls13ccs.t               (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_tls13encryption.t        (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/90-test_v3name.t                 (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> ../../openssl/test/recipes/99-test_fuzz.t                   (Wstat: 2816 Tests: 11 Failed: 11)
>   Failed tests:  1-11
>   Non-zero exit status: 11
> Files=152, Tests=860, 46 wallclock secs ( 0.96 usr  0.35 sys + 31.51 cusr  5.57 csys = 38.39 CPU)
> Result: FAIL
> Makefile:204: recipe for target '_tests' failed
> make[1]: *** [_tests] Error 1
> make[1]: Leaving directory '/home/openssl/run-checker/enable-asan'
> Makefile:202: recipe for target 'tests' failed
> make: *** [tests] Error 2
> _____
> openssl-commits mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
> 


More information about the openssl-project mailing list