Open alfreb opened 1 week ago
The first test run after creating the network bridge fails every time. Subsequent runs succeed.
Repro:
sudo ip link delete bridge43
~/vmrunner/vmrunner/bin/create_bridge.sh
nix-shell --pure $CCACHE_FLAG --argstr unikernel ./test/net/integration/udp --run ./test.py
<vm> [ UDP test service ] Listening on port 4242 <Test.py> Performing UDP6 tests [ WARNING ] Exception raised in event callback: Traceback (most recent call last): File "/nix/store/aw5c2j3q34fd8fnm7s2qdwipxddi40ll-python3-3.11.9-env/lib/python3.11/site-packages/vmrunner/vmrunner.py", line 1081, in trigger_event res = func(line) ^^^^^^^^^^ File "/run/user/1001/tmp.6FGGRVPn6n/./test.py", line 75, in UDP6_test sock.sendto(data, addr) OSError: [Errno 99] Cannot assign requested address
The first test run after creating the network bridge fails every time. Subsequent runs succeed.
Repro:
sudo ip link delete bridge43
~/vmrunner/vmrunner/bin/create_bridge.sh
nix-shell --pure $CCACHE_FLAG --argstr unikernel ./test/net/integration/udp --run ./test.py