mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
fix(ci): Fix flaky iperf3 "Bad file descriptor" (#3731)
- Lower UDP bandwidth to 50M -- this fixes intermittent file descriptor issues because we overload iperf3 for more than 5 seconds - Simplify iperf3 to the minimum set that makes tests reliable
This commit is contained in:
@@ -3,7 +3,5 @@
|
||||
set -euox pipefail
|
||||
|
||||
docker compose exec --env RUST_LOG=info -it client /bin/sh -c 'iperf3 \
|
||||
--set-mss 1240 \
|
||||
--zerocopy \
|
||||
--client 172.20.0.110 \
|
||||
--json' >>"${TEST_NAME}.json"
|
||||
|
||||
@@ -4,7 +4,5 @@ set -euox pipefail
|
||||
|
||||
docker compose exec --env RUST_LOG=info -it client /bin/sh -c 'iperf3 \
|
||||
--reverse \
|
||||
--set-mss 1240 \
|
||||
--zerocopy \
|
||||
--client 172.20.0.110 \
|
||||
--json' >>"${TEST_NAME}.json"
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
set -euox pipefail
|
||||
|
||||
docker compose exec --env RUST_LOG=info -it client /bin/sh -c 'iperf3 \
|
||||
--zerocopy \
|
||||
--udp \
|
||||
--bandwidth 1G \
|
||||
--bandwidth 50M \
|
||||
--client 172.20.0.110 \
|
||||
--json' >>"${TEST_NAME}.json"
|
||||
|
||||
@@ -4,8 +4,7 @@ set -euox pipefail
|
||||
|
||||
docker compose exec --env RUST_LOG=info -it client /bin/sh -c 'iperf3 \
|
||||
--reverse \
|
||||
--zerocopy \
|
||||
--udp \
|
||||
--bandwidth 1G \
|
||||
--bandwidth 50M \
|
||||
--client 172.20.0.110 \
|
||||
--json' >>"${TEST_NAME}.json"
|
||||
|
||||
@@ -6,7 +6,5 @@ source "./scripts/tests/lib.sh"
|
||||
install_iptables_drop_rules
|
||||
|
||||
docker compose exec --env RUST_LOG=info -it client /bin/sh -c 'iperf3 \
|
||||
--set-mss 1240 \
|
||||
--zerocopy \
|
||||
--client 172.20.0.110 \
|
||||
--json' >>"${TEST_NAME}.json"
|
||||
|
||||
@@ -7,7 +7,5 @@ install_iptables_drop_rules
|
||||
|
||||
docker compose exec --env RUST_LOG=info -it client /bin/sh -c 'iperf3 \
|
||||
--reverse \
|
||||
--set-mss 1240 \
|
||||
--zerocopy \
|
||||
--client 172.20.0.110 \
|
||||
--json' >>"${TEST_NAME}.json"
|
||||
|
||||
@@ -6,8 +6,7 @@ source "./scripts/tests/lib.sh"
|
||||
install_iptables_drop_rules
|
||||
|
||||
docker compose exec --env RUST_LOG=info -it client /bin/sh -c 'iperf3 \
|
||||
--zerocopy \
|
||||
--udp \
|
||||
--bandwidth 1G \
|
||||
--bandwidth 50M \
|
||||
--client 172.20.0.110 \
|
||||
--json' >>"${TEST_NAME}.json"
|
||||
|
||||
@@ -7,8 +7,7 @@ install_iptables_drop_rules
|
||||
|
||||
docker compose exec --env RUST_LOG=info -it client /bin/sh -c 'iperf3 \
|
||||
--reverse \
|
||||
--zerocopy \
|
||||
--udp \
|
||||
--bandwidth 1G \
|
||||
--bandwidth 50M \
|
||||
--client 172.20.0.110 \
|
||||
--json' >>"${TEST_NAME}.json"
|
||||
|
||||
Reference in New Issue
Block a user