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.26 [+12.26] # 12.26 [+0.00] Backup port # 12.26 [+0.00] ----------- # 14.19 [+1.93] TEST: Forwarding out of swp1 [ OK ] # 14.52 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.86 [+0.34] TEST: swp1 carrier off [ OK ] # 15.64 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 16.17 [+0.53] TEST: No forwarding out of vx0 [ OK ] # 16.59 [+0.42] TEST: swp1 carrier on [ OK ] # 16.86 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.55 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 17.97 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 18.41 [+0.44] TEST: swp1 carrier off [ OK ] # 19.24 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 19.55 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 19.96 [+0.41] TEST: swp1 carrier on [ OK ] # 20.64 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 21.05 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 21.32 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.94 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 22.26 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 22.63 [+0.36] TEST: swp1 carrier off [ OK ] # 23.24 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 23.57 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 37.29 [+13.72] # 37.29 [+0.00] Backup nexthop ID # 37.29 [+0.00] ----------------- # 39.56 [+2.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.21 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 40.57 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 40.92 [+0.35] TEST: swp1 carrier off [ OK ] # 41.56 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 41.96 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 42.28 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 42.61 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.96 [+0.35] TEST: swp1 carrier on [ OK ] # 43.22 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.88 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 44.22 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 44.54 [+0.32] TEST: swp1 carrier off [ OK ] # 45.17 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 45.51 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 45.89 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 46.24 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.59 [+0.35] TEST: swp1 carrier on [ OK ] # 47.19 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 47.57 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 47.91 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.23 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.48 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.12 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 49.47 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 49.84 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 50.18 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.50 [+0.32] TEST: swp1 carrier off [ OK ] # 51.15 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 51.50 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 51.84 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 52.22 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.71 [+13.49] # 65.71 [+0.00] Backup nexthop ID - invalid IDs # 65.71 [+0.00] ------------------------------- # 68.03 [+2.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.30 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 68.66 [+0.36] TEST: swp1 carrier off [ OK ] # 69.33 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 69.65 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 70.05 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 70.22 [+0.17] TEST: No Tx drop increase [ OK ] # 70.48 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 71.11 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 71.48 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 71.82 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.98 [+0.16] TEST: Tx drop increased [ OK ] # 72.37 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 73.03 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 73.38 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.73 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 73.89 [+0.15] TEST: Tx drop increased [ OK ] # 74.20 [+0.32] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.88 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 75.22 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 75.57 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 75.75 [+0.18] TEST: Tx drop increased [ OK ] # 76.37 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 77.04 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 77.37 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 77.71 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 77.88 [+0.17] TEST: Tx drop increased [ OK ] # 91.38 [+13.50] # 91.38 [+0.00] Backup nexthop ID - ping # 91.38 [+0.00] ------------------------ # 95.58 [+4.20] TEST: Ping with backup nexthop ID [ OK ] # 101.03 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.53 [+13.50] # 114.53 [+0.00] Backup nexthop ID - torture test # 114.53 [+0.00] -------------------------------- # 145.54 [+31.01] TEST: Torture test [ OK ] # 146.48 [+0.94] # 146.48 [+0.00] Tests passed: 83 # 146.48 [+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__->