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' TAP version 13 1..1 # timeout set to 3600 # selftests: net: test_bridge_backup_port.sh # 5.81 [+5.81] # 5.81 [+0.00] Backup port # 5.81 [+0.00] ----------- # 6.08 [+0.27] TEST: Forwarding out of swp1 [ OK ] # 6.21 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.24 [+0.04] TEST: swp1 carrier off [ OK ] # 6.42 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 6.55 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.59 [+0.04] TEST: swp1 carrier on [ OK ] # 6.62 [+0.03] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.81 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 6.94 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.25 [+0.31] TEST: swp1 carrier off [ OK ] # 7.44 [+0.20] TEST: No forwarding out of swp1 [ OK ] # 7.57 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 7.61 [+0.04] TEST: swp1 carrier on [ OK ] # 7.80 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 7.92 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.95 [+0.03] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.12 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 8.25 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 8.29 [+0.04] TEST: swp1 carrier off [ OK ] # 8.47 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 8.60 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 14.61 [+6.01] # 14.61 [+0.00] Backup nexthop ID # 14.61 [+0.00] ----------------- # 14.86 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.02 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 15.15 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.18 [+0.03] TEST: swp1 carrier off [ OK ] # 15.34 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 15.46 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.58 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 15.71 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.74 [+0.03] TEST: swp1 carrier on [ OK ] # 15.77 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.94 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 16.07 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 16.17 [+0.10] TEST: swp1 carrier off [ OK ] # 16.35 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 16.47 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.60 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 16.72 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.76 [+0.03] TEST: swp1 carrier on [ OK ] # 16.94 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 17.06 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.19 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.31 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.34 [+0.03] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.53 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 17.66 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.78 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.91 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.95 [+0.04] TEST: swp1 carrier off [ OK ] # 18.13 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 18.25 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 18.37 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.50 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 24.36 [+5.86] # 24.36 [+0.00] Backup nexthop ID - invalid IDs # 24.36 [+0.00] ------------------------------- # 24.61 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.64 [+0.03] TEST: Valid nexthop as backup nexthop [ OK ] # 24.68 [+0.04] TEST: swp1 carrier off [ OK ] # 24.87 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 25.00 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.13 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 25.14 [+0.02] TEST: No Tx drop increase [ OK ] # 25.17 [+0.03] TEST: Non-existent nexthop as backup nexthop [ OK ] # 25.36 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.48 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.61 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.63 [+0.02] TEST: Tx drop increased [ OK ] # 25.67 [+0.04] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.86 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 25.99 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.12 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.13 [+0.02] TEST: Tx drop increased [ OK ] # 26.16 [+0.03] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 26.34 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 26.47 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.60 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.61 [+0.02] TEST: Tx drop increased [ OK ] # 26.68 [+0.07] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.86 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 26.99 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 27.12 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 27.14 [+0.02] TEST: Tx drop increased [ OK ] # 33.07 [+5.93] # 33.07 [+0.00] Backup nexthop ID - ping # 33.07 [+0.00] ------------------------ # 35.29 [+2.22] TEST: Ping with backup nexthop ID [ OK ] # 40.35 [+5.06] TEST: Ping after disabling backup nexthop ID [ OK ] # 46.25 [+5.91] # 46.26 [+0.00] Backup nexthop ID - torture test # 46.26 [+0.00] -------------------------------- # 76.38 [+30.12] TEST: Torture test [ OK ] # 76.48 [+0.11] # 76.49 [+0.00] Tests passed: 83 # 76.49 [+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__->