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.03 [+12.03] # 12.03 [+0.00] Backup port # 12.03 [+0.00] ----------- # 13.47 [+1.44] TEST: Forwarding out of swp1 [ OK ] # 13.80 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.14 [+0.34] TEST: swp1 carrier off [ OK ] # 14.74 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 15.06 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.38 [+0.31] TEST: swp1 carrier on [ OK ] # 15.63 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.24 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 16.58 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.89 [+0.31] TEST: swp1 carrier off [ OK ] # 17.53 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 17.85 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.18 [+0.33] TEST: swp1 carrier on [ OK ] # 18.79 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.14 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.40 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.00 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 20.36 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 20.66 [+0.30] TEST: swp1 carrier off [ OK ] # 21.28 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 21.60 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 34.75 [+13.15] # 34.75 [+0.00] Backup nexthop ID # 34.75 [+0.00] ----------------- # 36.90 [+2.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.53 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 37.89 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 38.23 [+0.34] TEST: swp1 carrier off [ OK ] # 38.85 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 39.22 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 39.53 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 39.85 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.17 [+0.31] TEST: swp1 carrier on [ OK ] # 40.40 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 41.04 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 41.39 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 41.68 [+0.29] TEST: swp1 carrier off [ OK ] # 42.27 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 42.64 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 42.97 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 43.31 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.63 [+0.32] TEST: swp1 carrier on [ OK ] # 44.22 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 44.56 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 44.89 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 45.23 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.48 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.06 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 46.36 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 46.69 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.00 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.34 [+0.33] TEST: swp1 carrier off [ OK ] # 47.95 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 48.28 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 48.62 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.94 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.02 [+13.07] # 62.02 [+0.00] Backup nexthop ID - invalid IDs # 62.02 [+0.00] ------------------------------- # 64.30 [+2.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.54 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 64.87 [+0.33] TEST: swp1 carrier off [ OK ] # 65.49 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 65.82 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 66.15 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 66.31 [+0.15] TEST: No Tx drop increase [ OK ] # 66.55 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.17 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 67.48 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 67.80 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 67.95 [+0.14] TEST: Tx drop increased [ OK ] # 68.29 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.93 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 69.23 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 69.55 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 69.73 [+0.18] TEST: Tx drop increased [ OK ] # 70.02 [+0.29] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.62 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.95 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 71.29 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.44 [+0.15] TEST: Tx drop increased [ OK ] # 72.06 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.66 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 72.97 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 73.33 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 73.48 [+0.14] TEST: Tx drop increased [ OK ] # 86.53 [+13.06] # 86.53 [+0.00] Backup nexthop ID - ping # 86.54 [+0.00] ------------------------ # 90.56 [+4.02] TEST: Ping with backup nexthop ID [ OK ] # 96.00 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.04 [+13.04] # 109.04 [+0.00] Backup nexthop ID - torture test # 109.04 [+0.00] -------------------------------- # 140.00 [+30.96] TEST: Torture test [ OK ] # 140.91 [+0.92] # 140.91 [+0.00] Tests passed: 83 # 140.91 [+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__->