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.28 [+12.28] # 12.28 [+0.00] Backup port # 12.28 [+0.00] ----------- # 13.79 [+1.51] TEST: Forwarding out of swp1 [ OK ] # 14.12 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.45 [+0.33] TEST: swp1 carrier off [ OK ] # 15.09 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 15.43 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.80 [+0.37] TEST: swp1 carrier on [ OK ] # 16.05 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.72 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 17.09 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 17.44 [+0.35] TEST: swp1 carrier off [ OK ] # 18.19 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 18.54 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 18.90 [+0.36] TEST: swp1 carrier on [ OK ] # 19.57 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 19.99 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 20.25 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.95 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 21.29 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.64 [+0.35] TEST: swp1 carrier off [ OK ] # 22.33 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 22.69 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 37.51 [+14.82] # 37.51 [+0.00] Backup nexthop ID # 37.51 [+0.00] ----------------- # 40.30 [+2.79] TEST: vx0 configured as backup port of swp1 [ OK ] # 41.09 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 41.50 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 41.92 [+0.41] TEST: swp1 carrier off [ OK ] # 42.66 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 43.04 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 43.44 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 43.80 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 44.18 [+0.38] TEST: swp1 carrier on [ OK ] # 44.48 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 45.22 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 45.63 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 46.10 [+0.47] TEST: swp1 carrier off [ OK ] # 46.84 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 47.22 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 47.57 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 48.02 [+0.45] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.42 [+0.41] TEST: swp1 carrier on [ OK ] # 49.23 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 49.58 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 49.94 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 50.33 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.62 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 51.35 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 51.73 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 52.20 [+0.47] TEST: No forwarding using backup nexthop ID [ OK ] # 52.56 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.93 [+0.37] TEST: swp1 carrier off [ OK ] # 53.67 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 54.05 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 54.41 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 54.81 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 68.44 [+13.63] # 68.44 [+0.00] Backup nexthop ID - invalid IDs # 68.44 [+0.00] ------------------------------- # 70.81 [+2.37] TEST: vx0 configured as backup port of swp1 [ OK ] # 71.09 [+0.28] TEST: Valid nexthop as backup nexthop [ OK ] # 71.41 [+0.32] TEST: swp1 carrier off [ OK ] # 72.08 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 72.40 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.76 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 72.91 [+0.15] TEST: No Tx drop increase [ OK ] # 73.18 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 73.84 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 74.20 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 74.54 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.70 [+0.15] TEST: Tx drop increased [ OK ] # 75.10 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 75.75 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 76.10 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 76.45 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 76.60 [+0.16] TEST: Tx drop increased [ OK ] # 76.84 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 77.48 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 77.81 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 78.16 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 78.33 [+0.16] TEST: Tx drop increased [ OK ] # 78.95 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 79.57 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 79.92 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 80.22 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 80.39 [+0.16] TEST: Tx drop increased [ OK ] # 93.70 [+13.32] # 93.71 [+0.00] Backup nexthop ID - ping # 93.71 [+0.00] ------------------------ # 98.08 [+4.37] TEST: Ping with backup nexthop ID [ OK ] # 103.54 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 117.04 [+13.50] # 117.04 [+0.00] Backup nexthop ID - torture test # 117.04 [+0.00] -------------------------------- # 148.04 [+31.00] TEST: Torture test [ OK ] # 148.93 [+0.88] # 148.93 [+0.00] Tests passed: 83 # 148.93 [+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__->