Hi,

./config
make
make test

On my Ubuntu 14.04.5 LTS all tests pass.

On Scientific Linux release 6.8 (Carbon) I have to update a couple of
perl modules to get the test suite running (see NOTES.PERL and
https://mta.openssl.org/pipermail/openssl-dev/2016-April/006538.html).

On our SUSE Linux Enterprise Server 11 SP3  (x86_64) I have to update
the perl modules, too, and in addition I get:
...
#   Failed test 'running threadstest'
../test/recipes/90-test_threads............NOK 1/1#   at
../test/testlib/OpenSSL/Test/Simple.pm line 77.
# Looks like you failed 1 test of 1.
../test/recipes/90-test_threads............dubious                          

        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
../test/recipes/90-test_v3name.............ok                               

Failed Test                       Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
../test/recipes/90-test_threads.t    1   256     1    1  1
4 tests and 12 subtests skipped.
Failed 1/81 test scripts. 1/445 subtests failed.
Files=81, Tests=445, 51 wallclock secs (29.93 cusr +  5.10 csys = 35.03 CPU)
Failed 1/81 test programs. 1/445 subtests failed.
make[1]: *** [_tests] Error 255
make[1]: Leaving directory `/home/.../tmp/openssl-1.1.0-pre6'
make: *** [tests] Error 2

running that one again in verbose mode

make VERBOSE=1 TESTS='test_threads' test
make depend && make _tests
make[1]: Entering directory `/home/.../tmp/openssl-1.1.0-pre6'
make[1]: Leaving directory `/home/.../tmp/openssl-1.1.0-pre6'
make[1]: Entering directory `/home/.../tmp/openssl-1.1.0-pre6'
( cd test; \
          SRCTOP=../. \
          BLDTOP=../. \
          PERL="/usr/bin/perl" \
          EXE_EXT= \
          OPENSSL_ENGINES=.././engines \
            /usr/bin/perl .././test/run_tests.pl test_threads )
../test/recipes/90-test_threads....1..1
thread-local thread callback failed
../util/shlib_wrap.sh ./threadstest => 1

#   Failed test 'running threadstest'
not ok 1 - running threadstest
#   at ../test/testlib/OpenSSL/Test/Simple.pm line 77.
# Looks like you failed 1 test of 1.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
Failed Test                       Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
../test/recipes/90-test_threads.t    1   256     1    1  1
Failed 1/1 test scripts. 1/1 subtests failed.
Files=1, Tests=1,  0 wallclock secs ( 0.03 cusr +  0.01 csys =  0.04 CPU)
Failed 1/1 test programs. 1/1 subtests failed.
make[1]: *** [_tests] Error 1
make[1]: Leaving directory `/home/.../tmp/openssl-1.1.0-pre6'
make: *** [tests] Error 2

first I thought it might be the perl installation which wouldn't support
threads, but building a locally installed perl-5.24.0 explicitly with
threads support ddin't solve the problem (I have checked that this perl
is actually used):

make VERBOSE=1 TESTS='test_threads' test
make depend && make _tests
make[1]: Entering directory `/home/.../tmp/openssl-1.1.0-pre6'
make[1]: Leaving directory `/home/.../tmp/openssl-1.1.0-pre6'
make[1]: Entering directory `/home/.../tmp/openssl-1.1.0-pre6'
( cd test; \
          SRCTOP=../. \
          BLDTOP=../. \
          PERL="/home/.../local/bin/perl" \
          EXE_EXT= \
          OPENSSL_ENGINES=.././engines \
            /home/.../local/bin/perl .././test/run_tests.pl test_threads )
../test/recipes/90-test_threads.t ..
1..1
thread-local thread callback failed
../util/shlib_wrap.sh ./threadstest => 1
not ok 1 - running threadstest

#   Failed test 'running threadstest'
#   at ../test/testlib/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
-------------------
../test/recipes/90-test_threads.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=1, Tests=1,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.06 cusr 
0.01 csys =  0.10 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
make[1]: *** [_tests] Error 1
make[1]: Leaving directory `/home/.../tmp/openssl-1.1.0-pre6'
make: *** [tests] Error 2

I'm not sure if this is a problem with openssl or with my environment. I
_believe_ that I have tested successfully with openssl-SNAP-20160331 but
I'm not 100% sure, and now I get the same result with that tar-ball. So,
either I forgot to re-test on SLES back in April or it is a change which
happened to our environment in the meantime.

Anything more I could try to locate the cause of this issue?

Martin


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to