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.12 [+1.77] TEST: Forwarding out of swp1 [ OK ] # 15.49 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 15.90 [+0.41] TEST: swp1 carrier off [ OK ] # 16.64 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 17.01 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 17.41 [+0.40] TEST: swp1 carrier on [ OK ] # 17.71 [+0.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.43 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 18.81 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 19.21 [+0.40] TEST: swp1 carrier off [ OK ] # 19.94 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 20.32 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 20.72 [+0.39] TEST: swp1 carrier on [ OK ] # 21.46 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 21.83 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 22.12 [+0.29] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.85 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 23.21 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 23.61 [+0.40] TEST: swp1 carrier off [ OK ] # 24.34 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 24.71 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 39.61 [+14.90] # 39.61 [+0.00] Backup nexthop ID # 39.61 [+0.00] ----------------- # 42.26 [+2.64] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.01 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 43.36 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 43.76 [+0.40] TEST: swp1 carrier off [ OK ] # 44.48 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 44.83 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 45.21 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 45.60 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.01 [+0.41] TEST: swp1 carrier on [ OK ] # 46.31 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.04 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 47.43 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 47.84 [+0.41] TEST: swp1 carrier off [ OK ] # 48.59 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 48.96 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 49.33 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 49.70 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.11 [+0.41] TEST: swp1 carrier on [ OK ] # 50.86 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 51.21 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 51.56 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 51.94 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.23 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.95 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 53.33 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 53.72 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 54.11 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.51 [+0.41] TEST: swp1 carrier off [ OK ] # 55.25 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 55.63 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 56.00 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 56.39 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 71.26 [+14.87] # 71.26 [+0.00] Backup nexthop ID - invalid IDs # 71.26 [+0.00] ------------------------------- # 73.87 [+2.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 74.14 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 74.55 [+0.41] TEST: swp1 carrier off [ OK ] # 75.27 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 75.64 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 76.02 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 76.19 [+0.16] TEST: No Tx drop increase [ OK ] # 76.47 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 77.18 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 77.55 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 77.91 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 78.07 [+0.16] TEST: Tx drop increased [ OK ] # 78.48 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 79.21 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 79.59 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 79.93 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 80.08 [+0.14] TEST: Tx drop increased [ OK ] # 80.37 [+0.29] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 81.08 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 81.44 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 81.82 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 81.98 [+0.16] TEST: Tx drop increased [ OK ] # 82.71 [+0.73] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 83.44 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 83.84 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 84.20 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 84.37 [+0.17] TEST: Tx drop increased [ OK ] # 99.27 [+14.90] # 99.27 [+0.00] Backup nexthop ID - ping # 99.27 [+0.00] ------------------------ # 103.96 [+4.68] TEST: Ping with backup nexthop ID [ OK ] # 109.54 [+5.58] TEST: Ping after disabling backup nexthop ID [ OK ] # 124.37 [+14.83] # 124.37 [+0.00] Backup nexthop ID - torture test # 124.37 [+0.00] -------------------------------- # 155.55 [+31.17] TEST: Torture test [ OK ] # 156.69 [+1.14] # 156.69 [+0.00] Tests passed: 83 # 156.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__->