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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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 # 12.26 [+12.26] # 12.26 [+0.00] Backup port # 12.26 [+0.00] ----------- # 13.83 [+1.57] TEST: Forwarding out of swp1 [ OK ] # 14.15 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.49 [+0.34] TEST: swp1 carrier off [ OK ] # 15.14 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.46 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.81 [+0.35] TEST: swp1 carrier on [ OK ] # 16.08 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.72 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 17.05 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.39 [+0.34] TEST: swp1 carrier off [ OK ] # 18.02 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 18.33 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 18.69 [+0.36] TEST: swp1 carrier on [ OK ] # 19.32 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 19.66 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.92 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.54 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 20.90 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 21.24 [+0.34] TEST: swp1 carrier off [ OK ] # 21.87 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 22.21 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 35.46 [+13.25] # 35.46 [+0.00] Backup nexthop ID # 35.46 [+0.00] ----------------- # 37.83 [+2.37] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.45 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 38.74 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 39.09 [+0.35] TEST: swp1 carrier off [ OK ] # 39.73 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 40.11 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 40.51 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 40.84 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.18 [+0.34] TEST: swp1 carrier on [ OK ] # 41.44 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.10 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 42.47 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 42.85 [+0.38] TEST: swp1 carrier off [ OK ] # 43.50 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 43.84 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.16 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 44.54 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.89 [+0.35] TEST: swp1 carrier on [ OK ] # 45.55 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 45.88 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 46.27 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 46.66 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.91 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.58 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 47.98 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 48.32 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.71 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.07 [+0.36] TEST: swp1 carrier off [ OK ] # 49.75 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 50.13 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 50.47 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.79 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.13 [+13.34] # 64.13 [+0.00] Backup nexthop ID - invalid IDs # 64.13 [+0.00] ------------------------------- # 66.64 [+2.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.90 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 67.25 [+0.35] TEST: swp1 carrier off [ OK ] # 67.96 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 68.31 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 68.64 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 68.81 [+0.17] TEST: No Tx drop increase [ OK ] # 69.11 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.72 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 70.08 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 70.40 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.57 [+0.16] TEST: Tx drop increased [ OK ] # 70.93 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.58 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 71.94 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 72.28 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.44 [+0.16] TEST: Tx drop increased [ OK ] # 72.69 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.37 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 73.72 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.06 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.23 [+0.17] TEST: Tx drop increased [ OK ] # 74.86 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.50 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 75.87 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 76.22 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 76.40 [+0.17] TEST: Tx drop increased [ OK ] # 90.01 [+13.61] # 90.01 [+0.00] Backup nexthop ID - ping # 90.01 [+0.00] ------------------------ # 94.14 [+4.13] TEST: Ping with backup nexthop ID [ OK ] # 99.60 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.08 [+13.49] # 113.08 [+0.00] Backup nexthop ID - torture test # 113.08 [+0.00] -------------------------------- # 144.12 [+31.04] TEST: Torture test [ OK ] # 145.05 [+0.93] # 145.05 [+0.00] Tests passed: 83 # 145.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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->