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.39 [+12.39] # 12.39 [+0.00] Backup port # 12.39 [+0.00] ----------- # 14.37 [+1.98] TEST: Forwarding out of swp1 [ OK ] # 14.83 [+0.45] TEST: No forwarding out of vx0 [ OK ] # 15.21 [+0.39] TEST: swp1 carrier off [ OK ] # 16.06 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 16.45 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.81 [+0.36] TEST: swp1 carrier on [ OK ] # 17.10 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.74 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 18.08 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 18.39 [+0.32] TEST: swp1 carrier off [ OK ] # 19.01 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 19.35 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 19.77 [+0.42] TEST: swp1 carrier on [ OK ] # 20.55 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 20.93 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 21.18 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.82 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 22.14 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 22.43 [+0.29] TEST: swp1 carrier off [ OK ] # 23.04 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 23.34 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 37.14 [+13.80] # 37.14 [+0.00] Backup nexthop ID # 37.14 [+0.00] ----------------- # 39.50 [+2.35] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.11 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 40.46 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 40.79 [+0.33] TEST: swp1 carrier off [ OK ] # 41.47 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 41.83 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 42.19 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 42.56 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.04 [+0.48] TEST: swp1 carrier on [ OK ] # 43.32 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.08 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 44.40 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 44.74 [+0.34] TEST: swp1 carrier off [ OK ] # 45.38 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 45.70 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 46.02 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 46.38 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.70 [+0.32] TEST: swp1 carrier on [ OK ] # 47.33 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 47.67 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 47.99 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 48.32 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.56 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.17 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 49.49 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 49.83 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.17 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.46 [+0.30] TEST: swp1 carrier off [ OK ] # 51.10 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 51.42 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 51.78 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 52.08 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.10 [+13.02] # 65.10 [+0.00] Backup nexthop ID - invalid IDs # 65.10 [+0.00] ------------------------------- # 67.25 [+2.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.50 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 67.80 [+0.30] TEST: swp1 carrier off [ OK ] # 68.43 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 68.76 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.10 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 69.25 [+0.15] TEST: No Tx drop increase [ OK ] # 69.50 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.08 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 70.40 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 70.71 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 70.84 [+0.13] TEST: Tx drop increased [ OK ] # 71.21 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.86 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.23 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 72.53 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 72.66 [+0.14] TEST: Tx drop increased [ OK ] # 72.91 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.48 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 73.80 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 74.17 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 74.38 [+0.21] TEST: Tx drop increased [ OK ] # 75.19 [+0.81] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.00 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 76.40 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 76.75 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 76.88 [+0.13] TEST: Tx drop increased [ OK ] # 90.82 [+13.94] # 90.82 [+0.00] Backup nexthop ID - ping # 90.82 [+0.00] ------------------------ # 94.83 [+4.01] TEST: Ping with backup nexthop ID [ OK ] # 100.27 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.30 [+13.03] # 113.30 [+0.00] Backup nexthop ID - torture test # 113.30 [+0.00] -------------------------------- # 144.25 [+30.95] TEST: Torture test [ OK ] # 145.14 [+0.89] # 145.14 [+0.00] Tests passed: 83 # 145.14 [+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__->