Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(net): use iperf3-vsock to avoid iperf crashes on aarch64 #4893

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

kalyazin
Copy link
Contributor

@kalyazin kalyazin commented Nov 6, 2024

Changes

Use iperf3-vsock on host for the test_high_ingress_traffic test instead of iperf3.

Reason

We see crashes inside test_high_ingress_traffic on aarch64 with both iperf3 3.16 (currently in devctr) and 3.17 (latest release).

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.

PR Checklist

  • [ ] If a specific issue led to this PR, this PR closes the issue.
  • The description of changes is clear and encompassing.
  • [ ] Any required documentation changes (code and docs) are included in this
    PR.
  • [ ] API changes follow the Runbook for Firecracker API changes.
  • [ ] User-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.
  • [ ] New TODOs link to an issue.
  • Commits meet
    contribution quality standards.

  • This functionality cannot be added in rust-vmm.

Copy link

codecov bot commented Nov 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.10%. Comparing base (8c712d2) to head (20c3711).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4893   +/-   ##
=======================================
  Coverage   84.10%   84.10%           
=======================================
  Files         251      251           
  Lines       28080    28080           
=======================================
  Hits        23616    23616           
  Misses       4464     4464           
Flag Coverage Δ
5.10-c5n.metal 84.67% <ø> (ø)
5.10-m5n.metal 84.65% <ø> (ø)
5.10-m6a.metal 83.96% <ø> (+<0.01%) ⬆️
5.10-m6g.metal 80.78% <ø> (ø)
5.10-m6i.metal 84.65% <ø> (ø)
5.10-m7g.metal 80.78% <ø> (ø)
6.1-c5n.metal 84.67% <ø> (ø)
6.1-m5n.metal 84.65% <ø> (ø)
6.1-m6a.metal 83.96% <ø> (ø)
6.1-m6g.metal 80.78% <ø> (-0.01%) ⬇️
6.1-m6i.metal 84.65% <ø> (ø)
6.1-m7g.metal 80.78% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kalyazin kalyazin self-assigned this Nov 6, 2024
@kalyazin kalyazin added the Status: Awaiting review Indicates that a pull request is ready to be reviewed label Nov 6, 2024
pb8o
pb8o previously approved these changes Nov 6, 2024
tools/devctr/Dockerfile Outdated Show resolved Hide resolved
@kalyazin kalyazin changed the title devctr: build iperf3 from source [WIP] devctr: build iperf3 from source Nov 7, 2024
zulinx86
zulinx86 previously approved these changes Nov 7, 2024
tools/devctr/Dockerfile Outdated Show resolved Hide resolved
@kalyazin kalyazin changed the title [WIP] devctr: build iperf3 from source devctr: build iperf3 from source Nov 7, 2024
@pb8o pb8o added the Priority: Medium Indicates than an issue or pull request should be resolved ahead of issues or pull requests labelled label Nov 7, 2024
@kalyazin kalyazin changed the title devctr: build iperf3 from source [WIP] devctr: build iperf3 from source Nov 7, 2024
If we supply an invalid iperf binary to the test it still passes.
This adds checks for the command output.  While doing that, increase
the timeout to let the command finish without hitting it.

Signed-off-by: Nikita Kalyazin <[email protected]>
We observe iperf3 3.16+ crashes on aarch64 when running the test.
Use iperf3-vsock that we already build from source instead.

Signed-off-by: Nikita Kalyazin <[email protected]>
@kalyazin kalyazin dismissed stale reviews from zulinx86 and pb8o via 20c3711 November 7, 2024 13:50
@kalyazin kalyazin changed the title [WIP] devctr: build iperf3 from source test(net): use iperf3-vsock to avoid iperf crashes on aarch64 Nov 7, 2024
@kalyazin kalyazin merged commit 2e994b5 into firecracker-microvm:main Nov 7, 2024
6 of 7 checks passed
@kalyazin kalyazin deleted the iperf branch November 7, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium Indicates than an issue or pull request should be resolved ahead of issues or pull requests labelled Status: Awaiting review Indicates that a pull request is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants