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.77 [+12.77] # 12.77 [+0.00] Backup port # 12.77 [+0.00] ----------- # 14.35 [+1.57] TEST: Forwarding out of swp1 [ OK ] # 14.74 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 15.12 [+0.38] TEST: swp1 carrier off [ OK ] # 15.83 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 16.24 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 16.67 [+0.43] TEST: swp1 carrier on [ OK ] # 17.02 [+0.34] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.84 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 18.28 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 18.69 [+0.41] TEST: swp1 carrier off [ OK ] # 19.43 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 19.78 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 20.14 [+0.36] TEST: swp1 carrier on [ OK ] # 20.83 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 21.22 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 21.52 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.26 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 22.64 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 23.01 [+0.37] TEST: swp1 carrier off [ OK ] # 23.75 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 24.10 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 38.92 [+14.82] # 38.92 [+0.00] Backup nexthop ID # 38.92 [+0.00] ----------------- # 42.15 [+3.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.02 [+0.87] TEST: Forwarding out of swp1 [ OK ] # 43.44 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 43.92 [+0.48] TEST: swp1 carrier off [ OK ] # 44.77 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 45.21 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 45.68 [+0.47] TEST: No forwarding using backup nexthop ID [ OK ] # 46.12 [+0.43] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.58 [+0.47] TEST: swp1 carrier on [ OK ] # 46.91 [+0.33] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.82 [+0.90] TEST: Forwarding out of swp1 [ OK ] # 48.34 [+0.52] TEST: No forwarding out of vx0 [ OK ] # 48.79 [+0.45] TEST: swp1 carrier off [ OK ] # 49.75 [+0.96] TEST: No forwarding out of swp1 [ OK ] # 50.26 [+0.51] TEST: Forwarding out of vx0 [ OK ] # 50.67 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 51.09 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.52 [+0.43] TEST: swp1 carrier on [ OK ] # 52.29 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 52.71 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 53.08 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 53.51 [+0.43] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.81 [+0.30] TEST: No backup nexthop ID configured for swp1 [ OK ] # 54.63 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 54.98 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 55.37 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 55.79 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.16 [+0.37] TEST: swp1 carrier off [ OK ] # 56.91 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 57.27 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 57.67 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 58.02 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 72.26 [+14.24] # 72.26 [+0.00] Backup nexthop ID - invalid IDs # 72.26 [+0.00] ------------------------------- # 74.89 [+2.63] TEST: vx0 configured as backup port of swp1 [ OK ] # 75.15 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 75.49 [+0.34] TEST: swp1 carrier off [ OK ] # 76.13 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 76.45 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 76.79 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 76.95 [+0.16] TEST: No Tx drop increase [ OK ] # 77.21 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 77.85 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 78.22 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 78.59 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 78.73 [+0.14] TEST: Tx drop increased [ OK ] # 79.14 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 79.76 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 80.09 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 80.44 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 80.59 [+0.15] TEST: Tx drop increased [ OK ] # 80.83 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 81.51 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 81.86 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 82.23 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 82.40 [+0.17] TEST: Tx drop increased [ OK ] # 83.04 [+0.64] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 83.71 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 84.11 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 84.47 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 84.64 [+0.17] TEST: Tx drop increased [ OK ] # 97.87 [+13.23] # 97.87 [+0.00] Backup nexthop ID - ping # 97.87 [+0.00] ------------------------ # 102.03 [+4.16] TEST: Ping with backup nexthop ID [ OK ] # 107.50 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 120.85 [+13.35] # 120.85 [+0.00] Backup nexthop ID - torture test # 120.85 [+0.00] -------------------------------- # 151.85 [+31.00] TEST: Torture test [ OK ] # 152.74 [+0.89] # 152.74 [+0.00] Tests passed: 83 # 152.74 [+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__->