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 # 12.13 [+12.13] # 12.13 [+0.00] Backup port # 12.14 [+0.00] ----------- # 13.89 [+1.75] TEST: Forwarding out of swp1 [ OK ] # 14.21 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.54 [+0.33] TEST: swp1 carrier off [ OK ] # 15.17 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 15.50 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.82 [+0.32] TEST: swp1 carrier on [ OK ] # 16.06 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.70 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 17.07 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 17.38 [+0.32] TEST: swp1 carrier off [ OK ] # 18.01 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 18.33 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.66 [+0.33] TEST: swp1 carrier on [ OK ] # 19.27 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.59 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.91 [+0.32] TEST: swp1 administratively down [ OK ] # 20.54 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 20.87 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 21.20 [+0.33] TEST: swp1 administratively up [ OK ] # 21.76 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 22.09 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 22.32 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.00 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 23.33 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 23.66 [+0.33] TEST: swp1 carrier off [ OK ] # 24.25 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 24.59 [+0.35] TEST: No forwarding out of vx0 [ OK ] DETECTED CRASH, lowering timeout # 34.66 [+10.06] # 34.66 [+0.00] Backup nexthop ID # 34.66 [+0.00] ----------------- # 35.99 [+1.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.41 [+0.42] TEST: Forwarding out of swp1 [ OK ] # 36.64 [+0.23] TEST: No forwarding out of vx0 [ OK ] # 36.86 [+0.22] TEST: swp1 carrier off [ OK ] # 37.28 [+0.42] TEST: No forwarding out of swp1 [ OK ] # 37.53 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.76 [+0.23] TEST: No forwarding using backup nexthop ID [ OK ] # 38.01 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 38.20 [+0.19] TEST: swp1 carrier on [ OK ] # 38.34 [+0.14] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 38.74 [+0.40] TEST: Forwarding out of swp1 [ OK ] # 38.99 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 39.19 [+0.20] TEST: swp1 carrier off [ OK ] # 39.61 [+0.42] TEST: No forwarding out of swp1 [ OK ] # 39.85 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 40.07 [+0.22] TEST: Forwarding using backup nexthop ID [ OK ] # 40.30 [+0.23] TEST: No forwarding using VXLAN FDB entry [ OK ] # 40.49 [+0.19] TEST: swp1 carrier on [ OK ] # 40.89 [+0.40] TEST: Forwarding out of swp1 [ OK ] # 41.12 [+0.23] TEST: No forwarding out of vx0 [ OK ] # 41.36 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 41.61 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 41.76 [+0.15] TEST: No backup nexthop ID configured for swp1 [ OK ] # 42.16 [+0.40] TEST: Forwarding out of swp1 [ OK ] # 42.41 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 42.64 [+0.23] TEST: No forwarding using backup nexthop ID [ OK ] # 42.89 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.10 [+0.21] TEST: swp1 carrier off [ OK ] # 43.53 [+0.43] TEST: No forwarding out of swp1 [ OK ] # 43.77 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 44.01 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 44.26 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 54.19 [+9.94] # 54.19 [+0.00] Backup nexthop ID - invalid IDs # 54.19 [+0.00] ------------------------------- # 55.52 [+1.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 55.68 [+0.15] TEST: Valid nexthop as backup nexthop [ OK ] # 55.88 [+0.20] TEST: swp1 carrier off [ OK ] # 56.35 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.61 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 56.85 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 56.94 [+0.09] TEST: No Tx drop increase [ OK ] # 57.11 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 57.53 [+0.42] TEST: No forwarding out of swp1 [ OK ] # 57.79 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 58.04 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 58.11 [+0.08] TEST: Tx drop increased [ OK ] # 58.35 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 58.75 [+0.40] TEST: No forwarding out of swp1 [ OK ] # 59.00 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 59.26 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 59.34 [+0.08] TEST: Tx drop increased [ OK ] # 59.49 [+0.15] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 59.91 [+0.43] TEST: No forwarding out of swp1 [ OK ] # 60.16 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 60.40 [+0.23] TEST: No forwarding using backup nexthop ID [ OK ] # 60.48 [+0.08] TEST: Tx drop increased [ OK ] # 60.88 [+0.40] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 61.30 [+0.42] TEST: No forwarding out of swp1 [ OK ] # 61.56 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 61.84 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 61.92 [+0.08] TEST: Tx drop increased [ OK ] # 71.88 [+9.96] # 71.88 [+0.00] Backup nexthop ID - ping # 71.88 [+0.00] ------------------------ # 75.15 [+3.26] TEST: Ping with backup nexthop ID [ OK ] # 80.43 [+5.28] TEST: Ping after disabling backup nexthop ID [ OK ] # 90.28 [+9.85] # 90.28 [+0.00] Backup nexthop ID - torture test # 90.28 [+0.00] -------------------------------- # 120.87 [+30.59] TEST: Torture test [ OK ] # 121.42 [+0.55] # 121.42 [+0.00] Tests passed: 89 # 121.42 [+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__->