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 # 11.89 [+11.89] # 11.89 [+0.00] Backup port # 11.89 [+0.00] ----------- # 13.27 [+1.39] TEST: Forwarding out of swp1 [ OK ] # 13.63 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 13.93 [+0.31] TEST: swp1 carrier off [ OK ] # 14.57 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 14.87 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 15.19 [+0.32] TEST: swp1 carrier on [ OK ] # 15.45 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.09 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 16.43 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 16.75 [+0.31] TEST: swp1 carrier off [ OK ] # 17.39 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 17.72 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.06 [+0.35] TEST: swp1 carrier on [ OK ] # 18.69 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.02 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.28 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.88 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 20.22 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.53 [+0.31] TEST: swp1 carrier off [ OK ] # 21.16 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 21.47 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 34.52 [+13.05] # 34.52 [+0.00] Backup nexthop ID # 34.52 [+0.00] ----------------- # 36.71 [+2.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.36 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 37.69 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 38.04 [+0.35] TEST: swp1 carrier off [ OK ] # 38.67 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 39.01 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 39.32 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 39.68 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.01 [+0.33] TEST: swp1 carrier on [ OK ] # 40.25 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.89 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 41.23 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 41.55 [+0.31] TEST: swp1 carrier off [ OK ] # 42.16 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 42.50 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 42.83 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 43.16 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.50 [+0.33] TEST: swp1 carrier on [ OK ] # 44.14 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 44.46 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 44.79 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 45.15 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.39 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.00 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 46.34 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.68 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 47.01 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.33 [+0.31] TEST: swp1 carrier off [ OK ] # 47.94 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 48.27 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 48.60 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 48.91 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.84 [+13.93] # 62.84 [+0.00] Backup nexthop ID - invalid IDs # 62.84 [+0.00] ------------------------------- # 65.29 [+2.45] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.54 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 65.88 [+0.34] TEST: swp1 carrier off [ OK ] # 66.54 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 66.87 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 67.21 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 67.38 [+0.17] TEST: No Tx drop increase [ OK ] # 67.64 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.24 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 68.62 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 68.95 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 69.09 [+0.15] TEST: Tx drop increased [ OK ] # 69.52 [+0.43] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.15 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 70.49 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 70.84 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.00 [+0.16] TEST: Tx drop increased [ OK ] # 71.24 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.85 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 72.18 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.52 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.67 [+0.15] TEST: Tx drop increased [ OK ] # 73.32 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.98 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 74.33 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 74.64 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 74.79 [+0.15] TEST: Tx drop increased [ OK ] # 88.30 [+13.51] # 88.30 [+0.00] Backup nexthop ID - ping # 88.30 [+0.00] ------------------------ # 92.41 [+4.11] TEST: Ping with backup nexthop ID [ OK ] # 97.87 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.01 [+13.13] # 111.01 [+0.00] Backup nexthop ID - torture test # 111.01 [+0.00] -------------------------------- # 142.02 [+31.01] TEST: Torture test [ OK ] # 142.93 [+0.91] # 142.93 [+0.00] Tests passed: 83 # 142.93 [+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__->