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.35 [+12.35] # 12.35 [+0.00] Backup port # 12.35 [+0.00] ----------- # 14.07 [+1.72] TEST: Forwarding out of swp1 [ OK ] # 14.42 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.75 [+0.33] TEST: swp1 carrier off [ OK ] # 15.43 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 15.76 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.13 [+0.37] TEST: swp1 carrier on [ OK ] # 16.41 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.09 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 17.44 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.79 [+0.35] TEST: swp1 carrier off [ OK ] # 18.44 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 18.77 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 19.10 [+0.33] TEST: swp1 carrier on [ OK ] # 19.78 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 20.13 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 20.41 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.10 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 21.44 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.77 [+0.33] TEST: swp1 carrier off [ OK ] # 22.40 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 22.76 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 36.58 [+13.82] # 36.58 [+0.00] Backup nexthop ID # 36.59 [+0.00] ----------------- # 38.88 [+2.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.51 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 39.84 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 40.18 [+0.35] TEST: swp1 carrier off [ OK ] # 40.79 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 41.12 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 41.51 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 41.85 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.19 [+0.34] TEST: swp1 carrier on [ OK ] # 42.43 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.06 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 43.41 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 43.73 [+0.32] TEST: swp1 carrier off [ OK ] # 44.37 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 44.73 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 45.07 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 45.42 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.78 [+0.37] TEST: swp1 carrier on [ OK ] # 46.45 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 46.78 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 47.15 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 47.51 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.74 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.40 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 48.73 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 49.06 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 49.39 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.72 [+0.33] TEST: swp1 carrier off [ OK ] # 50.70 [+0.98] TEST: No forwarding out of swp1 [ OK ] # 51.11 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 51.47 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 51.83 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.19 [+13.37] # 65.20 [+0.00] Backup nexthop ID - invalid IDs # 65.20 [+0.00] ------------------------------- # 67.43 [+2.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.68 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 68.03 [+0.34] TEST: swp1 carrier off [ OK ] # 68.65 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 68.97 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 69.31 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 69.47 [+0.16] TEST: No Tx drop increase [ OK ] # 69.72 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.31 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 70.66 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 71.00 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.16 [+0.16] TEST: Tx drop increased [ OK ] # 71.54 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.21 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 72.53 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 72.85 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 72.99 [+0.14] TEST: Tx drop increased [ OK ] # 73.26 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.92 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 74.26 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.57 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 74.76 [+0.19] TEST: Tx drop increased [ OK ] # 75.40 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.02 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 76.37 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 76.71 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 76.87 [+0.17] TEST: Tx drop increased [ OK ] # 90.17 [+13.30] # 90.17 [+0.00] Backup nexthop ID - ping # 90.17 [+0.00] ------------------------ # 94.41 [+4.24] TEST: Ping with backup nexthop ID [ OK ] # 99.88 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.27 [+13.39] # 113.27 [+0.00] Backup nexthop ID - torture test # 113.27 [+0.00] -------------------------------- # 144.27 [+31.00] TEST: Torture test [ OK ] # 145.19 [+0.92] # 145.19 [+0.00] Tests passed: 83 # 145.19 [+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__->