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 # 11.96 [+11.96] # 11.97 [+0.00] Backup port # 11.97 [+0.00] ----------- # 13.34 [+1.38] TEST: Forwarding out of swp1 [ OK ] # 13.66 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 13.96 [+0.30] TEST: swp1 carrier off [ OK ] # 14.56 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 14.88 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.21 [+0.33] TEST: swp1 carrier on [ OK ] # 15.44 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.05 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 16.36 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.68 [+0.32] TEST: swp1 carrier off [ OK ] # 17.26 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 17.65 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 17.95 [+0.30] TEST: swp1 carrier on [ OK ] # 18.54 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 18.88 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.20 [+0.32] TEST: swp1 administratively down [ OK ] # 19.77 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 20.09 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 20.42 [+0.33] TEST: swp1 administratively up [ OK ] # 21.02 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 21.35 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 21.67 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.30 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 22.66 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 22.99 [+0.33] TEST: swp1 carrier off [ OK ] # 23.62 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 23.93 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 36.96 [+13.02] # 36.96 [+0.00] Backup nexthop ID # 36.96 [+0.00] ----------------- # 39.11 [+2.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.70 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 40.01 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 40.35 [+0.34] TEST: swp1 carrier off [ OK ] # 40.93 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 41.23 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 41.58 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.89 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.20 [+0.31] TEST: swp1 carrier on [ OK ] # 42.43 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.02 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 43.37 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.67 [+0.30] TEST: swp1 carrier off [ OK ] # 44.29 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 44.61 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 44.92 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 45.27 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.58 [+0.31] TEST: swp1 carrier on [ OK ] # 46.18 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 46.49 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 46.81 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.15 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.39 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.97 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 48.29 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 48.60 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 48.91 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.20 [+0.29] TEST: swp1 carrier off [ OK ] # 49.79 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 50.11 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 50.44 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 50.78 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.77 [+12.99] # 63.77 [+0.00] Backup nexthop ID - invalid IDs # 63.77 [+0.00] ------------------------------- # 66.07 [+2.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.30 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 66.62 [+0.32] TEST: swp1 carrier off [ OK ] # 67.24 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 67.58 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 67.93 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 68.09 [+0.17] TEST: No Tx drop increase [ OK ] # 68.33 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.91 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 69.28 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 69.60 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 69.75 [+0.15] TEST: Tx drop increased [ OK ] # 70.10 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.71 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 71.03 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 71.38 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.55 [+0.18] TEST: Tx drop increased [ OK ] # 71.80 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.46 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 72.96 [+0.50] TEST: Forwarding out of vx0 [ OK ] # 73.39 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 73.59 [+0.21] TEST: Tx drop increased [ OK ] # 74.22 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.82 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 75.20 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 75.53 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 75.69 [+0.16] TEST: Tx drop increased [ OK ] # 89.61 [+13.92] # 89.61 [+0.00] Backup nexthop ID - ping # 89.61 [+0.00] ------------------------ # 94.36 [+4.75] TEST: Ping with backup nexthop ID [ OK ] # 99.95 [+5.59] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.62 [+14.67] # 114.62 [+0.00] Backup nexthop ID - torture test # 114.62 [+0.00] -------------------------------- # 145.67 [+31.05] TEST: Torture test [ OK ] # 146.55 [+0.89] # 146.56 [+0.00] Tests passed: 89 # 146.56 [+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__->