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.35 [+13.35] # 13.35 [+0.00] Backup port # 13.36 [+0.00] ----------- # 15.48 [+2.12] TEST: Forwarding out of swp1 [ OK ] # 15.84 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.23 [+0.38] TEST: swp1 carrier off [ OK ] # 16.96 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 17.32 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 17.70 [+0.39] TEST: swp1 carrier on [ OK ] # 17.99 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.69 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 19.08 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 19.47 [+0.39] TEST: swp1 carrier off [ OK ] # 20.19 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 20.56 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 20.94 [+0.38] TEST: swp1 carrier on [ OK ] # 21.66 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 22.02 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 22.29 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.01 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 23.37 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 23.75 [+0.38] TEST: swp1 carrier off [ OK ] # 24.46 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 24.83 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 39.48 [+14.65] # 39.48 [+0.00] Backup nexthop ID # 39.48 [+0.00] ----------------- # 42.06 [+2.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 42.77 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 43.13 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 43.51 [+0.38] TEST: swp1 carrier off [ OK ] # 44.25 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 44.64 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 45.02 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 45.41 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 45.83 [+0.42] TEST: swp1 carrier on [ OK ] # 46.11 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 46.85 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 47.21 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 47.60 [+0.39] TEST: swp1 carrier off [ OK ] # 48.29 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 48.69 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 49.07 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 49.44 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.83 [+0.39] TEST: swp1 carrier on [ OK ] # 50.56 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 50.93 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 51.30 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 51.68 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.98 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.70 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 53.08 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 53.47 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 53.85 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.24 [+0.39] TEST: swp1 carrier off [ OK ] # 54.99 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 55.36 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 55.72 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 56.07 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 70.78 [+14.70] # 70.78 [+0.00] Backup nexthop ID - invalid IDs # 70.78 [+0.00] ------------------------------- # 73.50 [+2.72] TEST: vx0 configured as backup port of swp1 [ OK ] # 73.79 [+0.29] TEST: Valid nexthop as backup nexthop [ OK ] # 74.17 [+0.38] TEST: swp1 carrier off [ OK ] # 74.93 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 75.30 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 75.67 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 75.83 [+0.16] TEST: No Tx drop increase [ OK ] # 76.12 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 76.85 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 77.24 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 77.60 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 77.74 [+0.14] TEST: Tx drop increased [ OK ] # 78.19 [+0.45] TEST: Blackhole nexthop as backup nexthop [ OK ] # 78.92 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 79.28 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 79.65 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 79.79 [+0.14] TEST: Tx drop increased [ OK ] # 80.08 [+0.29] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 80.79 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 81.15 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 81.50 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 81.67 [+0.16] TEST: Tx drop increased [ OK ] # 82.39 [+0.73] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 83.10 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 83.48 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 83.85 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 84.02 [+0.17] TEST: Tx drop increased [ OK ] # 98.70 [+14.68] # 98.70 [+0.00] Backup nexthop ID - ping # 98.71 [+0.00] ------------------------ # 103.33 [+4.63] TEST: Ping with backup nexthop ID [ OK ] # 108.91 [+5.57] TEST: Ping after disabling backup nexthop ID [ OK ] # 123.69 [+14.78] # 123.69 [+0.00] Backup nexthop ID - torture test # 123.69 [+0.00] -------------------------------- # 154.92 [+31.23] TEST: Torture test [ OK ] # 156.02 [+1.10] # 156.02 [+0.00] Tests passed: 83 # 156.02 [+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__->