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.86 [+11.86] # 11.87 [+0.00] Backup port # 11.87 [+0.00] ----------- # 13.25 [+1.38] TEST: Forwarding out of swp1 [ OK ] # 13.60 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 13.92 [+0.32] TEST: swp1 carrier off [ OK ] # 14.54 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 14.85 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 15.17 [+0.32] TEST: swp1 carrier on [ OK ] # 15.39 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.97 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 16.29 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 16.59 [+0.30] TEST: swp1 carrier off [ OK ] # 17.20 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 17.51 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 17.84 [+0.32] TEST: swp1 carrier on [ OK ] # 18.42 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 18.74 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.06 [+0.32] TEST: swp1 administratively down [ OK ] # 19.70 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 20.03 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 20.35 [+0.32] TEST: swp1 administratively up [ OK ] # 20.95 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 21.28 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 21.51 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.12 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 22.48 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 22.79 [+0.31] TEST: swp1 carrier off [ OK ] # 23.38 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 23.71 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 36.65 [+12.95] # 36.66 [+0.00] Backup nexthop ID # 36.66 [+0.00] ----------------- # 38.81 [+2.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.46 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 39.77 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 40.13 [+0.36] TEST: swp1 carrier off [ OK ] # 40.70 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 41.04 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 41.37 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 41.73 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.03 [+0.30] TEST: swp1 carrier on [ OK ] # 42.29 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.88 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 43.22 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.54 [+0.32] TEST: swp1 carrier off [ OK ] # 44.17 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 44.47 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 44.82 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 45.13 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.46 [+0.33] TEST: swp1 carrier on [ OK ] # 46.07 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 46.38 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 46.74 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 47.04 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.28 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.86 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 48.21 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 48.55 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.88 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.18 [+0.30] TEST: swp1 carrier off [ OK ] # 49.76 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 50.07 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 50.39 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 50.74 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.68 [+12.94] # 63.68 [+0.00] Backup nexthop ID - invalid IDs # 63.68 [+0.00] ------------------------------- # 65.96 [+2.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.18 [+0.22] TEST: Valid nexthop as backup nexthop [ OK ] # 66.49 [+0.31] TEST: swp1 carrier off [ OK ] # 67.08 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 67.43 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 67.77 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 67.94 [+0.18] TEST: No Tx drop increase [ OK ] # 68.19 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.76 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 69.08 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 69.41 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 69.56 [+0.15] TEST: Tx drop increased [ OK ] # 69.91 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.51 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.85 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.13 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 71.30 [+0.17] TEST: Tx drop increased [ OK ] # 71.54 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.13 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 72.42 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 72.76 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.91 [+0.15] TEST: Tx drop increased [ OK ] # 73.50 [+0.59] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.06 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 74.40 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.71 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 74.86 [+0.15] TEST: Tx drop increased [ OK ] # 87.98 [+13.13] # 87.98 [+0.00] Backup nexthop ID - ping # 87.98 [+0.00] ------------------------ # 91.99 [+4.00] TEST: Ping with backup nexthop ID [ OK ] # 97.42 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.44 [+13.02] # 110.44 [+0.00] Backup nexthop ID - torture test # 110.44 [+0.00] -------------------------------- # 141.37 [+30.93] TEST: Torture test [ OK ] # 142.26 [+0.89] # 142.26 [+0.00] Tests passed: 89 # 142.26 [+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__->