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 # 15.14 [+15.14] # 15.14 [+0.00] Backup port # 15.14 [+0.00] ----------- # 17.60 [+2.46] TEST: Forwarding out of swp1 [ OK ] # 18.11 [+0.51] TEST: No forwarding out of vx0 [ OK ] # 18.61 [+0.50] TEST: swp1 carrier off [ OK ] # 19.46 [+0.86] TEST: No forwarding out of swp1 [ OK ] # 19.91 [+0.45] TEST: No forwarding out of vx0 [ OK ] # 20.36 [+0.45] TEST: swp1 carrier on [ OK ] # 20.66 [+0.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 21.48 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 21.98 [+0.50] TEST: No forwarding out of vx0 [ OK ] # 22.42 [+0.44] TEST: swp1 carrier off [ OK ] # 23.30 [+0.88] TEST: No forwarding out of swp1 [ OK ] # 23.79 [+0.49] TEST: Forwarding out of vx0 [ OK ] # 24.26 [+0.47] TEST: swp1 carrier on [ OK ] # 25.10 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 25.54 [+0.45] TEST: No forwarding out of vx0 [ OK ] # 25.86 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 26.64 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 27.07 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 27.45 [+0.38] TEST: swp1 carrier off [ OK ] # 28.18 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 28.53 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 42.54 [+14.01] # 42.54 [+0.00] Backup nexthop ID # 42.54 [+0.00] ----------------- # 44.82 [+2.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 45.43 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 45.74 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 46.12 [+0.38] TEST: swp1 carrier off [ OK ] # 46.76 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 47.10 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 47.45 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 47.79 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.13 [+0.33] TEST: swp1 carrier on [ OK ] # 48.38 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 49.01 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 49.33 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 49.65 [+0.31] TEST: swp1 carrier off [ OK ] # 50.29 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 50.65 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 50.99 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 51.34 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.65 [+0.31] TEST: swp1 carrier on [ OK ] # 52.30 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 52.64 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 52.96 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 53.30 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.53 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 54.16 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 54.48 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 54.83 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 55.16 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.48 [+0.33] TEST: swp1 carrier off [ OK ] # 56.12 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 56.47 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 56.81 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 57.16 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 70.38 [+13.22] # 70.38 [+0.00] Backup nexthop ID - invalid IDs # 70.38 [+0.00] ------------------------------- # 72.64 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 72.88 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 73.22 [+0.34] TEST: swp1 carrier off [ OK ] # 73.87 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 74.19 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 74.52 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 74.68 [+0.16] TEST: No Tx drop increase [ OK ] # 74.95 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 75.60 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 75.97 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 76.30 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 76.45 [+0.15] TEST: Tx drop increased [ OK ] # 76.83 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 77.48 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 77.83 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 78.15 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 78.30 [+0.14] TEST: Tx drop increased [ OK ] # 78.58 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 79.21 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 79.56 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 79.89 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 80.04 [+0.16] TEST: Tx drop increased [ OK ] # 80.72 [+0.67] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 81.35 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 81.69 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 82.04 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 82.18 [+0.14] TEST: Tx drop increased [ OK ] # 95.52 [+13.34] # 95.52 [+0.00] Backup nexthop ID - ping # 95.52 [+0.00] ------------------------ # 99.67 [+4.14] TEST: Ping with backup nexthop ID [ OK ] # 105.15 [+5.48] TEST: Ping after disabling backup nexthop ID [ OK ] # 118.53 [+13.37] # 118.53 [+0.00] Backup nexthop ID - torture test # 118.53 [+0.00] -------------------------------- # 149.56 [+31.03] TEST: Torture test [ OK ] # 150.43 [+0.87] # 150.43 [+0.00] Tests passed: 83 # 150.43 [+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__->