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-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 3600 # selftests: net: test_bridge_backup_port.sh # 5.64 [+5.64] # 5.64 [+0.00] Backup port # 5.64 [+0.00] ----------- # 5.91 [+0.27] TEST: Forwarding out of swp1 [ OK ] # 6.03 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.06 [+0.03] TEST: swp1 carrier off [ OK ] # 6.25 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 6.38 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.41 [+0.04] TEST: swp1 carrier on [ OK ] # 6.44 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.61 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 6.74 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.07 [+0.34] TEST: swp1 carrier off [ OK ] # 7.25 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 7.37 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.40 [+0.03] TEST: swp1 carrier on [ OK ] # 7.57 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.70 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.72 [+0.03] TEST: vx0 not configured as backup port of swp1 [ OK ] # 7.90 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 8.03 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 8.06 [+0.03] TEST: swp1 carrier off [ OK ] # 8.23 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 8.36 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.13 [+5.78] # 14.13 [+0.00] Backup nexthop ID # 14.13 [+0.00] ----------------- # 14.36 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.54 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 14.72 [+0.18] TEST: No forwarding out of vx0 [ OK ] # 14.82 [+0.11] TEST: swp1 carrier off [ OK ] # 15.18 [+0.36] TEST: No forwarding out of swp1 [ OK ] # 15.52 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 15.78 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 16.01 [+0.23] TEST: Forwarding using VXLAN FDB entry [ OK ] # 16.16 [+0.15] TEST: swp1 carrier on [ OK ] # 16.29 [+0.12] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 16.72 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 16.91 [+0.19] TEST: No forwarding out of vx0 [ OK ] # 17.11 [+0.20] TEST: swp1 carrier off [ OK ] # 17.47 [+0.36] TEST: No forwarding out of swp1 [ OK ] # 17.70 [+0.23] TEST: Forwarding out of vx0 [ OK ] # 18.11 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 18.35 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 18.46 [+0.11] TEST: swp1 carrier on [ OK ] # 18.84 [+0.38] TEST: Forwarding out of swp1 [ OK ] # 19.02 [+0.18] TEST: No forwarding out of vx0 [ OK ] # 19.22 [+0.20] TEST: No forwarding using backup nexthop ID [ OK ] # 19.40 [+0.18] TEST: No forwarding using VXLAN FDB entry [ OK ] # 19.45 [+0.05] TEST: No backup nexthop ID configured for swp1 [ OK ] # 19.68 [+0.23] TEST: Forwarding out of swp1 [ OK ] # 19.84 [+0.16] TEST: No forwarding out of vx0 [ OK ] # 19.98 [+0.14] TEST: No forwarding using backup nexthop ID [ OK ] # 20.11 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 20.15 [+0.04] TEST: swp1 carrier off [ OK ] # 20.34 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 20.47 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 20.60 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 20.72 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 26.62 [+5.89] # 26.62 [+0.00] Backup nexthop ID - invalid IDs # 26.62 [+0.00] ------------------------------- # 26.85 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 26.87 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 26.90 [+0.03] TEST: swp1 carrier off [ OK ] # 27.08 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 27.20 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 27.32 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 27.34 [+0.02] TEST: No Tx drop increase [ OK ] # 27.36 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 27.55 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 27.68 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 27.80 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 27.82 [+0.02] TEST: Tx drop increased [ OK ] # 27.86 [+0.04] TEST: Blackhole nexthop as backup nexthop [ OK ] # 28.04 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 28.17 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 28.29 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 28.31 [+0.02] TEST: Tx drop increased [ OK ] # 28.34 [+0.03] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 28.50 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 28.63 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 28.75 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 28.77 [+0.01] TEST: Tx drop increased [ OK ] # 28.83 [+0.06] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 29.00 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 29.12 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 29.25 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 29.27 [+0.02] TEST: Tx drop increased [ OK ] # 35.14 [+5.88] # 35.14 [+0.00] Backup nexthop ID - ping # 35.14 [+0.00] ------------------------ # 37.32 [+2.17] TEST: Ping with backup nexthop ID [ OK ] # 42.36 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 48.19 [+5.82] # 48.19 [+0.00] Backup nexthop ID - torture test # 48.19 [+0.00] -------------------------------- # 78.30 [+30.11] TEST: Torture test [ OK ] # 78.38 [+0.08] # 78.38 [+0.00] Tests passed: 83 # 78.38 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->