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.22 [+12.22] # 12.22 [+0.00] Backup port # 12.22 [+0.00] ----------- # 13.95 [+1.74] TEST: Forwarding out of swp1 [ OK ] # 14.33 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 14.66 [+0.33] TEST: swp1 carrier off [ OK ] # 15.29 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 15.65 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 15.98 [+0.34] TEST: swp1 carrier on [ OK ] # 16.24 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.19 [+0.95] TEST: Forwarding out of swp1 [ OK ] # 17.57 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.92 [+0.35] TEST: swp1 carrier off [ OK ] # 18.57 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 18.90 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 19.26 [+0.36] TEST: swp1 carrier on [ OK ] # 19.88 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 20.23 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 20.49 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.09 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 21.43 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.77 [+0.34] TEST: swp1 carrier off [ OK ] # 22.42 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 22.77 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 36.16 [+13.40] # 36.16 [+0.00] Backup nexthop ID # 36.16 [+0.00] ----------------- # 38.41 [+2.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.04 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 39.38 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 39.76 [+0.38] TEST: swp1 carrier off [ OK ] # 40.45 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 40.79 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 41.13 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.47 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.82 [+0.34] TEST: swp1 carrier on [ OK ] # 42.08 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.72 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 43.05 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.38 [+0.33] TEST: swp1 carrier off [ OK ] # 44.05 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 44.41 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 44.74 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 45.09 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.44 [+0.36] TEST: swp1 carrier on [ OK ] # 46.06 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 46.40 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.76 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 47.10 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.37 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.04 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 48.38 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 48.73 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.06 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.40 [+0.34] TEST: swp1 carrier off [ OK ] # 50.06 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 50.42 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 50.78 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 51.15 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.55 [+13.40] # 64.55 [+0.00] Backup nexthop ID - invalid IDs # 64.55 [+0.00] ------------------------------- # 66.81 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.05 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 67.37 [+0.33] TEST: swp1 carrier off [ OK ] # 68.03 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 68.35 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 68.72 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 68.92 [+0.19] TEST: No Tx drop increase [ OK ] # 69.16 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.81 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 70.16 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 70.51 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 70.66 [+0.15] TEST: Tx drop increased [ OK ] # 71.06 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.71 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 72.09 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 72.41 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 72.58 [+0.17] TEST: Tx drop increased [ OK ] # 72.84 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.44 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 73.77 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.10 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 74.24 [+0.15] TEST: Tx drop increased [ OK ] # 74.90 [+0.66] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.53 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 75.89 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 76.25 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 76.42 [+0.17] TEST: Tx drop increased [ OK ] # 89.91 [+13.49] # 89.91 [+0.00] Backup nexthop ID - ping # 89.91 [+0.00] ------------------------ # 94.09 [+4.19] TEST: Ping with backup nexthop ID [ OK ] # 99.56 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.01 [+13.46] # 113.01 [+0.00] Backup nexthop ID - torture test # 113.02 [+0.00] -------------------------------- # 144.01 [+31.00] TEST: Torture test [ OK ] # 144.88 [+0.87] # 144.89 [+0.00] Tests passed: 83 # 144.89 [+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__->