facebook/wangle

test failure

Alessandro-Barbieri opened this issue · 1 comments

Gentoo's CI had test failures

12/14 Testing: SSLContextManagerTest
12/14 Test: SSLContextManagerTest
Command: "/var/tmp/portage/dev-cpp/wangle-2022.04.11.00-r1/work/wangle-2022.04.11.00/wangle_build/bin/SSLContextManagerTest"
Directory: /var/tmp/portage/dev-cpp/wangle-2022.04.11.00-r1/work/wangle-2022.04.11.00/wangle_build
"SSLContextManagerTest" start time: May 30 08:44 CEST
Output:
----------------------------------------------------------
[==========] Running 8 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 8 tests from SSLContextManagerTest
[ RUN      ] SSLContextManagerTest.Test1
[       OK ] SSLContextManagerTest.Test1 (2 ms)
[ RUN      ] SSLContextManagerTest.TestResetSSLContextConfigs
[       OK ] SSLContextManagerTest.TestResetSSLContextConfigs (4 ms)
[ RUN      ] SSLContextManagerTest.TestSessionContextCertRemoval
E20220530 08:44:30.200873    87 SSLContextManager.cpp:466] Cert for the default domain www.abc.example.com can not be removed
[       OK ] SSLContextManagerTest.TestSessionContextCertRemoval (0 ms)
[ RUN      ] SSLContextManagerTest.TestCertificateWithNoCN
[       OK ] SSLContextManagerTest.TestCertificateWithNoCN (0 ms)
[ RUN      ] SSLContextManagerTest.TestAlpnAllowMismatch
[       OK ] SSLContextManagerTest.TestAlpnAllowMismatch (0 ms)
[ RUN      ] SSLContextManagerTest.TestAlpnNotAllowMismatch
[       OK ] SSLContextManagerTest.TestAlpnNotAllowMismatch (0 ms)
[ RUN      ] SSLContextManagerTest.TestSingleClientCAFileSet
E20220530 08:44:30.203253    87 SSLContextManager.cpp:491] error loading client CA folly/io/async/test/certs/client_chain.pem: std::runtime_error: SSL_CTX_load_verify_locations: No such file or directory; no such file; system lib
unknown file: Failure
C++ exception with description "error loading client CA folly/io/async/test/certs/client_chain.pem: std::runtime_error: SSL_CTX_load_verify_locations: No such file or directory; no such file; system lib" thrown in the test body.
[  FAILED  ] SSLContextManagerTest.TestSingleClientCAFileSet (0 ms)
[ RUN      ] SSLContextManagerTest.TestMultipleClientCAsSet
E20220530 08:44:30.204098    87 SSLContextManager.cpp:491] error loading client CA folly/io/async/test/certs/client_cert.pem: std::runtime_error: SSL_CTX_load_verify_locations: No such file or directory; no such file; system lib
unknown file: Failure
C++ exception with description "error loading client CA folly/io/async/test/certs/client_cert.pem: std::runtime_error: SSL_CTX_load_verify_locations: No such file or directory; no such file; system lib" thrown in the test body.
[  FAILED  ] SSLContextManagerTest.TestMultipleClientCAsSet (0 ms)
[----------] 8 tests from SSLContextManagerTest (11 ms total)

[----------] Global test environment tear-down
[==========] 8 tests from 1 test suite ran. (11 ms total)
[  PASSED  ] 6 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] SSLContextManagerTest.TestSingleClientCAFileSet
[  FAILED  ] SSLContextManagerTest.TestMultipleClientCAsSet

 2 FAILED TESTS
<end of output>
Test time =   0.03 sec
----------------------------------------------------------
Test Failed.
"SSLContextManagerTest" end time: May 30 08:44 CEST
"SSLContextManagerTest" time elapsed: 00:00:00
----------------------------------------------------------

see https://bugs.gentoo.org/848459
log https://848459.bugs.gentoo.org/attachment.cgi?id=781391
test log https://848459.bugs.gentoo.org/attachment.cgi?id=781394