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

Ensure an iperf3 of 1-128 streams will not result into a crash, by a simple e2e stream test among containers #4787

Open
fgeorgatos opened this issue Oct 20, 2024 · 0 comments

Comments

@fgeorgatos
Copy link

fgeorgatos commented Oct 20, 2024

What would you like to see added/updated/deleted in our end-to-end tests?

Let's add a scaling iperf3 test.

Back in the day, it became possible to hit and uncover a linux kernel bug which was triggered from user-space:

In all fairness, this was not weave-fastdp-specific (which was an aggravating factor) but rather linux kernel-version-specific.

A beauty of this test is its simplicity: it just has to be run in user space, across two containers over the CNI as follows:

  • iperf3 -s
  • echo 1 2 4 8 16 32 64 128|xargs -n1 iperf3 -c <server_cni_ip> -P

Would this be of interest? Is it covered as a test already in some other way? Does it belong elsewhere perhaps?

Why is this needed?

Ensure that before shipping a release this test has been run successfully at least once, so it can be used as a reference for validation of deployment environments (i.e. in downstream installations).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant