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

2018-09-24 Thread Richard Levitte
Apparently, I did a sloppy job.  One more 'apt update && apt upgrade'
was needed.

So very sorry for the noise it created.  I've now verified that
everything is back to normal.

Cheers,
Richard

In message <8a29be88-25f9-44b1-8768-27a5cdba7...@openssl.org> on Mon, 24 Sep 
2018 16:30:14 +0200, Richard Levitte  said:

> The box got upgraded to Ubuntu 18.04 LTS yesterday.
> I'll turn off test building and see if I can figure it out.
> 
> Cheers
> Richard
> 
> 
> Matt Caswell  skrev: (24 september 2018 16:25:48 CEST)
> >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)
> >
> >
> >../../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
> >> 

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

2018-09-24 Thread Richard Levitte
The box got upgraded to Ubuntu 18.04 LTS yesterday.
I'll turn off test building and see if I can figure it out.

Cheers
Richard


Matt Caswell  skrev: (24 september 2018 16:25:48 CEST)
>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)
>
>
>../../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
>> 

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

2018-09-24 Thread Matt Caswell
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)


../../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
>