Open gavv opened 9 months ago
Another log: https://github.com/roc-streaming/roc-toolkit/issues/624#issue-1971397405
If no network interface is up except localhost on Ubuntu 20.04, the test
udp_ports::add_multicast_receiver
fails:
23:28:17.439 [1513444] [err] roc_netio: [udp_receiver_port.cpp:311] udp receiver: <udprecv 0x7ffff00022f8 bind=224.0.0.1:0>: uv_udp_set_membership(): [ENODEV] no such device
23:28:17.439 [1513444] [err] roc_netio: [network_loop.cpp:404] network loop: can't add udp receiver port 224.0.0.1:0: can't start udp receiver
23:28:17.439 [1513444] [dbg] roc_netio: [udp_receiver_port.cpp:137] udp receiver: <udprecv 0x7ffff00022f8 bind=224.0.0.1:0>: initiating asynchronous close
23:28:17.439 [1513444] [dbg] roc_netio: [udp_receiver_port.cpp:165] udp receiver: <udprecv 0x7ffff00022f8 bind=224.0.0.1:0>: closed port
23:28:17.440 [1513444] [dbg] roc_netio: [network_loop.cpp:263] network loop: asynchronous close finished: port <udprecv 0x7ffff00022f8 bind=224.0.0.1:0>
When network interfaces are up, but there is no Internet connection, one test in roc-test-netio hangs for a while. However after a while all tests pass.
When all network interfaces, except loopback, are down, some tests in roc-test-netio and roc-test-public-api fail:
(tested on Linux)
We need to investigate the reason and if possible, make tests passing without delays when there is no Internet.
Note: use
-v
option to enable logs in tests.