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.70 [+11.70] # 11.70 [+0.00] Backup port # 11.71 [+0.00] ----------- # 13.07 [+1.36] TEST: Forwarding out of swp1 [ OK ] # 13.39 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 13.70 [+0.31] TEST: swp1 carrier off [ OK ] # 14.27 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 14.61 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.94 [+0.32] TEST: swp1 carrier on [ OK ] # 15.16 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.77 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 16.08 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.39 [+0.31] TEST: swp1 carrier off [ OK ] # 16.98 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.31 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 17.61 [+0.29] TEST: swp1 carrier on [ OK ] # 18.21 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 18.57 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 18.86 [+0.29] TEST: swp1 administratively down [ OK ] # 19.45 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 19.78 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 20.09 [+0.31] TEST: swp1 administratively up [ OK ] # 20.68 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 21.02 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.24 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.84 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 22.17 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 22.50 [+0.32] TEST: swp1 carrier off [ OK ] # 23.10 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 23.44 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 36.36 [+12.93] # 36.36 [+0.00] Backup nexthop ID # 36.37 [+0.00] ----------------- # 38.45 [+2.09] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.07 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 39.53 [+0.46] TEST: No forwarding out of vx0 [ OK ] # 40.02 [+0.49] TEST: swp1 carrier off [ OK ] # 40.94 [+0.92] TEST: No forwarding out of swp1 [ OK ] # 41.32 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 41.78 [+0.46] TEST: No forwarding using backup nexthop ID [ OK ] # 42.19 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.54 [+0.35] TEST: swp1 carrier on [ OK ] # 42.85 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.60 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 43.95 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 44.28 [+0.33] TEST: swp1 carrier off [ OK ] # 44.99 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 45.36 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 45.69 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 46.03 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.35 [+0.32] TEST: swp1 carrier on [ OK ] # 46.95 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 47.31 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 47.62 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.94 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.21 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.85 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 49.16 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 49.50 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.89 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.23 [+0.34] TEST: swp1 carrier off [ OK ] # 50.84 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 51.16 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 51.49 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 51.82 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.90 [+13.07] # 64.90 [+0.00] Backup nexthop ID - invalid IDs # 64.90 [+0.00] ------------------------------- # 67.25 [+2.35] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.49 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 67.82 [+0.33] TEST: swp1 carrier off [ OK ] # 68.41 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 68.77 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 69.09 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 69.24 [+0.15] TEST: No Tx drop increase [ OK ] # 69.48 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.06 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 70.38 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 70.70 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 70.86 [+0.16] TEST: Tx drop increased [ OK ] # 71.20 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.76 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 72.06 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.35 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 72.50 [+0.15] TEST: Tx drop increased [ OK ] # 72.74 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.40 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 73.72 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 74.06 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.19 [+0.14] TEST: Tx drop increased [ OK ] # 74.82 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.46 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 75.79 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 76.12 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 76.25 [+0.13] TEST: Tx drop increased [ OK ] # 89.48 [+13.23] # 89.48 [+0.00] Backup nexthop ID - ping # 89.48 [+0.00] ------------------------ # 93.60 [+4.12] TEST: Ping with backup nexthop ID [ OK ] # 99.04 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.13 [+13.09] # 112.13 [+0.00] Backup nexthop ID - torture test # 112.13 [+0.00] -------------------------------- # 143.08 [+30.95] TEST: Torture test [ OK ] # 144.00 [+0.91] # 144.00 [+0.00] Tests passed: 89 # 144.00 [+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__->