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.89 [+11.89] # 11.89 [+0.00] Backup port # 11.89 [+0.00] ----------- # 13.30 [+1.41] TEST: Forwarding out of swp1 [ OK ] # 13.63 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 13.95 [+0.32] TEST: swp1 carrier off [ OK ] # 14.59 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 14.91 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.24 [+0.33] TEST: swp1 carrier on [ OK ] # 15.46 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.06 [+0.59] 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.30 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 17.65 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 17.99 [+0.34] TEST: swp1 carrier on [ OK ] # 18.60 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 18.92 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.18 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.78 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 20.11 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.43 [+0.32] TEST: swp1 carrier off [ OK ] # 21.06 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 21.41 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 34.51 [+13.10] # 34.52 [+0.00] Backup nexthop ID # 34.52 [+0.00] ----------------- # 36.64 [+2.13] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.26 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 37.58 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.95 [+0.37] TEST: swp1 carrier off [ OK ] # 38.59 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 38.97 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 39.31 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 39.65 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.00 [+0.35] TEST: swp1 carrier on [ OK ] # 40.23 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.87 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 41.21 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 41.52 [+0.31] TEST: swp1 carrier off [ OK ] # 42.13 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 42.45 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 42.79 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 43.14 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.45 [+0.31] TEST: swp1 carrier on [ OK ] # 44.07 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 44.39 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 44.72 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 45.06 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.30 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.91 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 46.23 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 46.56 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 46.90 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.23 [+0.32] TEST: swp1 carrier off [ OK ] # 47.84 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 48.17 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 48.49 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 48.81 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.83 [+13.01] # 61.83 [+0.00] Backup nexthop ID - invalid IDs # 61.83 [+0.00] ------------------------------- # 64.13 [+2.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.36 [+0.22] TEST: Valid nexthop as backup nexthop [ OK ] # 64.69 [+0.33] TEST: swp1 carrier off [ OK ] # 65.31 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 65.62 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 65.95 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 66.10 [+0.15] TEST: No Tx drop increase [ OK ] # 66.34 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 66.96 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 67.30 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 67.63 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 67.78 [+0.15] TEST: Tx drop increased [ OK ] # 68.16 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.81 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 69.14 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.49 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 69.66 [+0.17] TEST: Tx drop increased [ OK ] # 69.92 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.54 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.88 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.23 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.38 [+0.15] TEST: Tx drop increased [ OK ] # 72.01 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.66 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 72.99 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.32 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.50 [+0.17] TEST: Tx drop increased [ OK ] # 86.69 [+13.19] # 86.69 [+0.00] Backup nexthop ID - ping # 86.69 [+0.00] ------------------------ # 90.76 [+4.07] TEST: Ping with backup nexthop ID [ OK ] # 96.18 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.20 [+13.03] # 109.20 [+0.00] Backup nexthop ID - torture test # 109.20 [+0.00] -------------------------------- # 140.17 [+30.97] TEST: Torture test [ OK ] # 141.07 [+0.90] # 141.07 [+0.00] Tests passed: 83 # 141.07 [+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__->