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.87 [+12.87] # 12.87 [+0.00] Backup port # 12.87 [+0.00] ----------- # 14.65 [+1.78] TEST: Forwarding out of swp1 [ OK ] # 14.99 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.38 [+0.39] TEST: swp1 carrier off [ OK ] # 16.04 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 16.40 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 16.75 [+0.35] TEST: swp1 carrier on [ OK ] # 17.04 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.74 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 18.09 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 18.47 [+0.37] TEST: swp1 carrier off [ OK ] # 19.14 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 19.48 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 19.82 [+0.34] TEST: swp1 carrier on [ OK ] # 20.51 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 20.85 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.13 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.79 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 22.13 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 22.49 [+0.36] TEST: swp1 carrier off [ OK ] # 23.16 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 23.52 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 37.62 [+14.11] # 37.62 [+0.00] Backup nexthop ID # 37.63 [+0.00] ----------------- # 40.01 [+2.38] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.68 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 41.10 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 41.44 [+0.34] TEST: swp1 carrier off [ OK ] # 42.15 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 42.49 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 42.85 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 43.20 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.57 [+0.36] TEST: swp1 carrier on [ OK ] # 43.81 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.48 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 44.84 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 45.17 [+0.33] TEST: swp1 carrier off [ OK ] # 45.82 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 46.15 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 46.51 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 46.87 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.22 [+0.35] TEST: swp1 carrier on [ OK ] # 47.90 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 48.25 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 48.59 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.97 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.23 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.94 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 50.32 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 50.68 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 51.07 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.39 [+0.32] TEST: swp1 carrier off [ OK ] # 52.05 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 52.39 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 52.75 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 53.12 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 67.17 [+14.05] # 67.17 [+0.00] Backup nexthop ID - invalid IDs # 67.17 [+0.00] ------------------------------- # 69.58 [+2.41] TEST: vx0 configured as backup port of swp1 [ OK ] # 69.85 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 70.21 [+0.35] TEST: swp1 carrier off [ OK ] # 70.87 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 71.22 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 71.55 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 71.73 [+0.17] TEST: No Tx drop increase [ OK ] # 72.02 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 72.69 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 73.02 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.38 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 73.53 [+0.14] TEST: Tx drop increased [ OK ] # 73.94 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.64 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 75.00 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 75.36 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 75.54 [+0.18] TEST: Tx drop increased [ OK ] # 75.81 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 76.50 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 76.85 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 77.23 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 77.40 [+0.18] TEST: Tx drop increased [ OK ] # 78.09 [+0.69] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.75 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 79.11 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 79.48 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 79.65 [+0.17] TEST: Tx drop increased [ OK ] # 93.86 [+14.22] # 93.86 [+0.00] Backup nexthop ID - ping # 93.86 [+0.00] ------------------------ # 98.23 [+4.36] TEST: Ping with backup nexthop ID [ OK ] # 103.70 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 117.65 [+13.95] # 117.65 [+0.00] Backup nexthop ID - torture test # 117.65 [+0.00] -------------------------------- # 148.71 [+31.06] TEST: Torture test [ OK ] # 149.64 [+0.93] # 149.64 [+0.00] Tests passed: 83 # 149.64 [+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__->