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 # 11.92 [+11.92] # 11.92 [+0.00] Backup port # 11.92 [+0.00] ----------- # 13.71 [+1.79] TEST: Forwarding out of swp1 [ OK ] # 14.03 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.36 [+0.33] TEST: swp1 carrier off [ OK ] # 15.01 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.37 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 15.72 [+0.35] TEST: swp1 carrier on [ OK ] # 15.97 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.60 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 16.95 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.26 [+0.31] TEST: swp1 carrier off [ OK ] # 17.94 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 18.27 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.60 [+0.33] TEST: swp1 carrier on [ OK ] # 19.26 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 19.61 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 19.84 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.45 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 20.79 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.12 [+0.33] TEST: swp1 carrier off [ OK ] # 21.74 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 22.08 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 35.27 [+13.20] # 35.27 [+0.00] Backup nexthop ID # 35.27 [+0.00] ----------------- # 37.45 [+2.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.07 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 38.41 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 38.76 [+0.35] TEST: swp1 carrier off [ OK ] # 39.36 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 39.71 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 40.06 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 40.39 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.71 [+0.32] TEST: swp1 carrier on [ OK ] # 40.97 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 41.61 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 41.93 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 42.26 [+0.33] TEST: swp1 carrier off [ OK ] # 42.89 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 43.21 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 43.56 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 43.90 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.22 [+0.32] TEST: swp1 carrier on [ OK ] # 44.78 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 45.10 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 45.45 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 45.83 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.08 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.68 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 47.02 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 47.34 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.67 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.99 [+0.32] TEST: swp1 carrier off [ OK ] # 48.58 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 48.91 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 49.25 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.59 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.77 [+13.19] # 62.77 [+0.00] Backup nexthop ID - invalid IDs # 62.77 [+0.00] ------------------------------- # 65.01 [+2.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.25 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 65.56 [+0.30] TEST: swp1 carrier off [ OK ] # 66.21 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 66.51 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 66.87 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 67.01 [+0.14] TEST: No Tx drop increase [ OK ] # 67.26 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.89 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 68.24 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 68.55 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 68.69 [+0.14] TEST: Tx drop increased [ OK ] # 69.08 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.74 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 70.05 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 70.36 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.50 [+0.13] TEST: Tx drop increased [ OK ] # 70.75 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.35 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 71.71 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 72.04 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 72.18 [+0.14] TEST: Tx drop increased [ OK ] # 72.83 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.50 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 73.83 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.16 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.32 [+0.15] TEST: Tx drop increased [ OK ] # 87.50 [+13.18] # 87.50 [+0.00] Backup nexthop ID - ping # 87.50 [+0.00] ------------------------ # 91.54 [+4.05] TEST: Ping with backup nexthop ID [ OK ] # 96.98 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.27 [+13.29] # 110.27 [+0.00] Backup nexthop ID - torture test # 110.27 [+0.00] -------------------------------- # 141.26 [+30.99] TEST: Torture test [ OK ] # 142.12 [+0.86] # 142.12 [+0.00] Tests passed: 83 # 142.13 [+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__->