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.01 [+12.01] # 12.01 [+0.00] Backup port # 12.01 [+0.00] ----------- # 13.92 [+1.90] TEST: Forwarding out of swp1 [ OK ] # 14.24 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.57 [+0.33] TEST: swp1 carrier off [ OK ] # 15.16 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 15.75 [+0.59] TEST: No forwarding out of vx0 [ OK ] # 16.23 [+0.48] TEST: swp1 carrier on [ OK ] # 16.71 [+0.48] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.52 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 18.00 [+0.48] TEST: No forwarding out of vx0 [ OK ] # 18.45 [+0.46] TEST: swp1 carrier off [ OK ] # 19.26 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 19.61 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 19.98 [+0.37] TEST: swp1 carrier on [ OK ] # 20.70 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 21.05 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 21.33 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.99 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 22.35 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 22.70 [+0.35] TEST: swp1 carrier off [ OK ] # 23.33 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 23.68 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 37.18 [+13.50] # 37.18 [+0.00] Backup nexthop ID # 37.18 [+0.00] ----------------- # 39.44 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.06 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 40.42 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 40.76 [+0.34] TEST: swp1 carrier off [ OK ] # 41.38 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 41.72 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 42.06 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 42.41 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.76 [+0.36] TEST: swp1 carrier on [ OK ] # 43.01 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.63 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 43.97 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 44.30 [+0.33] TEST: swp1 carrier off [ OK ] # 44.92 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 45.26 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 45.61 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 45.96 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.28 [+0.32] TEST: swp1 carrier on [ OK ] # 46.88 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 47.26 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 47.60 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 47.92 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.16 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.80 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 49.15 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 49.49 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.84 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.14 [+0.30] TEST: swp1 carrier off [ OK ] # 50.76 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 51.14 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 51.46 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 51.85 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.09 [+13.24] # 65.09 [+0.00] Backup nexthop ID - invalid IDs # 65.09 [+0.00] ------------------------------- # 67.49 [+2.39] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.77 [+0.28] TEST: Valid nexthop as backup nexthop [ OK ] # 68.10 [+0.34] TEST: swp1 carrier off [ OK ] # 68.78 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 69.12 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.49 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 69.65 [+0.17] TEST: No Tx drop increase [ OK ] # 69.90 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.52 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 70.88 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 71.21 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 71.36 [+0.15] TEST: Tx drop increased [ OK ] # 71.74 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.37 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 72.70 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.07 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 73.22 [+0.15] TEST: Tx drop increased [ OK ] # 73.48 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.15 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 74.50 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.82 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 74.98 [+0.16] TEST: Tx drop increased [ OK ] # 75.61 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.24 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 76.59 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 76.99 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 77.14 [+0.16] TEST: Tx drop increased [ OK ] # 90.69 [+13.55] # 90.69 [+0.00] Backup nexthop ID - ping # 90.70 [+0.00] ------------------------ # 94.87 [+4.17] TEST: Ping with backup nexthop ID [ OK ] # 100.33 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.67 [+13.34] # 113.67 [+0.00] Backup nexthop ID - torture test # 113.67 [+0.00] -------------------------------- # 144.68 [+31.01] TEST: Torture test [ OK ] # 145.59 [+0.91] # 145.59 [+0.00] Tests passed: 83 # 145.59 [+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__->