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.14 [+12.14] # 12.15 [+0.00] Backup port # 12.15 [+0.00] ----------- # 13.92 [+1.77] TEST: Forwarding out of swp1 [ OK ] # 14.23 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.57 [+0.33] TEST: swp1 carrier off [ OK ] # 15.14 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 15.45 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 15.75 [+0.30] TEST: swp1 carrier on [ OK ] # 15.99 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.55 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 16.86 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 17.17 [+0.31] TEST: swp1 carrier off [ OK ] # 17.79 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 18.12 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.48 [+0.36] TEST: swp1 carrier on [ OK ] # 19.09 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.42 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.73 [+0.31] TEST: swp1 administratively down [ OK ] # 20.36 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 20.71 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 21.05 [+0.34] TEST: swp1 administratively up [ OK ] # 21.69 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 22.01 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 22.25 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.89 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 23.23 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 23.53 [+0.30] TEST: swp1 carrier off [ OK ] # 24.16 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 24.48 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 37.50 [+13.02] # 37.50 [+0.00] Backup nexthop ID # 37.50 [+0.00] ----------------- # 39.63 [+2.13] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.24 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 40.58 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 40.92 [+0.35] TEST: swp1 carrier off [ OK ] # 41.49 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 41.80 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 42.16 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 42.48 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.79 [+0.31] TEST: swp1 carrier on [ OK ] # 43.03 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.64 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 43.96 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 44.27 [+0.31] TEST: swp1 carrier off [ OK ] # 44.86 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 45.19 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 45.54 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 45.87 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.18 [+0.31] TEST: swp1 carrier on [ OK ] # 46.79 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 47.13 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 47.44 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 47.77 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.02 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.62 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 48.94 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 49.26 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 49.57 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.87 [+0.31] TEST: swp1 carrier off [ OK ] # 50.46 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 50.80 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 51.16 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 51.49 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.31 [+12.82] # 64.31 [+0.00] Backup nexthop ID - invalid IDs # 64.31 [+0.00] ------------------------------- # 66.42 [+2.11] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.65 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 66.99 [+0.34] TEST: swp1 carrier off [ OK ] # 67.65 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 67.96 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 68.29 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 68.42 [+0.13] TEST: No Tx drop increase [ OK ] # 68.68 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.32 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 69.67 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 69.99 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.12 [+0.13] TEST: Tx drop increased [ OK ] # 70.46 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.05 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 71.39 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.70 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 71.83 [+0.13] TEST: Tx drop increased [ OK ] # 72.05 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.65 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 72.99 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.32 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.44 [+0.12] TEST: Tx drop increased [ OK ] # 74.03 [+0.59] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.62 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 74.95 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 75.27 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 75.39 [+0.12] TEST: Tx drop increased [ OK ] # 88.20 [+12.81] # 88.20 [+0.00] Backup nexthop ID - ping # 88.20 [+0.00] ------------------------ # 92.14 [+3.93] TEST: Ping with backup nexthop ID [ OK ] # 97.56 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.39 [+12.83] # 110.39 [+0.00] Backup nexthop ID - torture test # 110.40 [+0.00] -------------------------------- # 141.35 [+30.96] TEST: Torture test [ OK ] # 142.25 [+0.90] # 142.25 [+0.00] Tests passed: 89 # 142.25 [+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__->