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.35 [+0.00] ----------- # 15.49 [+2.14] TEST: Forwarding out of swp1 [ OK ] # 15.87 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.28 [+0.41] TEST: swp1 carrier off [ OK ] # 16.99 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 17.36 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 17.76 [+0.40] TEST: swp1 carrier on [ OK ] # 18.06 [+0.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.78 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 19.16 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 19.54 [+0.39] TEST: swp1 carrier off [ OK ] # 20.28 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 20.64 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 21.05 [+0.41] TEST: swp1 carrier on [ OK ] # 21.77 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 22.15 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 22.43 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.15 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 23.53 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 23.94 [+0.41] TEST: swp1 carrier off [ OK ] # 24.65 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 25.02 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 39.60 [+14.58] # 39.60 [+0.00] Backup nexthop ID # 39.60 [+0.00] ----------------- # 42.17 [+2.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 42.91 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 43.29 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 43.70 [+0.41] TEST: swp1 carrier off [ OK ] # 44.44 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 44.80 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 45.17 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 45.56 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 45.95 [+0.40] TEST: swp1 carrier on [ OK ] # 46.23 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 46.93 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 47.30 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 47.72 [+0.42] TEST: swp1 carrier off [ OK ] # 48.45 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 48.80 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 49.19 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 49.55 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.95 [+0.40] TEST: swp1 carrier on [ OK ] # 50.69 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 51.07 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 51.44 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 51.84 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.11 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.82 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 53.17 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 53.54 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 53.92 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.32 [+0.40] TEST: swp1 carrier off [ OK ] # 55.04 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 55.41 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 55.78 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 56.14 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 70.80 [+14.66] # 70.80 [+0.00] Backup nexthop ID - invalid IDs # 70.81 [+0.00] ------------------------------- # 73.37 [+2.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 73.65 [+0.28] TEST: Valid nexthop as backup nexthop [ OK ] # 74.04 [+0.39] TEST: swp1 carrier off [ OK ] # 74.77 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 75.13 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 75.49 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 75.66 [+0.17] TEST: No Tx drop increase [ OK ] # 75.95 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 76.67 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 77.05 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 77.42 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 77.57 [+0.15] TEST: Tx drop increased [ OK ] # 78.01 [+0.44] TEST: Blackhole nexthop as backup nexthop [ OK ] # 78.72 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 79.09 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 79.48 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 79.63 [+0.16] TEST: Tx drop increased [ OK ] # 79.90 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 80.66 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 81.03 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 81.40 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 81.56 [+0.16] TEST: Tx drop increased [ OK ] # 82.29 [+0.73] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 83.03 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 83.43 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 83.79 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 83.95 [+0.16] TEST: Tx drop increased [ OK ] # 98.71 [+14.76] # 98.71 [+0.00] Backup nexthop ID - ping # 98.71 [+0.00] ------------------------ # 103.25 [+4.54] TEST: Ping with backup nexthop ID [ OK ] # 108.80 [+5.55] TEST: Ping after disabling backup nexthop ID [ OK ] # 123.38 [+14.58] # 123.38 [+0.00] Backup nexthop ID - torture test # 123.38 [+0.00] -------------------------------- # 154.51 [+31.12] TEST: Torture test [ OK ] # 155.63 [+1.12] # 155.63 [+0.00] Tests passed: 83 # 155.63 [+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__->