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.36 [+9.36] # 9.36 [+0.00] Backup port # 9.36 [+0.00] ----------- # 10.42 [+1.07] TEST: Forwarding out of swp1 [ OK ] # 10.70 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.93 [+0.24] TEST: swp1 carrier off [ OK ] # 11.39 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.65 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.88 [+0.23] TEST: swp1 carrier on [ OK ] # 12.07 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.56 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 12.84 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.07 [+0.24] TEST: swp1 carrier off [ OK ] # 13.57 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 13.82 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.04 [+0.22] TEST: swp1 carrier on [ OK ] # 14.50 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 14.77 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 14.96 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.43 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.68 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.90 [+0.21] TEST: swp1 carrier off [ OK ] # 16.33 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 16.58 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 26.77 [+10.19] # 26.77 [+0.00] Backup nexthop ID # 26.77 [+0.00] ----------------- # 28.32 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.79 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.08 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.28 [+0.20] TEST: swp1 carrier off [ OK ] # 29.75 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.00 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.27 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 30.51 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.74 [+0.23] TEST: swp1 carrier on [ OK ] # 30.91 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.36 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.61 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 31.84 [+0.23] TEST: swp1 carrier off [ OK ] # 32.32 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 32.58 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.83 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 33.10 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.32 [+0.22] TEST: swp1 carrier on [ OK ] # 33.81 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 34.07 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.34 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.61 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.76 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.23 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.48 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.74 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.01 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.24 [+0.22] TEST: swp1 carrier off [ OK ] # 36.68 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 36.95 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 37.21 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.47 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.63 [+10.16] # 47.64 [+0.00] Backup nexthop ID - invalid IDs # 47.64 [+0.00] ------------------------------- # 49.18 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.35 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.57 [+0.22] TEST: swp1 carrier off [ OK ] # 50.03 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 50.27 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 50.55 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 50.66 [+0.11] TEST: No Tx drop increase [ OK ] # 50.82 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.30 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.58 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.83 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 51.94 [+0.10] TEST: Tx drop increased [ OK ] # 52.17 [+0.23] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.64 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 52.90 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.16 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.27 [+0.11] TEST: Tx drop increased [ OK ] # 53.44 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.94 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 54.21 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.46 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.57 [+0.10] TEST: Tx drop increased [ OK ] # 55.00 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.46 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 55.70 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 55.95 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.06 [+0.11] TEST: Tx drop increased [ OK ] # 66.25 [+10.19] # 66.25 [+0.00] Backup nexthop ID - ping # 66.25 [+0.00] ------------------------ # 69.78 [+3.53] TEST: Ping with backup nexthop ID [ OK ] # 75.08 [+5.30] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.23 [+10.14] # 85.23 [+0.00] Backup nexthop ID - torture test # 85.23 [+0.00] -------------------------------- # 115.92 [+30.69] TEST: Torture test [ OK ] # 116.55 [+0.64] # 116.57 [+0.02] Tests passed: 83 # 116.58 [+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__->