make -C tools/testing/selftests TARGETS="net" TEST_PROGS=test_bridge_backuup_port.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 14.11 [+14.11] # 14.11 [+0.00] Backup port # 14.12 [+0.00] ----------- # 16.18 [+2.06] TEST: Forwarding out of swp1 [ OK ] # 16.57 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 16.96 [+0.40] TEST: swp1 carrier off [ OK ] # 17.72 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 18.14 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 18.55 [+0.41] TEST: swp1 carrier on [ OK ] # 18.92 [+0.37] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.68 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 20.03 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 20.40 [+0.38] TEST: swp1 carrier off [ OK ] # 21.07 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 21.47 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 21.84 [+0.37] TEST: swp1 carrier on [ OK ] # 22.60 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 23.07 [+0.48] TEST: No forwarding out of vx0 [ OK ] # 23.53 [+0.46] TEST: swp1 administratively down [ OK ] # 24.20 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 24.60 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 25.12 [+0.52] TEST: swp1 administratively up [ OK ] # 25.85 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 26.17 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 26.45 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 27.20 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 27.60 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 27.97 [+0.37] TEST: swp1 carrier off [ OK ] # 28.67 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 29.07 [+0.39] TEST: No forwarding out of vx0 [ OK ] DETECTED CRASH, lowering timeout # 40.51 [+11.44] # 40.51 [+0.00] Backup nexthop ID # 40.51 [+0.00] ----------------- # 42.17 [+1.66] TEST: vx0 configured as backup port of swp1 [ OK ] # 42.65 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 42.94 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 43.17 [+0.23] TEST: swp1 carrier off [ OK ] # 43.63 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 43.93 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 44.23 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 44.50 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 44.76 [+0.26] TEST: swp1 carrier on [ OK ] # 44.96 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 45.46 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 45.77 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 46.03 [+0.26] TEST: swp1 carrier off [ OK ] # 46.50 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 46.75 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 47.05 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 47.30 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.55 [+0.24] TEST: swp1 carrier on [ OK ] # 48.09 [+0.54] TEST: Forwarding out of swp1 [ OK ] # 48.40 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 48.69 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 48.97 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.20 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.69 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 49.97 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 50.29 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 50.59 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.88 [+0.28] TEST: swp1 carrier off [ OK ] # 51.38 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 51.67 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 51.94 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 52.20 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.12 [+10.92] # 63.12 [+0.00] Backup nexthop ID - invalid IDs # 63.13 [+0.00] ------------------------------- # 64.72 [+1.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.88 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 65.13 [+0.25] TEST: swp1 carrier off [ OK ] # 65.65 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 65.91 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 66.15 [+0.24] TEST: Forwarding using backup nexthop ID [ OK ] # 66.24 [+0.10] TEST: No Tx drop increase [ OK ] # 66.43 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 66.87 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 67.13 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 67.39 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 67.48 [+0.08] TEST: Tx drop increased [ OK ] # 67.73 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.21 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 68.47 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 68.73 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 68.84 [+0.10] TEST: Tx drop increased [ OK ] # 68.99 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.51 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 69.76 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 70.03 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 70.13 [+0.10] TEST: Tx drop increased [ OK ] # 70.56 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.01 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 71.28 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 71.53 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 71.62 [+0.09] TEST: Tx drop increased [ OK ] # 82.77 [+11.15] # 82.77 [+0.00] Backup nexthop ID - ping # 82.77 [+0.00] ------------------------ # 86.56 [+3.79] TEST: Ping with backup nexthop ID [ OK ] # 91.88 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 103.19 [+11.31] # 103.19 [+0.00] Backup nexthop ID - torture test # 103.19 [+0.00] -------------------------------- # 133.89 [+30.70] TEST: Torture test [ OK ] # 134.56 [+0.67] # 134.56 [+0.00] Tests passed: 89 # 134.57 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.sh make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests' xx__-> echo $? 0 xx__->