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.25 [+1.86] TEST: Forwarding out of swp1 [ OK ] # 14.57 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.90 [+0.33] TEST: swp1 carrier off [ OK ] # 15.52 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 15.88 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.26 [+0.38] TEST: swp1 carrier on [ OK ] # 16.53 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.16 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 17.51 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 17.83 [+0.32] TEST: swp1 carrier off [ OK ] # 18.53 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 18.86 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 19.17 [+0.31] TEST: swp1 carrier on [ OK ] # 19.81 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 20.18 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 20.42 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.03 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 21.38 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.69 [+0.31] TEST: swp1 carrier off [ OK ] # 22.33 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 22.68 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 36.28 [+13.60] # 36.28 [+0.00] Backup nexthop ID # 36.28 [+0.00] ----------------- # 38.58 [+2.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.21 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 39.56 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 39.91 [+0.35] TEST: swp1 carrier off [ OK ] # 40.55 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 40.87 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 41.25 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 41.59 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.94 [+0.35] TEST: swp1 carrier on [ OK ] # 42.17 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.82 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 43.15 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.47 [+0.33] TEST: swp1 carrier off [ OK ] # 44.10 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 44.45 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 44.79 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 45.16 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.51 [+0.35] TEST: swp1 carrier on [ OK ] # 46.10 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 46.44 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.79 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 47.11 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.36 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.02 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 48.37 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 48.75 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 49.11 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.48 [+0.37] TEST: swp1 carrier off [ OK ] # 50.13 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 50.45 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 50.80 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 51.15 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.53 [+13.37] # 64.53 [+0.00] Backup nexthop ID - invalid IDs # 64.53 [+0.00] ------------------------------- # 66.78 [+2.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.03 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 67.39 [+0.36] TEST: swp1 carrier off [ OK ] # 68.02 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 68.38 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 68.71 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 68.89 [+0.17] TEST: No Tx drop increase [ OK ] # 69.15 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.81 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 70.15 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 70.50 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 70.67 [+0.17] TEST: Tx drop increased [ OK ] # 71.07 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.71 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.07 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 72.44 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 72.61 [+0.17] TEST: Tx drop increased [ OK ] # 72.90 [+0.29] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.51 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 73.84 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.19 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.36 [+0.17] TEST: Tx drop increased [ OK ] # 74.98 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.65 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 76.00 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 76.35 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 76.51 [+0.16] TEST: Tx drop increased [ OK ] # 90.63 [+14.12] # 90.63 [+0.00] Backup nexthop ID - ping # 90.63 [+0.00] ------------------------ # 95.02 [+4.39] TEST: Ping with backup nexthop ID [ OK ] # 100.54 [+5.51] TEST: Ping after disabling backup nexthop ID [ OK ] # 115.04 [+14.50] # 115.04 [+0.00] Backup nexthop ID - torture test # 115.04 [+0.00] -------------------------------- # 146.07 [+31.02] TEST: Torture test [ OK ] # 146.92 [+0.85] # 146.92 [+0.00] Tests passed: 83 # 146.92 [+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__->