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

kind e2e tests fail randomly #181

Closed
jan--f opened this issue Jul 22, 2022 · 4 comments
Closed

kind e2e tests fail randomly #181

jan--f opened this issue Jul 22, 2022 · 4 comments
Assignees

Comments

@jan--f
Copy link
Collaborator

jan--f commented Jul 22, 2022

Hmm I've seen this error in multiple PRs now, seems like we have a race somewhere maybe?

2022-07-20T08:00:20Z	ERROR	controller.monitoringstack	Reconciler error	{"reconciler group": "monitoring.rhobs", "reconciler kind": "MonitoringStack", "name": "tq-ms-combo", "namespace": "e2e-tests", "error": "roles.rbac.authorization.k8s.io \"tq-ms-combo-prometheus\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:227

Its usually resolved with a re-run.

Originally posted by @jan--f in #178 (comment)

@sthaha
Copy link
Collaborator

sthaha commented Jul 27, 2022

@JoaoBraveCoding , @tremes are you looking in this? Else I would like to take a crack at it.

@tremes
Copy link
Contributor

tremes commented Jul 27, 2022

@sthaha I was unsuccessfully trying to reproduce it...feel free to investigate. Thanks

@sthaha sthaha self-assigned this Jul 27, 2022
@sthaha
Copy link
Collaborator

sthaha commented Oct 12, 2022

One of the failures seem to be related to: kubernetes-sigs/controller-runtime#1881

2022-10-11T23:37:26Z	INFO	thanos-querier	watched MonitoringStack changed, checking for matching querier	{"Monitoring Stack": "e2e-tests/valid-loglevel"}
2022-10-11T23:37:26Z	INFO	observability-operator	Failed to update status	{"stack": "e2e-tests/valid-loglevel", "err": "Operation cannot be fulfilled on monitoringstacks.monitoring.rhobs \"valid-loglevel\": StorageError: invalid object, Code: 4, Key: /registry/monitoring.rhobs/monitoringstacks/e2e-tests/valid-loglevel, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 833ce6a7-1b72-4b17-9a3d-86a9a8353fae, UID in object meta: "}
2022-10-11T23:37:26Z	INFO	observability-operator	Reconciling monitoring stack	{"stack": "e2e-tests/valid-loglevel"}

@simonpasquier
Copy link
Contributor

Probably not relevant anymore.

@simonpasquier simonpasquier closed this as not planned Won't fix, can't repro, duplicate, stale Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants