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.48 [+9.48] # 9.48 [+0.00] Backup port # 9.48 [+0.00] ----------- # 10.51 [+1.03] TEST: Forwarding out of swp1 [ OK ] # 10.77 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.01 [+0.23] TEST: swp1 carrier off [ OK ] # 11.48 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.76 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.99 [+0.24] TEST: swp1 carrier on [ OK ] # 12.16 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.65 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 12.92 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.14 [+0.21] TEST: swp1 carrier off [ OK ] # 13.62 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 13.88 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.09 [+0.22] TEST: swp1 carrier on [ OK ] # 14.58 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.84 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.03 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.49 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.75 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.97 [+0.22] TEST: swp1 carrier off [ OK ] # 16.46 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 16.73 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.02 [+10.29] # 27.02 [+0.00] Backup nexthop ID # 27.02 [+0.00] ----------------- # 28.58 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.05 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.31 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.54 [+0.24] TEST: swp1 carrier off [ OK ] # 30.01 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 30.27 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 30.55 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.80 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.05 [+0.25] TEST: swp1 carrier on [ OK ] # 31.22 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.73 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 32.00 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.22 [+0.23] TEST: swp1 carrier off [ OK ] # 32.70 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 32.99 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 33.26 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.53 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.76 [+0.22] TEST: swp1 carrier on [ OK ] # 34.26 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 34.53 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.79 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.04 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.22 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.72 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 35.98 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.23 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.50 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.73 [+0.23] TEST: swp1 carrier off [ OK ] # 37.19 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.46 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.73 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.99 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.32 [+10.32] # 48.32 [+0.00] Backup nexthop ID - invalid IDs # 48.32 [+0.00] ------------------------------- # 49.88 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.04 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 50.28 [+0.24] TEST: swp1 carrier off [ OK ] # 50.77 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.04 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 51.32 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.41 [+0.09] TEST: No Tx drop increase [ OK ] # 51.57 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.09 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 52.35 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.62 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 52.71 [+0.09] TEST: Tx drop increased [ OK ] # 52.97 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.45 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.72 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.00 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.11 [+0.12] TEST: Tx drop increased [ OK ] # 54.28 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.76 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.03 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.31 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.41 [+0.10] TEST: Tx drop increased [ OK ] # 55.86 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.33 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 56.61 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.89 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.99 [+0.10] TEST: Tx drop increased [ OK ] # 67.34 [+10.35] # 67.34 [+0.00] Backup nexthop ID - ping # 67.34 [+0.00] ------------------------ # 70.87 [+3.53] TEST: Ping with backup nexthop ID [ OK ] # 76.20 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.56 [+10.35] # 86.56 [+0.00] Backup nexthop ID - torture test # 86.56 [+0.00] -------------------------------- # 117.26 [+30.70] TEST: Torture test [ OK ] # 117.90 [+0.64] # 117.90 [+0.00] Tests passed: 83 # 117.90 [+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__->