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.58 [+9.58] # 9.58 [+0.00] Backup port # 9.58 [+0.00] ----------- # 10.63 [+1.05] TEST: Forwarding out of swp1 [ OK ] # 10.90 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.14 [+0.23] TEST: swp1 carrier off [ OK ] # 11.60 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.87 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.11 [+0.24] TEST: swp1 carrier on [ OK ] # 12.31 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.82 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 13.09 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.33 [+0.25] TEST: swp1 carrier off [ OK ] # 13.80 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 14.06 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.30 [+0.24] TEST: swp1 carrier on [ OK ] # 14.78 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.04 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.22 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.70 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.18 [+0.21] TEST: swp1 carrier off [ OK ] # 16.69 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 16.97 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.36 [+10.39] # 27.36 [+0.00] Backup nexthop ID # 27.36 [+0.00] ----------------- # 28.95 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.42 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.70 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.96 [+0.26] TEST: swp1 carrier off [ OK ] # 30.43 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.71 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 30.97 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 31.23 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.47 [+0.23] TEST: swp1 carrier on [ OK ] # 31.64 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.14 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 32.39 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.63 [+0.24] TEST: swp1 carrier off [ OK ] # 33.11 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.39 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.68 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 33.93 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.17 [+0.23] TEST: swp1 carrier on [ OK ] # 34.63 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.90 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.16 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.45 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.64 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.13 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 36.38 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 36.66 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.94 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.15 [+0.22] TEST: swp1 carrier off [ OK ] # 37.66 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 37.94 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.19 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.46 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.86 [+10.40] # 48.86 [+0.00] Backup nexthop ID - invalid IDs # 48.87 [+0.00] ------------------------------- # 50.50 [+1.63] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.67 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.91 [+0.24] TEST: swp1 carrier off [ OK ] # 51.36 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 51.62 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.90 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.00 [+0.10] TEST: No Tx drop increase [ OK ] # 52.18 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.68 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.93 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 53.22 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 53.31 [+0.09] TEST: Tx drop increased [ OK ] # 53.56 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.04 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.30 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.58 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.68 [+0.10] TEST: Tx drop increased [ OK ] # 54.85 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.34 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.59 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.86 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.95 [+0.09] TEST: Tx drop increased [ OK ] # 56.40 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.86 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 57.13 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.42 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 57.51 [+0.09] TEST: Tx drop increased [ OK ] # 68.02 [+10.51] # 68.02 [+0.00] Backup nexthop ID - ping # 68.02 [+0.00] ------------------------ # 71.50 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 76.82 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.16 [+10.34] # 87.16 [+0.00] Backup nexthop ID - torture test # 87.16 [+0.00] -------------------------------- # 117.86 [+30.70] TEST: Torture test [ OK ] # 118.48 [+0.62] # 118.48 [+0.00] Tests passed: 83 # 118.48 [+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__->