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:
Jamil
2024-02-22 11:57:22 -08:00
committed by GitHub
parent 088cbbd3c4
commit 3bd7dc504e
8 changed files with 4 additions and 16 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"