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.47 [+5.47] # 5.47 [+0.00] Backup port # 5.47 [+0.00] ----------- # 5.68 [+0.21] TEST: Forwarding out of swp1 [ OK ] # 5.80 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 5.82 [+0.02] TEST: swp1 carrier off [ OK ] # 5.97 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 6.08 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.10 [+0.02] TEST: swp1 carrier on [ OK ] # 6.12 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.26 [+0.14] TEST: Forwarding out of swp1 [ OK ] # 6.38 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.81 [+0.43] TEST: swp1 carrier off [ OK ] # 6.97 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 7.09 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.11 [+0.02] TEST: swp1 carrier on [ OK ] # 7.26 [+0.15] TEST: Forwarding out of swp1 [ OK ] # 7.37 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.39 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 7.54 [+0.15] TEST: Forwarding out of swp1 [ OK ] # 7.66 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.82 [+0.17] TEST: swp1 carrier off [ OK ] # 7.98 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 8.09 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 13.61 [+5.51] # 13.61 [+0.00] Backup nexthop ID # 13.61 [+0.00] ----------------- # 13.76 [+0.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.92 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 14.04 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.06 [+0.02] TEST: swp1 carrier off [ OK ] # 14.22 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 14.34 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 14.46 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 14.57 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 14.60 [+0.02] TEST: swp1 carrier on [ OK ] # 14.61 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 14.76 [+0.15] TEST: Forwarding out of swp1 [ OK ] # 14.88 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.06 [+0.18] TEST: swp1 carrier off [ OK ] # 15.22 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 15.34 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.46 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 15.57 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 15.60 [+0.02] TEST: swp1 carrier on [ OK ] # 15.76 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 15.88 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.99 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.11 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.13 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 16.29 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 16.41 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.53 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.64 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.66 [+0.02] TEST: swp1 carrier off [ OK ] # 16.83 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 16.94 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 17.06 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.18 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 22.74 [+5.56] # 22.74 [+0.00] Backup nexthop ID - invalid IDs # 22.74 [+0.00] ------------------------------- # 22.89 [+0.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 22.90 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 22.93 [+0.02] TEST: swp1 carrier off [ OK ] # 23.10 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 23.21 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 23.33 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 23.34 [+0.01] TEST: No Tx drop increase [ OK ] # 23.36 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 23.51 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 23.63 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 23.75 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 23.76 [+0.01] TEST: Tx drop increased [ OK ] # 23.79 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 23.95 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 24.07 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.19 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.20 [+0.01] TEST: Tx drop increased [ OK ] # 24.21 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 24.36 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 24.48 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.60 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.61 [+0.01] TEST: Tx drop increased [ OK ] # 24.65 [+0.04] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 24.80 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 24.92 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.04 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.05 [+0.01] TEST: Tx drop increased [ OK ] # 30.62 [+5.57] # 30.62 [+0.00] Backup nexthop ID - ping # 30.62 [+0.00] ------------------------ # 32.70 [+2.08] TEST: Ping with backup nexthop ID [ OK ] # 37.73 [+5.03] TEST: Ping after disabling backup nexthop ID [ OK ] # 43.26 [+5.53] # 43.26 [+0.00] Backup nexthop ID - torture test # 43.26 [+0.00] -------------------------------- # 73.34 [+30.08] TEST: Torture test [ OK ] # 73.40 [+0.06] # 73.40 [+0.00] Tests passed: 83 # 73.40 [+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__->