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.18 [+12.18] # 12.19 [+0.01] Backup port # 12.19 [+0.00] ----------- # 13.69 [+1.50] TEST: Forwarding out of swp1 [ OK ] # 14.04 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.38 [+0.34] TEST: swp1 carrier off [ OK ] # 15.03 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.40 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 15.76 [+0.35] TEST: swp1 carrier on [ OK ] # 16.01 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.70 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 17.05 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.42 [+0.37] TEST: swp1 carrier off [ OK ] # 18.10 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 18.53 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 18.89 [+0.36] TEST: swp1 carrier on [ OK ] # 19.58 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 19.98 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 20.25 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.99 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 21.33 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.66 [+0.32] TEST: swp1 carrier off [ OK ] # 22.30 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 22.62 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 36.82 [+14.20] # 36.82 [+0.00] Backup nexthop ID # 36.82 [+0.00] ----------------- # 39.97 [+3.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.81 [+0.84] TEST: Forwarding out of swp1 [ OK ] # 41.22 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 41.71 [+0.48] TEST: swp1 carrier off [ OK ] # 42.48 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 42.98 [+0.49] TEST: Forwarding out of vx0 [ OK ] # 43.42 [+0.45] TEST: No forwarding using backup nexthop ID [ OK ] # 43.84 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 44.27 [+0.43] TEST: swp1 carrier on [ OK ] # 44.67 [+0.40] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 45.46 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 45.88 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 46.31 [+0.42] TEST: swp1 carrier off [ OK ] # 47.08 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 47.46 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 47.89 [+0.43] TEST: Forwarding using backup nexthop ID [ OK ] # 48.29 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.75 [+0.46] TEST: swp1 carrier on [ OK ] # 49.48 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 49.90 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 50.28 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 50.62 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.92 [+0.30] TEST: No backup nexthop ID configured for swp1 [ OK ] # 51.65 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 52.01 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 52.36 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 52.73 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.10 [+0.37] TEST: swp1 carrier off [ OK ] # 53.79 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 54.20 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 54.54 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 54.92 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 68.58 [+13.67] # 68.59 [+0.00] Backup nexthop ID - invalid IDs # 68.59 [+0.00] ------------------------------- # 71.08 [+2.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 71.33 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 71.66 [+0.33] TEST: swp1 carrier off [ OK ] # 72.37 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 72.75 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 73.08 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 73.25 [+0.17] TEST: No Tx drop increase [ OK ] # 73.53 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 74.20 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 74.56 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.89 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 75.04 [+0.15] TEST: Tx drop increased [ OK ] # 75.44 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 76.06 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 76.40 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 76.76 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 76.90 [+0.14] TEST: Tx drop increased [ OK ] # 77.17 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 77.89 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 78.23 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 78.57 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 78.71 [+0.14] TEST: Tx drop increased [ OK ] # 79.34 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 79.99 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 80.33 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 80.64 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 80.78 [+0.14] TEST: Tx drop increased [ OK ] # 94.30 [+13.52] # 94.30 [+0.00] Backup nexthop ID - ping # 94.30 [+0.00] ------------------------ # 98.66 [+4.36] TEST: Ping with backup nexthop ID [ OK ] # 104.13 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 118.04 [+13.92] # 118.04 [+0.00] Backup nexthop ID - torture test # 118.04 [+0.00] -------------------------------- # 149.04 [+30.99] TEST: Torture test [ OK ] # 149.94 [+0.90] # 149.94 [+0.00] Tests passed: 83 # 149.94 [+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__->