[26-06-02 09:50:46] START switch_udp scenario: cases/switch_udp.sh header : build two switches and verify udp output connectivity topology: sw1 192.51.0.1 <----- UDP output ----- sw2 192.51.0.2; center switch accepts branch output over Docker mgmt network topology: # Topology: topology: # - Diagram: topology: # sw1 192.51.0.1 <----- UDP output ----- sw2 192.51.0.2 topology: # center switch accepts branch output over Docker mgmt network topology: # - Docker mgmt network: 172.254.0.0/24 topology: # sw1=172.254.0.241, sw2=172.254.0.242. topology: # - OpenLAN service network "example": 192.51.0.0/24 topology: # sw1=192.51.0.1, sw2=192.51.0.2. topology: # - Forwarding link: topology: # sw2 -> sw1 over UDP output. topology: # Validation: topology: # (see scenario assertions in this case) Started switch pause container: tests-sw-udp1-pause Started switch frr container: tests-sw-udp1-frr Started switch ipsec container: tests-sw-udp1-ipsec Started switch container: tests-sw-udp1 [26-06-02 09:50:46][ASSERT#0001][expect] at cases/switch_udp.sh:49 fn=setup_sw1 retry=30 cmd="docker logs -f tests-sw-udp1" expect="Http.Start" 2026/06/02 09:50:47 INFO|root|UdpServer.Listen: udp://0.0.0.0:10002 2026/06/02 09:50:47 INFO|root|Wait: ... 2026/06/02 09:50:47 INFO|root|TcpServer.Listen: tcp://0.0.0.0:10002 2026/06/02 09:50:47 INFO|root|Http.Start 0.0.0.0:10000 [26-06-02 09:50:47][ASSERT#0001][OK] cost=1.023s [26-06-02 09:50:47][ASSERT#0002][cmd] at cases/switch_udp.sh:51 fn=setup_sw1 cmd="docker exec tests-sw-udp1 openlan network --name example add --address 192.51.0.1/24" [26-06-02 09:50:48][ASSERT#0002][OK] cost=0.231s [26-06-02 09:50:48][ASSERT#0003][match] at cases/switch_udp.sh:52 fn=setup_sw1 retry=1 cmd="docker exec tests-sw-udp1 openlan network ls" expect="name: example" bridge: address: 192.51.0.1/24 name: br-example name: example snat: enable subnet: netmask: 255.255.255.0 name: example openvpnStatus: disabled - config: name: ipsec [26-06-02 09:50:48][ASSERT#0003][OK] cost=0.068s [26-06-02 09:50:48][ASSERT#0004][cmd] at cases/switch_udp.sh:53 fn=setup_sw1 cmd="docker exec tests-sw-udp1 openlan user add --name t1@example --password 123456" # total 1 username password role lease t1@example 123456 guest 2027-06-02T09 [26-06-02 09:50:48][ASSERT#0004][OK] cost=0.063s Started switch pause container: tests-sw-udp2-pause Started switch frr container: tests-sw-udp2-frr Started switch ipsec container: tests-sw-udp2-ipsec Started switch container: tests-sw-udp2 [26-06-02 09:50:49][ASSERT#0005][expect] at cases/switch_udp.sh:71 fn=setup_sw2 retry=30 cmd="docker logs -f tests-sw-udp2" expect="Http.Start" 2026/06/02 09:50:49 INFO|root|Wait: ... 2026/06/02 09:50:49 INFO|root|UdpServer.Listen: udp://0.0.0.0:10002 2026/06/02 09:50:49 INFO|root|TcpServer.Listen: tcp://0.0.0.0:10002 2026/06/02 09:50:49 INFO|root|Http.Start 0.0.0.0:10000 [26-06-02 09:50:50][ASSERT#0005][OK] cost=1.037s [26-06-02 09:50:50][ASSERT#0006][cmd] at cases/switch_udp.sh:73 fn=setup_sw2 cmd="docker exec tests-sw-udp2 openlan network --name example add --address 192.51.0.2/24" [26-06-02 09:50:50][ASSERT#0006][OK] cost=0.255s [26-06-02 09:50:50][ASSERT#0007][cmd] at cases/switch_udp.sh:75 fn=setup_sw2 cmd="docker exec tests-sw-udp2 openlan network --name example output add --remote 172.254.0.241 --protocol udp --secret t1:123456 --crypt aes-128:ea64d5b0c96c" [26-06-02 09:50:50][ASSERT#0007][OK] cost=0.060s [26-06-02 09:50:50][ASSERT#0008][match] at cases/switch_udp.sh:79 fn=test_ping retry=15 cmd="docker exec tests-sw-udp2 openlan network --name example output ls" expect="state: authenticated" protocol: udp remote: 172.254.0.241 secret: t1:123456 state: authenticated [26-06-02 09:50:52][ASSERT#0008][OK] cost=2.206s [26-06-02 09:50:52][ASSERT#0009][match] at cases/switch_udp.sh:80 fn=test_ping retry=20 cmd="docker exec tests-sw-udp2 ping -c 3 192.51.0.1" expect="bytes from" PING 192.51.0.1 (192.51.0.1) 56(84) bytes of data. 64 bytes from 192.51.0.1: icmp_seq=1 ttl=64 time=2076 ms 64 bytes from 192.51.0.1: icmp_seq=2 ttl=64 time=1026 ms 64 bytes from 192.51.0.1: icmp_seq=3 ttl=64 time=2.52 ms --- 192.51.0.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2072ms [26-06-02 09:50:54][ASSERT#0009][OK] cost=2.139s [26-06-02 09:50:54][ASSERT#0010][cmd] at cases/switch_udp.sh:82 fn=test_ping cmd="docker exec tests-sw-udp1 openlan reload --save" Save configuraion ... success # reloading pid:42 .... PID 42 CMD: /usr/bin/openlan-switch -conf:dir /etc/openlan/switch -log:level 20 # max wait 60s... # during 1s, new pid:441 ... PID 441 CMD: /usr/bin/openlan-switch -conf:dir /etc/openlan/switch -log:level 20 [26-06-02 09:50:55][ASSERT#0010][OK] cost=1.080s [26-06-02 09:50:55][ASSERT#0011][cmd] at cases/switch_udp.sh:83 fn=test_ping cmd="docker exec tests-sw-udp2 openlan reload --save" Save configuraion ... success # reloading pid:42 .... PID 42 CMD: /usr/bin/openlan-switch -conf:dir /etc/openlan/switch -log:level 20 # max wait 60s... # during 1s, new pid:480 ... PID 480 CMD: /usr/bin/openlan-switch -conf:dir /etc/openlan/switch -log:level 20 [26-06-02 09:50:56][ASSERT#0011][OK] cost=1.066s [26-06-02 09:50:57][ASSERT#0012][cmd] at cases/switch_udp.sh:85 fn=test_ping cmd="docker exec tests-sw-udp2 ip neigh flush dev hi-example" [26-06-02 09:50:57][ASSERT#0012][OK] cost=0.058s [26-06-02 09:50:57][ASSERT#0013][match] at cases/switch_udp.sh:86 fn=test_ping retry=15 cmd="docker exec tests-sw-udp2 openlan network --name example output ls" expect="state: authenticated" remote: 172.254.0.241 rxBytes: 472 secret: t1:123456 state: authenticated txBytes: 700 [26-06-02 09:51:02][ASSERT#0013][OK] cost=5.437s [26-06-02 09:51:02][ASSERT#0014][match] at cases/switch_udp.sh:87 fn=test_ping retry=20 cmd="docker exec tests-sw-udp2 ping -c 3 192.51.0.1" expect="bytes from" PING 192.51.0.1 (192.51.0.1) 56(84) bytes of data. 64 bytes from 192.51.0.1: icmp_seq=1 ttl=64 time=1.16 ms 64 bytes from 192.51.0.1: icmp_seq=2 ttl=64 time=0.961 ms 64 bytes from 192.51.0.1: icmp_seq=3 ttl=64 time=2.06 ms --- 192.51.0.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms [26-06-02 09:51:08][ASSERT#0014][OK] cost=6.209s [26-06-02 09:51:08][ASSERT#0015][cmd] at cases/switch_udp.sh:91 fn=test_ping cmd="docker exec tests-sw-udp2 openlan network --name example output rm --device udp:172.254.0.241:t1" [26-06-02 09:51:08][ASSERT#0015][OK] cost=0.069s [26-06-02 09:51:08][ASSERT#0016][unmatch] at cases/switch_udp.sh:92 fn=test_ping retry=15 cmd="docker exec tests-sw-udp2 ping -c 3 192.51.0.1" unexpected="bytes from" Last output: PING 192.51.0.1 (192.51.0.1) 56(84) bytes of data. From 192.51.0.2 icmp_seq=1 Destination Host Unreachable From 192.51.0.2 icmp_seq=2 Destination Host Unreachable From 192.51.0.2 icmp_seq=3 Destination Host Unreachable --- 192.51.0.1 ping statistics --- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2077ms pipe 3 [26-06-02 09:52:29][ASSERT#0016][OK] cost=80.287s [26-06-02 09:52:29] END switch_udp status=PASS cost=103.665s