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.62 [+11.62] # 11.62 [+0.00] Backup port # 11.62 [+0.00] ----------- # 13.57 [+1.95] TEST: Forwarding out of swp1 [ OK ] # 13.94 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 14.31 [+0.37] TEST: swp1 carrier off [ OK ] # 14.94 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 15.25 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 15.58 [+0.33] TEST: swp1 carrier on [ OK ] # 15.81 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.39 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.72 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 17.02 [+0.30] TEST: swp1 carrier off [ OK ] # 17.59 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 17.91 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.22 [+0.30] TEST: swp1 carrier on [ OK ] # 18.83 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.15 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.44 [+0.30] TEST: swp1 administratively down [ OK ] # 20.06 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 20.37 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 20.68 [+0.31] TEST: swp1 administratively up [ OK ] # 21.29 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 21.61 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 21.84 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.42 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 22.73 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 23.03 [+0.30] TEST: swp1 carrier off [ OK ] # 23.62 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 23.94 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 36.69 [+12.75] # 36.69 [+0.00] Backup nexthop ID # 36.69 [+0.00] ----------------- # 38.98 [+2.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.55 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 39.88 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 40.24 [+0.36] TEST: swp1 carrier off [ OK ] # 40.85 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 41.16 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 41.46 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 41.81 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.16 [+0.35] TEST: swp1 carrier on [ OK ] # 42.41 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.99 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.33 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.63 [+0.29] TEST: swp1 carrier off [ OK ] # 44.24 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 44.62 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 44.99 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 45.33 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.64 [+0.30] TEST: swp1 carrier on [ OK ] # 46.23 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 46.59 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 46.92 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.26 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.52 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.14 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 48.49 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 48.82 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 49.16 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.48 [+0.32] TEST: swp1 carrier off [ OK ] # 50.05 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 50.35 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 50.70 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 51.03 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.01 [+13.98] # 65.01 [+0.00] Backup nexthop ID - invalid IDs # 65.01 [+0.00] ------------------------------- # 67.53 [+2.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.85 [+0.33] TEST: Valid nexthop as backup nexthop [ OK ] # 68.22 [+0.36] TEST: swp1 carrier off [ OK ] # 68.91 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 69.34 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 69.73 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 69.90 [+0.17] TEST: No Tx drop increase [ OK ] # 70.16 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.84 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 71.26 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 71.62 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 71.81 [+0.19] TEST: Tx drop increased [ OK ] # 72.19 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.84 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 73.18 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.53 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 73.68 [+0.15] TEST: Tx drop increased [ OK ] # 73.96 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.58 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 74.96 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 75.28 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 75.41 [+0.14] TEST: Tx drop increased [ OK ] # 76.07 [+0.66] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.66 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 76.99 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 77.34 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 77.47 [+0.13] TEST: Tx drop increased [ OK ] # 90.55 [+13.08] # 90.55 [+0.00] Backup nexthop ID - ping # 90.55 [+0.00] ------------------------ # 94.61 [+4.06] TEST: Ping with backup nexthop ID [ OK ] # 100.04 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.84 [+12.80] # 112.84 [+0.00] Backup nexthop ID - torture test # 112.84 [+0.00] -------------------------------- # 143.80 [+30.96] TEST: Torture test [ OK ] # 144.65 [+0.86] # 144.65 [+0.00] Tests passed: 89 # 144.66 [+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__->