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 # 11.44 [+11.44] # 11.44 [+0.00] Backup port # 11.44 [+0.00] ----------- # 13.15 [+1.71] TEST: Forwarding out of swp1 [ OK ] # 13.51 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 13.88 [+0.36] TEST: swp1 carrier off [ OK ] # 14.47 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 14.81 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.14 [+0.33] TEST: swp1 carrier on [ OK ] # 15.35 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.02 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 16.41 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 16.71 [+0.30] TEST: swp1 carrier off [ OK ] # 17.27 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 17.54 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 17.80 [+0.26] TEST: swp1 carrier on [ OK ] # 18.34 [+0.54] TEST: Forwarding out of swp1 [ OK ] # 18.64 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 18.86 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.41 [+0.55] TEST: Forwarding out of swp1 [ OK ] # 19.73 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 20.00 [+0.27] TEST: swp1 carrier off [ OK ] # 20.52 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 20.81 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 31.52 [+10.71] # 31.52 [+0.00] Backup nexthop ID # 31.52 [+0.00] ----------------- # 33.23 [+1.70] TEST: vx0 configured as backup port of swp1 [ OK ] # 33.77 [+0.54] TEST: Forwarding out of swp1 [ OK ] # 34.05 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 34.29 [+0.23] TEST: swp1 carrier off [ OK ] # 34.75 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 35.02 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 35.30 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 35.57 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 35.80 [+0.24] TEST: swp1 carrier on [ OK ] # 35.98 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 36.48 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.75 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 36.98 [+0.22] TEST: swp1 carrier off [ OK ] # 37.44 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 37.68 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.95 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 38.21 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.42 [+0.22] TEST: swp1 carrier on [ OK ] # 38.90 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 39.16 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 39.42 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 39.67 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 39.85 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 40.35 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 40.62 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 40.88 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 41.14 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 41.36 [+0.22] TEST: swp1 carrier off [ OK ] # 41.84 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 42.07 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 42.34 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 42.59 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 52.70 [+10.12] # 52.70 [+0.00] Backup nexthop ID - invalid IDs # 52.71 [+0.00] ------------------------------- # 54.19 [+1.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 54.37 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 54.59 [+0.22] TEST: swp1 carrier off [ OK ] # 55.07 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.33 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.58 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 55.69 [+0.11] TEST: No Tx drop increase [ OK ] # 55.85 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 56.33 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.60 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.87 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.96 [+0.09] TEST: Tx drop increased [ OK ] # 57.22 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 57.69 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 57.93 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 58.19 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 58.30 [+0.11] TEST: Tx drop increased [ OK ] # 58.46 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 58.93 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 59.19 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 59.45 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 59.54 [+0.09] TEST: Tx drop increased [ OK ] # 59.96 [+0.41] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 60.41 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 60.69 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 60.96 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 61.07 [+0.11] TEST: Tx drop increased [ OK ] # 71.16 [+10.09] # 71.16 [+0.00] Backup nexthop ID - ping # 71.16 [+0.00] ------------------------ # 74.66 [+3.50] TEST: Ping with backup nexthop ID [ OK ] # 79.97 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 89.91 [+9.93] # 89.91 [+0.00] Backup nexthop ID - torture test # 89.91 [+0.00] -------------------------------- # 120.57 [+30.66] TEST: Torture test [ OK ] # 121.19 [+0.62] # 121.19 [+0.00] Tests passed: 83 # 121.19 [+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__->