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.73 [+11.73] # 11.73 [+0.00] Backup port # 11.73 [+0.00] ----------- # 13.44 [+1.70] TEST: Forwarding out of swp1 [ OK ] # 13.73 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 14.05 [+0.31] TEST: swp1 carrier off [ OK ] # 14.64 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 14.98 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.32 [+0.34] TEST: swp1 carrier on [ OK ] # 15.55 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.13 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 16.47 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.78 [+0.31] TEST: swp1 carrier off [ OK ] # 17.37 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.68 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 17.98 [+0.30] TEST: swp1 carrier on [ OK ] # 18.57 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 18.93 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 19.26 [+0.33] TEST: swp1 administratively down [ OK ] # 19.88 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 20.20 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 20.51 [+0.31] TEST: swp1 administratively up [ OK ] # 21.09 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 21.41 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 21.64 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.22 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 22.56 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 22.92 [+0.35] TEST: swp1 carrier off [ OK ] # 23.56 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 23.93 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 36.59 [+12.65] # 36.59 [+0.00] Backup nexthop ID # 36.59 [+0.00] ----------------- # 38.70 [+2.11] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.32 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 39.63 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 39.93 [+0.30] TEST: swp1 carrier off [ OK ] # 40.53 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 40.86 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 41.19 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 41.51 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.80 [+0.30] TEST: swp1 carrier on [ OK ] # 42.03 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.61 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 42.92 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 43.24 [+0.31] TEST: swp1 carrier off [ OK ] # 43.84 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 44.18 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.54 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 44.84 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.13 [+0.29] TEST: swp1 carrier on [ OK ] # 45.69 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 46.02 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.37 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 46.69 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.93 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.51 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 47.85 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 48.16 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 48.49 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.81 [+0.31] TEST: swp1 carrier off [ OK ] # 49.38 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 49.71 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 50.02 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 50.33 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.02 [+12.69] # 63.02 [+0.00] Backup nexthop ID - invalid IDs # 63.02 [+0.00] ------------------------------- # 65.07 [+2.05] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.34 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 65.66 [+0.33] TEST: swp1 carrier off [ OK ] # 66.23 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 66.55 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 66.87 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 67.04 [+0.17] TEST: No Tx drop increase [ OK ] # 67.26 [+0.22] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.84 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 68.15 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 68.47 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 68.60 [+0.13] TEST: Tx drop increased [ OK ] # 68.93 [+0.33] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.50 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 69.79 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 70.11 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.25 [+0.14] TEST: Tx drop increased [ OK ] # 70.47 [+0.22] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.05 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 71.38 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 71.70 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 71.85 [+0.15] TEST: Tx drop increased [ OK ] # 72.41 [+0.56] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.00 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 73.33 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.69 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 73.84 [+0.15] TEST: Tx drop increased [ OK ] # 86.54 [+12.70] # 86.55 [+0.00] Backup nexthop ID - ping # 86.55 [+0.00] ------------------------ # 90.66 [+4.11] TEST: Ping with backup nexthop ID [ OK ] # 96.09 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 108.77 [+12.68] # 108.77 [+0.00] Backup nexthop ID - torture test # 108.77 [+0.00] -------------------------------- # 139.67 [+30.90] TEST: Torture test [ OK ] # 140.52 [+0.85] # 140.53 [+0.00] Tests passed: 89 # 140.53 [+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__->