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.99 [+11.99] # 11.99 [+0.00] Backup port # 11.99 [+0.00] ----------- # 13.42 [+1.43] TEST: Forwarding out of swp1 [ OK ] # 13.74 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.05 [+0.31] TEST: swp1 carrier off [ OK ] # 14.66 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 14.97 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 15.30 [+0.34] TEST: swp1 carrier on [ OK ] # 15.53 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.13 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 16.47 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.79 [+0.32] TEST: swp1 carrier off [ OK ] # 17.38 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.72 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 18.05 [+0.33] TEST: swp1 carrier on [ OK ] # 18.65 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 18.98 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.29 [+0.31] TEST: swp1 administratively down [ OK ] # 19.89 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 20.23 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 20.54 [+0.31] TEST: swp1 administratively up [ OK ] # 21.11 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 21.46 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.70 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.29 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 22.64 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 22.99 [+0.34] TEST: swp1 carrier off [ OK ] # 23.58 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 23.90 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.00 [+13.11] # 37.00 [+0.00] Backup nexthop ID # 37.00 [+0.00] ----------------- # 39.16 [+2.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.94 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 40.37 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 40.71 [+0.34] TEST: swp1 carrier off [ OK ] # 41.34 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 41.65 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 41.98 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 42.28 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.59 [+0.31] TEST: swp1 carrier on [ OK ] # 42.91 [+0.32] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.59 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 43.95 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 44.32 [+0.38] TEST: swp1 carrier off [ OK ] # 44.91 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 45.24 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 45.61 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 46.03 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.39 [+0.36] TEST: swp1 carrier on [ OK ] # 47.02 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 47.37 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 47.73 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 48.09 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.42 [+0.33] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.16 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 49.46 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 49.83 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 50.17 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.54 [+0.37] TEST: swp1 carrier off [ OK ] # 51.19 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 51.53 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 51.86 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 52.20 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.69 [+13.49] # 65.69 [+0.00] Backup nexthop ID - invalid IDs # 65.69 [+0.00] ------------------------------- # 68.08 [+2.39] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.32 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 68.68 [+0.36] TEST: swp1 carrier off [ OK ] # 69.36 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 69.69 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 70.04 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 70.20 [+0.16] TEST: No Tx drop increase [ OK ] # 70.46 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 71.07 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 71.37 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 71.69 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 71.84 [+0.15] TEST: Tx drop increased [ OK ] # 72.20 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.80 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 73.12 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 73.44 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 73.60 [+0.16] TEST: Tx drop increased [ OK ] # 73.83 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.46 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 74.78 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 75.09 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 75.24 [+0.14] TEST: Tx drop increased [ OK ] # 75.84 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.48 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 76.81 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 77.13 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 77.26 [+0.13] TEST: Tx drop increased [ OK ] # 90.28 [+13.02] # 90.28 [+0.00] Backup nexthop ID - ping # 90.28 [+0.00] ------------------------ # 94.26 [+3.98] TEST: Ping with backup nexthop ID [ OK ] # 99.75 [+5.48] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.85 [+13.10] # 112.85 [+0.00] Backup nexthop ID - torture test # 112.85 [+0.00] -------------------------------- # 143.84 [+30.99] TEST: Torture test [ OK ] # 144.81 [+0.96] # 144.81 [+0.00] Tests passed: 89 # 144.81 [+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__->