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

security app rbac rbac read only role can not save a visualization #22719

Closed
liza-mae opened this issue Sep 5, 2018 · 1 comment
Closed

security app rbac rbac read only role can not save a visualization #22719

liza-mae opened this issue Sep 5, 2018 · 1 comment
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test medium test_xpack_functional test

Comments

@liza-mae
Copy link
Contributor

liza-mae commented Sep 5, 2018

Error: retry.try timeout: Error: retry.try timeout: [POST http://localhost:9515/session/a5530ab3c5e85967ba8d9ca9963583bd/element / {"using":"partial link text","value":"Vertical Bar"}] no such element: Unable to locate element: {"method":"partial link text","selector":"Vertical Bar"}
(Session info: chrome=68.0.3440.106)
(Driver info: chromedriver=2.41.578700 (2f1ed5f9343c13f73144538f15c00b370eda6706),platform=Linux 4.15.0-1018-gcp x86_64)
at Server._post (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/test/functional/services/remote/verbose_remote_logging.js:34:21)
at runRequest (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:92:40)
at /var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:113:39
at new Promise (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/node_modules/dojo/_debug/Promise.ts:411:4)
at Session._post (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:67:10)
at Session.find (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:1328:15)
at Command. (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/node_modules/leadfoot/Command.js:42:36)
at /var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/node_modules/dojo/_debug/Promise.ts:393:16
at run (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/node_modules/dojo/_debug/Promise.ts:237:8)
at /var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/node_modules/dojo/_debug/nextTick.ts:44:4
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Command.find (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/node_modules/leadfoot/Command.js:23:10)
at Command.prototype.(anonymous function) [as findByPartialLinkText] (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/node_modules/leadfoot/lib/strategies.js:29:16)
at _ensureElementWithTimeout (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/test/functional/services/find.js:160:29)
at retry.try (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/test/functional/services/find.js:51:33)
at runAttempt (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/test/common/services/retry/retry_for_success.js:39:21)
at retryForSuccess (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/test/common/services/retry/retry_for_success.js:67:37)
at
at lastError (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/test/common/services/retry/retry_for_success.js:29:9)
at retryForSuccess (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/test/common/services/retry/retry_for_success.js:63:13)
at
at lastError (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/test/common/services/retry/retry_for_success.js:29:9)
at retryForSuccess (/var/lib/jenkins/workspace/elastic+kibana+master+multijob-x-pack/kibana/test/common/services/retry/retry_for_success.js:63:13)
at

Branch: master

@LeeDr
Copy link

LeeDr commented Sep 11, 2018

Fixed by: #22912

The problem appeared to be when the test logged out, and then logged in as a new user, that login method in security_page didn't wait for the page to load. So the next step would try to navigate to visualize/new and fail quite often.

@LeeDr LeeDr closed this as completed Sep 11, 2018
@liza-mae liza-mae added failed-test A test failure on a tracked branch, potentially flaky-test and removed flaky-failing-test labels Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test medium test_xpack_functional test
Projects
None yet
Development

No branches or pull requests

3 participants