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: Instrument LB IP via BGP test with debug-events #16445

Merged

Conversation

christarazi
Copy link
Member

@christarazi christarazi commented Jun 4, 2021

This commits instruments the test to save hubble observe debug-events
output so that we can investigate the output when the test fails due to
the flake 1.

Signed-off-by: Chris Tarazi chris@isovalent.com

This commits instruments the test to save `hubble observe debug-events`
output so that we can investigate the output when the test fails due to
the flake[1].

[1]: cilium#16399

Signed-off-by: Chris Tarazi <chris@isovalent.com>
@christarazi christarazi added area/CI Continuous Integration testing issue or flake needs-backport/1.10 release-note/ci This PR makes changes to the CI. labels Jun 4, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jun 4, 2021
@christarazi
Copy link
Member Author

test-only --focus="K8sServicesTest.*Connectivity to endpoint via LB" --k8s_version=1.21 --kernel_version=net-next

@christarazi christarazi marked this pull request as ready for review June 4, 2021 22:41
@christarazi christarazi requested a review from a team as a code owner June 4, 2021 22:41
@christarazi christarazi requested review from a team and tklauser June 4, 2021 22:41
@christarazi christarazi requested a review from joamaki June 4, 2021 22:41
@christarazi
Copy link
Member Author

Downloaded the sysdump from the previous test run:

❯ ll
Permissions Size User  Date Modified Name
.rw-r--r--  787k chris  4 Jun 15:33  cilium-operator-test.log
.rw-r--r--  1.8M chris  4 Jun 15:33  cilium-test.log
.rw-r--r--   80k chris  4 Jun 15:33  cmds.log
.rw-r--r--     0 chris  4 Jun 15:33  hubble-relay-test.log
.rw-r--r--   17M chris  4 Jun 15:33  test-output.log
.rw-r--r--   182 chris  4 Jun 15:33  tests-loadbalancer-hubble-observe-debug-events-k8s1.log
.rw-r--r--  1.2M chris  4 Jun 15:33  tests-loadbalancer-hubble-observe-debug-events-k8s2.log

Should be good to go.

@christarazi christarazi removed the request for review from joamaki June 8, 2021 23:01
@christarazi christarazi added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jun 8, 2021
@christarazi
Copy link
Member Author

We have enough code approval to mark this as ready to merge.

@aanm aanm merged commit e63aa2b into cilium:master Jun 9, 2021
@christarazi christarazi deleted the pr/christarazi/instrument-flakey-test branch June 9, 2021 14:57
christarazi added a commit to christarazi/cilium that referenced this pull request Jul 9, 2021
When inspecting a sysdump of this failing test, the expected artifacts
containing the instrumentation (debug-events) are not present. This is
because AfterAll is not called when the test fails. The logic should be
in AfterFailed.

Fixes: e63aa2b ("test: Instrument LB IP via BGP test with debug-events")
Fixes: cilium#16445

Signed-off-by: Chris Tarazi <chris@isovalent.com>
kkourt pushed a commit that referenced this pull request Jul 13, 2021
When inspecting a sysdump of this failing test, the expected artifacts
containing the instrumentation (debug-events) are not present. This is
because AfterAll is not called when the test fails. The logic should be
in AfterFailed.

Fixes: e63aa2b ("test: Instrument LB IP via BGP test with debug-events")
Fixes: #16445

Signed-off-by: Chris Tarazi <chris@isovalent.com>
aanm pushed a commit that referenced this pull request Jul 15, 2021
[ upstream commit 9744ff0 ]

When inspecting a sysdump of this failing test, the expected artifacts
containing the instrumentation (debug-events) are not present. This is
because AfterAll is not called when the test fails. The logic should be
in AfterFailed.

Fixes: e63aa2b ("test: Instrument LB IP via BGP test with debug-events")
Fixes: #16445

Signed-off-by: Chris Tarazi <chris@isovalent.com>
Signed-off-by: André Martins <andre@cilium.io>
aanm pushed a commit that referenced this pull request Jul 15, 2021
[ upstream commit 9744ff0 ]

When inspecting a sysdump of this failing test, the expected artifacts
containing the instrumentation (debug-events) are not present. This is
because AfterAll is not called when the test fails. The logic should be
in AfterFailed.

Fixes: e63aa2b ("test: Instrument LB IP via BGP test with debug-events")
Fixes: #16445

Signed-off-by: Chris Tarazi <chris@isovalent.com>
Signed-off-by: André Martins <andre@cilium.io>
krishgobinath pushed a commit to krishgobinath/cilium that referenced this pull request Oct 20, 2021
When inspecting a sysdump of this failing test, the expected artifacts
containing the instrumentation (debug-events) are not present. This is
because AfterAll is not called when the test fails. The logic should be
in AfterFailed.

Fixes: e63aa2b ("test: Instrument LB IP via BGP test with debug-events")
Fixes: cilium#16445

Signed-off-by: Chris Tarazi <chris@isovalent.com>
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. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants