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.08 [+12.08] # 12.09 [+0.00] Backup port # 12.09 [+0.00] ----------- # 13.61 [+1.53] TEST: Forwarding out of swp1 [ OK ] # 13.92 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 14.25 [+0.33] TEST: swp1 carrier off [ OK ] # 14.90 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.22 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.59 [+0.37] TEST: swp1 carrier on [ OK ] # 15.83 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.50 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 16.82 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 17.15 [+0.33] TEST: swp1 carrier off [ OK ] # 17.82 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 18.16 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 18.48 [+0.32] TEST: swp1 carrier on [ OK ] # 19.07 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.42 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.65 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.28 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 20.62 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 20.94 [+0.32] TEST: swp1 carrier off [ OK ] # 21.59 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 21.96 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 35.12 [+13.16] # 35.12 [+0.00] Backup nexthop ID # 35.12 [+0.00] ----------------- # 37.35 [+2.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.99 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 38.32 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 38.65 [+0.33] TEST: swp1 carrier off [ OK ] # 39.28 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 39.66 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 40.00 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 40.34 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.66 [+0.32] TEST: swp1 carrier on [ OK ] # 40.92 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 41.54 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 41.89 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 42.20 [+0.30] TEST: swp1 carrier off [ OK ] # 42.83 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 43.18 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 43.53 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 43.86 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.19 [+0.33] TEST: swp1 carrier on [ OK ] # 44.81 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 45.14 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 45.52 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 45.86 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.12 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.76 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 47.10 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 47.43 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.79 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.12 [+0.33] TEST: swp1 carrier off [ OK ] # 48.73 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 49.08 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 49.42 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.76 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.94 [+13.18] # 62.94 [+0.00] Backup nexthop ID - invalid IDs # 62.94 [+0.00] ------------------------------- # 65.38 [+2.44] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.62 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 65.97 [+0.35] TEST: swp1 carrier off [ OK ] # 66.62 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 67.00 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 67.33 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 67.49 [+0.16] TEST: No Tx drop increase [ OK ] # 67.75 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.40 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 68.76 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 69.10 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 69.26 [+0.16] TEST: Tx drop increased [ OK ] # 69.66 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.29 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 70.60 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 70.94 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.11 [+0.17] TEST: Tx drop increased [ OK ] # 71.37 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.01 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.34 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.66 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 72.82 [+0.16] TEST: Tx drop increased [ OK ] # 73.48 [+0.66] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.11 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 74.45 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.81 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 74.95 [+0.14] TEST: Tx drop increased [ OK ] # 88.18 [+13.23] # 88.18 [+0.00] Backup nexthop ID - ping # 88.18 [+0.00] ------------------------ # 92.38 [+4.20] TEST: Ping with backup nexthop ID [ OK ] # 97.82 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.09 [+13.28] # 111.10 [+0.00] Backup nexthop ID - torture test # 111.10 [+0.00] -------------------------------- # 142.11 [+31.01] TEST: Torture test [ OK ] # 143.00 [+0.89] # 143.01 [+0.01] Tests passed: 83 # 143.01 [+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__->