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.39 [+9.39] # 9.39 [+0.00] Backup port # 9.39 [+0.00] ----------- # 10.39 [+1.01] TEST: Forwarding out of swp1 [ OK ] # 10.66 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.88 [+0.22] TEST: swp1 carrier off [ OK ] # 11.35 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.63 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.87 [+0.24] TEST: swp1 carrier on [ OK ] # 12.05 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.54 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 12.80 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.03 [+0.23] TEST: swp1 carrier off [ OK ] # 13.50 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 13.76 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.98 [+0.22] TEST: swp1 carrier on [ OK ] # 14.46 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.71 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.90 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.38 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.64 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.86 [+0.21] TEST: swp1 carrier off [ OK ] # 16.34 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.62 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 26.82 [+10.19] # 26.82 [+0.00] Backup nexthop ID # 26.82 [+0.00] ----------------- # 28.33 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.82 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 29.10 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.34 [+0.24] TEST: swp1 carrier off [ OK ] # 29.82 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.07 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.34 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 30.60 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.81 [+0.21] TEST: swp1 carrier on [ OK ] # 30.97 [+0.15] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.47 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 31.72 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 31.93 [+0.21] TEST: swp1 carrier off [ OK ] # 32.44 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 32.71 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.99 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 33.26 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.48 [+0.22] TEST: swp1 carrier on [ OK ] # 33.96 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.23 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.52 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 34.79 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.95 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.43 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.68 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.96 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.21 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.43 [+0.22] TEST: swp1 carrier off [ OK ] # 36.92 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 37.18 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.46 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.72 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.92 [+10.20] # 47.92 [+0.00] Backup nexthop ID - invalid IDs # 47.92 [+0.00] ------------------------------- # 49.56 [+1.64] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.73 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.96 [+0.23] TEST: swp1 carrier off [ OK ] # 50.45 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 50.70 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 50.97 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.07 [+0.10] TEST: No Tx drop increase [ OK ] # 51.26 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.73 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 51.98 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.26 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 52.36 [+0.10] TEST: Tx drop increased [ OK ] # 52.63 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.08 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 53.34 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.60 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.70 [+0.10] TEST: Tx drop increased [ OK ] # 53.87 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.37 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.63 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.89 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.99 [+0.10] TEST: Tx drop increased [ OK ] # 55.43 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.90 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.15 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.41 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.50 [+0.09] TEST: Tx drop increased [ OK ] # 66.69 [+10.19] # 66.69 [+0.00] Backup nexthop ID - ping # 66.69 [+0.00] ------------------------ # 70.11 [+3.42] TEST: Ping with backup nexthop ID [ OK ] # 75.43 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.69 [+10.26] # 85.69 [+0.00] Backup nexthop ID - torture test # 85.69 [+0.00] -------------------------------- # 116.36 [+30.67] TEST: Torture test [ OK ] # 117.05 [+0.69] # 117.05 [+0.00] Tests passed: 83 # 117.06 [+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__->