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.07 [+12.07] # 12.07 [+0.00] Backup port # 12.07 [+0.00] ----------- # 13.50 [+1.42] TEST: Forwarding out of swp1 [ OK ] # 13.84 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.17 [+0.33] TEST: swp1 carrier off [ OK ] # 14.78 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 15.13 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.46 [+0.33] TEST: swp1 carrier on [ OK ] # 15.70 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.29 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.62 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.94 [+0.32] TEST: swp1 carrier off [ OK ] # 17.53 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.88 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 18.23 [+0.35] TEST: swp1 carrier on [ OK ] # 18.86 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.19 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.52 [+0.33] TEST: swp1 administratively down [ OK ] # 20.17 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 20.48 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 20.80 [+0.32] TEST: swp1 administratively up [ OK ] # 21.40 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 21.73 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 21.98 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.58 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 22.90 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 23.21 [+0.31] TEST: swp1 carrier off [ OK ] # 23.79 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 24.12 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 37.25 [+13.14] # 37.26 [+0.00] Backup nexthop ID # 37.26 [+0.00] ----------------- # 39.47 [+2.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.11 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 40.45 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 40.81 [+0.36] TEST: swp1 carrier off [ OK ] # 41.48 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 41.83 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 42.15 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 42.53 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.87 [+0.35] TEST: swp1 carrier on [ OK ] # 43.10 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.73 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 44.07 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 44.37 [+0.30] TEST: swp1 carrier off [ OK ] # 44.99 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 45.35 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 45.67 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 46.03 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.36 [+0.33] TEST: swp1 carrier on [ OK ] # 46.97 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 47.29 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 47.64 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 47.97 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.21 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.86 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 49.20 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 49.55 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 49.88 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.23 [+0.34] TEST: swp1 carrier off [ OK ] # 50.85 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 51.17 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 51.47 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 51.81 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.99 [+13.19] # 64.99 [+0.00] Backup nexthop ID - invalid IDs # 64.99 [+0.00] ------------------------------- # 67.33 [+2.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.59 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 67.89 [+0.30] TEST: swp1 carrier off [ OK ] # 68.51 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 68.86 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 69.22 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 69.37 [+0.14] TEST: No Tx drop increase [ OK ] # 69.64 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.24 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.58 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 70.92 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.09 [+0.16] TEST: Tx drop increased [ OK ] # 71.48 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.10 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 72.43 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.79 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 72.93 [+0.14] TEST: Tx drop increased [ OK ] # 73.15 [+0.22] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.76 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 74.10 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 74.49 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 74.65 [+0.16] TEST: Tx drop increased [ OK ] # 75.24 [+0.59] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.85 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 76.17 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 76.53 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 76.68 [+0.15] TEST: Tx drop increased [ OK ] # 89.77 [+13.09] # 89.77 [+0.00] Backup nexthop ID - ping # 89.77 [+0.00] ------------------------ # 93.80 [+4.03] TEST: Ping with backup nexthop ID [ OK ] # 99.24 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.34 [+13.10] # 112.34 [+0.00] Backup nexthop ID - torture test # 112.34 [+0.00] -------------------------------- # 143.36 [+31.03] TEST: Torture test [ OK ] # 144.38 [+1.02] # 144.39 [+0.00] Tests passed: 89 # 144.39 [+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__->