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.27 [+13.27] # 13.27 [+0.00] Backup port # 13.27 [+0.00] ----------- # 15.04 [+1.77] TEST: Forwarding out of swp1 [ OK ] # 15.41 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 15.80 [+0.39] TEST: swp1 carrier off [ OK ] # 16.51 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 16.90 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.30 [+0.40] TEST: swp1 carrier on [ OK ] # 17.58 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.32 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 18.66 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.06 [+0.40] TEST: swp1 carrier off [ OK ] # 19.79 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 20.19 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 20.67 [+0.48] TEST: swp1 carrier on [ OK ] # 21.44 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 21.81 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 22.08 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.83 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 23.21 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 23.61 [+0.40] TEST: swp1 carrier off [ OK ] # 24.36 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 24.76 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 39.46 [+14.70] # 39.46 [+0.00] Backup nexthop ID # 39.46 [+0.00] ----------------- # 42.06 [+2.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 42.79 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 43.18 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 43.57 [+0.39] TEST: swp1 carrier off [ OK ] # 44.31 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 44.69 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 45.08 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 45.43 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 45.85 [+0.43] TEST: swp1 carrier on [ OK ] # 46.11 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 46.82 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 47.18 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 47.59 [+0.41] TEST: swp1 carrier off [ OK ] # 48.31 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 48.69 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 49.07 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 49.45 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.82 [+0.37] TEST: swp1 carrier on [ OK ] # 50.55 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 50.91 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 51.31 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 51.71 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.01 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.71 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 53.06 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 53.43 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 53.79 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.20 [+0.42] TEST: swp1 carrier off [ OK ] # 54.93 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 55.31 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 55.67 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 56.03 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 70.71 [+14.68] # 70.71 [+0.00] Backup nexthop ID - invalid IDs # 70.71 [+0.00] ------------------------------- # 73.34 [+2.63] TEST: vx0 configured as backup port of swp1 [ OK ] # 73.65 [+0.31] TEST: Valid nexthop as backup nexthop [ OK ] # 74.06 [+0.41] TEST: swp1 carrier off [ OK ] # 74.80 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 75.16 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 75.55 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 75.71 [+0.16] TEST: No Tx drop increase [ OK ] # 75.99 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 76.70 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 77.07 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 77.44 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 77.62 [+0.18] TEST: Tx drop increased [ OK ] # 78.09 [+0.47] TEST: Blackhole nexthop as backup nexthop [ OK ] # 78.79 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 79.16 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 79.55 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 79.71 [+0.16] TEST: Tx drop increased [ OK ] # 80.03 [+0.32] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 80.78 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 81.20 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 81.63 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 81.80 [+0.17] TEST: Tx drop increased [ OK ] # 82.54 [+0.74] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 83.29 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 83.66 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 84.09 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 84.25 [+0.16] TEST: Tx drop increased [ OK ] # 99.13 [+14.88] # 99.13 [+0.00] Backup nexthop ID - ping # 99.13 [+0.00] ------------------------ # 103.73 [+4.60] TEST: Ping with backup nexthop ID [ OK ] # 109.29 [+5.57] TEST: Ping after disabling backup nexthop ID [ OK ] # 124.20 [+14.90] # 124.20 [+0.00] Backup nexthop ID - torture test # 124.20 [+0.00] -------------------------------- # 155.38 [+31.18] TEST: Torture test [ OK ] # 156.58 [+1.20] # 156.58 [+0.00] Tests passed: 83 # 156.58 [+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__->