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.14 [+12.14] # 12.14 [+0.00] Backup port # 12.14 [+0.00] ----------- # 13.96 [+1.82] TEST: Forwarding out of swp1 [ OK ] # 14.27 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.62 [+0.35] TEST: swp1 carrier off [ OK ] # 15.24 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 15.58 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.94 [+0.35] TEST: swp1 carrier on [ OK ] # 16.21 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.89 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 17.22 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.57 [+0.35] TEST: swp1 carrier off [ OK ] # 18.20 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 18.57 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 18.89 [+0.32] TEST: swp1 carrier on [ OK ] # 19.55 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 19.87 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 20.16 [+0.29] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.80 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 21.12 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.48 [+0.36] TEST: swp1 carrier off [ OK ] # 22.15 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 22.47 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 35.97 [+13.50] # 35.97 [+0.00] Backup nexthop ID # 35.97 [+0.00] ----------------- # 38.26 [+2.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.93 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 39.26 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 39.61 [+0.35] TEST: swp1 carrier off [ OK ] # 40.23 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 40.58 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 40.91 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 41.25 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.61 [+0.35] TEST: swp1 carrier on [ OK ] # 41.86 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.47 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 42.81 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.15 [+0.33] TEST: swp1 carrier off [ OK ] # 43.82 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 44.14 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 44.50 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 44.85 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.21 [+0.35] TEST: swp1 carrier on [ OK ] # 45.82 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 46.18 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 46.53 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 46.87 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.10 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.75 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 48.08 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.45 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 48.78 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.12 [+0.33] TEST: swp1 carrier off [ OK ] # 49.77 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 50.14 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 50.50 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 50.86 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.15 [+13.30] # 64.16 [+0.00] Backup nexthop ID - invalid IDs # 64.16 [+0.00] ------------------------------- # 66.45 [+2.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.70 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 67.05 [+0.35] TEST: swp1 carrier off [ OK ] # 67.69 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 68.06 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 68.39 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 68.54 [+0.15] TEST: No Tx drop increase [ OK ] # 68.81 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.46 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 69.80 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 70.13 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.30 [+0.17] TEST: Tx drop increased [ OK ] # 70.69 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.34 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 71.68 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.02 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.20 [+0.18] TEST: Tx drop increased [ OK ] # 72.46 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.13 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 73.47 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.82 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 73.99 [+0.17] TEST: Tx drop increased [ OK ] # 74.63 [+0.64] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.31 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 75.66 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 75.99 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 76.16 [+0.17] TEST: Tx drop increased [ OK ] # 89.70 [+13.54] # 89.70 [+0.00] Backup nexthop ID - ping # 89.70 [+0.00] ------------------------ # 93.91 [+4.21] TEST: Ping with backup nexthop ID [ OK ] # 99.41 [+5.49] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.02 [+13.61] # 113.02 [+0.00] Backup nexthop ID - torture test # 113.02 [+0.00] -------------------------------- # 144.06 [+31.04] TEST: Torture test [ OK ] # 144.99 [+0.93] # 145.00 [+0.01] Tests passed: 83 # 145.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__->