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.04 [+12.04] # 12.04 [+0.00] Backup port # 12.04 [+0.00] ----------- # 13.51 [+1.47] TEST: Forwarding out of swp1 [ OK ] # 13.85 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.16 [+0.31] TEST: swp1 carrier off [ OK ] # 14.76 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 15.08 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 15.41 [+0.33] TEST: swp1 carrier on [ OK ] # 15.68 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.29 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 16.62 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.94 [+0.32] TEST: swp1 carrier off [ OK ] # 17.54 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 17.86 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.19 [+0.33] TEST: swp1 carrier on [ OK ] # 18.81 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.18 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 19.43 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.07 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 20.39 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.73 [+0.33] TEST: swp1 carrier off [ OK ] # 21.32 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 21.67 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 34.73 [+13.06] # 34.73 [+0.00] Backup nexthop ID # 34.73 [+0.00] ----------------- # 36.94 [+2.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.55 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 37.87 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 38.20 [+0.33] TEST: swp1 carrier off [ OK ] # 38.82 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 39.16 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 39.49 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 39.83 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.16 [+0.33] TEST: swp1 carrier on [ OK ] # 40.42 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 41.00 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 41.36 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 41.68 [+0.32] TEST: swp1 carrier off [ OK ] # 42.32 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 42.67 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 43.00 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 43.32 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.66 [+0.34] TEST: swp1 carrier on [ OK ] # 44.25 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 44.59 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 44.94 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 45.28 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.52 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.16 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 46.50 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.84 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 47.16 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.48 [+0.32] TEST: swp1 carrier off [ OK ] # 48.12 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 48.45 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 48.82 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 49.16 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.30 [+13.14] # 62.30 [+0.00] Backup nexthop ID - invalid IDs # 62.30 [+0.00] ------------------------------- # 64.60 [+2.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.85 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 65.21 [+0.36] TEST: swp1 carrier off [ OK ] # 65.87 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 66.24 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 66.57 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 66.80 [+0.23] TEST: No Tx drop increase [ OK ] # 67.05 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.70 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 68.07 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 68.40 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 68.57 [+0.17] TEST: Tx drop increased [ OK ] # 68.98 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.64 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 69.97 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 70.34 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 70.50 [+0.16] TEST: Tx drop increased [ OK ] # 70.74 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.42 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 71.77 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.16 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 72.32 [+0.16] TEST: Tx drop increased [ OK ] # 72.98 [+0.66] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.61 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 73.94 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.30 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.45 [+0.16] TEST: Tx drop increased [ OK ] # 87.90 [+13.45] # 87.91 [+0.00] Backup nexthop ID - ping # 87.91 [+0.00] ------------------------ # 92.08 [+4.18] TEST: Ping with backup nexthop ID [ OK ] # 97.54 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.65 [+13.11] # 110.65 [+0.00] Backup nexthop ID - torture test # 110.65 [+0.00] -------------------------------- # 141.67 [+31.01] TEST: Torture test [ OK ] # 142.53 [+0.87] # 142.53 [+0.00] Tests passed: 83 # 142.54 [+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__->