Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

[7.13.x] k8s-autodiscover test suite completely fails for Beats triggers #1168

Closed
mdelapenya opened this issue May 14, 2021 · 4 comments
Closed
Labels
area:test Anything related to the Test automation priority:high Product teams are waiting on features to make progress on their roadmap size:S less than 1 day Team:Integrations Label for the Integrations team triaged Triaged issues will end up in Backlog column in Robots GH Project

Comments

@mdelapenya
Copy link
Contributor

Example: https://beats-ci.elastic.co/blue/organizations/jenkins/e2e-tests%2Fe2e-testing-mbp/detail/7.13.x/20/pipeline/238

As shown in this log entry:

[2021-05-14T11:55:21.816Z] time="2021-05-14T11:55:20Z" level=info msg="Kubeconfig in /tmp/test-703805967/kubeconfig"
[2021-05-14T11:55:21.816Z] time="2021-05-14T11:55:20Z" level=error msg="Error executing command" args="[--kubeconfig /tmp/test-703805967/kubeconfig get serviceaccount default]" baseDir=. command=kubectl error="exit status 1" stderr="Error from server (NotFound): serviceaccounts "default" not found\n"
[2021-05-14T11:55:21.817Z] time="2021-05-14T11:55:21Z" level=error msg="Error executing command" args="[--kubeconfig /tmp/test-703805967/kubeconfig get serviceaccount default]" baseDir=. command=kubectl error="exit status 1" stderr="Error from server (NotFound): serviceaccounts "default" not found\n"
[2021-05-14T11:55:22.756Z] time="2021-05-14T11:55:22Z" level=error msg="Error executing command" args="[--kubeconfig /tmp/test-703805967/kubeconfig get serviceaccount default]" baseDir=. command=kubectl error="exit status 1" stderr="Error from server (NotFound): serviceaccounts "default" not found\n"
[2021-05-14T11:55:25.297Z] time="2021-05-14T11:55:25Z" level=error msg="Error executing command" args="[--kubeconfig /tmp/test-703805967/kubeconfig get serviceaccount default]" baseDir=. command=kubectl error="exit status 1" stderr="Error from server (NotFound): serviceaccounts "default" not found\n"
[2021-05-14T11:55:29.494Z] time="2021-05-14T11:55:28Z" level=error msg="Error executing command" args="[--kubeconfig /tmp/test-703805967/kubeconfig get serviceaccount default]" baseDir=. command=kubectl error="exit status 1" stderr="Error from server (NotFound): serviceaccounts "default" not found\n"
[2021-05-14T11:55:31.402Z] {"level":"debug","time":"2021-05-14T11:55:31Z","message":"gathering metrics"}
[2021-05-14T11:55:33.939Z] time="2021-05-14T11:55:33Z" level=error msg="Error executing command" args="[--kubeconfig /tmp/test-703805967/kubeconfig get serviceaccount default]" baseDir=. command=kubectl error="exit status 1" stderr="Error from server (NotFound): serviceaccounts "default" not found\n"

cc/ @jsoriano

@mdelapenya mdelapenya added area:test Anything related to the Test automation priority:high Product teams are waiting on features to make progress on their roadmap size:S less than 1 day triaged Triaged issues will end up in Backlog column in Robots GH Project Team:Integrations Label for the Integrations team labels May 14, 2021
@mdelapenya
Copy link
Contributor Author

I'd say that #1178 will solve the issue with k8s-autodiscover.

@mdelapenya mdelapenya changed the title [7.13.x] k8s-autodiscover test suite completely fails [7.13.x] k8s-autodiscover test suite completely fails for Beats triggers May 17, 2021
@mdelapenya
Copy link
Contributor Author

This build https://beats-ci.elastic.co/blue/organizations/jenkins/e2e-tests%2Fe2e-testing-mbp/detail/7.13.x/27/pipeline/236, which is using the same params as the aforementioned failed build, has passed all the k8s-autodiscover tests, so I'd say no this is no longer reproducible.

Closing because of that

@jsoriano
Copy link
Member

Thanks @mdelapenya!

@mdelapenya
Copy link
Contributor Author

The existing errors do not happen locally, and on CI they only happen for Debian. Will look more deeply into it, and will eventually open a new issue if needed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area:test Anything related to the Test automation priority:high Product teams are waiting on features to make progress on their roadmap size:S less than 1 day Team:Integrations Label for the Integrations team triaged Triaged issues will end up in Backlog column in Robots GH Project
Projects
None yet
Development

No branches or pull requests

2 participants