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.07 [+12.07] # 12.07 [+0.00] Backup port # 12.07 [+0.00] ----------- # 13.83 [+1.75] TEST: Forwarding out of swp1 [ OK ] # 14.16 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.48 [+0.32] TEST: swp1 carrier off [ OK ] # 15.09 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 15.45 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.75 [+0.31] TEST: swp1 carrier on [ OK ] # 15.97 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.55 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 16.88 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.19 [+0.31] TEST: swp1 carrier off [ OK ] # 17.81 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 18.12 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 18.43 [+0.31] TEST: swp1 carrier on [ OK ] # 19.05 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.39 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 19.64 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.23 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 20.55 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 20.85 [+0.31] TEST: swp1 carrier off [ OK ] # 21.46 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 21.79 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 34.67 [+12.88] # 34.67 [+0.00] Backup nexthop ID # 34.67 [+0.00] ----------------- # 36.83 [+2.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.44 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 37.77 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 38.12 [+0.35] TEST: swp1 carrier off [ OK ] # 38.71 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 39.05 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 39.40 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 39.76 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.08 [+0.32] TEST: swp1 carrier on [ OK ] # 40.32 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 41.00 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 41.33 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 41.65 [+0.32] TEST: swp1 carrier off [ OK ] # 42.30 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 42.67 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 43.00 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 43.39 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.72 [+0.33] TEST: swp1 carrier on [ OK ] # 44.36 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 44.69 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 45.09 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 45.43 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.69 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.30 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 46.64 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.94 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 47.29 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.67 [+0.38] TEST: swp1 carrier off [ OK ] # 48.35 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 48.71 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 49.06 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.43 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.66 [+13.23] # 62.66 [+0.00] Backup nexthop ID - invalid IDs # 62.66 [+0.00] ------------------------------- # 64.85 [+2.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.10 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 65.44 [+0.34] TEST: swp1 carrier off [ OK ] # 66.09 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 66.42 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 66.75 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 66.88 [+0.13] TEST: No Tx drop increase [ OK ] # 67.13 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.73 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 68.06 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 68.44 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 68.57 [+0.13] TEST: Tx drop increased [ OK ] # 68.95 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.60 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 69.92 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 70.25 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.39 [+0.13] TEST: Tx drop increased [ OK ] # 70.66 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.33 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 71.68 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.05 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 72.18 [+0.13] TEST: Tx drop increased [ OK ] # 72.80 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.45 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 73.76 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 74.07 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 74.23 [+0.16] TEST: Tx drop increased [ OK ] # 87.46 [+13.23] # 87.46 [+0.00] Backup nexthop ID - ping # 87.46 [+0.00] ------------------------ # 91.52 [+4.06] TEST: Ping with backup nexthop ID [ OK ] # 96.99 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.21 [+13.22] # 110.21 [+0.00] Backup nexthop ID - torture test # 110.21 [+0.00] -------------------------------- # 141.16 [+30.95] TEST: Torture test [ OK ] # 142.07 [+0.91] # 142.07 [+0.00] Tests passed: 83 # 142.07 [+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__->