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.44 [+12.44] # 12.44 [+0.00] Backup port # 12.44 [+0.00] ----------- # 14.11 [+1.66] TEST: Forwarding out of swp1 [ OK ] # 14.46 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.82 [+0.36] TEST: swp1 carrier off [ OK ] # 15.45 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 15.80 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 16.16 [+0.36] TEST: swp1 carrier on [ OK ] # 16.42 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.09 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 17.44 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.81 [+0.37] TEST: swp1 carrier off [ OK ] # 18.49 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 18.87 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 19.31 [+0.44] TEST: swp1 carrier on [ OK ] # 20.02 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 20.40 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 20.72 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.50 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 21.85 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 22.19 [+0.34] TEST: swp1 carrier off [ OK ] # 22.83 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 23.21 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 37.70 [+14.48] # 37.70 [+0.00] Backup nexthop ID # 37.70 [+0.00] ----------------- # 40.22 [+2.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.96 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 41.35 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 41.73 [+0.38] TEST: swp1 carrier off [ OK ] # 42.49 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 42.88 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 43.26 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 43.65 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 44.04 [+0.39] TEST: swp1 carrier on [ OK ] # 44.35 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 45.08 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 45.47 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 45.85 [+0.37] TEST: swp1 carrier off [ OK ] # 46.65 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 47.06 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 47.45 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 47.89 [+0.43] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.30 [+0.41] TEST: swp1 carrier on [ OK ] # 49.20 [+0.90] TEST: Forwarding out of swp1 [ OK ] # 49.64 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 50.06 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 50.52 [+0.46] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.84 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 51.72 [+0.88] TEST: Forwarding out of swp1 [ OK ] # 52.19 [+0.47] TEST: No forwarding out of vx0 [ OK ] # 52.66 [+0.47] TEST: No forwarding using backup nexthop ID [ OK ] # 53.08 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.55 [+0.47] TEST: swp1 carrier off [ OK ] # 54.32 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 54.73 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 55.15 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 55.60 [+0.45] TEST: Forwarding using VXLAN FDB entry [ OK ] # 72.88 [+17.28] # 72.88 [+0.00] Backup nexthop ID - invalid IDs # 72.88 [+0.00] ------------------------------- # 76.13 [+3.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 76.47 [+0.34] TEST: Valid nexthop as backup nexthop [ OK ] # 76.89 [+0.42] TEST: swp1 carrier off [ OK ] # 77.69 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 78.09 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 78.55 [+0.47] TEST: Forwarding using backup nexthop ID [ OK ] # 78.74 [+0.19] TEST: No Tx drop increase [ OK ] # 79.08 [+0.34] TEST: Non-existent nexthop as backup nexthop [ OK ] # 79.76 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 80.13 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 80.47 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 80.65 [+0.18] TEST: Tx drop increased [ OK ] # 81.07 [+0.42] TEST: Blackhole nexthop as backup nexthop [ OK ] # 81.75 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 82.10 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 82.45 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 82.62 [+0.17] TEST: Tx drop increased [ OK ] # 82.87 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 83.51 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 83.87 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 84.17 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 84.35 [+0.18] TEST: Tx drop increased [ OK ] # 85.02 [+0.67] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 85.67 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 86.05 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 86.42 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 86.57 [+0.15] TEST: Tx drop increased [ OK ] # 100.39 [+13.82] # 100.39 [+0.00] Backup nexthop ID - ping # 100.39 [+0.00] ------------------------ # 104.58 [+4.19] TEST: Ping with backup nexthop ID [ OK ] # 110.06 [+5.48] TEST: Ping after disabling backup nexthop ID [ OK ] # 123.61 [+13.55] # 123.62 [+0.00] Backup nexthop ID - torture test # 123.62 [+0.00] -------------------------------- # 154.61 [+30.99] TEST: Torture test [ OK ] # 155.51 [+0.90] # 155.51 [+0.00] Tests passed: 83 # 155.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__->