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.78 [+12.78] # 12.78 [+0.00] Backup port # 12.78 [+0.00] ----------- # 14.72 [+1.94] TEST: Forwarding out of swp1 [ OK ] # 15.09 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 15.46 [+0.37] TEST: swp1 carrier off [ OK ] # 16.13 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 16.47 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.81 [+0.34] TEST: swp1 carrier on [ OK ] # 17.09 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.75 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 18.09 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 18.45 [+0.36] TEST: swp1 carrier off [ OK ] # 19.10 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 19.46 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 19.84 [+0.38] TEST: swp1 carrier on [ OK ] # 20.50 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 20.86 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 21.12 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.80 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 22.13 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 22.48 [+0.35] TEST: swp1 carrier off [ OK ] # 23.16 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 23.49 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 37.10 [+13.61] # 37.10 [+0.00] Backup nexthop ID # 37.10 [+0.00] ----------------- # 39.38 [+2.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.03 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 40.36 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 40.71 [+0.35] TEST: swp1 carrier off [ OK ] # 41.39 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 41.75 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 42.07 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 42.45 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.81 [+0.37] TEST: swp1 carrier on [ OK ] # 43.10 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.87 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 44.29 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 44.73 [+0.44] TEST: swp1 carrier off [ OK ] # 45.48 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 45.87 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 46.26 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 46.62 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.95 [+0.33] TEST: swp1 carrier on [ OK ] # 47.62 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 48.02 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 48.37 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.74 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.99 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.68 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 50.07 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 50.43 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 50.80 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.14 [+0.35] TEST: swp1 carrier off [ OK ] # 51.75 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 52.10 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 52.47 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 52.84 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 68.22 [+15.38] # 68.22 [+0.00] Backup nexthop ID - invalid IDs # 68.23 [+0.00] ------------------------------- # 71.38 [+3.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 71.72 [+0.35] TEST: Valid nexthop as backup nexthop [ OK ] # 72.17 [+0.44] TEST: swp1 carrier off [ OK ] # 73.04 [+0.88] TEST: No forwarding out of swp1 [ OK ] # 73.51 [+0.46] TEST: Forwarding out of vx0 [ OK ] # 73.98 [+0.47] TEST: Forwarding using backup nexthop ID [ OK ] # 74.22 [+0.25] TEST: No Tx drop increase [ OK ] # 74.60 [+0.38] TEST: Non-existent nexthop as backup nexthop [ OK ] # 75.46 [+0.86] TEST: No forwarding out of swp1 [ OK ] # 76.01 [+0.55] TEST: Forwarding out of vx0 [ OK ] # 76.44 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 76.66 [+0.22] TEST: Tx drop increased [ OK ] # 77.19 [+0.53] TEST: Blackhole nexthop as backup nexthop [ OK ] # 78.00 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 78.44 [+0.45] TEST: Forwarding out of vx0 [ OK ] # 78.90 [+0.45] TEST: No forwarding using backup nexthop ID [ OK ] # 79.13 [+0.23] TEST: Tx drop increased [ OK ] # 79.57 [+0.44] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 80.41 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 80.85 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 81.31 [+0.46] TEST: No forwarding using backup nexthop ID [ OK ] # 81.56 [+0.24] TEST: Tx drop increased [ OK ] # 82.50 [+0.94] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 83.36 [+0.86] TEST: No forwarding out of swp1 [ OK ] # 83.89 [+0.53] TEST: Forwarding out of vx0 [ OK ] # 84.44 [+0.55] TEST: No forwarding using backup nexthop ID [ OK ] # 84.69 [+0.25] TEST: Tx drop increased [ OK ] # 100.64 [+15.95] # 100.64 [+0.00] Backup nexthop ID - ping # 100.64 [+0.00] ------------------------ # 105.00 [+4.36] TEST: Ping with backup nexthop ID [ OK ] # 110.46 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 123.79 [+13.33] # 123.80 [+0.00] Backup nexthop ID - torture test # 123.80 [+0.00] -------------------------------- # 154.79 [+30.99] TEST: Torture test [ OK ] # 155.71 [+0.92] # 155.71 [+0.00] Tests passed: 83 # 155.71 [+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__->