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.92 [+9.92] # 9.92 [+0.00] Backup port # 9.92 [+0.00] ----------- # 11.60 [+1.69] TEST: Forwarding out of swp1 [ OK ] # 11.92 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 12.21 [+0.29] TEST: swp1 carrier off [ OK ] # 12.80 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 13.14 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 13.44 [+0.30] TEST: swp1 carrier on [ OK ] # 13.67 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.22 [+0.55] TEST: Forwarding out of swp1 [ OK ] # 14.58 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 14.90 [+0.32] TEST: swp1 carrier off [ OK ] # 15.51 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 15.85 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 16.16 [+0.31] TEST: swp1 carrier on [ OK ] # 16.78 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 17.10 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 17.36 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 18.03 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 18.35 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 18.71 [+0.36] TEST: swp1 carrier off [ OK ] # 19.30 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 19.62 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 32.17 [+12.55] # 32.17 [+0.00] Backup nexthop ID # 32.17 [+0.00] ----------------- # 34.25 [+2.07] TEST: vx0 configured as backup port of swp1 [ OK ] # 34.81 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 35.07 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.32 [+0.25] TEST: swp1 carrier off [ OK ] # 35.84 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 36.11 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 36.40 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 36.70 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 36.94 [+0.24] TEST: swp1 carrier on [ OK ] # 37.11 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 37.61 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 37.87 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 38.11 [+0.23] TEST: swp1 carrier off [ OK ] # 38.62 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.90 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 39.17 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 39.44 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 39.68 [+0.24] TEST: swp1 carrier on [ OK ] # 40.17 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 40.43 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 40.70 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 40.99 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 41.18 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 41.66 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 41.94 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 42.22 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 42.48 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.72 [+0.24] TEST: swp1 carrier off [ OK ] # 43.23 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 43.50 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 43.76 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 44.03 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 54.47 [+10.43] # 54.47 [+0.00] Backup nexthop ID - invalid IDs # 54.47 [+0.00] ------------------------------- # 56.04 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 56.22 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 56.48 [+0.26] TEST: swp1 carrier off [ OK ] # 57.01 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 57.29 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.57 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 57.69 [+0.12] TEST: No Tx drop increase [ OK ] # 57.89 [+0.20] TEST: Non-existent nexthop as backup nexthop [ OK ] # 58.41 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 58.68 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 58.96 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 59.08 [+0.12] TEST: Tx drop increased [ OK ] # 59.32 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 59.80 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 60.08 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 60.34 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 60.43 [+0.10] TEST: Tx drop increased [ OK ] # 60.61 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 61.12 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 61.38 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 61.64 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 61.74 [+0.10] TEST: Tx drop increased [ OK ] # 62.20 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 62.74 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 63.01 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 63.28 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 63.41 [+0.13] TEST: Tx drop increased [ OK ] # 73.90 [+10.48] # 73.90 [+0.00] Backup nexthop ID - ping # 73.90 [+0.00] ------------------------ # 77.38 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 82.79 [+5.41] TEST: Ping after disabling backup nexthop ID [ OK ] # 93.19 [+10.41] # 93.19 [+0.00] Backup nexthop ID - torture test # 93.19 [+0.00] -------------------------------- # 123.94 [+30.74] TEST: Torture test [ OK ] # 124.55 [+0.61] # 124.55 [+0.00] Tests passed: 83 # 124.55 [+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__->