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: Always deploy client2 on same node as client #532

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

pchaigno
Copy link
Member

The node placement for client2 is not currently fixed such that a given test (e.g., client-egress-l7/pod-to-pod/curl-3) may be covering different packet paths on distinct runs (e.g., pod->local pod or pod->remote pod). This nondeterminism can be a bit confusing when debugging as a failure on a specific packet path may appear under various names.

This pull request fixes the placement of client2 to the same node as client, via an affinity rule.

The node placement for client2 is not currently fixed such that a given
test (e.g., client-egress-l7/pod-to-pod/curl-3) may be covering
different packet paths on distinct runs (e.g., pod->local pod or
pod->remote pod). This nondeterminism can be a bit confusing when
debugging as a failure on a specific packet path may appear under
various names.

This commit fixes the placement of client2 to the same node as client,
via an affinity rule.

Signed-off-by: Paul Chaignon <[email protected]>
@pchaigno pchaigno added the area/CI Continuous Integration testing issue or flake label Sep 10, 2021
@pchaigno pchaigno requested a review from a team as a code owner September 10, 2021 16:30
@pchaigno pchaigno temporarily deployed to ci September 10, 2021 16:30 Inactive
@pchaigno pchaigno requested a review from twpayne September 10, 2021 16:30
@pchaigno pchaigno added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Sep 13, 2021
@tklauser tklauser merged commit 86fdcef into master Sep 13, 2021
@tklauser tklauser deleted the pr/pchaigno/fix-client2-node-placement branch September 13, 2021 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants