[openssl-dev] [openssl.org #4352] Failed test 'Duplicate ClientHello extension' when testing under Clang undefined behavior sanitizer

noloader@gmail.com via RT rt at openssl.org
Sat Feb 27 01:58:26 UTC 2016


Platform is Linux, x86_64. The failure occurs under Clang with the
sanitizer. GCC is fine.

I'm guessing the error output from the Undefined Behavior sanitizer is
causing the test to be interpreted as a fail.

$ export CC=clang
$ ./config -fsanitize=undefined
...

$ make depend && make
...

$ make test
...

../test/recipes/70-test_sslextension.t .... 1/3
#   Failed test 'Duplicate ClientHello extension'
#   at ../test/recipes/70-test_sslextension.t line 149.
# Looks like you failed 1 test of 3.
../test/recipes/70-test_sslextension.t .... Dubious, test returned 1
(wstat 256, 0x100)
Failed 1/3 subtests
...

Test Summary Report
-------------------
../test/recipes/70-test_sslextension.t  (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=70, Tests=389, 38 wallclock secs ( 0.54 usr  0.11 sys + 28.42
cusr  2.07 csys = 31.14 CPU)
Result: FAIL
Failed 1/70 test programs. 1/389 subtests failed.
make: *** [test] Error 255


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4352
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list