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.49 [+12.49] # 12.49 [+0.00] Backup port # 12.49 [+0.00] ----------- # 14.65 [+2.16] TEST: Forwarding out of swp1 [ OK ] # 15.06 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 15.39 [+0.33] TEST: swp1 carrier off [ OK ] # 15.97 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 16.35 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.68 [+0.33] TEST: swp1 carrier on [ OK ] # 16.91 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.53 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 17.87 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 18.18 [+0.32] TEST: swp1 carrier off [ OK ] # 18.80 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 19.11 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 19.44 [+0.33] TEST: swp1 carrier on [ OK ] # 20.02 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 20.39 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 20.74 [+0.35] TEST: swp1 administratively down [ OK ] # 21.41 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 21.72 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 22.09 [+0.36] TEST: swp1 administratively up [ OK ] # 22.74 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 23.07 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 23.32 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.98 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 24.35 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 24.72 [+0.37] TEST: swp1 carrier off [ OK ] # 25.33 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 25.65 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 38.88 [+13.23] # 38.88 [+0.00] Backup nexthop ID # 38.88 [+0.00] ----------------- # 41.02 [+2.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 41.61 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 41.96 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 42.31 [+0.36] TEST: swp1 carrier off [ OK ] # 42.96 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 43.28 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 43.61 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 43.94 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 44.28 [+0.34] TEST: swp1 carrier on [ OK ] # 44.52 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 45.15 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 45.48 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 45.81 [+0.33] TEST: swp1 carrier off [ OK ] # 46.40 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 46.72 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 47.05 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 47.39 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.76 [+0.37] TEST: swp1 carrier on [ OK ] # 48.41 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 48.72 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 49.06 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 49.42 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.65 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 50.23 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 50.59 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 50.92 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 51.28 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.59 [+0.31] TEST: swp1 carrier off [ OK ] # 52.19 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 52.51 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 52.88 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 53.22 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 66.87 [+13.65] # 66.87 [+0.00] Backup nexthop ID - invalid IDs # 66.87 [+0.00] ------------------------------- # 69.27 [+2.39] TEST: vx0 configured as backup port of swp1 [ OK ] # 69.48 [+0.22] TEST: Valid nexthop as backup nexthop [ OK ] # 69.84 [+0.36] TEST: swp1 carrier off [ OK ] # 70.46 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.84 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 71.16 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 71.32 [+0.16] TEST: No Tx drop increase [ OK ] # 71.55 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 72.15 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 72.48 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 72.80 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 72.95 [+0.15] TEST: Tx drop increased [ OK ] # 73.31 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 73.94 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 74.30 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.65 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.80 [+0.15] TEST: Tx drop increased [ OK ] # 75.05 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 75.66 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 75.99 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 76.30 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 76.48 [+0.18] TEST: Tx drop increased [ OK ] # 77.08 [+0.60] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 77.66 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 77.99 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 78.35 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 78.50 [+0.14] TEST: Tx drop increased [ OK ] # 91.31 [+12.82] # 91.31 [+0.00] Backup nexthop ID - ping # 91.31 [+0.00] ------------------------ # 95.29 [+3.97] TEST: Ping with backup nexthop ID [ OK ] # 100.72 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.75 [+13.03] # 113.75 [+0.00] Backup nexthop ID - torture test # 113.75 [+0.00] -------------------------------- # 144.66 [+30.91] TEST: Torture test [ OK ] # 145.51 [+0.85] # 145.51 [+0.00] Tests passed: 89 # 145.51 [+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__->