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.68 [+11.68] # 11.68 [+0.00] Backup port # 11.68 [+0.00] ----------- # 13.41 [+1.73] TEST: Forwarding out of swp1 [ OK ] # 13.71 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 14.02 [+0.30] TEST: swp1 carrier off [ OK ] # 14.62 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 14.96 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.26 [+0.30] TEST: swp1 carrier on [ OK ] # 15.48 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.06 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.38 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 16.68 [+0.30] TEST: swp1 carrier off [ OK ] # 17.30 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 17.62 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 17.93 [+0.31] TEST: swp1 carrier on [ OK ] # 18.48 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 18.82 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.06 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.65 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 19.96 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 20.26 [+0.30] TEST: swp1 carrier off [ OK ] # 20.88 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 21.16 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 33.93 [+12.77] # 33.93 [+0.00] Backup nexthop ID # 33.93 [+0.00] ----------------- # 36.06 [+2.12] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.65 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 36.97 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.30 [+0.32] TEST: swp1 carrier off [ OK ] # 37.88 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 38.19 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 38.52 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 38.83 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.11 [+0.28] TEST: swp1 carrier on [ OK ] # 39.32 [+0.21] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 39.90 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 40.22 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 40.52 [+0.30] TEST: swp1 carrier off [ OK ] # 41.12 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 41.42 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 41.75 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 42.06 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.38 [+0.31] TEST: swp1 carrier on [ OK ] # 42.98 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 43.30 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.65 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 43.97 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.21 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 44.78 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 45.12 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 45.44 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 45.74 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.04 [+0.29] TEST: swp1 carrier off [ OK ] # 46.61 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 46.93 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 47.28 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 47.60 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 60.43 [+12.83] # 60.43 [+0.00] Backup nexthop ID - invalid IDs # 60.43 [+0.00] ------------------------------- # 62.50 [+2.07] TEST: vx0 configured as backup port of swp1 [ OK ] # 62.76 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 63.07 [+0.32] TEST: swp1 carrier off [ OK ] # 63.66 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 63.95 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 64.26 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 64.39 [+0.12] TEST: No Tx drop increase [ OK ] # 64.64 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 65.24 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 65.54 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 65.87 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 66.04 [+0.18] TEST: Tx drop increased [ OK ] # 66.38 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 66.95 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 67.26 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 67.55 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 67.70 [+0.15] TEST: Tx drop increased [ OK ] # 67.92 [+0.22] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 68.48 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 68.83 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.16 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 69.30 [+0.14] TEST: Tx drop increased [ OK ] # 69.87 [+0.57] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 70.46 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 70.78 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 71.13 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.26 [+0.13] TEST: Tx drop increased [ OK ] # 83.93 [+12.66] # 83.93 [+0.00] Backup nexthop ID - ping # 83.93 [+0.00] ------------------------ # 87.87 [+3.94] TEST: Ping with backup nexthop ID [ OK ] # 93.30 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 105.98 [+12.67] # 105.98 [+0.00] Backup nexthop ID - torture test # 105.98 [+0.00] -------------------------------- # 136.91 [+30.93] TEST: Torture test [ OK ] # 137.76 [+0.85] # 137.76 [+0.00] Tests passed: 83 # 137.76 [+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__->