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.94 [+12.94] # 12.94 [+0.00] Backup port # 12.94 [+0.00] ----------- # 14.75 [+1.81] TEST: Forwarding out of swp1 [ OK ] # 15.07 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.43 [+0.35] TEST: swp1 carrier off [ OK ] # 16.07 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 16.49 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 16.81 [+0.32] TEST: swp1 carrier on [ OK ] # 17.07 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.77 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 18.13 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 18.45 [+0.32] TEST: swp1 carrier off [ OK ] # 19.10 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 19.50 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 19.84 [+0.34] TEST: swp1 carrier on [ OK ] # 20.53 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 20.85 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.14 [+0.29] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.89 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 22.22 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 22.61 [+0.39] TEST: swp1 carrier off [ OK ] # 23.30 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 23.64 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 37.60 [+13.96] # 37.60 [+0.00] Backup nexthop ID # 37.60 [+0.00] ----------------- # 40.20 [+2.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.92 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 41.26 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 41.64 [+0.39] TEST: swp1 carrier off [ OK ] # 42.33 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 42.72 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 43.07 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 43.48 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.84 [+0.36] TEST: swp1 carrier on [ OK ] # 44.13 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.86 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 45.23 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 45.60 [+0.38] TEST: swp1 carrier off [ OK ] # 46.75 [+1.15] TEST: No forwarding out of swp1 [ OK ] # 47.12 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 47.45 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 47.79 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.12 [+0.33] TEST: swp1 carrier on [ OK ] # 48.79 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 49.17 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 49.54 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 49.92 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.21 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 50.87 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 51.21 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 51.57 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 51.95 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.27 [+0.33] TEST: swp1 carrier off [ OK ] # 52.90 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 53.28 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 53.59 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 53.95 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 68.04 [+14.10] # 68.04 [+0.00] Backup nexthop ID - invalid IDs # 68.05 [+0.00] ------------------------------- # 70.75 [+2.71] TEST: vx0 configured as backup port of swp1 [ OK ] # 71.06 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 71.50 [+0.44] TEST: swp1 carrier off [ OK ] # 72.17 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 72.48 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.83 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 72.98 [+0.15] TEST: No Tx drop increase [ OK ] # 73.28 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 73.96 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 74.36 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 74.74 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 74.90 [+0.16] TEST: Tx drop increased [ OK ] # 75.32 [+0.43] TEST: Blackhole nexthop as backup nexthop [ OK ] # 76.01 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 76.40 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 76.77 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 77.02 [+0.25] TEST: Tx drop increased [ OK ] # 77.41 [+0.38] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 78.15 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 78.55 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 78.94 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 79.13 [+0.18] TEST: Tx drop increased [ OK ] # 79.90 [+0.77] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 80.65 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 81.03 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 81.41 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 81.57 [+0.16] TEST: Tx drop increased [ OK ] # 97.36 [+15.79] # 97.36 [+0.00] Backup nexthop ID - ping # 97.37 [+0.00] ------------------------ # 102.59 [+5.22] TEST: Ping with backup nexthop ID [ OK ] # 108.27 [+5.68] TEST: Ping after disabling backup nexthop ID [ OK ] # 124.86 [+16.59] # 124.86 [+0.00] Backup nexthop ID - torture test # 124.87 [+0.00] -------------------------------- # 156.10 [+31.23] TEST: Torture test [ OK ] # 157.11 [+1.02] # 157.11 [+0.00] Tests passed: 83 # 157.11 [+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__->