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' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 13.41 [+13.41] # 13.41 [+0.00] Backup port # 13.41 [+0.00] ----------- # 15.21 [+1.80] TEST: Forwarding out of swp1 [ OK ] # 15.57 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.99 [+0.43] TEST: swp1 carrier off [ OK ] # 16.74 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 17.13 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.52 [+0.39] TEST: swp1 carrier on [ OK ] # 17.82 [+0.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.55 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 18.95 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 19.36 [+0.42] TEST: swp1 carrier off [ OK ] # 20.10 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 20.48 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 20.86 [+0.38] TEST: swp1 carrier on [ OK ] # 21.60 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 22.01 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 22.29 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.02 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 23.40 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 23.78 [+0.38] TEST: swp1 carrier off [ OK ] # 24.50 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 24.86 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 39.78 [+14.92] # 39.78 [+0.00] Backup nexthop ID # 39.78 [+0.00] ----------------- # 42.42 [+2.64] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.16 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 43.56 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 43.96 [+0.40] TEST: swp1 carrier off [ OK ] # 44.70 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 45.07 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 45.45 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 45.82 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.21 [+0.40] TEST: swp1 carrier on [ OK ] # 46.51 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.24 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 47.62 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 48.02 [+0.41] TEST: swp1 carrier off [ OK ] # 48.78 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 49.14 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 49.52 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 49.90 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.30 [+0.39] TEST: swp1 carrier on [ OK ] # 51.02 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 51.42 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 51.81 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 52.17 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.45 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 53.18 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 53.58 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 53.95 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 54.35 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.76 [+0.41] TEST: swp1 carrier off [ OK ] # 55.50 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 55.89 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 56.28 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 56.66 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 71.67 [+15.02] # 71.67 [+0.00] Backup nexthop ID - invalid IDs # 71.67 [+0.00] ------------------------------- # 74.44 [+2.76] TEST: vx0 configured as backup port of swp1 [ OK ] # 74.71 [+0.28] TEST: Valid nexthop as backup nexthop [ OK ] # 75.14 [+0.43] TEST: swp1 carrier off [ OK ] # 75.89 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 76.30 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 76.67 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 76.88 [+0.21] TEST: No Tx drop increase [ OK ] # 77.17 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 77.91 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 78.30 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 78.66 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 78.82 [+0.16] TEST: Tx drop increased [ OK ] # 79.27 [+0.45] TEST: Blackhole nexthop as backup nexthop [ OK ] # 80.06 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 80.46 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 80.88 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 81.08 [+0.20] TEST: Tx drop increased [ OK ] # 81.38 [+0.29] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 82.14 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 82.54 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 82.94 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 83.12 [+0.18] TEST: Tx drop increased [ OK ] # 83.88 [+0.76] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 84.64 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 85.01 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 85.38 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 85.55 [+0.17] TEST: Tx drop increased [ OK ] # 100.65 [+15.10] # 100.65 [+0.00] Backup nexthop ID - ping # 100.66 [+0.00] ------------------------ # 105.30 [+4.65] TEST: Ping with backup nexthop ID [ OK ] # 110.88 [+5.58] TEST: Ping after disabling backup nexthop ID [ OK ] # 125.74 [+14.86] # 125.74 [+0.00] Backup nexthop ID - torture test # 125.74 [+0.00] -------------------------------- # 156.92 [+31.18] TEST: Torture test [ OK ] # 158.07 [+1.15] # 158.07 [+0.00] Tests passed: 83 # 158.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__->