community/net-cpp-3.0.0: test failures
net-cpp fails to build with test failures:
[ RUN ] HttpClient.async_get_request_for_existing_resource_succeeds
terminate called after throwing an instance of 'std::system_error'
what(): : Exec format error
Start 3: http_streaming_client_test
3/4 Test #3: http_streaming_client_test .......Subprocess aborted***Exception: 5.02 sec
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.10/site-packages/flask/app.py", line 920, in run
run_simple(t.cast(str, host), port, self, **options)
File "/usr/lib/python3.10/site-packages/werkzeug/serving.py", line 1017, in run_simple
inner()
File "/usr/lib/python3.10/site-packages/werkzeug/serving.py", line 957, in inner
srv = make_server(
File "/usr/lib/python3.10/site-packages/werkzeug/serving.py", line 789, in make_server
return ThreadedWSGIServer(
File "/usr/lib/python3.10/site-packages/werkzeug/serving.py", line 693, in __init__
super().__init__(server_address, handler) # type: ignore
File "/usr/lib/python3.10/socketserver.py", line 452, in __init__
self.server_bind()
File "/usr/lib/python3.10/http/server.py", line 136, in server_bind
socketserver.TCPServer.server_bind(self)
File "/usr/lib/python3.10/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address in use
Running main() from gmock_main.cc
[==========] Running 16 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 1 test from StreamingStreamingHttpClient
[ RUN ] StreamingStreamingHttpClient.head_request_for_existing_resource_succeeds
[ OK ] StreamingStreamingHttpClient.head_request_for_existing_resource_succeeds (2 ms)
[----------] 1 test from StreamingStreamingHttpClient (2 ms total)
[----------] 15 tests from StreamingHttpClient
[ RUN ] StreamingHttpClient.get_request_for_existing_resource_succeeds
[ OK ] StreamingHttpClient.get_request_for_existing_resource_succeeds (2 ms)
[ RUN ] StreamingHttpClient.get_request_with_custom_headers_for_existing_resource_succeeds
[ OK ] StreamingHttpClient.get_request_with_custom_headers_for_existing_resource_succeeds (2 ms)
[ RUN ] StreamingHttpClient.empty_header_values_are_handled_correctly
[ OK ] StreamingHttpClient.empty_header_values_are_handled_correctly (2 ms)
[ RUN ] StreamingHttpClient.get_request_for_existing_resource_guarded_by_basic_auth_succeeds
[ OK ] StreamingHttpClient.get_request_for_existing_resource_guarded_by_basic_auth_succeeds (3 ms)
[ DISABLED ] StreamingHttpClient.DISABLED_get_request_for_existing_resource_guarded_by_digest_auth_succeeds
[ RUN ] StreamingHttpClient.async_get_request_for_existing_resource_succeeds
terminate called after throwing an instance of 'std::system_error'
what(): : Exec format error
Start 4: http_client_load_test
4/4 Test #4: http_client_load_test ............Subprocess aborted***Exception: 5.01 sec
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.10/site-packages/flask/app.py", line 920, in run
run_simple(t.cast(str, host), port, self, **options)
File "/usr/lib/python3.10/site-packages/werkzeug/serving.py", line 1017, in run_simple
inner()
File "/usr/lib/python3.10/site-packages/werkzeug/serving.py", line 957, in inner
srv = make_server(
File "/usr/lib/python3.10/site-packages/werkzeug/serving.py", line 789, in make_server
return ThreadedWSGIServer(
File "/usr/lib/python3.10/site-packages/werkzeug/serving.py", line 693, in __init__
super().__init__(server_address, handler) # type: ignore
File "/usr/lib/python3.10/socketserver.py", line 452, in __init__
self.server_bind()
File "/usr/lib/python3.10/http/server.py", line 136, in server_bind
socketserver.TCPServer.server_bind(self)
File "/usr/lib/python3.10/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address in use
Running main() from gmock_main.cc
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from HttpClientLoadTest
[ RUN ] HttpClientLoadTest.async_head_request_for_existing_resource_succeeds
terminate called after throwing an instance of 'std::system_error'
what(): : Exec format error
25% tests passed, 3 tests failed out of 4
Total Test time (real) = 1510.14 sec
The following tests FAILED:
2 - http_client_test (Timeout)
3 - http_streaming_client_test (Subprocess aborted)
4 - http_client_load_test (Subprocess aborted)
Errors while running CTest
See: