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 # 14.09 [+14.09] # 14.09 [+0.00] Backup port # 14.09 [+0.00] ----------- # 16.34 [+2.25] TEST: Forwarding out of swp1 [ OK ] # 16.74 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 17.14 [+0.41] TEST: swp1 carrier off [ OK ] # 17.99 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 18.39 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 18.85 [+0.46] TEST: swp1 carrier on [ OK ] # 19.23 [+0.37] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.04 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 20.47 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 20.91 [+0.44] TEST: swp1 carrier off [ OK ] # 21.76 [+0.86] TEST: No forwarding out of swp1 [ OK ] # 22.15 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 22.61 [+0.46] TEST: swp1 carrier on [ OK ] # 23.40 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 23.82 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 24.13 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.91 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 25.36 [+0.45] TEST: No forwarding out of vx0 [ OK ] # 25.85 [+0.48] TEST: swp1 carrier off [ OK ] # 26.65 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 27.07 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 42.27 [+15.20] # 42.27 [+0.00] Backup nexthop ID # 42.27 [+0.00] ----------------- # 44.67 [+2.40] TEST: vx0 configured as backup port of swp1 [ OK ] # 45.31 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 45.67 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 46.02 [+0.35] TEST: swp1 carrier off [ OK ] # 46.63 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 46.96 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 47.31 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 47.68 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.08 [+0.40] TEST: swp1 carrier on [ OK ] # 48.38 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 49.12 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 49.49 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 49.83 [+0.34] TEST: swp1 carrier off [ OK ] # 50.47 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 50.85 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 51.18 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 51.53 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.85 [+0.32] TEST: swp1 carrier on [ OK ] # 52.49 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 52.84 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 53.17 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 53.51 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.76 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 54.39 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 54.72 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 55.06 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 55.42 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.76 [+0.34] TEST: swp1 carrier off [ OK ] # 56.41 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 56.73 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 57.08 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 57.43 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 70.80 [+13.37] # 70.80 [+0.00] Backup nexthop ID - invalid IDs # 70.80 [+0.00] ------------------------------- # 73.05 [+2.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 73.33 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 73.67 [+0.34] TEST: swp1 carrier off [ OK ] # 74.29 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 74.65 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.97 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 75.10 [+0.13] TEST: No Tx drop increase [ OK ] # 75.40 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 76.04 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 76.43 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 76.77 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 76.92 [+0.15] TEST: Tx drop increased [ OK ] # 77.31 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 77.95 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 78.30 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 78.65 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 78.79 [+0.13] TEST: Tx drop increased [ OK ] # 79.06 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 79.66 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 80.01 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 80.36 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 80.53 [+0.17] TEST: Tx drop increased [ OK ] # 81.18 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 81.81 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 82.17 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 82.52 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 82.64 [+0.12] TEST: Tx drop increased [ OK ] # 96.01 [+13.37] # 96.01 [+0.00] Backup nexthop ID - ping # 96.01 [+0.00] ------------------------ # 100.22 [+4.21] TEST: Ping with backup nexthop ID [ OK ] # 105.67 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 119.09 [+13.42] # 119.09 [+0.00] Backup nexthop ID - torture test # 119.10 [+0.00] -------------------------------- # 150.10 [+31.00] TEST: Torture test [ OK ] # 151.01 [+0.91] # 151.01 [+0.00] Tests passed: 83 # 151.01 [+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__->