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.48 [+13.48] # 13.48 [+0.00] Backup port # 13.48 [+0.00] ----------- # 15.28 [+1.80] TEST: Forwarding out of swp1 [ OK ] # 15.66 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.05 [+0.40] TEST: swp1 carrier off [ OK ] # 16.78 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 17.16 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 17.55 [+0.39] TEST: swp1 carrier on [ OK ] # 17.84 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.56 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 18.95 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 19.33 [+0.38] TEST: swp1 carrier off [ OK ] # 20.04 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 20.42 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 20.82 [+0.40] TEST: swp1 carrier on [ OK ] # 21.55 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 21.94 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 22.21 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.95 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 23.32 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 23.71 [+0.39] TEST: swp1 carrier off [ OK ] # 24.43 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 24.81 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 39.63 [+14.82] # 39.63 [+0.00] Backup nexthop ID # 39.63 [+0.00] ----------------- # 42.25 [+2.62] TEST: vx0 configured as backup port of swp1 [ OK ] # 42.98 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 43.35 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 43.74 [+0.39] TEST: swp1 carrier off [ OK ] # 44.46 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 44.84 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 45.22 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 45.60 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.00 [+0.40] TEST: swp1 carrier on [ OK ] # 46.27 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.00 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 47.38 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 47.77 [+0.39] TEST: swp1 carrier off [ OK ] # 48.48 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 48.83 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 49.20 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 49.58 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.95 [+0.37] TEST: swp1 carrier on [ OK ] # 50.70 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 51.06 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 51.42 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 51.80 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.10 [+0.30] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.82 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 53.22 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 53.57 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 53.94 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.33 [+0.39] TEST: swp1 carrier off [ OK ] # 55.05 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 55.42 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 55.80 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 56.17 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 70.97 [+14.80] # 70.97 [+0.00] Backup nexthop ID - invalid IDs # 70.98 [+0.00] ------------------------------- # 73.63 [+2.65] TEST: vx0 configured as backup port of swp1 [ OK ] # 73.92 [+0.29] TEST: Valid nexthop as backup nexthop [ OK ] # 74.30 [+0.39] TEST: swp1 carrier off [ OK ] # 75.06 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 75.43 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 75.81 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 75.98 [+0.17] TEST: No Tx drop increase [ OK ] # 76.27 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 77.01 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 77.40 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 77.75 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 77.91 [+0.15] TEST: Tx drop increased [ OK ] # 78.36 [+0.45] TEST: Blackhole nexthop as backup nexthop [ OK ] # 79.08 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 79.47 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 79.87 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 80.04 [+0.17] TEST: Tx drop increased [ OK ] # 80.36 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 81.04 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 81.42 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 81.81 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 81.96 [+0.15] TEST: Tx drop increased [ OK ] # 82.71 [+0.75] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 83.45 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 83.83 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 84.24 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 84.39 [+0.15] TEST: Tx drop increased [ OK ] # 99.65 [+15.26] # 99.65 [+0.00] Backup nexthop ID - ping # 99.65 [+0.00] ------------------------ # 104.27 [+4.62] TEST: Ping with backup nexthop ID [ OK ] # 109.86 [+5.58] TEST: Ping after disabling backup nexthop ID [ OK ] # 124.71 [+14.86] # 124.71 [+0.00] Backup nexthop ID - torture test # 124.72 [+0.00] -------------------------------- # 155.91 [+31.19] TEST: Torture test [ OK ] # 157.11 [+1.20] # 157.11 [+0.00] Tests passed: 83 # 157.11 [+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__->