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.20 [+12.20] # 12.20 [+0.00] Backup port # 12.20 [+0.00] ----------- # 13.60 [+1.40] TEST: Forwarding out of swp1 [ OK ] # 13.95 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.23 [+0.28] TEST: swp1 carrier off [ OK ] # 14.81 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 15.19 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 15.52 [+0.33] TEST: swp1 carrier on [ OK ] # 15.79 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.38 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.70 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.99 [+0.30] TEST: swp1 carrier off [ OK ] # 17.58 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.92 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 18.24 [+0.32] TEST: swp1 carrier on [ OK ] # 18.81 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 19.16 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 19.50 [+0.34] TEST: swp1 administratively down [ OK ] # 20.18 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 20.52 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 20.84 [+0.32] TEST: swp1 administratively up [ OK ] # 21.43 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 21.74 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 21.97 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.55 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 22.89 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 23.18 [+0.29] TEST: swp1 carrier off [ OK ] # 23.75 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 24.10 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 37.44 [+13.34] # 37.44 [+0.00] Backup nexthop ID # 37.44 [+0.00] ----------------- # 39.60 [+2.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.18 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 40.51 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 40.84 [+0.33] TEST: swp1 carrier off [ OK ] # 41.46 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 41.79 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 42.10 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 42.45 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.76 [+0.31] TEST: swp1 carrier on [ OK ] # 43.00 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.58 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.88 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 44.20 [+0.32] TEST: swp1 carrier off [ OK ] # 44.84 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 45.16 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 45.48 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 45.80 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.11 [+0.31] TEST: swp1 carrier on [ OK ] # 46.77 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 47.13 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 47.51 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 47.85 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.15 [+0.30] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.77 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 49.09 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 49.41 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 49.74 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.05 [+0.31] TEST: swp1 carrier off [ OK ] # 50.68 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 51.03 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 51.37 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 51.69 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.26 [+13.57] # 65.26 [+0.00] Backup nexthop ID - invalid IDs # 65.26 [+0.00] ------------------------------- # 67.65 [+2.39] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.88 [+0.22] TEST: Valid nexthop as backup nexthop [ OK ] # 68.18 [+0.31] TEST: swp1 carrier off [ OK ] # 68.83 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 69.19 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 69.55 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 69.74 [+0.19] TEST: No Tx drop increase [ OK ] # 70.02 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.71 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 71.05 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 71.38 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 71.51 [+0.13] TEST: Tx drop increased [ OK ] # 71.92 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.53 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 72.88 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.26 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 73.39 [+0.14] TEST: Tx drop increased [ OK ] # 73.64 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.30 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 74.66 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 75.02 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 75.19 [+0.16] TEST: Tx drop increased [ OK ] # 75.79 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.46 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 76.84 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 77.21 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 77.37 [+0.16] TEST: Tx drop increased [ OK ] # 91.46 [+14.09] # 91.46 [+0.00] Backup nexthop ID - ping # 91.46 [+0.00] ------------------------ # 95.55 [+4.09] TEST: Ping with backup nexthop ID [ OK ] # 100.97 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.23 [+13.26] # 114.23 [+0.00] Backup nexthop ID - torture test # 114.23 [+0.00] -------------------------------- # 145.19 [+30.96] TEST: Torture test [ OK ] # 146.15 [+0.95] # 146.15 [+0.00] Tests passed: 89 # 146.15 [+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__->