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

Re-enable Monitoring Shard Allocation Per Node tests #20772

Closed
tylersmalley opened this issue Jul 13, 2018 · 5 comments · Fixed by #29757
Closed

Re-enable Monitoring Shard Allocation Per Node tests #20772

tylersmalley opened this issue Jul 13, 2018 · 5 comments · Fixed by #29757
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Monitoring Stack Monitoring team v7.0.0

Comments

@tylersmalley
Copy link
Contributor

These tests were skipped in #20138. The flaky behavior needs to be addressed and the tests unskipped.

@LeeDr
Copy link

LeeDr commented Jul 30, 2018

I haven't skipped them, but I think the Shared Allocation Per Index tests are also at least a bit flaky. They just failed on my PR which didn't have anything to do with x-pack or monitoring.

https://github.com/elastic/kibana/blob/master/x-pack/test/functional/apps/monitoring/elasticsearch/shards.js#L98

I didn't dig into this yet so I don't know if this is the expected page the test is supposed to be on at this point;
monitoring app elasticsearch shard legends shard allocation per index before all hook

22:19:43    │ proc  [ftr]      └-: Shard Allocation Per Index
22:19:43    │ proc  [ftr]        └-> "before all" hook
22:19:43    │ proc  [ftr]        └-> "before all" hook
22:20:24    │ proc  [ftr]          │ info  Taking screenshot "/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/x-pack/test/functional/screenshots/failure/Monitoring app Elasticsearch shard legends Shard Allocation Per Index _before all_ hook.png"
22:20:24    │ proc  [ftr]          │ info  Current URL is: http://localhost:5640/app/monitoring#/overview?_g=(cluster_uuid:YCxj-RAgSZCP6GuOQ8M1EQ,refreshInterval:(pause:!t,value:10000),time:(from:%272017-10-05T19:34:48.000Z%27,mode:absolute,to:%272017-10-05T20:35:12.000Z%27))
22:20:24    │ proc  [ftr]          │ info  Saving page source to: /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/x-pack/test/functional/failure_debug/html/Monitoring app Elasticsearch shard legends Shard Allocation Per Index _before all_ hook.html
22:20:24    │ proc  [ftr]        └- ✖ fail: "Monitoring app Elasticsearch shard legends Shard Allocation Per Index "before all" hook"
22:20:24    │ proc  [ftr]        │        tryForTime timeout: Error: tryForTime timeout: [POST http://localhost:9515/session/e9394592b5352d00509fae243e2dc431/element / {"using":"css selector","value":"[data-test-subj~=\"elasticsearchIndicesListingPage\"]"}] no such element: Unable to locate element: {"method":"css selector","selector":"[data-test-subj~="elasticsearchIndicesListingPage"]"}
22:20:24    │ proc  [ftr]        │         (Session info: chrome=65.0.3325.162)
22:20:24    │ proc  [ftr]        │         (Driver info: chromedriver=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752),platform=Linux 3.10.0-514.21.1.el7.x86_64 x86_64)
22:20:24    │ proc  [ftr]        │           at Server._post (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/test/functional/services/remote/verbose_remote_logging.js:34:21)
22:20:24    │ proc  [ftr]        │           at runRequest (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:92:40)
22:20:24    │ proc  [ftr]        │           at /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:113:39
22:20:24    │ proc  [ftr]        │           at new Promise (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/dojo/_debug/Promise.ts:411:4)
22:20:24    │ proc  [ftr]        │           at Session._post (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:67:10)
22:20:24    │ proc  [ftr]        │           at Session.find (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:1328:15)
22:20:24    │ proc  [ftr]        │           at Command.<anonymous> (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Command.js:42:36)
22:20:24    │ proc  [ftr]        │           at /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/dojo/_debug/Promise.ts:393:16
22:20:24    │ proc  [ftr]        │           at run (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/dojo/_debug/Promise.ts:237:8)
22:20:24    │ proc  [ftr]        │           at /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/dojo/_debug/nextTick.ts:44:4
22:20:24    │ proc  [ftr]        │           at _combinedTickCallback (internal/process/next_tick.js:131:7)
22:20:24    │ proc  [ftr]        │           at process._tickCallback (internal/process/next_tick.js:180:9)
22:20:24    │ proc  [ftr]        │           at Command.find (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Command.js:23:10)
22:20:24    │ proc  [ftr]        │           at Command.prototype.(anonymous function) [as findByCssSelector] (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/lib/strategies.js:29:16)
22:20:24    │ proc  [ftr]        │           at _ensureElementWithTimeout (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/test/functional/services/find.js:71:29)
22:20:24    │ proc  [ftr]        │           at retry.try (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/test/functional/services/find.js:51:33)
22:20:24    │ proc  [ftr]        │           at tryCatcher (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/util.js:26:23)
22:20:24    │ proc  [ftr]        │           at Function.Promise.attempt.Promise.try (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/method.js:31:24)
22:20:24    │ proc  [ftr]        │           at attempt (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/test/common/services/retry.js:41:16)
22:20:24    │ proc  [ftr]        │           at tryCatcher (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/util.js:26:23)
22:20:24    │ proc  [ftr]        │           at Promise._settlePromiseFromHandler (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:503:31)
22:20:24    │ proc  [ftr]        │           at Promise._settlePromiseAt (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:577:18)
22:20:24    │ proc  [ftr]        │           at Promise._settlePromises (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:693:14)
22:20:24    │ proc  [ftr]        │           at Async._drainQueue (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:123:16)
22:20:24    │ proc  [ftr]        │           at Async._drainQueues (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:133:10)
22:20:24    │ proc  [ftr]        │           at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:15:14)
22:20:24    │ proc  [ftr]        │           at runCallback (timers.js:810:20)
22:20:24    │ proc  [ftr]        │           at tryOnImmediate (timers.js:768:5)
22:20:24    │ proc  [ftr]        │           at processImmediate [as _immediateCallback] (timers.js:745:5)
22:20:24    │ proc  [ftr]        │           at attempt (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/test/common/services/retry.js:38:17)
22:20:24    │ proc  [ftr]        │           at tryCatcher (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/util.js:26:23)
22:20:24    │ proc  [ftr]        │           at Promise._settlePromiseFromHandler (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:503:31)
22:20:24    │ proc  [ftr]        │           at Promise._settlePromiseAt (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:577:18)
22:20:24    │ proc  [ftr]        │           at Promise._settlePromises (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:693:14)
22:20:24    │ proc  [ftr]        │           at Async._drainQueue (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:123:16)
22:20:24    │ proc  [ftr]        │           at Async._drainQueues (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:133:10)
22:20:24    │ proc  [ftr]        │           at Immediate.Async.drainQueues (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:15:14)
22:20:24    │ proc  [ftr]        │           at runCallback (timers.js:810:20)
22:20:24    │ proc  [ftr]        │           at tryOnImmediate (timers.js:768:5)
22:20:24    │ proc  [ftr]        │           at processImmediate [as _immediateCallback] (timers.js:745:5)
22:20:24    │ proc  [ftr]        │         Error: tryForTime timeout: Error: tryForTime timeout: [POST http://localhost:9515/session/e9394592b5352d00509fae243e2dc431/element / {"using":"css selector","value":"[data-test-subj~=\"elasticsearchIndicesListingPage\"]"}] no such element: Unable to locate element: {"method":"css selector","selector":"[data-test-subj~="elasticsearchIndicesListingPage"]"}
22:20:24    │ proc  [ftr]        │           (Session info: chrome=65.0.3325.162)
22:20:24    │ proc  [ftr]        │           (Driver info: chromedriver=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752),platform=Linux 3.10.0-514.21.1.el7.x86_64 x86_64)
22:20:24    │ proc  [ftr]        │         at Server._post (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/test/functional/services/remote/verbose_remote_logging.js:34:21)
22:20:24    │ proc  [ftr]        │         at runRequest (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:92:40)
22:20:24    │ proc  [ftr]        │         at /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:113:39
22:20:24    │ proc  [ftr]        │         at new Promise (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/dojo/_debug/Promise.ts:411:4)
22:20:24    │ proc  [ftr]        │         at Session._post (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:67:10)
22:20:24    │ proc  [ftr]        │         at Session.find (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Session.js:1328:15)
22:20:24    │ proc  [ftr]        │         at Command.<anonymous> (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Command.js:42:36)
22:20:24    │ proc  [ftr]        │         at /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/dojo/_debug/Promise.ts:393:16
22:20:24    │ proc  [ftr]        │         at run (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/dojo/_debug/Promise.ts:237:8)
22:20:24    │ proc  [ftr]        │         at /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/dojo/_debug/nextTick.ts:44:4
22:20:24    │ proc  [ftr]        │         at _combinedTickCallback (internal/process/next_tick.js:131:7)
22:20:24    │ proc  [ftr]        │         at process._tickCallback (internal/process/next_tick.js:180:9)
22:20:24    │ proc  [ftr]        │         at Command.find (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/Command.js:23:10)
22:20:24    │ proc  [ftr]        │         at Command.prototype.(anonymous function) [as findByCssSelector] (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/leadfoot/lib/strategies.js:29:16)
22:20:24    │ proc  [ftr]        │         at _ensureElementWithTimeout (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/test/functional/services/find.js:71:29)
22:20:24    │ proc  [ftr]        │         at retry.try (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/test/functional/services/find.js:51:33)
22:20:24    │ proc  [ftr]        │         at tryCatcher (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/util.js:26:23)
22:20:24    │ proc  [ftr]        │         at Function.Promise.attempt.Promise.try (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/method.js:31:24)
22:20:24    │ proc  [ftr]        │         at attempt (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/test/common/services/retry.js:41:16)
22:20:24    │ proc  [ftr]        │         at tryCatcher (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/util.js:26:23)
22:20:24    │ proc  [ftr]        │         at Promise._settlePromiseFromHandler (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:503:31)
22:20:24    │ proc  [ftr]        │         at Promise._settlePromiseAt (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:577:18)
22:20:24    │ proc  [ftr]        │         at Promise._settlePromises (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:693:14)
22:20:24    │ proc  [ftr]        │         at Async._drainQueue (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:123:16)
22:20:24    │ proc  [ftr]        │         at Async._drainQueues (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:133:10)
22:20:24    │ proc  [ftr]        │         at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:15:14)
22:20:24    │ proc  [ftr]        │         at attempt (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/test/common/services/retry.js:38:17)
22:20:24    │ proc  [ftr]        │         at tryCatcher (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/util.js:26:23)
22:20:24    │ proc  [ftr]        │         at Promise._settlePromiseFromHandler (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:503:31)
22:20:24    │ proc  [ftr]        │         at Promise._settlePromiseAt (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:577:18)
22:20:24    │ proc  [ftr]        │         at Promise._settlePromises (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:693:14)
22:20:24    │ proc  [ftr]        │         at Async._drainQueue (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:123:16)
22:20:24    │ proc  [ftr]        │         at Async._drainQueues (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:133:10)
22:20:24    │ proc  [ftr]        │         at Immediate.Async.drainQueues (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:15:14)
22:20:24    │ proc  [ftr]        │         at attempt (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/test/common/services/retry.js:38:17)
22:20:24    │ proc  [ftr]        │         at tryCatcher (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/util.js:26:23)
22:20:24    │ proc  [ftr]        │         at Promise._settlePromiseFromHandler (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:503:31)
22:20:24    │ proc  [ftr]        │         at Promise._settlePromiseAt (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:577:18)
22:20:24    │ proc  [ftr]        │         at Promise._settlePromises (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/promise.js:693:14)
22:20:24    │ proc  [ftr]        │         at Async._drainQueue (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:123:16)
22:20:24    │ proc  [ftr]        │         at Async._drainQueues (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:133:10)
22:20:24    │ proc  [ftr]        │         at Immediate.Async.drainQueues (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/kibana/node_modules/bluebird/js/main/async.js:15:14)
22:20:24    │ proc  [ftr]        │       

@stacey-gammon
Copy link
Contributor

cc @elastic/stack-monitoring

@cachedout
Copy link
Contributor

@chrisronline Is this something you might be able to investigate?

@chrisronline
Copy link
Contributor

@cachedout Happy to at some point. It will probably take at least a day so we can talk it through for priority

@cachedout
Copy link
Contributor

@chrisronline Sounds like a plan! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Monitoring Stack Monitoring team v7.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants