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.23 [+12.23] # 12.23 [+0.00] Backup port # 12.23 [+0.00] ----------- # 13.75 [+1.52] TEST: Forwarding out of swp1 [ OK ] # 14.08 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.41 [+0.34] TEST: swp1 carrier off [ OK ] # 15.06 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.40 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.76 [+0.36] TEST: swp1 carrier on [ OK ] # 16.03 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.68 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 17.02 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 17.36 [+0.34] TEST: swp1 carrier off [ OK ] # 18.01 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 18.36 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 18.71 [+0.35] TEST: swp1 carrier on [ OK ] # 19.33 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.68 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 19.94 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.58 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 20.89 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.20 [+0.31] TEST: swp1 carrier off [ OK ] # 21.84 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 22.20 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 36.07 [+13.86] # 36.07 [+0.00] Backup nexthop ID # 36.07 [+0.00] ----------------- # 38.41 [+2.35] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.09 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 39.45 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 39.78 [+0.33] TEST: swp1 carrier off [ OK ] # 40.51 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 40.83 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 41.17 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.54 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.89 [+0.35] TEST: swp1 carrier on [ OK ] # 42.14 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.88 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 43.27 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 43.64 [+0.37] TEST: swp1 carrier off [ OK ] # 44.41 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 44.80 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 45.22 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 45.61 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.98 [+0.38] TEST: swp1 carrier on [ OK ] # 46.69 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 47.10 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 47.45 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 47.79 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.11 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.85 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 49.20 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 49.59 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 49.96 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.35 [+0.39] TEST: swp1 carrier off [ OK ] # 51.16 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 51.58 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 51.94 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 52.34 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 67.32 [+14.97] # 67.32 [+0.00] Backup nexthop ID - invalid IDs # 67.32 [+0.00] ------------------------------- # 69.77 [+2.45] TEST: vx0 configured as backup port of swp1 [ OK ] # 70.03 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 70.38 [+0.34] TEST: swp1 carrier off [ OK ] # 71.03 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 71.37 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.73 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 71.89 [+0.17] TEST: No Tx drop increase [ OK ] # 72.14 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 72.80 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 73.17 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 73.51 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 73.68 [+0.16] TEST: Tx drop increased [ OK ] # 74.07 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.70 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 75.05 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 75.45 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 75.60 [+0.15] TEST: Tx drop increased [ OK ] # 75.85 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 76.52 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 76.90 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 77.26 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 77.43 [+0.16] TEST: Tx drop increased [ OK ] # 78.10 [+0.67] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.79 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 79.13 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 79.50 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 79.66 [+0.15] TEST: Tx drop increased [ OK ] # 93.14 [+13.48] # 93.14 [+0.00] Backup nexthop ID - ping # 93.14 [+0.00] ------------------------ # 97.36 [+4.22] TEST: Ping with backup nexthop ID [ OK ] # 102.85 [+5.49] TEST: Ping after disabling backup nexthop ID [ OK ] # 116.18 [+13.32] # 116.18 [+0.00] Backup nexthop ID - torture test # 116.18 [+0.00] -------------------------------- # 147.19 [+31.01] TEST: Torture test [ OK ] # 148.11 [+0.92] # 148.11 [+0.00] Tests passed: 83 # 148.11 [+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__->