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.62 [+9.62] # 9.62 [+0.00] Backup port # 9.62 [+0.00] ----------- # 10.73 [+1.11] TEST: Forwarding out of swp1 [ OK ] # 11.03 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 11.30 [+0.27] TEST: swp1 carrier off [ OK ] # 11.79 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 12.08 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.32 [+0.25] TEST: swp1 carrier on [ OK ] # 12.53 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.01 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.32 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 13.54 [+0.22] TEST: swp1 carrier off [ OK ] # 14.04 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 14.33 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 14.54 [+0.22] TEST: swp1 carrier on [ OK ] # 15.07 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 15.33 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.54 [+0.21] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.03 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.31 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.56 [+0.25] TEST: swp1 carrier off [ OK ] # 17.04 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 17.30 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 28.57 [+11.27] # 28.57 [+0.00] Backup nexthop ID # 28.57 [+0.00] ----------------- # 30.89 [+2.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 31.61 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 32.01 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 32.35 [+0.33] TEST: swp1 carrier off [ OK ] # 33.00 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 33.35 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 33.67 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 33.98 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 34.24 [+0.26] TEST: swp1 carrier on [ OK ] # 34.44 [+0.20] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 34.96 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 35.23 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.48 [+0.25] TEST: swp1 carrier off [ OK ] # 36.01 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 36.30 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 36.59 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 36.88 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.13 [+0.26] TEST: swp1 carrier on [ OK ] # 37.67 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 37.95 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 38.22 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.48 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.67 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 39.13 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 39.41 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 39.71 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 39.99 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 40.24 [+0.25] TEST: swp1 carrier off [ OK ] # 40.79 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 41.06 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 41.34 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 41.61 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 53.01 [+11.40] # 53.01 [+0.00] Backup nexthop ID - invalid IDs # 53.01 [+0.00] ------------------------------- # 54.70 [+1.69] TEST: vx0 configured as backup port of swp1 [ OK ] # 54.87 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 55.10 [+0.23] TEST: swp1 carrier off [ OK ] # 55.60 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 55.90 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 56.18 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 56.29 [+0.11] TEST: No Tx drop increase [ OK ] # 56.48 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 57.00 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 57.28 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.59 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 57.70 [+0.11] TEST: Tx drop increased [ OK ] # 58.02 [+0.32] TEST: Blackhole nexthop as backup nexthop [ OK ] # 58.60 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 58.92 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 59.22 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 59.32 [+0.10] TEST: Tx drop increased [ OK ] # 59.49 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 60.01 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 60.27 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 60.54 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 60.65 [+0.11] TEST: Tx drop increased [ OK ] # 61.12 [+0.47] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 61.61 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 61.87 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 62.19 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 62.30 [+0.11] TEST: Tx drop increased [ OK ] # 73.31 [+11.00] # 73.31 [+0.00] Backup nexthop ID - ping # 73.31 [+0.00] ------------------------ # 77.20 [+3.89] TEST: Ping with backup nexthop ID [ OK ] # 82.66 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 93.47 [+10.80] # 93.47 [+0.00] Backup nexthop ID - torture test # 93.47 [+0.00] -------------------------------- # 124.22 [+30.75] TEST: Torture test [ OK ] # 124.87 [+0.65] # 124.87 [+0.00] Tests passed: 83 # 124.87 [+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__->