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-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 9.41 [+9.41] # 9.41 [+0.00] Backup port # 9.41 [+0.00] ----------- DETECTED CRASH, lowering timeout # 10.52 [+1.11] TEST: Forwarding out of swp1 [ OK ] # 10.74 [+0.21] TEST: No forwarding out of vx0 [ OK ] # 10.90 [+0.16] TEST: swp1 carrier off [ OK ] # 11.28 [+0.38] TEST: No forwarding out of swp1 [ OK ] # 11.49 [+0.22] TEST: No forwarding out of vx0 [ OK ] # 11.66 [+0.16] TEST: swp1 carrier on [ OK ] # 11.77 [+0.12] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.13 [+0.36] TEST: Forwarding out of swp1 [ OK ] # 12.34 [+0.20] TEST: No forwarding out of vx0 [ OK ] # 12.50 [+0.16] TEST: swp1 carrier off [ OK ] # 12.90 [+0.40] TEST: No forwarding out of swp1 [ OK ] # 13.14 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 13.30 [+0.16] TEST: swp1 carrier on [ OK ] # 13.68 [+0.38] TEST: Forwarding out of swp1 [ OK ] # 13.92 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 14.06 [+0.14] TEST: vx0 not configured as backup port of swp1 [ OK ] # 14.42 [+0.37] TEST: Forwarding out of swp1 [ OK ] # 14.65 [+0.23] TEST: No forwarding out of vx0 [ OK ] # 14.82 [+0.16] TEST: swp1 carrier off [ OK ] # 15.20 [+0.38] TEST: No forwarding out of swp1 [ OK ] # 15.40 [+0.20] TEST: No forwarding out of vx0 [ OK ] # 24.09 [+8.70] # 24.09 [+0.00] Backup nexthop ID # 24.09 [+0.00] ----------------- # 25.29 [+1.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 25.67 [+0.38] TEST: Forwarding out of swp1 [ OK ] # 25.90 [+0.23] TEST: No forwarding out of vx0 [ OK ] # 26.08 [+0.17] TEST: swp1 carrier off [ OK ] # 26.48 [+0.40] TEST: No forwarding out of swp1 [ OK ] # 26.70 [+0.22] TEST: Forwarding out of vx0 [ OK ] # 26.91 [+0.21] TEST: No forwarding using backup nexthop ID [ OK ] # 27.15 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 27.32 [+0.17] TEST: swp1 carrier on [ OK ] # 27.48 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 27.84 [+0.36] TEST: Forwarding out of swp1 [ OK ] # 28.06 [+0.22] TEST: No forwarding out of vx0 [ OK ] # 28.23 [+0.16] TEST: swp1 carrier off [ OK ] # 28.63 [+0.41] TEST: No forwarding out of swp1 [ OK ] # 28.86 [+0.23] TEST: Forwarding out of vx0 [ OK ] # 29.10 [+0.24] TEST: Forwarding using backup nexthop ID [ OK ] # 29.31 [+0.21] TEST: No forwarding using VXLAN FDB entry [ OK ] # 29.48 [+0.18] TEST: swp1 carrier on [ OK ] # 29.87 [+0.39] TEST: Forwarding out of swp1 [ OK ] # 30.10 [+0.23] TEST: No forwarding out of vx0 [ OK ] # 30.33 [+0.22] TEST: No forwarding using backup nexthop ID [ OK ] # 30.54 [+0.21] TEST: No forwarding using VXLAN FDB entry [ OK ] # 30.68 [+0.14] TEST: No backup nexthop ID configured for swp1 [ OK ] # 31.07 [+0.39] TEST: Forwarding out of swp1 [ OK ] # 31.28 [+0.21] TEST: No forwarding out of vx0 [ OK ] # 31.51 [+0.23] TEST: No forwarding using backup nexthop ID [ OK ] # 31.74 [+0.22] TEST: No forwarding using VXLAN FDB entry [ OK ] # 31.91 [+0.17] TEST: swp1 carrier off [ OK ] # 32.33 [+0.42] TEST: No forwarding out of swp1 [ OK ] # 32.55 [+0.22] TEST: Forwarding out of vx0 [ OK ] # 32.78 [+0.22] TEST: No forwarding using backup nexthop ID [ OK ] # 32.99 [+0.22] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.98 [+8.99] # 41.98 [+0.00] Backup nexthop ID - invalid IDs # 41.98 [+0.00] ------------------------------- # 43.16 [+1.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.28 [+0.12] TEST: Valid nexthop as backup nexthop [ OK ] # 43.46 [+0.18] TEST: swp1 carrier off [ OK ] # 43.83 [+0.38] TEST: No forwarding out of swp1 [ OK ] # 44.04 [+0.21] TEST: Forwarding out of vx0 [ OK ] # 44.28 [+0.23] TEST: Forwarding using backup nexthop ID [ OK ] # 44.35 [+0.07] TEST: No Tx drop increase [ OK ] # 44.48 [+0.13] TEST: Non-existent nexthop as backup nexthop [ OK ] # 44.86 [+0.38] TEST: No forwarding out of swp1 [ OK ] # 45.08 [+0.22] TEST: Forwarding out of vx0 [ OK ] # 45.30 [+0.22] TEST: No forwarding using backup nexthop ID [ OK ] # 45.37 [+0.08] TEST: Tx drop increased [ OK ] # 45.57 [+0.19] TEST: Blackhole nexthop as backup nexthop [ OK ] # 45.95 [+0.38] TEST: No forwarding out of swp1 [ OK ] # 46.16 [+0.22] TEST: Forwarding out of vx0 [ OK ] # 46.38 [+0.22] TEST: No forwarding using backup nexthop ID [ OK ] # 46.45 [+0.07] TEST: Tx drop increased [ OK ] # 46.58 [+0.12] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 46.93 [+0.35] TEST: No forwarding out of swp1 [ OK ] # 47.13 [+0.21] TEST: Forwarding out of vx0 [ OK ] # 47.36 [+0.23] TEST: No forwarding using backup nexthop ID [ OK ] # 47.43 [+0.07] TEST: Tx drop increased [ OK ] # 47.75 [+0.31] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 48.15 [+0.40] TEST: No forwarding out of swp1 [ OK ] # 48.37 [+0.22] TEST: Forwarding out of vx0 [ OK ] # 48.59 [+0.22] TEST: No forwarding using backup nexthop ID [ OK ] # 48.66 [+0.07] TEST: Tx drop increased [ OK ] # 57.43 [+8.78] # 57.43 [+0.00] Backup nexthop ID - ping # 57.43 [+0.00] ------------------------ # 60.51 [+3.08] TEST: Ping with backup nexthop ID [ OK ] # 65.75 [+5.24] TEST: Ping after disabling backup nexthop ID [ OK ] # 74.45 [+8.70] # 74.45 [+0.00] Backup nexthop ID - torture test # 74.45 [+0.00] -------------------------------- # 104.96 [+30.51] TEST: Torture test [ OK ] # 105.42 [+0.46] # 105.42 [+0.00] Tests passed: 83 # 105.43 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__->