tests_ice fails with addr4.size() != 0 in container
Hi,
I'm building dhtnet from commit 024c46fb, using the Jami pjproject fork at commit e12ea3bfa81cc4f46031599f80707e81133f1353, and I'm newly getting this test failure:
starting phase `check'
Running tests...
/gnu/store/gl26kr5v6ch5lc3ignly61kb224drijc-cmake-minimal-3.24.2/bin/ctest --force-new-ctest-process
Test project /tmp/guix-build-dhtnet-0.0.1-2.024c46f.drv-0/build
Start 1: tests_certstore
1/3 Test #1: tests_certstore .................. Passed 36.88 sec
Start 2: tests_fileutils
2/3 Test #2: tests_fileutils .................. Passed 0.02 sec
Start 3: tests_ice
3/3 Test #3: tests_ice ........................***Failed 175.30 sec
.15:42:01.296 pjlib !epoll I/O Queue created (flags:0x1, ptr=0x48d498)
15:42:01.297 0x485600 Creating ICE stream transport with 1 component(s)
15:42:01.297 tcpstun0x4978c0 TCP connected
15:42:01.297 tcpstun0x4978c0 Failed in enumerating interfaces for STUN info, returning default address only: Not found (PJ_ENOTFOUND)
15:42:01.297 tcpstun0x4b3a00 TCP connected
15:42:01.298 tcpstun0x4b3a00 Failed in enumerating interfaces for STUN info, returning default address only: Not found (PJ_ENOTFOUND)
15:42:01.298 0x485600 Error: no candidate is created due to settings
15:42:01.298 0x485600 ICE stream transport 0x7ffff4d35038 destroy request..
15:42:01.298 tcpstun0x4978c0 STUN sock 0x4979f8 request, ref_cnt=8
15:42:01.298 tcpstun0x4978c0 STUN session 0x4b0a18 destroy request, ref_cnt=8
15:42:01.298 tcpstun0x4b3a00 STUN sock 0x4b45a8 request, ref_cnt=5
15:42:01.298 tcpstun0x4b3a00 STUN session 0x4cd1b8 destroy request, ref_cnt=5
15:42:01.298 0x485600 ICE stream transport 0x7ffff4d35038 destroyed
15:42:01.298 STUN sock 0x4979f8 destroyed
15:42:01.298 stun_session.c STUN session 0x4b0a18 destroyed
15:42:01.298 STUN sock 0x4b45a8 destroyed
15:42:01.298 stun_session.c STUN session 0x4cd1b8 destroyed
E.F.F.F.F
!!!FAILURES!!!
Test Results:
Run: 5 Failures: 4 Errors: 1
1) test: dhtnet::test::IceTest::testRawIceConnection (E)
uncaught exception of type std::exception (or derived).
- pj_ice_strans_create() failed
2) test: dhtnet::test::IceTest::testTurnMasterIceConnection (F) line: 213 /tmp/guix-build-dhtnet-0.0.1-2.024c46f.drv-0/source/tests/ice.cpp
assertion failed
- Expression: addr4.size() != 0
3) test: dhtnet::test::IceTest::testTurnSlaveIceConnection (F) line: 364 /tmp/guix-build-dhtnet-0.0.1-2.024c46f.drv-0/source/tests/ice.cpp
assertion failed
- Expression: addr4.size() != 0
4) test: dhtnet::test::IceTest::testReceiveTooManyCandidates (F) line: 482 /tmp/guix-build-dhtnet-0.0.1-2.024c46f.drv-0/source/tests/ice.cpp
assertion failed
- Expression: addr4.size() != 0
5) test: dhtnet::test::IceTest::testCompleteOnFailure (F) line: 604 /tmp/guix-build-dhtnet-0.0.1-2.024c46f.drv-0/source/tests/ice.cpp
assertion failed
- Expression: addr4.size() != 0
67% tests passed, 1 tests failed out of 3
Total Test time (real) = 212.23 sec
The following tests FAILED:
3 - tests_ice (Failed)
Errors while running CTest
make: *** [Makefile:74: test] Error 8
Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("test" "-j" "4") exit-status: 2 term-signal: #f stop-signal: #f>
phase `check' failed after 212.5 seconds
command "make" "test" "-j" "4" failed with status 2