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.86 [+11.86] # 11.86 [+0.00] Backup port # 11.86 [+0.00] ----------- # 13.25 [+1.39] TEST: Forwarding out of swp1 [ OK ] # 13.57 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 13.88 [+0.31] TEST: swp1 carrier off [ OK ] # 14.51 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 14.85 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.17 [+0.32] TEST: swp1 carrier on [ OK ] # 15.43 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.05 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 16.37 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 16.69 [+0.31] TEST: swp1 carrier off [ OK ] # 17.29 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 17.62 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 17.95 [+0.33] TEST: swp1 carrier on [ OK ] # 18.57 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 18.87 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 19.13 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.72 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 20.05 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.35 [+0.30] TEST: swp1 carrier off [ OK ] # 20.94 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 21.26 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 34.24 [+12.98] # 34.24 [+0.00] Backup nexthop ID # 34.24 [+0.00] ----------------- # 36.38 [+2.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.98 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 37.31 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.64 [+0.33] TEST: swp1 carrier off [ OK ] # 38.26 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 38.62 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 38.99 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 39.35 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.66 [+0.32] TEST: swp1 carrier on [ OK ] # 39.94 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.60 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 40.92 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 41.26 [+0.34] TEST: swp1 carrier off [ OK ] # 41.91 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 42.26 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 42.62 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 42.99 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.36 [+0.37] TEST: swp1 carrier on [ OK ] # 44.00 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 44.34 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 44.69 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 45.05 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.31 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.95 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 46.29 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 46.62 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 46.98 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.31 [+0.33] TEST: swp1 carrier off [ OK ] # 47.95 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 48.29 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 48.61 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 48.98 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.64 [+13.67] # 62.64 [+0.00] Backup nexthop ID - invalid IDs # 62.65 [+0.00] ------------------------------- # 65.00 [+2.35] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.23 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 65.56 [+0.33] TEST: swp1 carrier off [ OK ] # 66.20 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 66.54 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 66.88 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 67.04 [+0.16] TEST: No Tx drop increase [ OK ] # 67.28 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.91 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 68.26 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 68.59 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 68.74 [+0.16] TEST: Tx drop increased [ OK ] # 69.11 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.73 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.03 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 70.36 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.50 [+0.15] TEST: Tx drop increased [ OK ] # 70.77 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.42 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 71.77 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.13 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 72.28 [+0.15] TEST: Tx drop increased [ OK ] # 72.90 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.54 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 73.88 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.23 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.39 [+0.16] TEST: Tx drop increased [ OK ] # 87.73 [+13.34] # 87.73 [+0.00] Backup nexthop ID - ping # 87.73 [+0.00] ------------------------ # 91.80 [+4.07] TEST: Ping with backup nexthop ID [ OK ] # 97.26 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.53 [+13.26] # 110.53 [+0.00] Backup nexthop ID - torture test # 110.53 [+0.00] -------------------------------- # 141.54 [+31.01] TEST: Torture test [ OK ] # 142.45 [+0.90] # 142.45 [+0.00] Tests passed: 83 # 142.45 [+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__->