est(s). 21/25 Test #20: test_thread_echo_tcp_connect ........... Passed 3.42 sec test 25 Start 25: test_fork_thread_deadlock 25: Test command: /builddir/build/BUILD/socket_wrapper-1.2.5/riscv64-redhat-linux-gnu/tests/test_fork_thread_deadlock 25: Environment variables: 25: LD_PRELOAD=/builddir/build/BUILD/socket_wrapper-1.2.5/riscv64-redhat-linux-gnu/src/libsocket_wrapper.so 25: Test timeout computed to be: 1500 24: [==========] Running 1 test(s). 24: [ RUN ] test_sendmsg_recvmsg_fd 25: [==========] Running 1 test(s). 25: [ RUN ] test_swrap_fork_pthread 24: [ OK ] test_sendmsg_recvmsg_fd 24: [==========] 1 test(s) run. 24: [ PASSED ] 1 test(s). 22/25 Test #24: test_sendmsg_recvmsg_fd ................ Passed 0.25 sec 25: [ OK ] test_swrap_fork_pthread 25: [==========] 1 test(s) run. 25: [ PASSED ] 1 test(s). 23/25 Test #25: test_fork_thread_deadlock .............. Passed 0.22 sec 22: [ OK ] test_sendmsg_recvmsg_ipv4_null 22: [==========] 2 test(s) run. 22: [ PASSED ] 1 test(s). 14: [ OK ] test_sendmsg_recvmsg_ipv4_connected_namelen 14: [==========] 5 test(s) run. 14: [ PASSED ] 3 test(s). 24/25 Test #22: test_thread_echo_tcp_sendmsg_recvmsg ...***Failed 4.46 sec [==========] Running 2 test(s). [ RUN ] test_sendmsg_recvmsg_ipv4 Could not run test: 0xffffffffffffffff != 0 [ LINE ] --- /builddir/build/BUILD/socket_wrapper-1.2.5/tests/torture.c:193: error: Failure!Test setup failed [ ERROR ] test_sendmsg_recvmsg_ipv4 [ RUN ] test_sendmsg_recvmsg_ipv4_null [ OK ] test_sendmsg_recvmsg_ipv4_null [==========] 2 test(s) run. [ PASSED ] 1 test(s). 25/25 Test #14: test_echo_udp_sendmsg_recvmsg ..........***Failed 9.96 sec [==========] Running 5 test(s). [ RUN ] test_sendmsg_recvmsg_ipv4 [ OK ] test_sendmsg_recvmsg_ipv4 [ RUN ] test_sendmsg_recvmsg_ipv6 WARNING the echo server is still running! [ OK ] test_sendmsg_recvmsg_ipv6 [ RUN ] test_sendmsg_recvmsg_ipv4_connected Could not run test: 0xffffffffffffffff != 0 [ LINE ] --- /builddir/build/BUILD/socket_wrapper-1.2.5/tests/torture.c:193: error: Failure!Test setup failed [ ERROR ] test_sendmsg_recvmsg_ipv4_connected [ RUN ] test_sendmsg_recvmsg_ipv4_connected_null Could not run test: 0xffffffffffffffff != 0 [ LINE ] --- /builddir/build/BUILD/socket_wrapper-1.2.5/tests/torture.c:193: error: Failure!Test setup failed [ ERROR ] test_sendmsg_recvmsg_ipv4_connected_null [ RUN ] test_sendmsg_recvmsg_ipv4_connected_namelen [ OK ] test_sendmsg_recvmsg_ipv4_connected_namelen [==========] 5 test(s) run. [ PASSED ] 3 test(s). 52% tests passed, 12 tests failed out of 25 Total Test time (real) = 21.94 sec The following tests FAILED: 5 - test_echo_tcp_connect (Failed) 6 - test_echo_tcp_bind (Failed) 7 - test_echo_tcp_socket_options (Failed) 8 - test_echo_tcp_sendmsg_recvmsg (Failed) 10 - test_echo_tcp_writev_readv (Failed) 11 - test_echo_tcp_get_peer_sock_name (Failed) 12 - test_echo_udp_sendto_recvfrom (Failed) 13 - test_echo_udp_send_recv (Failed) 14 - test_echo_udp_sendmsg_recvmsg (Failed) 21 - test_thread_echo_tcp_write_read (Failed) 22 - test_thread_echo_tcp_sendmsg_recvmsg (Failed) 23 - test_thread_echo_udp_send_recv (Failed) Errors while running CTest error: Bad exit status from /var/tmp/rpm-tmp.RgtHqI (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RgtHqI (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/socket_wrapper.spec