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.66 [+13.66] # 13.66 [+0.00] Backup port # 13.66 [+0.00] ----------- # 16.09 [+2.42] TEST: Forwarding out of swp1 [ OK ] # 16.47 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 16.93 [+0.45] TEST: swp1 carrier off [ OK ] # 17.66 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 18.07 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 18.50 [+0.44] TEST: swp1 carrier on [ OK ] # 18.81 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.56 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 19.95 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 20.36 [+0.41] TEST: swp1 carrier off [ OK ] # 21.11 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 21.49 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 21.91 [+0.41] TEST: swp1 carrier on [ OK ] # 22.67 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 23.05 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 23.33 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.10 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 24.49 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 24.90 [+0.41] TEST: swp1 carrier off [ OK ] # 25.67 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 26.06 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 41.45 [+15.39] # 41.45 [+0.00] Backup nexthop ID # 41.45 [+0.00] ----------------- # 44.22 [+2.76] TEST: vx0 configured as backup port of swp1 [ OK ] # 44.99 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 45.40 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 45.81 [+0.41] TEST: swp1 carrier off [ OK ] # 46.59 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 46.95 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 47.36 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 47.74 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.16 [+0.42] TEST: swp1 carrier on [ OK ] # 48.49 [+0.33] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 49.25 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 49.66 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 50.09 [+0.43] TEST: swp1 carrier off [ OK ] # 50.85 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 51.31 [+0.46] TEST: Forwarding out of vx0 [ OK ] # 51.74 [+0.43] TEST: Forwarding using backup nexthop ID [ OK ] # 52.12 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.55 [+0.43] TEST: swp1 carrier on [ OK ] # 53.34 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 53.72 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 54.12 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 54.53 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.85 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 55.63 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 56.02 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 56.42 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 56.80 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.21 [+0.41] TEST: swp1 carrier off [ OK ] # 57.99 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 58.38 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 58.78 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 59.18 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 74.64 [+15.46] # 74.64 [+0.00] Backup nexthop ID - invalid IDs # 74.64 [+0.00] ------------------------------- # 77.41 [+2.77] TEST: vx0 configured as backup port of swp1 [ OK ] # 77.71 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 78.15 [+0.43] TEST: swp1 carrier off [ OK ] # 78.93 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 79.33 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 79.73 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 79.89 [+0.15] TEST: No Tx drop increase [ OK ] # 80.22 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 80.98 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 81.37 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 81.75 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 81.91 [+0.16] TEST: Tx drop increased [ OK ] # 82.38 [+0.47] TEST: Blackhole nexthop as backup nexthop [ OK ] # 83.15 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 83.50 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 83.89 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 84.05 [+0.15] TEST: Tx drop increased [ OK ] # 84.35 [+0.30] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 85.07 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 85.46 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 85.83 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 85.98 [+0.14] TEST: Tx drop increased [ OK ] # 86.77 [+0.79] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 87.54 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 87.93 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 88.34 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 88.50 [+0.16] TEST: Tx drop increased [ OK ] # 103.93 [+15.43] # 103.93 [+0.00] Backup nexthop ID - ping # 103.93 [+0.00] ------------------------ # 108.80 [+4.86] TEST: Ping with backup nexthop ID [ OK ] # 114.41 [+5.62] TEST: Ping after disabling backup nexthop ID [ OK ] # 129.82 [+15.40] # 129.82 [+0.00] Backup nexthop ID - torture test # 129.82 [+0.00] -------------------------------- # 161.11 [+31.29] TEST: Torture test [ OK ] # 162.35 [+1.24] # 162.35 [+0.00] Tests passed: 83 # 162.35 [+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__->