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.34 [+12.34] # 12.34 [+0.00] Backup port # 12.34 [+0.00] ----------- # 14.16 [+1.83] TEST: Forwarding out of swp1 [ OK ] # 14.50 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.83 [+0.33] TEST: swp1 carrier off [ OK ] # 15.47 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 15.81 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.13 [+0.32] TEST: swp1 carrier on [ OK ] # 16.36 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.01 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 17.38 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 17.71 [+0.33] TEST: swp1 carrier off [ OK ] # 18.33 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 18.66 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.98 [+0.32] TEST: swp1 carrier on [ OK ] # 19.59 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.94 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 20.22 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.84 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 21.22 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 21.56 [+0.34] TEST: swp1 carrier off [ OK ] # 22.21 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 22.57 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 35.85 [+13.28] # 35.85 [+0.00] Backup nexthop ID # 35.85 [+0.00] ----------------- # 38.09 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.74 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 39.06 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 39.40 [+0.34] TEST: swp1 carrier off [ OK ] # 40.02 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 40.37 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 40.71 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.03 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.37 [+0.34] TEST: swp1 carrier on [ OK ] # 41.61 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.20 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 42.53 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 42.89 [+0.36] TEST: swp1 carrier off [ OK ] # 43.52 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 43.88 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 44.21 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 44.58 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.90 [+0.32] TEST: swp1 carrier on [ OK ] # 45.54 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 45.86 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 46.20 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 46.54 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.79 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.43 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 47.76 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.10 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.48 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.80 [+0.32] TEST: swp1 carrier off [ OK ] # 49.49 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 49.84 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 50.18 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.53 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.12 [+13.59] # 64.12 [+0.00] Backup nexthop ID - invalid IDs # 64.13 [+0.00] ------------------------------- # 66.65 [+2.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.88 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 67.20 [+0.32] TEST: swp1 carrier off [ OK ] # 67.86 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 68.19 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 68.55 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 68.70 [+0.16] TEST: No Tx drop increase [ OK ] # 68.95 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.59 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 69.95 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 70.27 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.41 [+0.15] TEST: Tx drop increased [ OK ] # 70.80 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.45 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 71.78 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.11 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 72.26 [+0.16] TEST: Tx drop increased [ OK ] # 72.52 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.15 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 73.50 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.84 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.00 [+0.15] TEST: Tx drop increased [ OK ] # 74.67 [+0.67] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.29 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 75.62 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 75.96 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 76.13 [+0.16] TEST: Tx drop increased [ OK ] # 89.53 [+13.41] # 89.53 [+0.00] Backup nexthop ID - ping # 89.53 [+0.00] ------------------------ # 93.87 [+4.34] TEST: Ping with backup nexthop ID [ OK ] # 99.31 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.74 [+13.43] # 112.74 [+0.00] Backup nexthop ID - torture test # 112.74 [+0.00] -------------------------------- # 143.76 [+31.02] TEST: Torture test [ OK ] # 144.66 [+0.90] # 144.66 [+0.00] Tests passed: 83 # 144.66 [+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__->