0.10.6: test suite fails in `torture_proxycommand` unit
Looks like something is wrong with one unit.
Test suite output:
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/libssh-0.10.6/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/libssh-0.10.6/x86_64-redhat-linux-gnu
Start 1: torture_buffer
Start 2: torture_bytearray
Start 3: torture_callbacks
Start 4: torture_crypto
Start 5: torture_init
Start 6: torture_list
Start 7: torture_misc
Start 8: torture_config
Start 9: torture_options
Start 10: torture_isipaddr
Start 11: torture_knownhosts_parsing
Start 12: torture_hashes
Start 13: torture_packet_filter
Start 14: torture_temp_dir
Start 15: torture_temp_file
Start 16: torture_push_pop_dir
Start 17: torture_session_keys
Start 18: torture_tokens
Start 19: torture_packet
Start 20: torture_keyfiles
Start 21: torture_pki
Start 22: torture_pki_rsa
Start 23: torture_pki_ed25519
Start 24: torture_channel
Start 25: torture_bind_config
Start 26: torture_moduli
Start 27: torture_pki_rsa_uri
Start 28: torture_pki_ecdsa_uri
Start 29: torture_pki_ecdsa
Start 30: torture_rand
Start 31: torture_threads_init
Start 32: torture_threads_buffer
Start 33: torture_threads_crypto
Start 34: torture_threads_pki_rsa
Start 35: torture_algorithms
Start 36: torture_client_config
Start 37: torture_connect
Start 38: torture_hostkey
Start 39: torture_auth
Start 40: torture_rekey
Start 41: torture_forward
Start 42: torture_knownhosts
Start 43: torture_knownhosts_verify
Start 44: torture_proxycommand
Start 45: torture_session
Start 46: torture_request_env
Start 47: torture_client_global_requests
Start 48: torture_scp
1/62 Test #2: torture_bytearray ................ Passed 0.17 sec
Start 49: torture_auth_pkcs11
2/62 Test #3: torture_callbacks ................ Passed 0.17 sec
Start 50: torture_sftp_init
3/62 Test #4: torture_crypto ................... Passed 0.18 sec
Start 51: torture_sftp_ext
4/62 Test #5: torture_init ..................... Passed 0.19 sec
Start 52: torture_sftp_canonicalize_path
5/62 Test #6: torture_list ..................... Passed 0.19 sec
Start 53: torture_sftp_dir
6/62 Test #7: torture_misc ..................... Passed 0.21 sec
Start 54: torture_sftp_read
7/62 Test #8: torture_config ................... Passed 0.22 sec
Start 55: torture_sftp_fsync
8/62 Test #9: torture_options .................. Passed 0.24 sec
Start 56: torture_override
9/62 Test #10: torture_isipaddr ................. Passed 0.25 sec
Start 57: pkd_hello_i1
10/62 Test #11: torture_knownhosts_parsing ....... Passed 0.27 sec
Start 58: pkd_hello_rekey
11/62 Test #12: torture_hashes ................... Passed 0.28 sec
Start 59: torture_server
12/62 Test #13: torture_packet_filter ............ Passed 0.29 sec
Start 60: torture_server_auth_kbdint
13/62 Test #14: torture_temp_dir ................. Passed 0.31 sec
Start 61: torture_server_config
14/62 Test #15: torture_temp_file ................ Passed 0.32 sec
Start 62: torture_server_algorithms
15/62 Test #16: torture_push_pop_dir ............. Passed 0.33 sec
16/62 Test #17: torture_session_keys ............. Passed 0.32 sec
17/62 Test #18: torture_tokens ................... Passed 0.32 sec
18/62 Test #20: torture_keyfiles ................. Passed 0.32 sec
19/62 Test #24: torture_channel .................. Passed 0.32 sec
20/62 Test #26: torture_moduli ................... Passed 0.32 sec
21/62 Test #31: torture_threads_init ............. Passed 0.31 sec
22/62 Test #33: torture_threads_crypto ........... Passed 0.30 sec
23/62 Test #51: torture_sftp_ext ................. Passed 0.18 sec
24/62 Test #29: torture_pki_ecdsa ................ Passed 0.53 sec
25/62 Test #44: torture_proxycommand .............***Failed 0.46 sec
[==========] tests: Running 5 test(s).
OK: SSH-2.0-OpenSSH_9.3
[ RUN ] torture_options_set_proxycommand
[ SKIPPED ] torture_options_set_proxycommand
[ RUN ] torture_options_set_proxycommand_notexist
[ OK ] torture_options_set_proxycommand_notexist
[ RUN ] torture_options_set_proxycommand_ssh
[ ERROR ] --- ERROR: Invalid return code - Socket error: Connection reset by peer
[ LINE ] --- /home/tkloczko/rpmbuild/BUILD/libssh-0.10.6/tests/client/torture_proxycommand.c:137: error: Failure!
[ FAILED ] torture_options_set_proxycommand_ssh
[ RUN ] torture_options_set_proxycommand_ssh_stderr
[ ERROR ] --- ERROR: Invalid return code - Socket error: Connection reset by peer
[ LINE ] --- /home/tkloczko/rpmbuild/BUILD/libssh-0.10.6/tests/client/torture_proxycommand.c:162: error: Failure!
[ FAILED ] torture_options_set_proxycommand_ssh_stderr
[ RUN ] torture_options_proxycommand_injection
[ OK ] torture_options_proxycommand_injection
[==========] tests: 5 test(s) run.
[ PASSED ] 2 test(s).
[ SKIPPED ] tests: 1 test(s), listed below:
[ SKIPPED ] torture_options_set_proxycommand
1 SKIPPED TEST(S)
[ FAILED ] tests: 2 test(s), listed below:
[ FAILED ] torture_options_set_proxycommand_ssh
[ FAILED ] torture_options_set_proxycommand_ssh_stderr
2 FAILED TEST(S)
26/62 Test #36: torture_client_config ............ Passed 0.62 sec
27/62 Test #46: torture_request_env .............. Passed 0.55 sec
28/62 Test #60: torture_server_auth_kbdint ....... Passed 0.44 sec
29/62 Test #52: torture_sftp_canonicalize_path ... Passed 0.58 sec
30/62 Test #47: torture_client_global_requests ... Passed 0.64 sec
31/62 Test #59: torture_server ................... Passed 0.49 sec
32/62 Test #19: torture_packet ................... Passed 0.78 sec
33/62 Test #37: torture_connect .................. Passed 0.77 sec
34/62 Test #50: torture_sftp_init ................ Passed 0.74 sec
35/62 Test #43: torture_knownhosts_verify ........ Passed 0.87 sec
36/62 Test #56: torture_override ................. Passed 0.74 sec
37/62 Test #38: torture_hostkey .................. Passed 0.93 sec
38/62 Test #41: torture_forward .................. Passed 0.94 sec
39/62 Test #1: torture_buffer ................... Passed 1.06 sec
40/62 Test #53: torture_sftp_dir ................. Passed 0.87 sec
41/62 Test #55: torture_sftp_fsync ............... Passed 0.85 sec
42/62 Test #42: torture_knownhosts ............... Passed 0.99 sec
43/62 Test #25: torture_bind_config .............. Passed 1.18 sec
44/62 Test #54: torture_sftp_read ................ Passed 1.04 sec
45/62 Test #62: torture_server_algorithms ........ Passed 1.10 sec
46/62 Test #48: torture_scp ...................... Passed 1.34 sec
47/62 Test #22: torture_pki_rsa .................. Passed 1.49 sec
48/62 Test #27: torture_pki_rsa_uri .............. Passed 1.59 sec
49/62 Test #23: torture_pki_ed25519 .............. Passed 1.75 sec
50/62 Test #21: torture_pki ...................... Passed 1.93 sec
51/62 Test #45: torture_session .................. Passed 2.38 sec
52/62 Test #32: torture_threads_buffer ........... Passed 3.06 sec
53/62 Test #28: torture_pki_ecdsa_uri ............ Passed 3.43 sec
54/62 Test #49: torture_auth_pkcs11 .............. Passed 3.31 sec
55/62 Test #39: torture_auth ..................... Passed 3.56 sec
56/62 Test #58: pkd_hello_rekey .................. Passed 3.70 sec
57/62 Test #34: torture_threads_pki_rsa .......... Passed 5.59 sec
58/62 Test #61: torture_server_config ............ Passed 9.88 sec
59/62 Test #40: torture_rekey .................... Passed 19.21 sec
60/62 Test #30: torture_rand ..................... Passed 19.62 sec
61/62 Test #57: pkd_hello_i1 ..................... Passed 56.53 sec
62/62 Test #35: torture_algorithms ............... Passed 66.75 sec
98% tests passed, 1 tests failed out of 62
Total Test time (real) = 66.81 sec
The following tests FAILED:
44 - torture_proxycommand (Failed)
Errors while running CTest