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 # 11.84 [+11.84] # 11.84 [+0.00] Backup port # 11.84 [+0.00] ----------- # 13.47 [+1.63] TEST: Forwarding out of swp1 [ OK ] # 13.82 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.13 [+0.30] TEST: swp1 carrier off [ OK ] # 14.68 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 15.02 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.32 [+0.30] TEST: swp1 carrier on [ OK ] # 15.56 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.15 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.47 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 16.80 [+0.33] TEST: swp1 carrier off [ OK ] # 17.40 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 17.74 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 18.08 [+0.34] TEST: swp1 carrier on [ OK ] # 18.70 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.02 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.29 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.88 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 20.24 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 20.55 [+0.32] TEST: swp1 carrier off [ OK ] # 21.13 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 21.46 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 34.22 [+12.76] # 34.22 [+0.00] Backup nexthop ID # 34.22 [+0.00] ----------------- # 36.47 [+2.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.12 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 37.45 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 37.81 [+0.36] TEST: swp1 carrier off [ OK ] # 38.40 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 38.74 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 39.07 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 39.41 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.73 [+0.31] TEST: swp1 carrier on [ OK ] # 39.96 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.57 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 40.91 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 41.23 [+0.32] TEST: swp1 carrier off [ OK ] # 41.84 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 42.19 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 42.55 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 42.86 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.20 [+0.34] TEST: swp1 carrier on [ OK ] # 43.83 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 44.17 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 44.56 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 44.94 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.19 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.83 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 46.18 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.51 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 46.87 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.21 [+0.33] TEST: swp1 carrier off [ OK ] # 47.90 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 48.27 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 48.63 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 49.04 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.72 [+13.67] # 62.72 [+0.00] Backup nexthop ID - invalid IDs # 62.72 [+0.00] ------------------------------- # 64.93 [+2.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.16 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 65.48 [+0.32] TEST: swp1 carrier off [ OK ] # 66.14 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 66.46 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 66.79 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 66.95 [+0.16] TEST: No Tx drop increase [ OK ] # 67.23 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.84 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 68.20 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 68.53 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 68.71 [+0.18] TEST: Tx drop increased [ OK ] # 69.08 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.70 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.06 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 70.40 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 70.55 [+0.15] TEST: Tx drop increased [ OK ] # 70.82 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.44 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 71.77 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.13 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 72.29 [+0.16] TEST: Tx drop increased [ OK ] # 72.95 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.54 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 73.90 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.22 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 74.36 [+0.14] TEST: Tx drop increased [ OK ] # 87.47 [+13.11] # 87.47 [+0.00] Backup nexthop ID - ping # 87.47 [+0.00] ------------------------ # 91.53 [+4.07] TEST: Ping with backup nexthop ID [ OK ] # 96.96 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.17 [+13.20] # 110.17 [+0.00] Backup nexthop ID - torture test # 110.17 [+0.00] -------------------------------- # 141.12 [+30.95] TEST: Torture test [ OK ] # 141.96 [+0.84] # 141.96 [+0.00] Tests passed: 83 # 141.96 [+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__->