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.43 [+12.43] # 12.43 [+0.00] Backup port # 12.43 [+0.00] ----------- # 14.33 [+1.90] TEST: Forwarding out of swp1 [ OK ] # 14.67 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.01 [+0.33] TEST: swp1 carrier off [ OK ] # 15.66 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 16.03 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.41 [+0.38] TEST: swp1 carrier on [ OK ] # 16.68 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.30 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 17.62 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 17.96 [+0.34] TEST: swp1 carrier off [ OK ] # 18.63 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 18.99 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 19.32 [+0.33] TEST: swp1 carrier on [ OK ] # 20.00 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 20.32 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 20.57 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.23 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 21.58 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.92 [+0.34] TEST: swp1 carrier off [ OK ] # 22.55 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 22.93 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 36.58 [+13.64] # 36.58 [+0.00] Backup nexthop ID # 36.58 [+0.00] ----------------- # 38.85 [+2.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.53 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 39.90 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 40.24 [+0.35] TEST: swp1 carrier off [ OK ] # 40.88 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 41.22 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 41.57 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 41.91 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.27 [+0.36] TEST: swp1 carrier on [ OK ] # 42.52 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.22 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 43.57 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 43.92 [+0.35] TEST: swp1 carrier off [ OK ] # 44.60 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 44.97 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 45.35 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 45.74 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.09 [+0.34] TEST: swp1 carrier on [ OK ] # 46.78 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 47.14 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 47.51 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 47.86 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.18 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.87 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 49.23 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 49.61 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 49.96 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.31 [+0.35] TEST: swp1 carrier off [ OK ] # 51.01 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 51.38 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 51.75 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 52.14 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 66.39 [+14.24] # 66.39 [+0.00] Backup nexthop ID - invalid IDs # 66.39 [+0.00] ------------------------------- # 68.94 [+2.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 69.24 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 69.63 [+0.39] TEST: swp1 carrier off [ OK ] # 70.32 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 70.71 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 71.07 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 71.23 [+0.16] TEST: No Tx drop increase [ OK ] # 71.49 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 72.14 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 72.50 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 72.83 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.00 [+0.17] TEST: Tx drop increased [ OK ] # 73.41 [+0.42] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.07 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 74.44 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.79 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 74.97 [+0.18] TEST: Tx drop increased [ OK ] # 75.21 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 75.86 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 76.23 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 76.60 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 76.75 [+0.15] TEST: Tx drop increased [ OK ] # 77.41 [+0.67] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.05 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 78.41 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 78.73 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 78.89 [+0.16] TEST: Tx drop increased [ OK ] # 92.57 [+13.68] # 92.57 [+0.00] Backup nexthop ID - ping # 92.57 [+0.00] ------------------------ # 96.76 [+4.19] TEST: Ping with backup nexthop ID [ OK ] # 102.23 [+5.48] TEST: Ping after disabling backup nexthop ID [ OK ] # 117.26 [+15.02] # 117.26 [+0.00] Backup nexthop ID - torture test # 117.26 [+0.00] -------------------------------- # 148.81 [+31.55] TEST: Torture test [ OK ] # 149.80 [+0.99] # 149.80 [+0.00] Tests passed: 83 # 149.80 [+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__->