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.31 [+12.31] # 12.31 [+0.00] Backup port # 12.31 [+0.00] ----------- # 14.14 [+1.83] TEST: Forwarding out of swp1 [ OK ] # 14.51 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 14.84 [+0.32] TEST: swp1 carrier off [ OK ] # 15.50 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 15.87 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.21 [+0.34] TEST: swp1 carrier on [ OK ] # 16.50 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.19 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 17.54 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.85 [+0.31] TEST: swp1 carrier off [ OK ] # 18.47 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 18.82 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 19.16 [+0.34] TEST: swp1 carrier on [ OK ] # 19.79 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 20.13 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 20.40 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.02 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 21.40 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 21.74 [+0.34] TEST: swp1 carrier off [ OK ] # 22.35 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 22.72 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 35.95 [+13.23] # 35.95 [+0.00] Backup nexthop ID # 35.95 [+0.00] ----------------- # 38.17 [+2.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.79 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 39.12 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 39.45 [+0.33] TEST: swp1 carrier off [ OK ] # 40.11 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 40.47 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 40.84 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 41.16 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.51 [+0.35] TEST: swp1 carrier on [ OK ] # 41.77 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.39 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 42.75 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 43.07 [+0.32] TEST: swp1 carrier off [ OK ] # 43.73 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 44.09 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 44.41 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 44.76 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.07 [+0.31] TEST: swp1 carrier on [ OK ] # 45.70 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 46.03 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.39 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 46.75 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.01 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.69 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 48.01 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 48.36 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.73 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.06 [+0.33] TEST: swp1 carrier off [ OK ] # 49.69 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 50.04 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 50.36 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 50.69 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.87 [+13.18] # 63.87 [+0.00] Backup nexthop ID - invalid IDs # 63.87 [+0.00] ------------------------------- # 66.11 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.35 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 66.67 [+0.31] TEST: swp1 carrier off [ OK ] # 67.29 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 67.63 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 67.96 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 68.12 [+0.16] TEST: No Tx drop increase [ OK ] # 68.36 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.97 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 69.31 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.63 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 69.80 [+0.17] TEST: Tx drop increased [ OK ] # 70.18 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.83 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 71.17 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.49 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 71.64 [+0.15] TEST: Tx drop increased [ OK ] # 71.89 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.56 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 72.90 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.26 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 73.41 [+0.15] TEST: Tx drop increased [ OK ] # 74.03 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.65 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 74.99 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 75.34 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 75.48 [+0.13] TEST: Tx drop increased [ OK ] # 88.74 [+13.27] # 88.75 [+0.00] Backup nexthop ID - ping # 88.75 [+0.00] ------------------------ # 92.96 [+4.21] TEST: Ping with backup nexthop ID [ OK ] # 98.41 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.72 [+13.31] # 111.72 [+0.00] Backup nexthop ID - torture test # 111.72 [+0.00] -------------------------------- # 142.71 [+30.99] TEST: Torture test [ OK ] # 143.60 [+0.88] # 143.60 [+0.00] Tests passed: 83 # 143.60 [+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__->