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.80 [+5.80] # 5.80 [+0.00] Backup port # 5.80 [+0.00] ----------- # 6.07 [+0.27] TEST: Forwarding out of swp1 [ OK ] # 6.19 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.22 [+0.03] TEST: swp1 carrier off [ OK ] # 6.38 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 6.51 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.55 [+0.04] TEST: swp1 carrier on [ OK ] # 6.58 [+0.03] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.77 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 6.90 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.22 [+0.32] TEST: swp1 carrier off [ OK ] # 7.41 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 7.54 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 7.58 [+0.04] TEST: swp1 carrier on [ OK ] # 7.75 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.88 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.91 [+0.03] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.08 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 8.21 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 8.24 [+0.04] TEST: swp1 carrier off [ OK ] # 8.40 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 8.53 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.22 [+5.69] # 14.22 [+0.00] Backup nexthop ID # 14.22 [+0.00] ----------------- # 14.52 [+0.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.71 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 14.84 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 14.88 [+0.04] TEST: swp1 carrier off [ OK ] # 15.06 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 15.18 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 15.31 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 15.44 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.48 [+0.04] TEST: swp1 carrier on [ OK ] # 15.51 [+0.03] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.67 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 15.80 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 15.86 [+0.06] TEST: swp1 carrier off [ OK ] # 16.04 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 16.17 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 16.30 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 16.43 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.46 [+0.04] TEST: swp1 carrier on [ OK ] # 16.64 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 16.77 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.89 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.01 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.03 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.19 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 17.32 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.44 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.56 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.59 [+0.03] TEST: swp1 carrier off [ OK ] # 17.77 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 17.89 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 18.01 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.13 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 23.82 [+5.69] # 23.82 [+0.00] Backup nexthop ID - invalid IDs # 23.82 [+0.00] ------------------------------- # 24.00 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.02 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 24.05 [+0.03] TEST: swp1 carrier off [ OK ] # 24.23 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 24.36 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 24.49 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 24.51 [+0.02] TEST: No Tx drop increase [ OK ] # 24.54 [+0.03] TEST: Non-existent nexthop as backup nexthop [ OK ] # 24.74 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 24.87 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.00 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.02 [+0.02] TEST: Tx drop increased [ OK ] # 25.07 [+0.05] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.25 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.38 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.51 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.53 [+0.02] TEST: Tx drop increased [ OK ] # 25.56 [+0.03] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 25.75 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 25.89 [+0.14] TEST: Forwarding out of vx0 [ OK ] # 26.02 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.03 [+0.02] TEST: Tx drop increased [ OK ] # 26.11 [+0.08] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.31 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 26.43 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.56 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.58 [+0.02] TEST: Tx drop increased [ OK ] # 32.48 [+5.90] # 32.48 [+0.00] Backup nexthop ID - ping # 32.48 [+0.00] ------------------------ # 34.68 [+2.20] TEST: Ping with backup nexthop ID [ OK ] # 39.72 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 45.45 [+5.73] # 45.45 [+0.00] Backup nexthop ID - torture test # 45.45 [+0.00] -------------------------------- # 75.59 [+30.15] TEST: Torture test [ OK ] # 75.70 [+0.10] # 75.70 [+0.00] Tests passed: 83 # 75.70 [+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__->