The Wayback Machine - https://web.archive.org/web/20210112002834/https://github.com/cpp-netlib/cpp-netlib/issues/855
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on Test 22 #855

Open
LazyHippogriff opened this issue Aug 23, 2018 · 2 comments
Open

Stuck on Test 22 #855

LazyHippogriff opened this issue Aug 23, 2018 · 2 comments

Comments

@LazyHippogriff
Copy link

@LazyHippogriff LazyHippogriff commented Aug 23, 2018

I ran the build.sh script while installing the library on my laptop(CentOS Linux release 7.5.1804 (Core)), but it gets stuck on Test #22 due to some reason.

Test project /root/cpp-netlib/build
Start 1: uri_parse_test
1/26 Test #1: uri_parse_test ...................................... Passed 0.01 sec
Start 2: uri_parse_scheme_test
2/26 Test #2: uri_parse_scheme_test ............................... Passed 0.00 sec
Start 3: uri_parse_path_test
3/26 Test #3: uri_parse_path_test ................................. Passed 0.00 sec
Start 4: uri_test
4/26 Test #4: uri_test ............................................ Passed 0.01 sec
Start 5: uri_encoding_test
5/26 Test #5: uri_encoding_test ................................... Passed 0.00 sec
Start 6: uri_normalization_test
6/26 Test #6: uri_normalization_test .............................. Passed 0.01 sec
Start 7: uri_comparison_test
7/26 Test #7: uri_comparison_test ................................. Passed 0.00 sec
Start 8: uri_reference_test
8/26 Test #8: uri_reference_test .................................. Passed 0.00 sec
Start 9: uri_resolve_test
9/26 Test #9: uri_resolve_test .................................... Passed 0.01 sec
Start 10: uri_builder_test
10/26 Test #10: uri_builder_test .................................... Passed 0.01 sec
Start 11: uri_stream_test
11/26 Test #11: uri_stream_test ..................................... Passed 0.00 sec
Start 12: optional_test
12/26 Test #12: optional_test ....................................... Passed 0.00 sec
Start 13: cpp-netlib-utils_thread_pool
13/26 Test #13: cpp-netlib-utils_thread_pool ........................ Passed 0.48 sec
Start 14: cpp-netlib-http-response_incremental_parser_test
14/26 Test #14: cpp-netlib-http-response_incremental_parser_test .... Passed 0.00 sec
Start 15: cpp-netlib-http-request_incremental_parser_test
15/26 Test #15: cpp-netlib-http-request_incremental_parser_test ..... Passed 0.00 sec
Start 16: cpp-netlib-http-request_linearize_test
16/26 Test #16: cpp-netlib-http-request_linearize_test .............. Passed 0.00 sec
Start 17: cpp-netlib-http-client_constructor_test
17/26 Test #17: cpp-netlib-http-client_constructor_test ............. Passed 0.01 sec
Start 18: cpp-netlib-http-client_get_test
18/26 Test #18: cpp-netlib-http-client_get_test ..................... Passed 2.94 sec
Start 19: cpp-netlib-http-client_get_different_port_test
19/26 Test #19: cpp-netlib-http-client_get_different_port_test ...... Passed 2.91 sec
Start 20: cpp-netlib-http-client_get_ready_test
20/26 Test #20: cpp-netlib-http-client_get_ready_test ............... Passed 1.56 sec
Start 21: cpp-netlib-http-client_get_streaming_test
21/26 Test #21: cpp-netlib-http-client_get_streaming_test ........... Passed 0.01 sec
Start 22: cpp-netlib-http-server_constructor_test
^Cmake: *** [test] Interrupt

As you can see, I had to manually interrupt the process. Why is this happening? Are these tests necessary to be passed before I start using the library?

@LazyHippogriff LazyHippogriff changed the title Stuck on Test 21 Stuck on Test 22 Aug 23, 2018
@deanberris
Copy link
Member

@deanberris deanberris commented Aug 24, 2018

Can you say which version of the library you're using?

Are these tests necessary to be passed before I start using the library?

No, but running them is a good idea to ensure that what we're expecting to work just fine works. 😄

@ktrufant
Copy link

@ktrufant ktrufant commented Feb 21, 2019

I have this same issue @deanberris

Most recent commit 0a4d2a6 from 0.13-release branch.

Linux 4.15.0-45-generic 16.04.1-Ubuntu
Boost 1.69.0
libssl-dev1.0.2g

It is test 17/19 there,

root@a8bca1811f98:/app# make test
Running tests...
/usr/local/bin/ctest --force-new-ctest-process
Test project /app
Start 1: cpp-netlib-message_test
1/19 Test #1: cpp-netlib-message_test ............................. Passed 0.00 sec
Start 2: cpp-netlib-message_transform_test
2/19 Test #2: cpp-netlib-message_transform_test ................... Passed 0.00 sec
Start 3: cpp-netlib-utils_thread_pool
3/19 Test #3: cpp-netlib-utils_thread_pool ........................ Passed 0.33 sec
Start 4: cpp-netlib-uri_test
4/19 Test #4: cpp-netlib-uri_test ................................. Passed 0.02 sec
Start 5: cpp-netlib-uri_builder_test
5/19 Test #5: cpp-netlib-uri_builder_test ......................... Passed 0.01 sec
Start 6: cpp-netlib-uri_builder_stream_test
6/19 Test #6: cpp-netlib-uri_builder_stream_test .................. Passed 0.01 sec
Start 7: cpp-netlib-uri_encoding_test
7/19 Test #7: cpp-netlib-uri_encoding_test ........................ Passed 0.00 sec
Start 8: cpp-netlib-relative_uri_test
8/19 Test #8: cpp-netlib-relative_uri_test ........................ Passed 0.00 sec
Start 9: cpp-netlib-http-response_incremental_parser_test
9/19 Test #9: cpp-netlib-http-response_incremental_parser_test .... Passed 0.00 sec
Start 10: cpp-netlib-http-request_incremental_parser_test
10/19 Test #10: cpp-netlib-http-request_incremental_parser_test ..... Passed 0.00 sec
Start 11: cpp-netlib-http-request_linearize_test
11/19 Test #11: cpp-netlib-http-request_linearize_test .............. Passed 0.00 sec
Start 12: cpp-netlib-http-client_constructor_test
12/19 Test #12: cpp-netlib-http-client_constructor_test ............. Passed 0.00 sec
Start 13: cpp-netlib-http-client_get_test
13/19 Test #13: cpp-netlib-http-client_get_test ..................... Passed 7.29 sec
Start 14: cpp-netlib-http-client_get_different_port_test
14/19 Test #14: cpp-netlib-http-client_get_different_port_test ...... Passed 0.67 sec
Start 15: cpp-netlib-http-client_get_ready_test
15/19 Test #15: cpp-netlib-http-client_get_ready_test ............... Passed 0.46 sec
Start 16: cpp-netlib-http-client_get_streaming_test
16/19 Test #16: cpp-netlib-http-client_get_streaming_test ........... Passed 1.61 sec
Start 17: cpp-netlib-http-server_constructor_test
^CMakefile:97: recipe for target 'test' failed
make: *** [test] Interrupt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.