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.29 [+9.29] # 9.29 [+0.00] Backup port # 9.29 [+0.00] ----------- # 10.31 [+1.01] TEST: Forwarding out of swp1 [ OK ] # 10.57 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.80 [+0.22] TEST: swp1 carrier off [ OK ] # 11.27 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.54 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.77 [+0.23] TEST: swp1 carrier on [ OK ] # 11.94 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.39 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 12.65 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.87 [+0.22] TEST: swp1 carrier off [ OK ] # 13.33 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.59 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.82 [+0.23] TEST: swp1 carrier on [ OK ] # 14.29 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.56 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 14.74 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.18 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.43 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.65 [+0.21] TEST: swp1 carrier off [ OK ] # 16.14 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 16.40 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.51 [+10.11] # 26.51 [+0.00] Backup nexthop ID # 26.51 [+0.00] ----------------- # 28.03 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.50 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 28.77 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 28.99 [+0.22] TEST: swp1 carrier off [ OK ] # 29.48 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 29.74 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.02 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 30.30 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.52 [+0.22] TEST: swp1 carrier on [ OK ] # 30.70 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.17 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 31.43 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.67 [+0.24] TEST: swp1 carrier off [ OK ] # 32.12 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 32.41 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 32.66 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 32.91 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.14 [+0.23] TEST: swp1 carrier on [ OK ] # 33.63 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 33.89 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.14 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 34.40 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.58 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.04 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 35.31 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.57 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.83 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.06 [+0.23] TEST: swp1 carrier off [ OK ] # 36.52 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 36.79 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 37.07 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.32 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.47 [+10.14] # 47.47 [+0.00] Backup nexthop ID - invalid IDs # 47.47 [+0.00] ------------------------------- # 49.07 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.25 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 49.46 [+0.21] TEST: swp1 carrier off [ OK ] # 49.94 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 50.21 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 50.47 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 50.57 [+0.10] TEST: No Tx drop increase [ OK ] # 50.74 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.23 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.49 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.76 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 51.86 [+0.10] TEST: Tx drop increased [ OK ] # 52.13 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.63 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.91 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 53.21 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 53.35 [+0.14] TEST: Tx drop increased [ OK ] # 53.53 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.02 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.27 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.54 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.64 [+0.10] TEST: Tx drop increased [ OK ] # 55.13 [+0.49] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.62 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.88 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.19 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 56.29 [+0.10] TEST: Tx drop increased [ OK ] # 66.51 [+10.22] # 66.51 [+0.00] Backup nexthop ID - ping # 66.51 [+0.00] ------------------------ # 69.87 [+3.36] TEST: Ping with backup nexthop ID [ OK ] # 75.18 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.28 [+10.10] # 85.28 [+0.00] Backup nexthop ID - torture test # 85.28 [+0.00] -------------------------------- # 115.97 [+30.69] TEST: Torture test [ OK ] # 116.61 [+0.64] # 116.61 [+0.00] Tests passed: 83 # 116.61 [+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__->