Ошибка OpenSSL test_threads для установки версии 1.1.0k поверх SuSe11 - PullRequest
0 голосов
/ 10 июля 2019

Я устанавливаю OpenSSL 1.1.0k поверх SuSe11, после конфигурирования и make я делаю тест, и происходит одна ошибка: ... ../test/recipes/90-test_threads.t (Wstat: 256 тестов: 1 Неудачный: 1) Неудачный тест: 1 Ненулевой статус выхода: 1 Файлы = 100, тесты = 570, 106 секундных часов (1.67 usr 0.33 sys + 59.77 cusr 25.30 csys = 87.07 CPU) Результат: FAIL

Я запускаю тест с большей детализацией: $ make V = 1 TESTS = тест 'test_threads' и результат:

make depend && make _tests
make[1]: Entering directory `/users/login/e540022/openssl-1.1.0k'
make[1]: Leaving directory `/users/login/e540022/openssl-1.1.0k'
make[1]: Entering directory `/users/login/e540022/openssl-1.1.0k'
gcc  -I. -Iinclude -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/soft/openssl-1.1.0k\"" -DENGINESDIR="\"/soft/openssl-1.1.0k/lib/engines-1.1\"" -Wall -O3 -pthread -m64 -DL_ENDIAN  -Wa,--noexecstack  -MMD -MF test/threadstest.d.tmp -MT test/threadstest.o -c -o test/threadstest.o test/threadstest.c
test/threadstest.c: In function 'thread_run':
test/threadstest.c:66: warning: dereferencing type-punned pointer will break strict-aliasing rules
test/threadstest.c: In function 'run_thread':
test/threadstest.c:74: warning: dereferencing type-punned pointer will break strict-aliasing rules
rm -f test/threadstest
make -f ./Makefile.shared -e \
                PERL="/soft/perl-5.16.3/bin/perl" SRCDIR=. \
                APPNAME=test/threadstest OBJECTS="test/threadstest.o" \
                LIBDEPS=' '" -L. -lcrypto"' -lz -ldl -pthread -Wl,-rpath=/soft/openssl-1.1.0k/lib ' \
                CC='gcc' CFLAGS='-DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/soft/openssl-1.1.0k\"" -DENGINESDIR="\"/soft/openssl-1.1.0k/lib/engines-1.1\"" -Wall -O3 -pthread -m64 -DL_ENDIAN  -Wa,--noexecstack ' \
                LDFLAGS='' \
                link_app.linux-shared
make[2]: Entering directory `/users/login/e540022/openssl-1.1.0k'
LD_LIBRARY_PATH=.: gcc -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="/soft/openssl-1.1.0k" -DENGINESDIR="/soft/openssl-1.1.0k/lib/engines-1.1" -Wall -O3 -pthread -m64 -DL_ENDIAN -Wa,--noexecstack -o test/threadstest test/threadstest.o -L. -lcrypto -lz -ldl -pthread -Wl,-rpath=/soft/openssl-1.1.0k/lib
make[2]: Leaving directory `/users/login/e540022/openssl-1.1.0k'
( cd test; \
          mkdir -p test-runs; \
          SRCTOP=../. \
          BLDTOP=../. \
          RESULT_D=test-runs \
          PERL="/soft/perl-5.16.3/bin/perl" \
          EXE_EXT= \
          OPENSSL_ENGINES=`cd .././engines; pwd` \
          OPENSSL_DEBUG_MEMORY=on \
            /soft/perl-5.16.3/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 ../../test/threadstest => 1
not ok 1 - running threadstest

#   Failed test 'running threadstest'
#   at /users/login/e540022/openssl-1.1.0k/test/../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
-------------------
../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.03 usr  0.01 sys +  0.08 cusr  0.02 csys =  0.14 CPU)
Result: FAIL
make[1]: *** [_tests] Error 1
make[1]: Leaving directory `/users/login/e540022/openssl-1.1.0k'
make: *** [tests] Error 2

Я не знаю, почему ошибка. Кто-нибудь может мне помочь ???

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...