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.86 [+5.86] # 5.86 [+0.00] Backup port # 5.86 [+0.00] ----------- # 6.15 [+0.29] TEST: Forwarding out of swp1 [ OK ] # 6.28 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.32 [+0.04] TEST: swp1 carrier off [ OK ] # 6.51 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 6.64 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.67 [+0.04] TEST: swp1 carrier on [ OK ] # 6.70 [+0.03] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.90 [+0.20] TEST: Forwarding out of swp1 [ OK ] # 7.03 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.31 [+0.28] TEST: swp1 carrier off [ OK ] # 7.49 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 7.62 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 7.66 [+0.04] TEST: swp1 carrier on [ OK ] # 7.84 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 7.97 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 8.00 [+0.03] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.18 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 8.31 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 8.35 [+0.04] TEST: swp1 carrier off [ OK ] # 8.54 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 8.66 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 14.65 [+5.99] # 14.65 [+0.00] Backup nexthop ID # 14.65 [+0.00] ----------------- # 14.92 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.12 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 15.25 [+0.14] TEST: No forwarding out of vx0 [ OK ] # 15.30 [+0.04] TEST: swp1 carrier off [ OK ] # 15.48 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 15.61 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 15.75 [+0.14] TEST: No forwarding using backup nexthop ID [ OK ] # 15.88 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.92 [+0.04] TEST: swp1 carrier on [ OK ] # 15.95 [+0.03] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 16.13 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 16.27 [+0.14] TEST: No forwarding out of vx0 [ OK ] # 16.31 [+0.04] TEST: swp1 carrier off [ OK ] # 16.51 [+0.20] TEST: No forwarding out of swp1 [ OK ] # 16.65 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 16.78 [+0.14] TEST: Forwarding using backup nexthop ID [ OK ] # 16.92 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.95 [+0.04] TEST: swp1 carrier on [ OK ] # 17.14 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 17.27 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 17.40 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.53 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.56 [+0.03] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.75 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 17.88 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 18.01 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 18.14 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 18.18 [+0.04] TEST: swp1 carrier off [ OK ] # 18.37 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 18.50 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 18.63 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 18.75 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 24.78 [+6.02] # 24.78 [+0.00] Backup nexthop ID - invalid IDs # 24.78 [+0.00] ------------------------------- # 25.05 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 25.08 [+0.03] TEST: Valid nexthop as backup nexthop [ OK ] # 25.12 [+0.04] TEST: swp1 carrier off [ OK ] # 25.30 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 25.43 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.55 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 25.57 [+0.02] TEST: No Tx drop increase [ OK ] # 25.60 [+0.03] TEST: Non-existent nexthop as backup nexthop [ OK ] # 25.78 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.91 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.03 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.05 [+0.02] TEST: Tx drop increased [ OK ] # 26.09 [+0.04] TEST: Blackhole nexthop as backup nexthop [ OK ] # 26.28 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 26.41 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.53 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.55 [+0.02] TEST: Tx drop increased [ OK ] # 26.58 [+0.03] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 26.75 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 26.88 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 27.01 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 27.02 [+0.02] TEST: Tx drop increased [ OK ] # 27.09 [+0.06] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 27.26 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 27.39 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 27.51 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 27.53 [+0.01] TEST: Tx drop increased [ OK ] # 33.35 [+5.82] # 33.35 [+0.00] Backup nexthop ID - ping # 33.35 [+0.00] ------------------------ # 35.55 [+2.19] TEST: Ping with backup nexthop ID [ OK ] # 40.60 [+5.05] TEST: Ping after disabling backup nexthop ID [ OK ] # 46.35 [+5.76] # 46.35 [+0.00] Backup nexthop ID - torture test # 46.35 [+0.00] -------------------------------- # 76.45 [+30.09] TEST: Torture test [ OK ] # 76.51 [+0.06] # 76.51 [+0.00] Tests passed: 83 # 76.51 [+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__->