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-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 3600 # selftests: net: test_bridge_backup_port.sh # 5.72 [+5.72] # 5.72 [+0.00] Backup port # 5.72 [+0.00] ----------- # 5.98 [+0.25] TEST: Forwarding out of swp1 [ OK ] # 6.10 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.13 [+0.03] TEST: swp1 carrier off [ OK ] # 6.30 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 6.42 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.44 [+0.02] TEST: swp1 carrier on [ OK ] # 6.46 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.63 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 6.76 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.13 [+0.37] TEST: swp1 carrier off [ OK ] # 7.31 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 7.43 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.46 [+0.03] TEST: swp1 carrier on [ OK ] # 7.64 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.76 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.79 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 7.97 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 8.09 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.12 [+0.03] TEST: swp1 carrier off [ OK ] # 8.29 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 8.42 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.34 [+5.93] # 14.34 [+0.00] Backup nexthop ID # 14.35 [+0.00] ----------------- # 14.62 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.82 [+0.20] TEST: Forwarding out of swp1 [ OK ] # 14.95 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 14.99 [+0.04] TEST: swp1 carrier off [ OK ] # 15.17 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 15.30 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 15.43 [+0.14] TEST: No forwarding using backup nexthop ID [ OK ] # 15.57 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.60 [+0.04] TEST: swp1 carrier on [ OK ] # 15.63 [+0.03] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.82 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 15.95 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 16.00 [+0.05] TEST: swp1 carrier off [ OK ] # 16.19 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 16.32 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 16.46 [+0.14] TEST: Forwarding using backup nexthop ID [ OK ] # 16.59 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.63 [+0.05] TEST: swp1 carrier on [ OK ] # 16.83 [+0.20] TEST: Forwarding out of swp1 [ OK ] # 16.97 [+0.14] TEST: No forwarding out of vx0 [ OK ] # 17.10 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.23 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.26 [+0.03] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.46 [+0.20] TEST: Forwarding out of swp1 [ OK ] # 17.60 [+0.14] TEST: No forwarding out of vx0 [ OK ] # 17.73 [+0.14] TEST: No forwarding using backup nexthop ID [ OK ] # 17.86 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.91 [+0.04] TEST: swp1 carrier off [ OK ] # 18.10 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 18.23 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 18.36 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 18.50 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 24.46 [+5.96] # 24.46 [+0.00] Backup nexthop ID - invalid IDs # 24.46 [+0.00] ------------------------------- # 24.71 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.74 [+0.03] TEST: Valid nexthop as backup nexthop [ OK ] # 24.78 [+0.04] TEST: swp1 carrier off [ OK ] # 24.98 [+0.20] TEST: No forwarding out of swp1 [ OK ] # 25.11 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.24 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 25.27 [+0.02] TEST: No Tx drop increase [ OK ] # 25.30 [+0.03] TEST: Non-existent nexthop as backup nexthop [ OK ] # 25.50 [+0.20] TEST: No forwarding out of swp1 [ OK ] # 25.63 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.76 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.78 [+0.02] TEST: Tx drop increased [ OK ] # 25.82 [+0.04] TEST: Blackhole nexthop as backup nexthop [ OK ] # 26.01 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 26.14 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.27 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.29 [+0.02] TEST: Tx drop increased [ OK ] # 26.33 [+0.03] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 26.51 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 26.64 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.77 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.78 [+0.02] TEST: Tx drop increased [ OK ] # 26.86 [+0.07] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 27.03 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 27.16 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 27.29 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 27.31 [+0.02] TEST: Tx drop increased [ OK ] # 33.26 [+5.95] # 33.26 [+0.00] Backup nexthop ID - ping # 33.26 [+0.00] ------------------------ # 35.44 [+2.17] TEST: Ping with backup nexthop ID [ OK ] # 40.48 [+5.05] TEST: Ping after disabling backup nexthop ID [ OK ] # 46.28 [+5.79] # 46.28 [+0.00] Backup nexthop ID - torture test # 46.28 [+0.00] -------------------------------- # 76.37 [+30.09] TEST: Torture test [ OK ] # 76.43 [+0.06] # 76.43 [+0.00] Tests passed: 83 # 76.43 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->