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.40 [+9.40] # 9.40 [+0.00] Backup port # 9.40 [+0.00] ----------- # 10.53 [+1.13] TEST: Forwarding out of swp1 [ OK ] # 10.78 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.01 [+0.22] TEST: swp1 carrier off [ OK ] # 11.47 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.75 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.98 [+0.23] TEST: swp1 carrier on [ OK ] # 12.15 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.60 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.88 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.08 [+0.20] TEST: swp1 carrier off [ OK ] # 13.54 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.80 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.01 [+0.21] TEST: swp1 carrier on [ OK ] # 14.48 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.74 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.92 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.37 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.64 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.86 [+0.22] TEST: swp1 carrier off [ OK ] # 16.32 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.59 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.66 [+10.07] # 26.66 [+0.00] Backup nexthop ID # 26.66 [+0.00] ----------------- # 28.14 [+1.48] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.61 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 28.90 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.13 [+0.23] TEST: swp1 carrier off [ OK ] # 29.60 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 29.84 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 30.11 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.39 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.59 [+0.21] TEST: swp1 carrier on [ OK ] # 30.77 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.26 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 31.53 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 31.74 [+0.21] TEST: swp1 carrier off [ OK ] # 32.20 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 32.47 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.74 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 32.98 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.19 [+0.22] TEST: swp1 carrier on [ OK ] # 33.67 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.92 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 34.17 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.44 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.62 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.11 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.38 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.63 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.89 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.12 [+0.22] TEST: swp1 carrier off [ OK ] # 36.59 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 36.85 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.12 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.39 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.52 [+10.13] # 47.52 [+0.00] Backup nexthop ID - invalid IDs # 47.52 [+0.00] ------------------------------- # 49.17 [+1.65] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.37 [+0.20] TEST: Valid nexthop as backup nexthop [ OK ] # 49.61 [+0.24] TEST: swp1 carrier off [ OK ] # 50.12 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 50.38 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 50.64 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 50.75 [+0.10] TEST: No Tx drop increase [ OK ] # 50.91 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.45 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 51.71 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.03 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 52.14 [+0.11] TEST: Tx drop increased [ OK ] # 52.44 [+0.29] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.03 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 53.33 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 53.61 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.71 [+0.10] TEST: Tx drop increased [ OK ] # 53.91 [+0.20] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.42 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 54.66 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.93 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.05 [+0.12] TEST: Tx drop increased [ OK ] # 55.52 [+0.47] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.03 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 56.30 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.59 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.69 [+0.11] TEST: Tx drop increased [ OK ] # 67.06 [+10.36] # 67.06 [+0.00] Backup nexthop ID - ping # 67.06 [+0.00] ------------------------ # 70.59 [+3.53] TEST: Ping with backup nexthop ID [ OK ] # 75.92 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.52 [+10.60] # 86.52 [+0.00] Backup nexthop ID - torture test # 86.52 [+0.00] -------------------------------- # 117.19 [+30.68] TEST: Torture test [ OK ] # 117.84 [+0.65] # 117.85 [+0.00] Tests passed: 83 # 117.85 [+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__->