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.18 [+12.18] # 12.18 [+0.00] Backup port # 12.18 [+0.00] ----------- # 13.88 [+1.70] TEST: Forwarding out of swp1 [ OK ] # 14.20 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.52 [+0.32] TEST: swp1 carrier off [ OK ] # 15.12 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 15.47 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.85 [+0.38] TEST: swp1 carrier on [ OK ] # 16.16 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.79 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 17.18 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 17.49 [+0.31] TEST: swp1 carrier off [ OK ] # 18.10 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 18.41 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 18.75 [+0.33] TEST: swp1 carrier on [ OK ] # 19.37 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 19.70 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.01 [+0.30] TEST: swp1 administratively down [ OK ] # 20.62 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 20.97 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 21.29 [+0.32] TEST: swp1 administratively up [ OK ] # 21.97 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 22.30 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 22.54 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.14 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 23.45 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 23.76 [+0.31] TEST: swp1 carrier off [ OK ] # 24.48 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 24.95 [+0.48] TEST: No forwarding out of vx0 [ OK ] # 38.68 [+13.72] # 38.68 [+0.00] Backup nexthop ID # 38.68 [+0.00] ----------------- # 40.83 [+2.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 41.46 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 41.80 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 42.11 [+0.32] TEST: swp1 carrier off [ OK ] # 42.73 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 43.06 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 43.40 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 43.73 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 44.07 [+0.34] TEST: swp1 carrier on [ OK ] # 44.32 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.94 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 45.27 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 45.62 [+0.35] TEST: swp1 carrier off [ OK ] # 46.22 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 46.52 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 46.87 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 47.19 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.50 [+0.31] TEST: swp1 carrier on [ OK ] # 48.08 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 48.43 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 48.76 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.08 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.33 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.93 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 50.25 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 50.60 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 50.91 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.21 [+0.30] TEST: swp1 carrier off [ OK ] # 51.81 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 52.15 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 52.47 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 52.80 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.84 [+13.04] # 65.84 [+0.00] Backup nexthop ID - invalid IDs # 65.84 [+0.00] ------------------------------- # 68.01 [+2.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.27 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 68.58 [+0.31] TEST: swp1 carrier off [ OK ] # 69.21 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 69.52 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 69.83 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 69.99 [+0.16] TEST: No Tx drop increase [ OK ] # 70.23 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.81 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 71.16 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 71.52 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.66 [+0.15] TEST: Tx drop increased [ OK ] # 72.01 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.62 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 72.96 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.27 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 73.43 [+0.15] TEST: Tx drop increased [ OK ] # 73.69 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.29 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 74.63 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.97 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 75.10 [+0.14] TEST: Tx drop increased [ OK ] # 75.71 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.32 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 76.62 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 76.93 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 77.09 [+0.17] TEST: Tx drop increased [ OK ] # 90.14 [+13.05] # 90.15 [+0.00] Backup nexthop ID - ping # 90.15 [+0.00] ------------------------ # 94.12 [+3.97] TEST: Ping with backup nexthop ID [ OK ] # 99.58 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.56 [+12.98] # 112.56 [+0.00] Backup nexthop ID - torture test # 112.56 [+0.00] -------------------------------- # 143.53 [+30.97] TEST: Torture test [ OK ] # 144.35 [+0.82] # 144.35 [+0.00] Tests passed: 89 # 144.35 [+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__->