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' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 9.55 [+9.55] # 9.55 [+0.00] Backup port # 9.55 [+0.00] ----------- # 10.71 [+1.16] TEST: Forwarding out of swp1 [ OK ] # 10.99 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.21 [+0.23] TEST: swp1 carrier off [ OK ] # 11.73 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 12.01 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.27 [+0.26] TEST: swp1 carrier on [ OK ] # 12.47 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.95 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.21 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.43 [+0.22] TEST: swp1 carrier off [ OK ] # 13.90 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 14.19 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 14.41 [+0.22] TEST: swp1 carrier on [ OK ] # 14.88 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.17 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.35 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.85 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 16.09 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 16.33 [+0.24] TEST: swp1 carrier off [ OK ] # 16.81 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 17.08 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.63 [+10.55] # 27.63 [+0.00] Backup nexthop ID # 27.64 [+0.00] ----------------- # 29.18 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.66 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.94 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.18 [+0.24] TEST: swp1 carrier off [ OK ] # 30.66 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.95 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.21 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 31.47 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.70 [+0.23] TEST: swp1 carrier on [ OK ] # 31.87 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.34 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 32.60 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.83 [+0.24] TEST: swp1 carrier off [ OK ] # 33.30 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 33.56 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.83 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.10 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.33 [+0.23] TEST: swp1 carrier on [ OK ] # 34.83 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 35.09 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.36 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.63 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.83 [+0.20] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.30 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.56 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.84 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.11 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.35 [+0.24] TEST: swp1 carrier off [ OK ] # 37.85 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 38.12 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.38 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.66 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.17 [+10.52] # 49.17 [+0.00] Backup nexthop ID - invalid IDs # 49.18 [+0.00] ------------------------------- # 50.77 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.94 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 51.19 [+0.25] TEST: swp1 carrier off [ OK ] # 51.69 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.97 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 52.25 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.36 [+0.11] TEST: No Tx drop increase [ OK ] # 52.54 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.00 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 53.26 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.54 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.63 [+0.09] TEST: Tx drop increased [ OK ] # 53.91 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.41 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 54.67 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.95 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.07 [+0.12] TEST: Tx drop increased [ OK ] # 55.26 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.76 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 56.02 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.30 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.40 [+0.10] TEST: Tx drop increased [ OK ] # 56.87 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.36 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.63 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.91 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 58.00 [+0.09] TEST: Tx drop increased [ OK ] # 68.38 [+10.38] # 68.38 [+0.00] Backup nexthop ID - ping # 68.39 [+0.00] ------------------------ # 72.66 [+4.28] TEST: Ping with backup nexthop ID [ OK ] # 78.05 [+5.38] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.66 [+10.62] # 88.67 [+0.00] Backup nexthop ID - torture test # 88.67 [+0.00] -------------------------------- # 119.39 [+30.73] TEST: Torture test [ OK ] # 120.07 [+0.67] # 120.07 [+0.00] Tests passed: 83 # 120.07 [+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__->