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.46 [+9.46] # 9.46 [+0.00] Backup port # 9.46 [+0.00] ----------- # 10.51 [+1.05] TEST: Forwarding out of swp1 [ OK ] # 10.80 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.02 [+0.22] TEST: swp1 carrier off [ OK ] # 11.48 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.73 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.97 [+0.24] TEST: swp1 carrier on [ OK ] # 12.16 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.65 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 12.92 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.16 [+0.24] TEST: swp1 carrier off [ OK ] # 13.63 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 13.91 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.16 [+0.24] TEST: swp1 carrier on [ OK ] # 14.63 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.90 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.08 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.56 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.82 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.04 [+0.22] TEST: swp1 carrier off [ OK ] # 16.52 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.79 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.14 [+10.35] # 27.14 [+0.00] Backup nexthop ID # 27.14 [+0.00] ----------------- # 28.65 [+1.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.14 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 29.42 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.65 [+0.23] TEST: swp1 carrier off [ OK ] # 30.13 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.39 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.67 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 30.91 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.14 [+0.22] TEST: swp1 carrier on [ OK ] # 31.33 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.81 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.07 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.30 [+0.24] TEST: swp1 carrier off [ OK ] # 32.77 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 33.04 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.30 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.56 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.80 [+0.25] TEST: swp1 carrier on [ OK ] # 34.26 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.54 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 34.80 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.07 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.25 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.68 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 35.96 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 36.22 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.50 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.72 [+0.22] TEST: swp1 carrier off [ OK ] # 37.18 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.43 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.69 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.95 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.00 [+10.05] # 48.00 [+0.00] Backup nexthop ID - invalid IDs # 48.00 [+0.00] ------------------------------- # 49.59 [+1.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.75 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 49.97 [+0.22] TEST: swp1 carrier off [ OK ] # 50.47 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 50.73 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.01 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 51.10 [+0.09] TEST: No Tx drop increase [ OK ] # 51.27 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.74 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 52.01 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.27 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 52.38 [+0.12] TEST: Tx drop increased [ OK ] # 52.63 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.10 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.35 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.59 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.70 [+0.10] TEST: Tx drop increased [ OK ] # 53.86 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.33 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.57 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 54.82 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.92 [+0.10] TEST: Tx drop increased [ OK ] # 55.33 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.79 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 56.06 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.34 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.43 [+0.09] TEST: Tx drop increased [ OK ] # 66.53 [+10.10] # 66.53 [+0.00] Backup nexthop ID - ping # 66.53 [+0.00] ------------------------ # 70.01 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 75.32 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.46 [+10.14] # 85.46 [+0.00] Backup nexthop ID - torture test # 85.46 [+0.00] -------------------------------- # 116.15 [+30.69] TEST: Torture test [ OK ] # 116.76 [+0.62] # 116.76 [+0.00] Tests passed: 83 # 116.77 [+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__->