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.20 [+12.20] # 12.21 [+0.00] Backup port # 12.21 [+0.00] ----------- # 13.90 [+1.69] TEST: Forwarding out of swp1 [ OK ] # 14.25 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.57 [+0.32] TEST: swp1 carrier off [ OK ] # 15.17 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 15.53 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 15.89 [+0.36] TEST: swp1 carrier on [ OK ] # 16.14 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.77 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 17.08 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 17.43 [+0.35] TEST: swp1 carrier off [ OK ] # 18.09 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 18.41 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.73 [+0.32] TEST: swp1 carrier on [ OK ] # 19.34 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.70 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 19.95 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.58 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 20.92 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.23 [+0.31] TEST: swp1 carrier off [ OK ] # 21.87 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 22.19 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 35.47 [+13.28] # 35.48 [+0.00] Backup nexthop ID # 35.48 [+0.00] ----------------- # 37.87 [+2.40] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.61 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 38.97 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 39.31 [+0.34] TEST: swp1 carrier off [ OK ] # 40.25 [+0.94] TEST: No forwarding out of swp1 [ OK ] # 40.71 [+0.46] TEST: Forwarding out of vx0 [ OK ] # 41.18 [+0.47] TEST: No forwarding using backup nexthop ID [ OK ] # 41.55 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.99 [+0.44] TEST: swp1 carrier on [ OK ] # 42.29 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.12 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 43.53 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 43.93 [+0.40] TEST: swp1 carrier off [ OK ] # 44.65 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 44.99 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 45.37 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 45.72 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.07 [+0.35] TEST: swp1 carrier on [ OK ] # 46.72 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 47.10 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 47.46 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 47.80 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.09 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.74 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 49.10 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 49.42 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 49.76 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.08 [+0.32] TEST: swp1 carrier off [ OK ] # 50.74 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 51.07 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 51.45 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 51.81 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.26 [+13.45] # 65.26 [+0.00] Backup nexthop ID - invalid IDs # 65.26 [+0.00] ------------------------------- # 67.51 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.76 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 68.09 [+0.33] TEST: swp1 carrier off [ OK ] # 68.74 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 69.10 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 69.45 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 69.61 [+0.17] TEST: No Tx drop increase [ OK ] # 69.90 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.52 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.87 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 71.23 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 71.37 [+0.14] TEST: Tx drop increased [ OK ] # 71.74 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.39 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 72.73 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.10 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 73.26 [+0.16] TEST: Tx drop increased [ OK ] # 73.50 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.11 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 74.47 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.82 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.98 [+0.16] TEST: Tx drop increased [ OK ] # 75.60 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.23 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 76.57 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 76.91 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 77.07 [+0.16] TEST: Tx drop increased [ OK ] # 90.36 [+13.29] # 90.36 [+0.00] Backup nexthop ID - ping # 90.36 [+0.00] ------------------------ # 94.53 [+4.17] TEST: Ping with backup nexthop ID [ OK ] # 99.99 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.31 [+13.32] # 113.31 [+0.00] Backup nexthop ID - torture test # 113.32 [+0.00] -------------------------------- # 144.34 [+31.03] TEST: Torture test [ OK ] # 145.26 [+0.91] # 145.26 [+0.00] Tests passed: 83 # 145.26 [+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__->