-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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-failed]: Chrome UI Functional Tests1.test/functional/apps/timelion/_expression_typeahead·js - timelion app expression typeahead "before all" hook for "should display function suggestions filtered by function name" #80247
Comments
Pinging @elastic/kibana-test-triage (failed-test) |
Pinging @elastic/kibana-app (Team:KibanaApp) |
As far as I can see when this test fails, many others fail with the same error. So I don't think it is related to the specific test. |
The failure is related to this part of code:
And based on error my guess is that |
@liza-mae could you include screenshots to test failures? it should help understanding the place and reason. |
Thank you @dmlemeshko, from what I can see from Jenkins we get this |
Ok, then it means we need to update suite to add user proper permissions. @rashmivkulkarni could help here. Since it works fine on Kibana CI, changing tests order could be a reason. |
Looking at the Jenkins job mentioned in the description, there's a ton of 403 errors being logged and other tests failing before it gets to this one. The issue could be related to role changes. The OSS tests by default are run with the roles defined here; https://github.com/elastic/kibana/blob/7.10/test/functional/config.js#L292
It could be that we need to change that @rashmivkulkarni is starting a local test. |
Still not sure what the problem is on this test. The index file for _expression_typeahead loads logstash_functional test data and sets the default index pattern to logstash-*. And the test calls timelion.initTests() which only loads a Kibana index, so the default roles of |
Thank you @LeeDr and @rashmivkulkarni for looking into this. 🙂 It is a very interesting case |
@rashmi worked on another test related to permissions and this could be a similar case. The test created a user with dashboard read or dashboard all privs and yet when it opened a saved dashboard it would fail because it couldn't update a saved object. The saved object it was trying to update was the index pattern. Apparently index patterns have a flag (or lack of a flag) and they need to be updated on first use, which requires different privs. I also found a test which was deleting all indices including the security index! This of course breaks all tests that come after it. I have a PR to fix that test here; #82736 |
Fixed |
Version: 7.10.0
Class: Chrome UI Functional Tests1.test/functional/apps/timelion/_expression_typeahead·js
Stack Trace:
Other test failures:
Test Report: https://internal-ci.elastic.co/view/Stack%20Tests/job/elastic+estf-cloud-kibana-tests/845/testReport/
The text was updated successfully, but these errors were encountered: