test-icetcp failing with debugging
We merged the libnice 0.1.15 update on Nix but on our build server, some more test failures appeared. When I tried setting G_MESSAGES_DEBUG=all
in the environment, test-icetcp
started failing (maybe 20% of attempts):
Ok: 37
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
The output from the failed tests:
29/38 test-icetcp FAIL 0.32 s (killed by signal 11 SIGSEGV)
--- command ---
BUILT_WITH_MESON='1' /build/libnice-0.1.15/build/tests/nice-test-icetcp
--- stdout ---
(process:5405): libnice-tests-DEBUG: 19:39:40.916: test-icetcp: TEST STARTS / running test for the 1st time
(process:5405): libnice-DEBUG: 19:39:40.917: Agent 0x695000 : Property set, role is already "controlling".
(process:5405): libnice-DEBUG: 19:39:40.917: Agent 0x695150 : Property set, changing role to "controlled".
(process:5405): libnice-DEBUG: 19:39:40.917: Created NiceStream (1 created, 0 destroyed)
(process:5405): libnice-DEBUG: 19:39:40.917: Created NiceComponent (1 created, 0 destroyed)
(process:5405): libnice-DEBUG: 19:39:40.917: Created NiceComponent (2 created, 0 destroyed)
(process:5405): libnice-DEBUG: 19:39:40.917: Agent 0x695000 : allocating stream id 1 (0x6bfa30)
(process:5405): libnice-DEBUG: 19:39:40.917: Created NiceStream (2 created, 0 destroyed)
(process:5405): libnice-DEBUG: 19:39:40.917: Created NiceComponent (3 created, 0 destroyed)
(process:5405): libnice-DEBUG: 19:39:40.917: Created NiceComponent (4 created, 0 destroyed)
(process:5405): libnice-DEBUG: 19:39:40.917: Agent 0x695150 : allocating stream id 1 (0x6c7eb0)
(process:5405): libnice-DEBUG: 19:39:40.917: Agent 0x695000 : In ICE-FULL mode, starting candidate gathering.
(process:5405): libnice-DEBUG: 19:39:40.917: Agent 0x695000: Trying to create host candidate on port 0
(process:5405): GUPnP-ContextManager-Linux-DEBUG: 19:39:40.917: Bootstrap: Querying all interfaces
(process:5405): GUPnP-ContextManager-Linux-DEBUG: 19:39:40.917: Received RTM_NEWLINK
(process:5405): libnice-DEBUG: 19:39:40.917: Failed to convert address to string for interface ?lo?.
(process:5405): libnice-DEBUG: 19:39:40.918: Interface: lo
(process:5405): GUPnP-ContextManager-Linux-DEBUG: 19:39:40.918: Bootstrap: Querying all addresses
(process:5405): libnice-DEBUG: 19:39:40.918: IP Address: 127.0.0.1
(process:5405): libnice-DEBUG: 19:39:40.918: Interface: lo
(process:5405): libnice-DEBUG: 19:39:40.918: IP Address: ::1
(process:5405): GUPnP-ContextManager-Linux-DEBUG: 19:39:40.918: Received RTM_NEWADDR
(process:5405): libnice-DEBUG: 19:39:40.918: Component 0x6c00f0: Attach source (stream 1).
(process:5405): libnice-DEBUG: 19:39:40.918: Agent 0x695000: Trying to create host candidate on port 0
(process:5405): libnice-DEBUG: 19:39:40.918: Failed to convert address to string for interface ?lo?.
(process:5405): libnice-DEBUG: 19:39:40.918: Interface: lo
(process:5405): libnice-DEBUG: 19:39:40.918: IP Address: 127.0.0.1
(process:5405): libnice-DEBUG: 19:39:40.918: Interface: lo
(process:5405): libnice-DEBUG: 19:39:40.918: IP Address: ::1
(process:5405): libnice-DEBUG: 19:39:40.918: Agent 0x695000: Could not set IPV6 socket ToS: Protocol not available
(process:5405): libnice-DEBUG: 19:39:40.918: Component 0x6c00f0: Attach source (stream 1).
(process:5405): libnice-DEBUG: 19:39:40.918: Attaching source 0x6da8d0 (socket 0x6d85e0, FD 12) to context 0x6c3af0
(process:5405): libnice-DEBUG: 19:39:40.918: Agent 0x695000: Adding UPnP port 127.0.0.1:58683
(process:5405): libnice-DEBUG: 19:39:40.918: Agent 0x695000: Trying to create host candidate on port 0
(process:5405): libnice-DEBUG: 19:39:40.918: Failed to convert address to string for interface ?lo?.
(process:5405): libnice-DEBUG: 19:39:40.918: Interface: lo
(process:5405): libnice-DEBUG: 19:39:40.918: IP Address: 127.0.0.1
(process:5405): libnice-DEBUG: 19:39:40.918: Interface: lo
(process:5405): libnice-DEBUG: 19:39:40.918: IP Address: ::1
(process:5405): libnice-DEBUG: 19:39:40.918: Component 0x6c3fc0: Attach source (stream 1).
(process:5405): libnice-DEBUG: 19:39:40.918: Agent 0x695000: Trying to create host candidate on port 0
(process:5405): libnice-DEBUG: 19:39:40.918: Failed to convert address to string for interface ?lo?.
(process:5405): libnice-DEBUG: 19:39:40.918: Interface: lo
(process:5405): libnice-DEBUG: 19:39:40.918: IP Address: 127.0.0.1
(process:5405): libnice-DEBUG: 19:39:40.919: Interface: lo
(process:5405): libnice-DEBUG: 19:39:40.919: IP Address: ::1
(process:5405): libnice-DEBUG: 19:39:40.919: Agent 0x695000: Could not set IPV6 socket ToS: Protocol not available
(process:5405): libnice-DEBUG: 19:39:40.919: Component 0x6c3fc0: Attach source (stream 1).
(process:5405): libnice-DEBUG: 19:39:40.919: Attaching source 0x6d08b0 (socket 0x6d86c0, FD 15) to context 0x6c7a00
(process:5405): libnice-DEBUG: 19:39:40.919: Agent 0x695000: Adding UPnP port 127.0.0.1:47653
(process:5405): libnice-tests-DEBUG: 19:39:40.919: test-icetcp:cb_new_candidate: 0x1
(process:5405): libnice-tests-DEBUG: 19:39:40.919: test-icetcp:cb_new_candidate: 0x1
(process:5405): libnice-tests-DEBUG: 19:39:40.919: test-icetcp:cb_new_candidate: 0x1
(process:5405): libnice-tests-DEBUG: 19:39:40.919: test-icetcp:cb_new_candidate: 0x1
(process:5405): libnice-DEBUG: 19:39:40.919: Agent 0x695150 : In ICE-FULL mode, starting candidate gathering.
(process:5405): libnice-DEBUG: 19:39:40.919: Agent 0x695150: Trying to create host candidate on port 0
(process:5405): libnice-DEBUG: 19:39:40.919: Failed to convert address to string for interface ?lo?.
(process:5405): libnice-DEBUG: 19:39:40.919: Interface: lo
(process:5405): libnice-DEBUG: 19:39:40.919: IP Address: 127.0.0.1
(process:5405): libnice-DEBUG: 19:39:40.919: Interface: lo
(process:5405): libnice-DEBUG: 19:39:40.919: IP Address: ::1
(process:5405): libnice-DEBUG: 19:39:40.919: Component 0x6c8310: Attach source (stream 1).
(process:5405): libnice-DEBUG: 19:39:40.919: Agent 0x695150: Trying to create host candidate on port 0
(process:5405): GUPnP-ContextManager-Linux-DEBUG: 19:39:40.919: Bootstrap: Querying all interfaces
(process:5405): GUPnP-ContextManager-Linux-DEBUG: 19:39:40.919: Received RTM_NEWLINK
(process:5405): libnice-DEBUG: 19:39:40.919: Failed to convert address to string for interface ?lo?.
(process:5405): libnice-DEBUG: 19:39:40.919: Interface: lo
(process:5405): GUPnP-ContextManager-Linux-DEBUG: 19:39:40.919: Bootstrap: Querying all addresses
(process:5405): libnice-DEBUG: 19:39:40.919: IP Address: 127.0.0.1
(process:5405): libnice-DEBUG: 19:39:40.919: Interface: lo
(process:5405): libnice-DEBUG: 19:39:40.919: IP Address: ::1
(process:5405): GUPnP-ContextManager-Linux-DEBUG: 19:39:40.919: Received RTM_NEWADDR
(process:5405): libnice-DEBUG: 19:39:40.919: Agent 0x695150: Could not set IPV6 socket ToS: Protocol not available
(process:5405): libnice-DEBUG: 19:39:40.919: Component 0x6c8310: Attach source (stream 1).
(process:5405): libnice-DEBUG: 19:39:40.919: Attaching source 0x6ded50 (socket 0x6d8c30, FD 19) to context 0x6cbc40
-------
Full log written to /build/libnice-0.1.15/build/meson-logs/testlog.txt
FAILED: meson-test