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 # 15.94 [+15.94] # 15.94 [+0.00] Backup port # 15.94 [+0.00] ----------- # 17.96 [+2.01] TEST: Forwarding out of swp1 [ OK ] # 18.42 [+0.46] TEST: No forwarding out of vx0 [ OK ] # 18.90 [+0.48] TEST: swp1 carrier off [ OK ] # 19.80 [+0.90] TEST: No forwarding out of swp1 [ OK ] # 20.26 [+0.47] TEST: No forwarding out of vx0 [ OK ] # 20.73 [+0.46] TEST: swp1 carrier on [ OK ] # 21.04 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 21.85 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 22.32 [+0.46] TEST: No forwarding out of vx0 [ OK ] # 22.78 [+0.46] TEST: swp1 carrier off [ OK ] # 23.60 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 24.05 [+0.45] TEST: Forwarding out of vx0 [ OK ] # 24.46 [+0.41] TEST: swp1 carrier on [ OK ] # 25.27 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 25.64 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 26.01 [+0.37] TEST: vx0 not configured as backup port of swp1 [ OK ] # 26.88 [+0.87] TEST: Forwarding out of swp1 [ OK ] # 27.26 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 27.72 [+0.46] TEST: swp1 carrier off [ OK ] # 28.50 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 28.92 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 42.84 [+13.92] # 42.84 [+0.00] Backup nexthop ID # 42.84 [+0.00] ----------------- # 45.07 [+2.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 45.71 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 46.01 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 46.35 [+0.34] TEST: swp1 carrier off [ OK ] # 46.98 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 47.32 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 47.66 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 47.99 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.30 [+0.31] TEST: swp1 carrier on [ OK ] # 48.54 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 49.13 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 49.49 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 49.80 [+0.31] TEST: swp1 carrier off [ OK ] # 50.41 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 50.75 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 51.12 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 51.47 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.81 [+0.34] TEST: swp1 carrier on [ OK ] # 52.46 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 52.80 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 53.15 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 53.50 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.75 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 54.37 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 54.71 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 55.05 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 55.40 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.71 [+0.31] TEST: swp1 carrier off [ OK ] # 56.33 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 56.66 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 57.04 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 57.37 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 71.00 [+13.63] # 71.00 [+0.00] Backup nexthop ID - invalid IDs # 71.00 [+0.00] ------------------------------- # 73.34 [+2.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 73.60 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 73.91 [+0.30] TEST: swp1 carrier off [ OK ] # 74.55 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 74.93 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 75.32 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 75.47 [+0.15] TEST: No Tx drop increase [ OK ] # 75.72 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 76.42 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 76.73 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 77.05 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 77.21 [+0.16] TEST: Tx drop increased [ OK ] # 77.60 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 78.22 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 78.52 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 78.86 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 79.02 [+0.16] TEST: Tx drop increased [ OK ] # 79.25 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 79.88 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 80.22 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 80.55 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 80.70 [+0.15] TEST: Tx drop increased [ OK ] # 81.35 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 81.97 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 82.34 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 82.68 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 82.84 [+0.16] TEST: Tx drop increased [ OK ] # 96.19 [+13.35] # 96.19 [+0.00] Backup nexthop ID - ping # 96.19 [+0.00] ------------------------ # 100.27 [+4.07] TEST: Ping with backup nexthop ID [ OK ] # 105.72 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 118.88 [+13.16] # 118.88 [+0.00] Backup nexthop ID - torture test # 118.88 [+0.00] -------------------------------- # 149.90 [+31.02] TEST: Torture test [ OK ] # 150.82 [+0.91] # 150.82 [+0.00] Tests passed: 83 # 150.82 [+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__->