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

E2E Test failures on 8.9.0 #7079

Closed
pebrc opened this issue Aug 4, 2023 · 3 comments · Fixed by #7081
Closed

E2E Test failures on 8.9.0 #7079

pebrc opened this issue Aug 4, 2023 · 3 comments · Fixed by #7081
Labels
:ci Things related to Continuous Integration, automation and releases >test Related to unit/integration/e2e tests

Comments

@pebrc
Copy link
Collaborator

pebrc commented Aug 4, 2023

TestFilebeatAutodiscoverRecipe,

.........................................................................................................................................................................................................................................................................................................
    step.go:51: 
        	Error Trace:	/go/src/github.com/elastic/cloud-on-k8s/test/e2e/test/utils.go:94
        	Error:      	Received unexpected error:
        	            	hit count should be more than 0 for /*beat*/_search?q=agent.type:filebeat
        	Test:       	TestFilebeatAutodiscoverRecipe/ES_data_should_pass_validations

TestKubernetesIntegrationRecipe

.........................................................................................................................................................................................................................................................................................
    step.go:51: 
        	Error Trace:	/go/src/github.com/elastic/cloud-on-k8s/test/e2e/test/utils.go:94
        	Error:      	Received unexpected error:
        	            	elasticsearch client failed for https://elasticsearch-zk64-es-internal-http.e2e-2lvs6-mercury.svc:9200/_data_stream/metrics-kubernetes.container-k8s: 404 Not Found: {Status:404 Error:{CausedBy:{Reason: Type:} Reason:no such index [metrics-kubernetes.container-k8s] Type:index_not_found_exception StackTrace: RootCause:[{Reason:no such index [metrics-kubernetes.container-k8s] Type:index_not_found_exception}]}}
        	Test:       	TestKubernetesIntegrationRecipe/ES_data_should_pass_validations

TestMetricbeatStackMonitoringRecipe.

........................................................................................................................................................................................................................................................................................................
    step.go:51: 
        	Error Trace:	/go/src/github.com/elastic/cloud-on-k8s/test/e2e/test/utils.go:94
        	Error:      	Received unexpected error:
        	            	hit count should be more than 0 for /*beat*/_search?q=agent.type:metricbeat
        	Test:       	TestMetricbeatStackMonitoringRecipe/ES_data_should_pass_validations
@pebrc pebrc added :ci Things related to Continuous Integration, automation and releases >test Related to unit/integration/e2e tests labels Aug 4, 2023
@pebrc pebrc changed the title E2E Test failures on 8.10.0-SNAPSHOT E2E Test failures on 8.9.0 Aug 4, 2023
@pebrc
Copy link
Collaborator Author

pebrc commented Aug 4, 2023

TestFilebeatAutodiscoverRecipe passes when adding new RBAC permissions which are apparently new in 8.9.0 (I am not sure why we did not catch this in the snapshot builds)

+- apiGroups: ["apps"]
+  resources:
+  - replicasets
+  verbs:
+  - get
+  - list
+  - watch
+- apiGroups: ["batch"]
+  resources:
+  - jobs
+  verbs:
+  - get
+  - list
+  - watch

@thbkrkr
Copy link
Contributor

thbkrkr commented Aug 4, 2023

It's strange, we catched it partially, for TestFilebeatDefaultConfig per example, see #6946 and #6946 (comment) to read the story behind this.

@pebrc
Copy link
Collaborator Author

pebrc commented Aug 4, 2023

Same for TestKubernetesIntegrationRecipe

pebrc added a commit that referenced this issue Aug 5, 2023
Fixes #7079

This was first reported in #6946 (comment)
pebrc added a commit to pebrc/cloud-on-k8s that referenced this issue Aug 5, 2023
Fixes elastic#7079

This was first reported in elastic#6946 (comment)

(cherry picked from commit d022e10)
pebrc added a commit that referenced this issue Aug 6, 2023
Fixes #7079

This was first reported in #6946 (comment)

(cherry picked from commit d022e10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:ci Things related to Continuous Integration, automation and releases >test Related to unit/integration/e2e tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants