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' TAP version 13 1..1 # timeout set to 3600 # selftests: net: test_bridge_backup_port.sh # 5.44 [+5.44] # 5.44 [+0.00] Backup port # 5.44 [+0.00] ----------- # 5.69 [+0.25] TEST: Forwarding out of swp1 [ OK ] # 5.81 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 5.83 [+0.03] TEST: swp1 carrier off [ OK ] # 6.01 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 6.13 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.15 [+0.02] TEST: swp1 carrier on [ OK ] # 6.17 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.33 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 6.46 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.83 [+0.37] TEST: swp1 carrier off [ OK ] # 6.98 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 7.10 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.12 [+0.02] TEST: swp1 carrier on [ OK ] # 7.27 [+0.15] TEST: Forwarding out of swp1 [ OK ] # 7.39 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.41 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 7.57 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.69 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.83 [+0.14] TEST: swp1 carrier off [ OK ] # 8.00 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 8.12 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 13.64 [+5.52] # 13.64 [+0.00] Backup nexthop ID # 13.64 [+0.00] ----------------- # 13.80 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.96 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 14.08 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.11 [+0.02] TEST: swp1 carrier off [ OK ] # 14.27 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 14.39 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 14.51 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 14.63 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 14.65 [+0.03] TEST: swp1 carrier on [ OK ] # 14.67 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 14.85 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 14.96 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.11 [+0.15] TEST: swp1 carrier off [ OK ] # 15.27 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 15.39 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.51 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 15.63 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 15.66 [+0.03] TEST: swp1 carrier on [ OK ] # 15.82 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 15.94 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.06 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.18 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.20 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 16.36 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 16.48 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.60 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.72 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.74 [+0.02] TEST: swp1 carrier off [ OK ] # 16.90 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 17.02 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 17.14 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.26 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 22.82 [+5.56] # 22.82 [+0.00] Backup nexthop ID - invalid IDs # 22.82 [+0.00] ------------------------------- # 22.98 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 23.00 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 23.02 [+0.02] TEST: swp1 carrier off [ OK ] # 23.19 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 23.31 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 23.43 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 23.44 [+0.01] TEST: No Tx drop increase [ OK ] # 23.46 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 23.60 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 23.72 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 23.84 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 23.85 [+0.01] TEST: Tx drop increased [ OK ] # 23.88 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 24.04 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 24.15 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.27 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.28 [+0.01] TEST: Tx drop increased [ OK ] # 24.30 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 24.47 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.59 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.71 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.72 [+0.01] TEST: Tx drop increased [ OK ] # 24.76 [+0.04] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 24.91 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 25.03 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.15 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.16 [+0.01] TEST: Tx drop increased [ OK ] # 30.70 [+5.55] # 30.70 [+0.00] Backup nexthop ID - ping # 30.71 [+0.00] ------------------------ # 32.84 [+2.13] TEST: Ping with backup nexthop ID [ OK ] # 37.87 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 43.39 [+5.52] # 43.39 [+0.00] Backup nexthop ID - torture test # 43.39 [+0.00] -------------------------------- # 73.48 [+30.08] TEST: Torture test [ OK ] # 73.54 [+0.06] # 73.54 [+0.00] Tests passed: 83 # 73.54 [+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__->