>>> net-cpp: Building community/net-cpp 3.0.0-r0 (using abuild 3.9.0-r0) started Sat, 16 Apr 2022 10:21:13 +0000 >>> net-cpp: Checking sanity of /home/buildozer/aports/community/net-cpp/APKBUILD... >>> net-cpp: Analyzing dependencies... >>> net-cpp: Installing for build: build-base cmake cmake-extras boost-dev curl-dev process-cpp-dev properties-cpp-dev jsoncpp-dev gtest-dev py3-httpbin (1/81) Installing libbz2 (1.0.8-r1) (2/81) Installing libarchive (3.6.1-r0) (3/81) Installing rhash-libs (1.4.2-r2) (4/81) Installing libuv (1.44.1-r0) (5/81) Installing cmake (3.23.1-r0) (6/81) Installing samurai (1.2-r1) (7/81) Installing cmake-extras (1.6-r1) (8/81) Installing boost1.77-atomic (1.77.0-r4) (9/81) Installing boost1.77-chrono (1.77.0-r4) (10/81) Installing boost1.77-container (1.77.0-r4) (11/81) Installing boost1.77-context (1.77.0-r4) (12/81) Installing boost1.77-contract (1.77.0-r4) (13/81) Installing boost1.77-thread (1.77.0-r4) (14/81) Installing boost1.77-coroutine (1.77.0-r4) (15/81) Installing boost1.77-date_time (1.77.0-r4) (16/81) Installing boost1.77-fiber (1.77.0-r4) (17/81) Installing boost1.77-filesystem (1.77.0-r4) (18/81) Installing boost1.77-graph (1.77.0-r4) (19/81) Installing boost1.77-iostreams (1.77.0-r4) (20/81) Installing boost1.77-locale (1.77.0-r4) (21/81) Installing boost1.77-log (1.77.0-r4) (22/81) Installing boost1.77-log_setup (1.77.0-r4) (23/81) Installing boost1.77-math (1.77.0-r4) (24/81) Installing boost1.77-prg_exec_monitor (1.77.0-r4) (25/81) Installing boost1.77-program_options (1.77.0-r4) (26/81) Installing gdbm (1.23-r0) (27/81) Installing mpdecimal (2.5.1-r1) (28/81) Installing readline (8.1.2-r0) (29/81) Installing sqlite-libs (3.38.0-r0) (30/81) Installing python3 (3.10.3-r0) (31/81) Installing boost1.77-python3 (1.77.0-r4) (32/81) Installing boost1.77-random (1.77.0-r4) (33/81) Installing boost1.77-regex (1.77.0-r4) (34/81) Installing boost1.77-serialization (1.77.0-r4) (35/81) Installing boost1.77-stacktrace_basic (1.77.0-r4) (36/81) Installing boost1.77-stacktrace_noop (1.77.0-r4) (37/81) Installing boost1.77-system (1.77.0-r4) (38/81) Installing boost1.77-timer (1.77.0-r4) (39/81) Installing boost1.77-type_erasure (1.77.0-r4) (40/81) Installing boost1.77-unit_test_framework (1.77.0-r4) (41/81) Installing boost1.77-wave (1.77.0-r4) (42/81) Installing boost1.77-wserialization (1.77.0-r4) (43/81) Installing boost1.77-json (1.77.0-r4) (44/81) Installing boost1.77-nowide (1.77.0-r4) (45/81) Installing boost1.77-libs (1.77.0-r4) (46/81) Installing boost1.77 (1.77.0-r4) (47/81) Installing linux-headers (5.16.7-r1) (48/81) Installing bzip2-dev (1.0.8-r1) (49/81) Installing icu-libs (70.1-r0) (50/81) Installing icu (70.1-r0) (51/81) Installing icu-dev (70.1-r0) (52/81) Installing xz-dev (5.2.5-r1) (53/81) Installing zlib-dev (1.2.12-r0) (54/81) Installing boost1.77-dev (1.77.0-r4) (55/81) Installing boost-dev (1.77.0-r4) (56/81) Installing openssl-dev (1.1.1n-r0) (57/81) Installing nghttp2-dev (1.47.0-r0) (58/81) Installing brotli-dev (1.0.9-r6) (59/81) Installing curl-dev (7.82.0-r0) (60/81) Installing properties-cpp-dev (0.0.2-r0) (61/81) Installing libexecinfo (1.1-r1) (62/81) Installing process-cpp (3.0.1-r2) (63/81) Installing process-cpp-dev (3.0.1-r2) (64/81) Installing jsoncpp (1.9.5-r0) (65/81) Installing jsoncpp-dev (1.9.5-r0) (66/81) Installing gtest (1.11.0_git20220205-r1) (67/81) Installing gmock (1.11.0_git20220205-r1) (68/81) Installing gtest-dev (1.11.0_git20220205-r1) (69/81) Installing py3-click (8.0.4-r0) (70/81) Installing py3-itsdangerous (2.1.1-r0) (71/81) Installing py3-markupsafe (2.1.1-r0) (72/81) Installing py3-jinja2 (3.0.3-r1) (73/81) Installing py3-werkzeug (2.0.3-r0) (74/81) Installing py3-flask (2.1.1-r0) (75/81) Installing py3-six (1.16.0-r1) (76/81) Installing py3-raven (6.10.0-r4) (77/81) Installing py3-blinker (1.4-r7) (78/81) Installing py3-brotli (1.0.9-r6) (79/81) Installing py3-decorator (5.1.1-r0) (80/81) Installing py3-httpbin (0.7.0-r3) (81/81) Installing .makedepends-net-cpp (20220416.102122) Executing busybox-1.35.0-r8.trigger OK: 1436 MiB in 178 packages >>> net-cpp: Cleaning up srcdir >>> net-cpp: Cleaning up pkgdir >>> net-cpp: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/net-cpp-3.0.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 65754 100 65754 0 0 801k 0 --:--:-- --:--:-- --:--:-- 802k >>> net-cpp: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/net-cpp-3.0.0.tar.gz >>> net-cpp: Checking sha512sums... net-cpp-3.0.0.tar.gz: OK python-init.patch: OK >>> net-cpp: Unpacking /var/cache/distfiles/v3.16/net-cpp-3.0.0.tar.gz... >>> net-cpp: python-init.patch patching file tests/httpbin.h.in -- The C compiler identification is GNU 11.2.1 -- The CXX compiler identification is GNU 11.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Found Boost: /usr/lib/cmake/Boost-1.77.0/BoostConfig.cmake (found version "1.77.0") found components: system serialization -- Found CURL: /usr/lib/libcurl.so (found version "7.82.0") -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Checking for module 'jsoncpp' -- Found jsoncpp, version 1.9.4 -- Checking for module 'process-cpp' -- Found process-cpp, version 2.0.0 -- Found GTest: /usr/lib/cmake/GTest/GTestConfig.cmake (found version "1.11.0") -- Checking for module 'gtest' -- Found gtest, version 1.11.0 -- Using GTest v1.11.0 (parsed from pkg-config) -- Configuring done -- Generating done -- Build files have been written to: /home/buildozer/aports/community/net-cpp/src/net-cpp-3.0.0/build [ 4%] Building CXX object src/CMakeFiles/net-cpp.dir/core/location.cpp.o [ 9%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/error.cpp.o [ 14%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/uri.cpp.o [ 19%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/http/client.cpp.o [ 23%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/http/error.cpp.o [ 28%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/http/header.cpp.o [ 33%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/http/request.cpp.o [ 52%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/http/impl/curl/easy.cpp.o [ 52%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/http/impl/curl/client.cpp.o [ 52%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/http/status.cpp.o [ 52%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/http/impl/curl/multi.cpp.o [ 57%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/http/impl/curl/shared.cpp.o [ 61%] Linking CXX shared library libnet-cpp.so [ 61%] Built target net-cpp [ 66%] Building CXX object tests/CMakeFiles/header_test.dir/header_test.cpp.o [ 71%] Building CXX object tests/CMakeFiles/http_client_test.dir/http_client_test.cpp.o [ 76%] Building CXX object tests/CMakeFiles/http_streaming_client_test.dir/http_streaming_client_test.cpp.o [ 80%] Building CXX object tests/CMakeFiles/http_client_load_test.dir/http_client_load_test.cpp.o [ 85%] Linking CXX executable header_test [ 85%] Built target header_test [ 90%] Linking CXX executable http_client_load_test [ 90%] Built target http_client_load_test [ 95%] Linking CXX executable http_streaming_client_test [ 95%] Built target http_streaming_client_test [100%] Linking CXX executable http_client_test [100%] Built target http_client_test Test project /home/buildozer/aports/community/net-cpp/src/net-cpp-3.0.0/build Start 1: header_test 1/4 Test #1: header_test ...................... Passed 0.01 sec Start 2: http_client_test 2/4 Test #2: http_client_test .................***Timeout 1500.10 sec * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) Running main() from gmock_main.cc [==========] Running 39 tests from 3 test suites. [----------] Global test environment set-up. [----------] 15 tests from HttpClient [ RUN ] HttpClient.uri_to_string [ OK ] HttpClient.uri_to_string (0 ms) [ RUN ] HttpClient.head_request_for_existing_resource_succeeds 127.0.0.1 - - [16/Apr/2022 10:21:55] "GET /get HTTP/1.1" 200 - Download progress: 1 Download progress: 1 Download progress: 1 Download progress: 1 [ OK ] HttpClient.head_request_for_existing_resource_succeeds (5 ms) [ DISABLED ] HttpClient.DISABLED_a_request_can_timeout [ DISABLED ] HttpClient.DISABLED_get_request_against_app_store_succeeds [ RUN ] HttpClient.get_request_for_existing_resource_succeeds 127.0.0.1 - - [16/Apr/2022 10:21:55] "GET /get HTTP/1.1" 200 - Download progress: 1 Download progress: 1 Download progress: 1 Download progress: 1 [ OK ] HttpClient.get_request_for_existing_resource_succeeds (4 ms) [ RUN ] HttpClient.get_request_with_custom_headers_for_existing_resource_succeeds 127.0.0.1 - - [16/Apr/2022 10:21:55] "GET /headers HTTP/1.1" 200 - Download progress: 1 Download progress: 1 Download progress: 1 Download progress: 1 [ OK ] HttpClient.get_request_with_custom_headers_for_existing_resource_succeeds (4 ms) [ RUN ] HttpClient.empty_header_values_are_handled_correctly 127.0.0.1 - - [16/Apr/2022 10:21:55] "GET /headers HTTP/1.1" 200 - Download progress: 1 Download progress: 1 Download progress: 1 Download progress: 1 [ OK ] HttpClient.empty_header_values_are_handled_correctly (3 ms) [ RUN ] HttpClient.get_request_for_existing_resource_guarded_by_basic_auth_succeeds 127.0.0.1 - - [16/Apr/2022 10:21:55] "GET /basic-auth/user/passwd HTTP/1.1" 401 - 127.0.0.1 - - [16/Apr/2022 10:21:56] "GET /basic-auth/user/passwd HTTP/1.0" 200 - Download progress: 1 Download progress: 1 Download progress: 1 Download progress: 1 [ OK ] HttpClient.get_request_for_existing_resource_guarded_by_basic_auth_succeeds (6 ms) [ DISABLED ] HttpClient.DISABLED_get_request_for_existing_resource_guarded_by_digest_auth_succeeds [ RUN ] HttpClient.async_get_request_for_existing_resource_succeeds terminate called without an active exception Start 3: http_streaming_client_test 3/4 Test #3: http_streaming_client_test .......Subprocess aborted***Exception: 5.04 sec Traceback (most recent call last): File "", line 1, in 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 (4 ms) [----------] 1 test from StreamingStreamingHttpClient (4 ms total) [----------] 15 tests from StreamingHttpClient [ RUN ] StreamingHttpClient.get_request_for_existing_resource_succeeds [ OK ] StreamingHttpClient.get_request_for_existing_resource_succeeds (3 ms) [ RUN ] StreamingHttpClient.get_request_with_custom_headers_for_existing_resource_succeeds [ OK ] StreamingHttpClient.get_request_with_custom_headers_for_existing_resource_succeeds (3 ms) [ RUN ] StreamingHttpClient.empty_header_values_are_handled_correctly [ OK ] StreamingHttpClient.empty_header_values_are_handled_correctly (3 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 (4 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 without an active exception Start 4: http_client_load_test 4/4 Test #4: http_client_load_test ............Subprocess aborted***Exception: 5.02 sec Traceback (most recent call last): File "", line 1, in 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 without an active exception 25% tests passed, 3 tests failed out of 4 Total Test time (real) = 1510.17 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 >>> ERROR: net-cpp: check failed >>> net-cpp: Uninstalling dependencies... (1/81) Purging .makedepends-net-cpp (20220416.102122) (2/81) Purging cmake-extras (1.6-r1) (3/81) Purging samurai (1.2-r1) (4/81) Purging boost-dev (1.77.0-r4) (5/81) Purging boost1.77-dev (1.77.0-r4) (6/81) Purging boost1.77 (1.77.0-r4) (7/81) Purging boost1.77-libs (1.77.0-r4) (8/81) Purging linux-headers (5.16.7-r1) (9/81) Purging bzip2-dev (1.0.8-r1) (10/81) Purging icu-dev (70.1-r0) (11/81) Purging icu (70.1-r0) (12/81) Purging icu-libs (70.1-r0) (13/81) Purging xz-dev (5.2.5-r1) (14/81) Purging boost1.77-atomic (1.77.0-r4) (15/81) Purging boost1.77-container (1.77.0-r4) (16/81) Purging boost1.77-contract (1.77.0-r4) (17/81) Purging boost1.77-coroutine (1.77.0-r4) (18/81) Purging boost1.77-date_time (1.77.0-r4) (19/81) Purging boost1.77-fiber (1.77.0-r4) (20/81) Purging boost1.77-graph (1.77.0-r4) (21/81) Purging boost1.77-json (1.77.0-r4) (22/81) Purging boost1.77-locale (1.77.0-r4) (23/81) Purging boost1.77-log_setup (1.77.0-r4) (24/81) Purging boost1.77-math (1.77.0-r4) (25/81) Purging boost1.77-nowide (1.77.0-r4) (26/81) Purging boost1.77-prg_exec_monitor (1.77.0-r4) (27/81) Purging boost1.77-program_options (1.77.0-r4) (28/81) Purging boost1.77-python3 (1.77.0-r4) (29/81) Purging boost1.77-random (1.77.0-r4) (30/81) Purging boost1.77-regex (1.77.0-r4) (31/81) Purging boost1.77-stacktrace_basic (1.77.0-r4) (32/81) Purging boost1.77-stacktrace_noop (1.77.0-r4) (33/81) Purging boost1.77-system (1.77.0-r4) (34/81) Purging boost1.77-timer (1.77.0-r4) (35/81) Purging boost1.77-type_erasure (1.77.0-r4) (36/81) Purging boost1.77-unit_test_framework (1.77.0-r4) (37/81) Purging boost1.77-wave (1.77.0-r4) (38/81) Purging boost1.77-wserialization (1.77.0-r4) (39/81) Purging curl-dev (7.82.0-r0) (40/81) Purging nghttp2-dev (1.47.0-r0) (41/81) Purging zlib-dev (1.2.12-r0) (42/81) Purging brotli-dev (1.0.9-r6) (43/81) Purging process-cpp-dev (3.0.1-r2) (44/81) Purging process-cpp (3.0.1-r2) (45/81) Purging properties-cpp-dev (0.0.2-r0) (46/81) Purging jsoncpp-dev (1.9.5-r0) (47/81) Purging jsoncpp (1.9.5-r0) (48/81) Purging gtest-dev (1.11.0_git20220205-r1) (49/81) Purging cmake (3.23.1-r0) (50/81) Purging gmock (1.11.0_git20220205-r1) (51/81) Purging gtest (1.11.0_git20220205-r1) (52/81) Purging py3-httpbin (0.7.0-r3) (53/81) Purging py3-flask (2.1.1-r0) (54/81) Purging py3-click (8.0.4-r0) (55/81) Purging py3-itsdangerous (2.1.1-r0) (56/81) Purging py3-jinja2 (3.0.3-r1) (57/81) Purging py3-markupsafe (2.1.1-r0) (58/81) Purging py3-werkzeug (2.0.3-r0) (59/81) Purging py3-six (1.16.0-r1) (60/81) Purging py3-raven (6.10.0-r4) (61/81) Purging py3-blinker (1.4-r7) (62/81) Purging py3-brotli (1.0.9-r6) (63/81) Purging py3-decorator (5.1.1-r0) (64/81) Purging python3 (3.10.3-r0) (65/81) Purging boost1.77-iostreams (1.77.0-r4) (66/81) Purging libarchive (3.6.1-r0) (67/81) Purging libbz2 (1.0.8-r1) (68/81) Purging rhash-libs (1.4.2-r2) (69/81) Purging libuv (1.44.1-r0) (70/81) Purging boost1.77-chrono (1.77.0-r4) (71/81) Purging boost1.77-context (1.77.0-r4) (72/81) Purging boost1.77-log (1.77.0-r4) (73/81) Purging boost1.77-thread (1.77.0-r4) (74/81) Purging boost1.77-filesystem (1.77.0-r4) (75/81) Purging gdbm (1.23-r0) (76/81) Purging mpdecimal (2.5.1-r1) (77/81) Purging readline (8.1.2-r0) (78/81) Purging sqlite-libs (3.38.0-r0) (79/81) Purging boost1.77-serialization (1.77.0-r4) (80/81) Purging openssl-dev (1.1.1n-r0) (81/81) Purging libexecinfo (1.1-r1) Executing busybox-1.35.0-r8.trigger OK: 1091 MiB in 97 packages