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.33 [+12.33] # 12.33 [+0.00] Backup port # 12.33 [+0.00] ----------- # 14.07 [+1.74] TEST: Forwarding out of swp1 [ OK ] # 14.46 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 14.86 [+0.41] TEST: swp1 carrier off [ OK ] # 15.59 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 15.95 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 16.38 [+0.44] TEST: swp1 carrier on [ OK ] # 16.70 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.40 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 17.82 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 18.31 [+0.48] TEST: swp1 carrier off [ OK ] # 19.04 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 19.43 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 19.91 [+0.48] TEST: swp1 carrier on [ OK ] # 20.71 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 21.13 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 21.52 [+0.39] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.28 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 22.68 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 23.06 [+0.39] TEST: swp1 carrier off [ OK ] # 23.81 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 24.17 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 38.19 [+14.02] # 38.20 [+0.00] Backup nexthop ID # 38.20 [+0.00] ----------------- # 40.45 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 41.09 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 41.47 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 41.82 [+0.35] TEST: swp1 carrier off [ OK ] # 42.48 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 42.83 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 43.21 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 43.55 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.91 [+0.36] TEST: swp1 carrier on [ OK ] # 44.15 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.82 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 45.15 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 45.46 [+0.31] TEST: swp1 carrier off [ OK ] # 46.10 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 46.46 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 46.80 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 47.14 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.47 [+0.33] TEST: swp1 carrier on [ OK ] # 48.08 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 48.44 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 48.79 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 49.13 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.39 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 50.01 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 50.34 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 50.68 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 51.02 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.35 [+0.33] TEST: swp1 carrier off [ OK ] # 52.02 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 52.35 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 52.72 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 53.09 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 66.64 [+13.56] # 66.64 [+0.00] Backup nexthop ID - invalid IDs # 66.64 [+0.00] ------------------------------- # 68.99 [+2.35] TEST: vx0 configured as backup port of swp1 [ OK ] # 69.26 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 69.59 [+0.33] TEST: swp1 carrier off [ OK ] # 70.23 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 70.60 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 70.96 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 71.11 [+0.15] TEST: No Tx drop increase [ OK ] # 71.38 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 72.04 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 72.38 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.74 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 72.91 [+0.17] TEST: Tx drop increased [ OK ] # 73.28 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 73.93 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 74.26 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.60 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.77 [+0.16] TEST: Tx drop increased [ OK ] # 75.04 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 75.66 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 76.00 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 76.38 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 76.53 [+0.15] TEST: Tx drop increased [ OK ] # 77.16 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 77.83 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 78.16 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 78.50 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 78.63 [+0.13] TEST: Tx drop increased [ OK ] # 92.00 [+13.37] # 92.00 [+0.00] Backup nexthop ID - ping # 92.00 [+0.00] ------------------------ # 96.17 [+4.16] TEST: Ping with backup nexthop ID [ OK ] # 101.64 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 115.18 [+13.55] # 115.18 [+0.00] Backup nexthop ID - torture test # 115.18 [+0.00] -------------------------------- # 146.22 [+31.03] TEST: Torture test [ OK ] # 147.09 [+0.87] # 147.09 [+0.00] Tests passed: 83 # 147.09 [+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__->