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.61 [+12.61] # 12.61 [+0.00] Backup port # 12.61 [+0.00] ----------- # 14.72 [+2.11] TEST: Forwarding out of swp1 [ OK ] # 15.10 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 15.46 [+0.36] TEST: swp1 carrier off [ OK ] # 16.16 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 16.60 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 16.98 [+0.38] TEST: swp1 carrier on [ OK ] # 17.26 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.93 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 18.29 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 18.62 [+0.33] TEST: swp1 carrier off [ OK ] # 19.32 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 19.68 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 20.03 [+0.34] TEST: swp1 carrier on [ OK ] # 20.69 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 21.05 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 21.31 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.95 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 22.29 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 22.64 [+0.35] TEST: swp1 carrier off [ OK ] # 23.30 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 23.62 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.04 [+13.42] # 37.04 [+0.00] Backup nexthop ID # 37.04 [+0.00] ----------------- # 39.85 [+2.81] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.66 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 40.99 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 41.34 [+0.35] TEST: swp1 carrier off [ OK ] # 41.98 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 42.33 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 42.68 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 43.02 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.35 [+0.33] TEST: swp1 carrier on [ OK ] # 43.60 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.28 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 44.60 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 44.94 [+0.34] TEST: swp1 carrier off [ OK ] # 45.54 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 45.88 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 46.24 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 46.56 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.91 [+0.35] TEST: swp1 carrier on [ OK ] # 47.60 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 47.98 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 48.34 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 48.72 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.99 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.69 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 50.04 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 50.42 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 50.76 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.13 [+0.38] TEST: swp1 carrier off [ OK ] # 51.77 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 52.10 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 52.45 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 52.79 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 66.30 [+13.51] # 66.30 [+0.00] Backup nexthop ID - invalid IDs # 66.30 [+0.00] ------------------------------- # 68.54 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.79 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 69.13 [+0.34] TEST: swp1 carrier off [ OK ] # 69.80 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 70.14 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 70.46 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 70.60 [+0.14] TEST: No Tx drop increase [ OK ] # 70.83 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 71.48 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 71.79 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.13 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 72.26 [+0.13] TEST: Tx drop increased [ OK ] # 72.64 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 73.28 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 73.60 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.92 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 74.06 [+0.14] TEST: Tx drop increased [ OK ] # 74.31 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.95 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 75.28 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 75.61 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 75.74 [+0.13] TEST: Tx drop increased [ OK ] # 76.40 [+0.66] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 77.01 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 77.36 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 77.70 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 77.84 [+0.14] TEST: Tx drop increased [ OK ] # 91.33 [+13.49] # 91.33 [+0.00] Backup nexthop ID - ping # 91.33 [+0.00] ------------------------ # 95.73 [+4.40] TEST: Ping with backup nexthop ID [ OK ] # 101.21 [+5.48] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.92 [+13.70] # 114.92 [+0.00] Backup nexthop ID - torture test # 114.92 [+0.00] -------------------------------- # 145.95 [+31.03] TEST: Torture test [ OK ] # 146.87 [+0.92] # 146.87 [+0.00] Tests passed: 83 # 146.87 [+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__->