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' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 13.39 [+13.39] # 13.39 [+0.00] Backup port # 13.39 [+0.00] ----------- # 15.52 [+2.13] TEST: Forwarding out of swp1 [ OK ] # 15.87 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 16.26 [+0.39] TEST: swp1 carrier off [ OK ] # 16.97 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 17.33 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 17.73 [+0.40] TEST: swp1 carrier on [ OK ] # 18.02 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.74 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 19.12 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 19.52 [+0.41] TEST: swp1 carrier off [ OK ] # 20.31 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 20.75 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 21.15 [+0.40] TEST: swp1 carrier on [ OK ] # 21.88 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 22.26 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 22.54 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.27 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 23.64 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 24.01 [+0.38] TEST: swp1 carrier off [ OK ] # 24.76 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 25.14 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 39.86 [+14.72] # 39.86 [+0.00] Backup nexthop ID # 39.86 [+0.00] ----------------- # 42.47 [+2.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.20 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 43.57 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 43.96 [+0.39] TEST: swp1 carrier off [ OK ] # 44.68 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 45.04 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 45.41 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 45.78 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.18 [+0.40] TEST: swp1 carrier on [ OK ] # 46.46 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.17 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 47.54 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 47.94 [+0.40] TEST: swp1 carrier off [ OK ] # 48.66 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 49.03 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 49.41 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 49.79 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.18 [+0.39] TEST: swp1 carrier on [ OK ] # 50.93 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 51.30 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 51.66 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 52.03 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.31 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 53.04 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 53.41 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 53.78 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 54.13 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.53 [+0.40] TEST: swp1 carrier off [ OK ] # 55.23 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 55.61 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 55.99 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 56.38 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 71.07 [+14.69] # 71.07 [+0.00] Backup nexthop ID - invalid IDs # 71.07 [+0.00] ------------------------------- # 73.67 [+2.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 73.96 [+0.29] TEST: Valid nexthop as backup nexthop [ OK ] # 74.36 [+0.40] TEST: swp1 carrier off [ OK ] # 75.10 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 75.50 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 75.90 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 76.05 [+0.16] TEST: No Tx drop increase [ OK ] # 76.35 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 77.06 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 77.44 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 77.81 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 77.94 [+0.13] TEST: Tx drop increased [ OK ] # 78.37 [+0.43] TEST: Blackhole nexthop as backup nexthop [ OK ] # 79.10 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 79.45 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 79.82 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 79.97 [+0.15] TEST: Tx drop increased [ OK ] # 80.26 [+0.29] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 80.99 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 81.34 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 81.72 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 81.88 [+0.16] TEST: Tx drop increased [ OK ] # 82.60 [+0.72] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 83.33 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 83.71 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 84.09 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 84.24 [+0.15] TEST: Tx drop increased [ OK ] # 98.82 [+14.57] # 98.82 [+0.00] Backup nexthop ID - ping # 98.82 [+0.00] ------------------------ # 103.43 [+4.61] TEST: Ping with backup nexthop ID [ OK ] # 109.00 [+5.57] TEST: Ping after disabling backup nexthop ID [ OK ] # 123.73 [+14.73] # 123.73 [+0.00] Backup nexthop ID - torture test # 123.73 [+0.00] -------------------------------- # 154.91 [+31.18] TEST: Torture test [ OK ] # 156.06 [+1.14] # 156.06 [+0.00] Tests passed: 83 # 156.06 [+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__->