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.34 [+12.34] # 12.34 [+0.00] Backup port # 12.34 [+0.00] ----------- # 14.22 [+1.89] TEST: Forwarding out of swp1 [ OK ] # 14.57 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.93 [+0.35] TEST: swp1 carrier off [ OK ] # 15.59 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 16.02 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 16.39 [+0.37] TEST: swp1 carrier on [ OK ] # 16.67 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.34 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 17.70 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 18.02 [+0.33] TEST: swp1 carrier off [ OK ] # 18.66 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 19.00 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 19.34 [+0.34] TEST: swp1 carrier on [ OK ] # 20.02 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 20.36 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.61 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.23 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 21.56 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.89 [+0.33] TEST: swp1 carrier off [ OK ] # 22.57 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 22.90 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 36.48 [+13.58] # 36.48 [+0.00] Backup nexthop ID # 36.49 [+0.00] ----------------- # 38.83 [+2.34] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.45 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 39.78 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 40.13 [+0.35] TEST: swp1 carrier off [ OK ] # 40.76 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 41.11 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 41.43 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 41.78 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.13 [+0.36] TEST: swp1 carrier on [ OK ] # 42.37 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.00 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 43.34 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.66 [+0.33] TEST: swp1 carrier off [ OK ] # 44.32 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 44.69 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 45.01 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 45.38 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.76 [+0.38] TEST: swp1 carrier on [ OK ] # 46.38 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 46.74 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 47.11 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 47.45 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.74 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.39 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 48.75 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 49.10 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.43 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.75 [+0.32] TEST: swp1 carrier off [ OK ] # 50.40 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 50.73 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 51.08 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 51.39 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.84 [+13.45] # 64.84 [+0.00] Backup nexthop ID - invalid IDs # 64.85 [+0.00] ------------------------------- # 67.11 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.37 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 67.80 [+0.43] TEST: swp1 carrier off [ OK ] # 68.53 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 68.87 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.27 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 69.47 [+0.20] TEST: No Tx drop increase [ OK ] # 69.81 [+0.34] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.44 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 70.82 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 71.14 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 71.31 [+0.16] TEST: Tx drop increased [ OK ] # 71.68 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.49 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 72.89 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 73.23 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 73.39 [+0.16] TEST: Tx drop increased [ OK ] # 73.65 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.29 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 74.76 [+0.47] TEST: Forwarding out of vx0 [ OK ] # 75.15 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 75.35 [+0.20] TEST: Tx drop increased [ OK ] # 76.01 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.68 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 77.07 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 77.50 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 77.74 [+0.24] TEST: Tx drop increased [ OK ] # 94.21 [+16.47] # 94.21 [+0.00] Backup nexthop ID - ping # 94.21 [+0.00] ------------------------ # 99.25 [+5.05] TEST: Ping with backup nexthop ID [ OK ] # 104.91 [+5.66] TEST: Ping after disabling backup nexthop ID [ OK ] # 120.87 [+15.96] # 120.87 [+0.00] Backup nexthop ID - torture test # 120.87 [+0.00] -------------------------------- # 151.96 [+31.09] TEST: Torture test [ OK ] # 152.88 [+0.92] # 152.88 [+0.00] Tests passed: 83 # 152.88 [+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__->