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.30 [+12.30] # 12.30 [+0.00] Backup port # 12.30 [+0.00] ----------- # 14.16 [+1.86] TEST: Forwarding out of swp1 [ OK ] # 14.45 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 14.80 [+0.35] TEST: swp1 carrier off [ OK ] # 15.42 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 15.79 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.15 [+0.37] TEST: swp1 carrier on [ OK ] # 16.41 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.06 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 17.42 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 17.76 [+0.34] TEST: swp1 carrier off [ OK ] # 18.39 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 18.75 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 19.08 [+0.33] TEST: swp1 carrier on [ OK ] # 19.73 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 20.08 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 20.33 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.95 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 21.31 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.62 [+0.32] TEST: swp1 carrier off [ OK ] # 22.25 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 22.55 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 36.11 [+13.56] # 36.11 [+0.00] Backup nexthop ID # 36.11 [+0.00] ----------------- # 38.39 [+2.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.05 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 39.43 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 39.75 [+0.33] TEST: swp1 carrier off [ OK ] # 40.41 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 40.75 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 41.09 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 41.47 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.80 [+0.33] TEST: swp1 carrier on [ OK ] # 42.09 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.71 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 43.06 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 43.38 [+0.32] TEST: swp1 carrier off [ OK ] # 44.02 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 44.38 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 44.70 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 45.06 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.38 [+0.32] TEST: swp1 carrier on [ OK ] # 46.02 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 46.35 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.70 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 47.05 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.30 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.96 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 48.32 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 48.65 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 49.02 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.35 [+0.33] TEST: swp1 carrier off [ OK ] # 49.98 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 50.34 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 50.67 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 51.00 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.41 [+13.40] # 64.41 [+0.00] Backup nexthop ID - invalid IDs # 64.41 [+0.00] ------------------------------- # 66.69 [+2.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.95 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 67.29 [+0.35] TEST: swp1 carrier off [ OK ] # 68.00 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 68.34 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 68.70 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 68.84 [+0.15] TEST: No Tx drop increase [ OK ] # 69.10 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.71 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 70.06 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 70.43 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 70.58 [+0.15] TEST: Tx drop increased [ OK ] # 70.93 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.59 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 71.94 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.29 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 72.44 [+0.15] TEST: Tx drop increased [ OK ] # 72.68 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.34 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 73.69 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.02 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.18 [+0.16] TEST: Tx drop increased [ OK ] # 74.79 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.41 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 75.77 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 76.11 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 76.26 [+0.16] TEST: Tx drop increased [ OK ] # 89.77 [+13.50] # 89.77 [+0.00] Backup nexthop ID - ping # 89.77 [+0.00] ------------------------ # 93.94 [+4.17] TEST: Ping with backup nexthop ID [ OK ] # 99.40 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.09 [+13.69] # 113.09 [+0.00] Backup nexthop ID - torture test # 113.09 [+0.00] -------------------------------- # 144.13 [+31.04] TEST: Torture test [ OK ] # 145.08 [+0.95] # 145.08 [+0.00] Tests passed: 83 # 145.08 [+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__->