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.31 [+9.31] # 9.31 [+0.00] Backup port # 9.31 [+0.00] ----------- # 10.33 [+1.02] TEST: Forwarding out of swp1 [ OK ] # 10.62 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 10.84 [+0.22] TEST: swp1 carrier off [ OK ] # 11.32 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 11.57 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.79 [+0.22] TEST: swp1 carrier on [ OK ] # 11.95 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.40 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 12.65 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.88 [+0.23] TEST: swp1 carrier off [ OK ] # 13.35 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 13.61 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.82 [+0.21] TEST: swp1 carrier on [ OK ] # 14.28 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.55 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.71 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.19 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.45 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.68 [+0.23] TEST: swp1 carrier off [ OK ] # 16.16 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.42 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.53 [+10.11] # 26.53 [+0.00] Backup nexthop ID # 26.53 [+0.00] ----------------- # 28.03 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.48 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 28.76 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 28.98 [+0.21] TEST: swp1 carrier off [ OK ] # 29.44 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 29.68 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 29.95 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.23 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.45 [+0.22] TEST: swp1 carrier on [ OK ] # 30.64 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.11 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 31.39 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 31.63 [+0.24] TEST: swp1 carrier off [ OK ] # 32.10 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 32.38 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 32.68 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 32.93 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.17 [+0.24] TEST: swp1 carrier on [ OK ] # 33.70 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 33.96 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.21 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.51 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.67 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.14 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.40 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.67 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.95 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.16 [+0.21] TEST: swp1 carrier off [ OK ] # 36.64 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 36.87 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 37.15 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.41 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.53 [+10.11] # 47.53 [+0.00] Backup nexthop ID - invalid IDs # 47.53 [+0.00] ------------------------------- # 49.20 [+1.68] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.38 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 49.61 [+0.23] TEST: swp1 carrier off [ OK ] # 50.11 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 50.39 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 50.65 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 50.75 [+0.10] TEST: No Tx drop increase [ OK ] # 50.93 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.39 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 51.64 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.90 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.01 [+0.11] TEST: Tx drop increased [ OK ] # 52.24 [+0.23] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.71 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 52.97 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.22 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.31 [+0.09] TEST: Tx drop increased [ OK ] # 53.49 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.96 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.21 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.46 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.55 [+0.10] TEST: Tx drop increased [ OK ] # 54.98 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.45 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.71 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.97 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.06 [+0.10] TEST: Tx drop increased [ OK ] # 66.11 [+10.05] # 66.11 [+0.00] Backup nexthop ID - ping # 66.11 [+0.00] ------------------------ # 69.59 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 74.90 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 84.94 [+10.05] # 84.94 [+0.00] Backup nexthop ID - torture test # 84.95 [+0.00] -------------------------------- # 115.63 [+30.68] TEST: Torture test [ OK ] # 116.36 [+0.73] # 116.36 [+0.00] Tests passed: 83 # 116.36 [+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__->