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.20 [+9.20] # 9.20 [+0.00] Backup port # 9.20 [+0.00] ----------- # 10.29 [+1.08] TEST: Forwarding out of swp1 [ OK ] # 10.55 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.78 [+0.23] TEST: swp1 carrier off [ OK ] # 11.24 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.53 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.74 [+0.21] TEST: swp1 carrier on [ OK ] # 11.92 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.42 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 12.67 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.88 [+0.21] TEST: swp1 carrier off [ OK ] # 13.34 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.63 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 13.85 [+0.21] TEST: swp1 carrier on [ OK ] # 14.32 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.56 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.75 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.20 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.48 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.69 [+0.21] TEST: swp1 carrier off [ OK ] # 16.17 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.43 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.85 [+10.42] # 26.85 [+0.00] Backup nexthop ID # 26.85 [+0.00] ----------------- # 28.40 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.89 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 29.16 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.38 [+0.22] TEST: swp1 carrier off [ OK ] # 29.84 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 30.09 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.39 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 30.63 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.85 [+0.22] TEST: swp1 carrier on [ OK ] # 31.02 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.49 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 31.74 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 31.98 [+0.24] TEST: swp1 carrier off [ OK ] # 32.45 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 32.71 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.00 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 33.27 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.49 [+0.22] TEST: swp1 carrier on [ OK ] # 33.97 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.24 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.49 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.74 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.94 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.44 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 35.69 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.98 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.23 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.47 [+0.24] TEST: swp1 carrier off [ OK ] # 36.93 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 37.19 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.46 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.73 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.00 [+10.27] # 48.00 [+0.00] Backup nexthop ID - invalid IDs # 48.00 [+0.00] ------------------------------- # 49.59 [+1.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.76 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.00 [+0.25] TEST: swp1 carrier off [ OK ] # 50.48 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 50.75 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.03 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 51.15 [+0.12] TEST: No Tx drop increase [ OK ] # 51.36 [+0.21] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.85 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.11 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.40 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 52.51 [+0.11] TEST: Tx drop increased [ OK ] # 52.79 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.33 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 53.59 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.86 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.96 [+0.10] TEST: Tx drop increased [ OK ] # 54.14 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.66 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 54.95 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.22 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.32 [+0.10] TEST: Tx drop increased [ OK ] # 55.75 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.24 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.51 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.78 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.88 [+0.10] TEST: Tx drop increased [ OK ] # 66.88 [+10.00] # 66.88 [+0.00] Backup nexthop ID - ping # 66.88 [+0.00] ------------------------ # 70.29 [+3.41] TEST: Ping with backup nexthop ID [ OK ] # 75.59 [+5.29] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.45 [+9.86] # 85.45 [+0.00] Backup nexthop ID - torture test # 85.45 [+0.00] -------------------------------- # 116.10 [+30.66] TEST: Torture test [ OK ] # 116.70 [+0.60] # 116.70 [+0.00] Tests passed: 83 # 116.70 [+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__->