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 # 13.17 [+13.17] # 13.17 [+0.00] Backup port # 13.17 [+0.00] ----------- # 14.81 [+1.64] TEST: Forwarding out of swp1 [ OK ] # 15.18 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 15.58 [+0.40] TEST: swp1 carrier off [ OK ] # 16.30 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 16.65 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.03 [+0.38] TEST: swp1 carrier on [ OK ] # 17.30 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.02 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 18.39 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 18.76 [+0.37] TEST: swp1 carrier off [ OK ] # 19.49 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 19.85 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 20.23 [+0.38] TEST: swp1 carrier on [ OK ] # 20.95 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 21.29 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.59 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.31 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 22.69 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 23.09 [+0.40] TEST: swp1 carrier off [ OK ] # 23.79 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 24.16 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 38.74 [+14.58] # 38.74 [+0.00] Backup nexthop ID # 38.74 [+0.00] ----------------- # 41.28 [+2.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 41.98 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 42.35 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 42.74 [+0.40] TEST: swp1 carrier off [ OK ] # 43.45 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 43.80 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.16 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 44.51 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 44.89 [+0.38] TEST: swp1 carrier on [ OK ] # 45.18 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 45.88 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 46.26 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 46.65 [+0.39] TEST: swp1 carrier off [ OK ] # 47.37 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 47.76 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 48.12 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 48.48 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.87 [+0.39] TEST: swp1 carrier on [ OK ] # 49.61 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 50.01 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 50.35 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.72 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.00 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 51.72 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 52.09 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 52.47 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 52.83 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.27 [+0.44] TEST: swp1 carrier off [ OK ] # 53.97 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 54.33 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 54.70 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 55.07 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 69.72 [+14.65] # 69.72 [+0.00] Backup nexthop ID - invalid IDs # 69.72 [+0.00] ------------------------------- # 72.25 [+2.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 72.53 [+0.29] TEST: Valid nexthop as backup nexthop [ OK ] # 72.92 [+0.38] TEST: swp1 carrier off [ OK ] # 73.63 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 74.01 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 74.39 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 74.54 [+0.16] TEST: No Tx drop increase [ OK ] # 74.82 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 75.53 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 75.89 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 76.26 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 76.40 [+0.15] TEST: Tx drop increased [ OK ] # 76.83 [+0.42] TEST: Blackhole nexthop as backup nexthop [ OK ] # 77.54 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 77.89 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 78.25 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 78.41 [+0.16] TEST: Tx drop increased [ OK ] # 78.67 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 79.37 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 79.73 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 80.12 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 80.27 [+0.15] TEST: Tx drop increased [ OK ] # 81.01 [+0.74] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 81.73 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 82.12 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 82.49 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 82.64 [+0.15] TEST: Tx drop increased [ OK ] # 97.23 [+14.59] # 97.23 [+0.00] Backup nexthop ID - ping # 97.23 [+0.00] ------------------------ # 101.85 [+4.62] TEST: Ping with backup nexthop ID [ OK ] # 107.43 [+5.58] TEST: Ping after disabling backup nexthop ID [ OK ] # 122.11 [+14.68] # 122.11 [+0.00] Backup nexthop ID - torture test # 122.11 [+0.00] -------------------------------- # 153.29 [+31.18] TEST: Torture test [ OK ] # 154.44 [+1.15] # 154.44 [+0.00] Tests passed: 83 # 154.44 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->