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.84 [+13.84] # 13.84 [+0.00] Backup port # 13.84 [+0.00] ----------- # 15.60 [+1.76] TEST: Forwarding out of swp1 [ OK ] # 15.99 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 16.38 [+0.39] TEST: swp1 carrier off [ OK ] # 17.11 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 17.49 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 17.89 [+0.39] TEST: swp1 carrier on [ OK ] # 18.17 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.89 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 19.27 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 19.67 [+0.40] TEST: swp1 carrier off [ OK ] # 20.37 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 20.78 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 21.20 [+0.42] TEST: swp1 carrier on [ OK ] # 21.93 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 22.31 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 22.60 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.35 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 23.76 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 24.17 [+0.42] TEST: swp1 carrier off [ OK ] # 24.91 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 25.26 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 40.11 [+14.85] # 40.11 [+0.00] Backup nexthop ID # 40.11 [+0.00] ----------------- # 42.73 [+2.62] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.47 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 43.81 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 44.20 [+0.39] TEST: swp1 carrier off [ OK ] # 44.93 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 45.30 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 45.68 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 46.08 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.46 [+0.39] TEST: swp1 carrier on [ OK ] # 46.74 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.45 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 47.82 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 48.23 [+0.40] TEST: swp1 carrier off [ OK ] # 48.94 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 49.30 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 49.69 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 50.05 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.45 [+0.39] TEST: swp1 carrier on [ OK ] # 51.12 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 51.49 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 51.88 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 52.25 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.52 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 53.26 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 53.64 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 54.02 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 54.41 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.84 [+0.43] TEST: swp1 carrier off [ OK ] # 55.56 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 55.92 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 56.29 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 56.67 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 71.31 [+14.65] # 71.31 [+0.00] Backup nexthop ID - invalid IDs # 71.31 [+0.00] ------------------------------- # 73.88 [+2.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 74.15 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 74.53 [+0.38] TEST: swp1 carrier off [ OK ] # 75.24 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 75.61 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 76.01 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 76.17 [+0.16] TEST: No Tx drop increase [ OK ] # 76.45 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 77.16 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 77.50 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 77.86 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 78.03 [+0.17] TEST: Tx drop increased [ OK ] # 78.44 [+0.42] TEST: Blackhole nexthop as backup nexthop [ OK ] # 79.16 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 79.52 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 79.87 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 80.02 [+0.15] TEST: Tx drop increased [ OK ] # 80.29 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 81.04 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 81.41 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 81.79 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 81.94 [+0.15] TEST: Tx drop increased [ OK ] # 82.65 [+0.71] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 83.36 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 83.74 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 84.09 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 84.25 [+0.15] TEST: Tx drop increased [ OK ] # 98.76 [+14.52] # 98.76 [+0.00] Backup nexthop ID - ping # 98.76 [+0.00] ------------------------ # 103.21 [+4.45] TEST: Ping with backup nexthop ID [ OK ] # 108.77 [+5.55] TEST: Ping after disabling backup nexthop ID [ OK ] # 123.47 [+14.70] # 123.47 [+0.00] Backup nexthop ID - torture test # 123.47 [+0.00] -------------------------------- # 154.57 [+31.11] TEST: Torture test [ OK ] # 155.69 [+1.11] # 155.69 [+0.00] Tests passed: 83 # 155.69 [+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__->