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.25 [+12.25] # 12.25 [+0.00] Backup port # 12.25 [+0.00] ----------- # 14.19 [+1.94] TEST: Forwarding out of swp1 [ OK ] # 14.63 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 14.95 [+0.32] TEST: swp1 carrier off [ OK ] # 15.60 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.97 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.30 [+0.33] TEST: swp1 carrier on [ OK ] # 16.56 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.19 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 17.53 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.85 [+0.33] TEST: swp1 carrier off [ OK ] # 18.53 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 18.85 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 19.20 [+0.35] TEST: swp1 carrier on [ OK ] # 19.82 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 20.18 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 20.46 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.09 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 21.42 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 21.75 [+0.33] TEST: swp1 carrier off [ OK ] # 22.40 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 22.73 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 36.09 [+13.35] # 36.09 [+0.00] Backup nexthop ID # 36.09 [+0.00] ----------------- # 38.38 [+2.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.01 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 39.38 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 39.75 [+0.37] TEST: swp1 carrier off [ OK ] # 40.39 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 40.74 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 41.07 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.42 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.77 [+0.36] TEST: swp1 carrier on [ OK ] # 42.05 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.70 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 43.07 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 43.37 [+0.31] TEST: swp1 carrier off [ OK ] # 44.02 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 44.36 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.73 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 45.07 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.43 [+0.36] TEST: swp1 carrier on [ OK ] # 46.09 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 46.44 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 46.77 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 47.11 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.38 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.01 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 48.36 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 48.67 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 49.04 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.37 [+0.34] TEST: swp1 carrier off [ OK ] # 49.99 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 50.30 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 50.65 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 51.00 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.47 [+13.47] # 64.47 [+0.00] Backup nexthop ID - invalid IDs # 64.47 [+0.00] ------------------------------- # 66.72 [+2.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.97 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 67.32 [+0.35] TEST: swp1 carrier off [ OK ] # 68.01 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 68.35 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 68.71 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 68.86 [+0.16] TEST: No Tx drop increase [ OK ] # 69.15 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.80 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 70.14 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 70.50 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 70.65 [+0.15] TEST: Tx drop increased [ OK ] # 71.03 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.67 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.02 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.36 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.52 [+0.16] TEST: Tx drop increased [ OK ] # 72.78 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.43 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 73.75 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.07 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 74.25 [+0.17] TEST: Tx drop increased [ OK ] # 74.88 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.53 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 75.87 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 76.21 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 76.36 [+0.15] TEST: Tx drop increased [ OK ] # 89.66 [+13.30] # 89.66 [+0.00] Backup nexthop ID - ping # 89.66 [+0.00] ------------------------ # 93.87 [+4.21] TEST: Ping with backup nexthop ID [ OK ] # 99.33 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.61 [+13.28] # 112.61 [+0.00] Backup nexthop ID - torture test # 112.61 [+0.00] -------------------------------- # 143.63 [+31.02] TEST: Torture test [ OK ] # 144.60 [+0.97] # 144.60 [+0.00] Tests passed: 83 # 144.60 [+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__->