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.82 [+11.82] # 11.82 [+0.00] Backup port # 11.82 [+0.00] ----------- # 13.17 [+1.35] TEST: Forwarding out of swp1 [ OK ] # 13.47 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 13.76 [+0.29] TEST: swp1 carrier off [ OK ] # 14.36 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 14.73 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 15.03 [+0.31] TEST: swp1 carrier on [ OK ] # 15.28 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.90 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 16.20 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 16.52 [+0.33] TEST: swp1 carrier off [ OK ] # 17.12 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.44 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 17.76 [+0.32] TEST: swp1 carrier on [ OK ] # 18.38 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 18.70 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 18.95 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.54 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 19.86 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 20.17 [+0.31] TEST: swp1 carrier off [ OK ] # 20.73 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 21.09 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 34.03 [+12.94] # 34.03 [+0.00] Backup nexthop ID # 34.03 [+0.00] ----------------- # 36.20 [+2.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.80 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 37.13 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 37.47 [+0.34] TEST: swp1 carrier off [ OK ] # 38.05 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 38.38 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 38.73 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 39.07 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.37 [+0.30] TEST: swp1 carrier on [ OK ] # 39.62 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.20 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 40.56 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 40.89 [+0.33] TEST: swp1 carrier off [ OK ] # 41.46 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 41.76 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 42.08 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 42.40 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.72 [+0.32] TEST: swp1 carrier on [ OK ] # 43.35 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 43.66 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 44.00 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 44.33 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.56 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.17 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 45.51 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 45.83 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 46.16 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.47 [+0.31] TEST: swp1 carrier off [ OK ] # 47.05 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 47.39 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 47.73 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.06 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.24 [+13.18] # 61.25 [+0.00] Backup nexthop ID - invalid IDs # 61.25 [+0.00] ------------------------------- # 63.57 [+2.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.79 [+0.22] TEST: Valid nexthop as backup nexthop [ OK ] # 64.10 [+0.31] TEST: swp1 carrier off [ OK ] # 64.68 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 65.01 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 65.36 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 65.52 [+0.16] TEST: No Tx drop increase [ OK ] # 65.77 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 66.37 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 66.70 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 67.02 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 67.18 [+0.16] TEST: Tx drop increased [ OK ] # 67.54 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.11 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 68.43 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 68.77 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 68.92 [+0.15] TEST: Tx drop increased [ OK ] # 69.19 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.78 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 70.12 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 70.45 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 70.58 [+0.12] TEST: Tx drop increased [ OK ] # 71.20 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.83 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 72.17 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.50 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 72.64 [+0.14] TEST: Tx drop increased [ OK ] # 85.81 [+13.17] # 85.81 [+0.00] Backup nexthop ID - ping # 85.81 [+0.00] ------------------------ # 89.82 [+4.01] TEST: Ping with backup nexthop ID [ OK ] # 95.24 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 108.18 [+12.94] # 108.18 [+0.00] Backup nexthop ID - torture test # 108.18 [+0.00] -------------------------------- # 139.16 [+30.97] TEST: Torture test [ OK ] # 140.08 [+0.92] # 140.08 [+0.00] Tests passed: 83 # 140.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__->