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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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 # 12.26 [+12.26] # 12.26 [+0.00] Backup port # 12.26 [+0.00] ----------- # 14.11 [+1.85] TEST: Forwarding out of swp1 [ OK ] # 14.48 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 14.81 [+0.33] TEST: swp1 carrier off [ OK ] # 15.42 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 15.80 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.14 [+0.34] TEST: swp1 carrier on [ OK ] # 16.39 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.06 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 17.39 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.74 [+0.34] TEST: swp1 carrier off [ OK ] # 18.37 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 18.72 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 19.06 [+0.34] TEST: swp1 carrier on [ OK ] # 19.71 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 20.03 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 20.30 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.98 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 21.32 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.64 [+0.32] TEST: swp1 carrier off [ OK ] # 22.31 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 22.67 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 35.90 [+13.23] # 35.90 [+0.00] Backup nexthop ID # 35.90 [+0.00] ----------------- # 38.18 [+2.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.83 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 39.18 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 39.51 [+0.33] TEST: swp1 carrier off [ OK ] # 40.15 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 40.48 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 40.81 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 41.15 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.51 [+0.36] TEST: swp1 carrier on [ OK ] # 41.82 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.47 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 42.81 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.13 [+0.33] TEST: swp1 carrier off [ OK ] # 43.72 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 44.05 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 44.39 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 44.71 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.05 [+0.33] TEST: swp1 carrier on [ OK ] # 45.68 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 46.02 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.37 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 46.69 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.95 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.60 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 47.94 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 48.27 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 48.63 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.98 [+0.34] TEST: swp1 carrier off [ OK ] # 49.62 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 49.97 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 50.35 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 50.67 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.94 [+13.28] # 63.94 [+0.00] Backup nexthop ID - invalid IDs # 63.94 [+0.00] ------------------------------- # 66.23 [+2.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.46 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 66.78 [+0.32] TEST: swp1 carrier off [ OK ] # 67.42 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 67.77 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 68.11 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 68.26 [+0.15] TEST: No Tx drop increase [ OK ] # 68.55 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.19 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 69.53 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.87 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 70.02 [+0.15] TEST: Tx drop increased [ OK ] # 70.40 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.04 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 71.36 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 71.72 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 71.88 [+0.16] TEST: Tx drop increased [ OK ] # 72.13 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.80 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 73.14 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.48 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.63 [+0.15] TEST: Tx drop increased [ OK ] # 74.29 [+0.66] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.96 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 75.31 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 75.63 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 75.78 [+0.15] TEST: Tx drop increased [ OK ] # 89.04 [+13.26] # 89.04 [+0.00] Backup nexthop ID - ping # 89.04 [+0.00] ------------------------ # 93.20 [+4.16] TEST: Ping with backup nexthop ID [ OK ] # 98.65 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.89 [+13.24] # 111.90 [+0.00] Backup nexthop ID - torture test # 111.90 [+0.00] -------------------------------- # 142.91 [+31.01] TEST: Torture test [ OK ] # 143.80 [+0.89] # 143.80 [+0.00] Tests passed: 83 # 143.80 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->