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.74 [+9.74] # 9.75 [+0.00] Backup port # 9.75 [+0.00] ----------- # 10.89 [+1.15] TEST: Forwarding out of swp1 [ OK ] # 11.19 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 11.46 [+0.27] TEST: swp1 carrier off [ OK ] # 11.97 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 12.25 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.53 [+0.28] TEST: swp1 carrier on [ OK ] # 12.71 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.19 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.46 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.70 [+0.24] TEST: swp1 carrier off [ OK ] # 14.20 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 14.46 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.67 [+0.21] TEST: swp1 carrier on [ OK ] # 15.15 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.42 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.60 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.06 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 16.33 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.55 [+0.22] TEST: swp1 carrier off [ OK ] # 17.02 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 17.29 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.77 [+10.48] # 27.77 [+0.00] Backup nexthop ID # 27.77 [+0.00] ----------------- # 29.40 [+1.63] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.86 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 30.14 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 30.38 [+0.24] TEST: swp1 carrier off [ OK ] # 30.88 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 31.16 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.43 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.68 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.90 [+0.22] TEST: swp1 carrier on [ OK ] # 32.08 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.57 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.85 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 33.07 [+0.22] TEST: swp1 carrier off [ OK ] # 33.55 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.82 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 34.09 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.34 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.56 [+0.22] TEST: swp1 carrier on [ OK ] # 35.09 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 35.36 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.61 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.92 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.11 [+0.20] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.67 [+0.55] TEST: Forwarding out of swp1 [ OK ] # 36.95 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 37.21 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.47 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.71 [+0.25] TEST: swp1 carrier off [ OK ] # 38.19 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 38.47 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.75 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 39.03 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.41 [+10.39] # 49.41 [+0.00] Backup nexthop ID - invalid IDs # 49.41 [+0.00] ------------------------------- # 50.96 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.15 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 51.37 [+0.22] TEST: swp1 carrier off [ OK ] # 51.89 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 52.15 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.44 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 52.54 [+0.10] TEST: No Tx drop increase [ OK ] # 52.71 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.23 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 53.51 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 53.80 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 53.89 [+0.09] TEST: Tx drop increased [ OK ] # 54.16 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.67 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 54.94 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.19 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.31 [+0.12] TEST: Tx drop increased [ OK ] # 55.51 [+0.20] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.98 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.26 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.53 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.64 [+0.11] TEST: Tx drop increased [ OK ] # 57.08 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.54 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 57.81 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 58.09 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 58.19 [+0.10] TEST: Tx drop increased [ OK ] # 68.49 [+10.30] # 68.49 [+0.00] Backup nexthop ID - ping # 68.49 [+0.00] ------------------------ # 71.96 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 77.28 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.60 [+10.32] # 87.60 [+0.00] Backup nexthop ID - torture test # 87.60 [+0.00] -------------------------------- # 118.29 [+30.69] TEST: Torture test [ OK ] # 118.92 [+0.63] # 118.92 [+0.00] Tests passed: 83 # 118.92 [+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__->