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.53 [+5.53] # 5.53 [+0.00] Backup port # 5.53 [+0.00] ----------- # 5.81 [+0.28] TEST: Forwarding out of swp1 [ OK ] # 5.93 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 5.96 [+0.03] TEST: swp1 carrier off [ OK ] # 6.13 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 6.25 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.28 [+0.03] TEST: swp1 carrier on [ OK ] # 6.30 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.47 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 6.59 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.96 [+0.37] TEST: swp1 carrier off [ OK ] # 7.14 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 7.26 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.28 [+0.03] TEST: swp1 carrier on [ OK ] # 7.45 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.57 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.60 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 7.77 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.89 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.95 [+0.06] TEST: swp1 carrier off [ OK ] # 8.12 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 8.25 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 13.88 [+5.63] # 13.88 [+0.00] Backup nexthop ID # 13.88 [+0.00] ----------------- # 14.06 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.23 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 14.35 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.38 [+0.03] TEST: swp1 carrier off [ OK ] # 14.55 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 14.67 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 14.79 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 14.91 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 14.94 [+0.03] TEST: swp1 carrier on [ OK ] # 14.95 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.11 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 15.24 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.37 [+0.13] TEST: swp1 carrier off [ OK ] # 15.54 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 15.66 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.78 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 15.90 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 15.93 [+0.03] TEST: swp1 carrier on [ OK ] # 16.11 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 16.23 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.35 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.48 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.50 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 16.67 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 16.79 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.92 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.04 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.07 [+0.03] TEST: swp1 carrier off [ OK ] # 17.22 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 17.34 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 17.46 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.58 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 23.22 [+5.64] # 23.22 [+0.00] Backup nexthop ID - invalid IDs # 23.22 [+0.00] ------------------------------- # 23.40 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 23.42 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 23.45 [+0.03] TEST: swp1 carrier off [ OK ] # 23.62 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 23.74 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 23.86 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 23.87 [+0.01] TEST: No Tx drop increase [ OK ] # 23.89 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 24.07 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.19 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.31 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.32 [+0.01] TEST: Tx drop increased [ OK ] # 24.35 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 24.52 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.64 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.76 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.77 [+0.01] TEST: Tx drop increased [ OK ] # 24.79 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 24.97 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.09 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.21 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.22 [+0.01] TEST: Tx drop increased [ OK ] # 25.27 [+0.05] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 25.45 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.57 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.69 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.71 [+0.01] TEST: Tx drop increased [ OK ] # 31.32 [+5.61] # 31.32 [+0.00] Backup nexthop ID - ping # 31.32 [+0.00] ------------------------ # 33.46 [+2.14] TEST: Ping with backup nexthop ID [ OK ] # 38.50 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 44.17 [+5.67] # 44.17 [+0.00] Backup nexthop ID - torture test # 44.17 [+0.00] -------------------------------- # 74.27 [+30.10] TEST: Torture test [ OK ] # 74.33 [+0.06] # 74.33 [+0.00] Tests passed: 83 # 74.33 [+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__->