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.34 [+12.34] # 12.35 [+0.00] Backup port # 12.35 [+0.00] ----------- # 13.92 [+1.57] TEST: Forwarding out of swp1 [ OK ] # 14.27 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.60 [+0.33] TEST: swp1 carrier off [ OK ] # 15.24 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 15.56 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.90 [+0.34] TEST: swp1 carrier on [ OK ] # 16.15 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.76 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 17.12 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.46 [+0.35] TEST: swp1 carrier off [ OK ] # 18.17 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 18.53 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 18.94 [+0.41] TEST: swp1 carrier on [ OK ] # 19.73 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 20.16 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 20.47 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.24 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 21.61 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 21.96 [+0.35] TEST: swp1 carrier off [ OK ] # 22.65 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 23.02 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 37.71 [+14.70] # 37.71 [+0.00] Backup nexthop ID # 37.71 [+0.00] ----------------- # 40.71 [+2.99] TEST: vx0 configured as backup port of swp1 [ OK ] # 41.51 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 41.92 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 42.33 [+0.41] TEST: swp1 carrier off [ OK ] # 43.18 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 43.63 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 44.04 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 44.46 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 44.91 [+0.45] TEST: swp1 carrier on [ OK ] # 45.30 [+0.39] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 46.20 [+0.90] TEST: Forwarding out of swp1 [ OK ] # 46.74 [+0.54] TEST: No forwarding out of vx0 [ OK ] # 47.23 [+0.49] TEST: swp1 carrier off [ OK ] # 48.08 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 48.52 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 48.92 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 49.42 [+0.49] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.91 [+0.49] TEST: swp1 carrier on [ OK ] # 50.69 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 51.10 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 51.50 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 51.90 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.21 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.94 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 53.33 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 53.72 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 54.13 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.53 [+0.40] TEST: swp1 carrier off [ OK ] # 55.38 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 55.84 [+0.46] TEST: Forwarding out of vx0 [ OK ] # 56.27 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 56.71 [+0.44] TEST: Forwarding using VXLAN FDB entry [ OK ] # 72.08 [+15.37] # 72.08 [+0.00] Backup nexthop ID - invalid IDs # 72.08 [+0.00] ------------------------------- # 74.56 [+2.48] TEST: vx0 configured as backup port of swp1 [ OK ] # 74.87 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 75.20 [+0.33] TEST: swp1 carrier off [ OK ] # 75.89 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 76.23 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 76.60 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 76.75 [+0.16] TEST: No Tx drop increase [ OK ] # 77.02 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 77.67 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 78.01 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 78.35 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 78.53 [+0.18] TEST: Tx drop increased [ OK ] # 78.94 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 79.60 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 79.95 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 80.30 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 80.44 [+0.14] TEST: Tx drop increased [ OK ] # 80.70 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 81.33 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 81.67 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 82.04 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 82.19 [+0.15] TEST: Tx drop increased [ OK ] # 82.84 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 83.52 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 83.88 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 84.21 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 84.38 [+0.17] TEST: Tx drop increased [ OK ] # 97.84 [+13.45] # 97.84 [+0.00] Backup nexthop ID - ping # 97.84 [+0.00] ------------------------ # 102.13 [+4.29] TEST: Ping with backup nexthop ID [ OK ] # 107.58 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 120.92 [+13.34] # 120.92 [+0.00] Backup nexthop ID - torture test # 120.92 [+0.00] -------------------------------- # 151.96 [+31.04] TEST: Torture test [ OK ] # 152.85 [+0.90] # 152.85 [+0.00] Tests passed: 83 # 152.85 [+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__->