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 # 9.61 [+9.61] # 9.61 [+0.00] Backup port # 9.62 [+0.00] ----------- # 10.82 [+1.20] TEST: Forwarding out of swp1 [ OK ] # 11.09 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.31 [+0.22] TEST: swp1 carrier off [ OK ] # 11.81 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 12.09 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.32 [+0.22] TEST: swp1 carrier on [ OK ] # 12.49 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.99 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.25 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.47 [+0.22] TEST: swp1 carrier off [ OK ] # 13.95 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.23 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.47 [+0.24] TEST: swp1 carrier on [ OK ] # 14.93 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.21 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.38 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.88 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 16.14 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.39 [+0.24] TEST: swp1 carrier off [ OK ] # 16.87 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.17 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 28.91 [+11.74] # 28.91 [+0.00] Backup nexthop ID # 28.92 [+0.00] ----------------- # 30.55 [+1.64] TEST: vx0 configured as backup port of swp1 [ OK ] # 31.07 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 31.39 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 31.67 [+0.28] TEST: swp1 carrier off [ OK ] # 32.25 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 32.55 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 32.86 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 33.16 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 33.46 [+0.29] TEST: swp1 carrier on [ OK ] # 33.65 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 34.16 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 34.45 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 34.72 [+0.26] TEST: swp1 carrier off [ OK ] # 35.26 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 35.54 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 35.86 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 36.17 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.43 [+0.26] TEST: swp1 carrier on [ OK ] # 36.94 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 37.24 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 37.52 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.79 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.00 [+0.21] TEST: No backup nexthop ID configured for swp1 [ OK ] # 38.52 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 38.80 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 39.08 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 39.35 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 39.58 [+0.23] TEST: swp1 carrier off [ OK ] # 40.11 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 40.43 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 40.70 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 41.00 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 51.78 [+10.77] # 51.78 [+0.00] Backup nexthop ID - invalid IDs # 51.78 [+0.00] ------------------------------- # 53.36 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 53.53 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 53.77 [+0.24] TEST: swp1 carrier off [ OK ] # 54.29 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 54.56 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.83 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 54.93 [+0.11] TEST: No Tx drop increase [ OK ] # 55.11 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 55.61 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.90 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 56.16 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.27 [+0.12] TEST: Tx drop increased [ OK ] # 56.53 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 57.02 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.31 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 57.59 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.71 [+0.13] TEST: Tx drop increased [ OK ] # 57.90 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 58.41 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 58.69 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 58.95 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 59.07 [+0.11] TEST: Tx drop increased [ OK ] # 59.53 [+0.47] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 60.08 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 60.36 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 60.62 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 60.73 [+0.12] TEST: Tx drop increased [ OK ] # 71.30 [+10.57] # 71.30 [+0.00] Backup nexthop ID - ping # 71.30 [+0.00] ------------------------ # 75.00 [+3.69] TEST: Ping with backup nexthop ID [ OK ] # 80.36 [+5.37] TEST: Ping after disabling backup nexthop ID [ OK ] # 91.35 [+10.99] # 91.35 [+0.00] Backup nexthop ID - torture test # 91.35 [+0.00] -------------------------------- # 122.06 [+30.71] TEST: Torture test [ OK ] # 122.78 [+0.72] # 122.78 [+0.00] Tests passed: 83 # 122.79 [+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__->