I'm not sure what has caused this to start popping up but it's caused a couple of test failures lately;
has multiple instances of this problem. Here's an example;
The problem below starts at 16:47:02.962. The last passing test was in status page and so the next test suite is settings._initial_state. The before method reloads the empty .kibana index and the is calling settingsPage.navigateTo(); which calls getApp(). That method uses the ".app-wrapper .application" css selector.
>> PASS: firefox on any platform - kibana - status page - should show the kibana plugin as ready (168ms)
>> 0/1 tests failed
INFO - Thunderbolt - cluster.metadata - [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [config]
INFO - Thunderbolt - cluster.routing.allocation - Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] ...]).
INFO - Thunderbolt - cluster.metadata - [.kibana/ujxHKCa7TU2oaTGAfl3ulg] update_mapping [config]
INFO - Thunderbolt - cluster.metadata - [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0], mappings [_default_]
INFO - Thunderbolt - cluster.metadata - [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0], mappings [_default_]
INFO - Thunderbolt - cluster.metadata - [logstash-2015.09.17/BwE16OLsSV6XsL--cYa5sg] create_mapping [apache]
INFO - Thunderbolt - cluster.routing.allocation - Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[logstash-2015.09.18][0]] ...]).
INFO - Thunderbolt - cluster.metadata - [logstash-2015.09.17/BwE16OLsSV6XsL--cYa5sg] update_mapping [apache]
INFO - Thunderbolt - cluster.metadata - [logstash-2015.09.18/c91Rjp5FT8iq_-I5wHSxTA] create_mapping [apache]
INFO - Thunderbolt - cluster.metadata - [logstash-2015.09.17/BwE16OLsSV6XsL--cYa5sg] create_mapping [nginx]
INFO - Thunderbolt - cluster.metadata - [logstash-2015.09.18/c91Rjp5FT8iq_-I5wHSxTA] update_mapping [apache]
INFO - Thunderbolt - cluster.metadata - [logstash-2015.09.17/BwE16OLsSV6XsL--cYa5sg] update_mapping [apache]
INFO - Thunderbolt - cluster.metadata - [logstash-2015.09.18/c91Rjp5FT8iq_-I5wHSxTA] create_mapping [nginx]
INFO - Thunderbolt - cluster.metadata - [logstash-2015.09.18/c91Rjp5FT8iq_-I5wHSxTA] update_mapping [nginx]
INFO - Thunderbolt - cluster.metadata - [logstash-2015.09.18/c91Rjp5FT8iq_-I5wHSxTA] update_mapping [apache]
INFO - Thunderbolt - cluster.metadata - [.kibana/ujxHKCa7TU2oaTGAfl3ulg] create_mapping [server]
INFO - Thunderbolt - cluster.metadata - [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [config]
managr log [16:46:33.698] [error][status][plugin:elasticsearch] Status changed from green to red - Elasticsearch is still initializing the kibana index.
INFO - Thunderbolt - cluster.routing.allocation - Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] ...]).
INFO - Thunderbolt - cluster.metadata - [.kibana/_d558W3KRiW1qqFtAe4gRA] update_mapping [config]
16:46:33.878: navigating to settings url: http://user:notsecure@localhost:5620/app/kibana#/settings
16:46:33.879: navigate to: http://user:notsecure@localhost:5620/app/kibana#/settings
INFO - Thunderbolt - cluster.metadata - [.kibana/_d558W3KRiW1qqFtAe4gRA] create_mapping [server]
managr log [16:46:36.286] [info][status][plugin:elasticsearch] Status changed from red to green - Kibana index ready
16:46:40.564: returned from get, calling refresh
16:46:46.179: check testStatusPage
16:46:46.179: self.checkForKibanaApp()
INFO - Thunderbolt - cluster.metadata - [.kibana/_d558W3KRiW1qqFtAe4gRA] create_mapping [index-pattern]
16:47:02.962: kibana check failed
16:47:02.962: { [NoSuchElement: [POST http://localhost:4444/wd/hub/session/8043a7a3-ca2a-42ed-b05e-1a5bcae60fe6/element / {"using":"css selector","value":".app-wrapper .application"}] Unable to locate element: {"method":"css selector","selector":".app-wrapper .application"}
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58'
System info: host: 'slave12.build.ci.hetz.es.io', ip: '5.9.121.212', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_72'
Driver info: driver.version: unknown]
name: 'NoSuchElement',
message: '[POST http://localhost:4444/wd/hub/session/8043a7a3-ca2a-42ed-b05e-1a5bcae60fe6/element / {"using":"css selector","value":".app-wrapper .application"}] Unable to locate element: {"method":"css selector","selector":".app-wrapper .application"}\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: \'2.53.0\', revision: \'35ae25b\', time: \'2016-03-15 17:00:58\'\nSystem info: host: \'slave12.build.ci.hetz.es.io\', ip: \'5.9.121.212\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.13.0-24-generic\', java.version: \'1.8.0_72\'\nDriver info: driver.version: unknown',
status: 7,
detail:
{ additionalInformation: '\nDriver info: driver.version: unknown',
localizedMessage: 'Unable to locate element: {"method":"css selector","selector":".app-wrapper .application"}\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: \'2.53.0\', revision: \'35ae25b\', time: \'2016-03-15 17:00:58\'\nSystem info: host: \'slave12.build.ci.hetz.es.io\', ip: \'5.9.121.212\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.13.0-24-generic\', java.version: \'1.8.0_72\'\nDriver info: driver.version: unknown',
supportUrl: 'http://seleniumhq.org/exceptions/no_such_element.html',
systemInformation: 'System info: host: \'slave12.build.ci.hetz.es.io\', ip: \'5.9.121.212\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.13.0-24-generic\', java.version: \'1.8.0_72\'',
cause: null,
stackTrace: [ [Object], [Object] ],
suppressed: [],
message: 'Unable to locate element: {"method":"css selector","selector":".app-wrapper .application"}\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: \'2.53.0\', revision: \'35ae25b\', time: \'2016-03-15 17:00:58\'\nSystem info: host: \'slave12.build.ci.hetz.es.io\', ip: \'5.9.121.212\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.13.0-24-generic\', java.version: \'1.8.0_72\'\nDriver info: driver.version: unknown',
hCode: 1300904412,
class: 'org.openqa.selenium.NoSuchElementException',
buildInformation:
{ buildRevision: '35ae25b',
buildTime: '2016-03-15 17:00:58',
releaseLabel: '2.53.0',
hCode: 224786145,
class: 'org.openqa.selenium.internal.BuildInfo' },
screen: <Buffer 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 05 00 00 00 04 00 08 02 00 00 00 31 f1 63 14 00 00 30 62 49 44 41 54 78 da ec dd 81 75 da 3a 00 ... > },
request:
{ url: 'http://localhost:4444/wd/hub/session/8043a7a3-ca2a-42ed-b05e-1a5bcae60fe6/element',
method: 'POST',
data: { using: 'css selector', value: '.app-wrapper .application' } },
response:
{ data: <Buffer 7b 22 73 74 61 74 65 22 3a 22 6e 6f 20 73 75 63 68 20 65 6c 65 6d 65 6e 74 22 2c 22 73 65 73 73 69 6f 6e 49 64 22 3a 22 38 30 34 33 61 37 61 33 2d 63 ... >,
getHeader: [Function],
requestOptions:
{ followRedirects: false,
handleAs: 'text',
headers: [Object],
method: 'POST',
data: '{"using":"css selector","value":".app-wrapper .application"}' },
statusCode: 500,
url: 'http://localhost:4444/wd/hub/session/8043a7a3-ca2a-42ed-b05e-1a5bcae60fe6/element',
nativeResponse:
IncomingMessage {
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 2,
_maxListeners: undefined,
socket: [Object],
connection: [Object],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers: [Object],
rawHeaders: [Object],
trailers: {},
rawTrailers: [],
upgrade: false,
url: '',
method: null,
statusCode: 500,
statusMessage: 'Internal Server Error',
client: [Object],
_consuming: true,
_dumped: false,
req: [Object],
read: [Function] } } }
16:47:02.976: kibanaLoaded = false
16:47:02.976: Kibana is not loaded, retrying
16:47:02.997: tryForTime failure: Kibana is not loaded, retrying
16:47:03.499: navigate to: http://user:notsecure@localhost:5620/app/kibana#/settings
16:47:13.631: returned from get, calling refresh
16:47:16.735: check testStatusPage
16:47:16.735: self.checkForKibanaApp()
16:47:32.715: kibana check failed
16:47:32.715: { [NoSuchElement: [POST http://localhost:4444/wd/hub/session/8043a7a3-ca2a-42ed-b05e-1a5bcae60fe6/element / {"using":"css selector","value":".app-wrapper .application"}] Unable to locate element: {"method":"css selector","selector":".app-wrapper .application"}
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58'
System info: host: 'slave12.build.ci.hetz.es.io', ip: '5.9.121.212', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_72'
Driver info: driver.version: unknown]
name: 'NoSuchElement',
message: '[POST http://localhost:4444/wd/hub/session/8043a7a3-ca2a-42ed-b05e-1a5bcae60fe6/element / {"using":"css selector","value":".app-wrapper .application"}] Unable to locate element: {"method":"css selector","selector":".app-wrapper .application"}\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: \'2.53.0\', revision: \'35ae25b\', time: \'2016-03-15 17:00:58\'\nSystem info: host: \'slave12.build.ci.hetz.es.io\', ip: \'5.9.121.212\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.13.0-24-generic\', java.version: \'1.8.0_72\'\nDriver info: driver.version: unknown',
status: 7,
detail:
{ additionalInformation: '\nDriver info: driver.version: unknown',
localizedMessage: 'Unable to locate element: {"method":"css selector","selector":".app-wrapper .application"}\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: \'2.53.0\', revision: \'35ae25b\', time: \'2016-03-15 17:00:58\'\nSystem info: host: \'slave12.build.ci.hetz.es.io\', ip: \'5.9.121.212\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.13.0-24-generic\', java.version: \'1.8.0_72\'\nDriver info: driver.version: unknown',
supportUrl: 'http://seleniumhq.org/exceptions/no_such_element.html',
systemInformation: 'System info: host: \'slave12.build.ci.hetz.es.io\', ip: \'5.9.121.212\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.13.0-24-generic\', java.version: \'1.8.0_72\'',
cause: null,
stackTrace: [ [Object], [Object] ],
suppressed: [],
message: 'Unable to locate element: {"method":"css selector","selector":".app-wrapper .application"}\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: \'2.53.0\', revision: \'35ae25b\', time: \'2016-03-15 17:00:58\'\nSystem info: host: \'slave12.build.ci.hetz.es.io\', ip: \'5.9.121.212\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.13.0-24-generic\', java.version: \'1.8.0_72\'\nDriver info: driver.version: unknown',
hCode: 1239799055,
class: 'org.openqa.selenium.NoSuchElementException',
buildInformation:
{ buildRevision: '35ae25b',
buildTime: '2016-03-15 17:00:58',
releaseLabel: '2.53.0',
hCode: 992839360,
class: 'org.openqa.selenium.internal.BuildInfo' },
screen: <Buffer 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 05 00 00 00 04 00 08 02 00 00 00 31 f1 63 14 00 00 30 4b 49 44 41 54 78 da ec dd 81 75 da 3a 00 ... > },
request:
{ url: 'http://localhost:4444/wd/hub/session/8043a7a3-ca2a-42ed-b05e-1a5bcae60fe6/element',
method: 'POST',
data: { using: 'css selector', value: '.app-wrapper .application' } },
response:
{ data: <Buffer 7b 22 73 74 61 74 65 22 3a 22 6e 6f 20 73 75 63 68 20 65 6c 65 6d 65 6e 74 22 2c 22 73 65 73 73 69 6f 6e 49 64 22 3a 22 38 30 34 33 61 37 61 33 2d 63 ... >,
getHeader: [Function],
requestOptions:
{ followRedirects: false,
handleAs: 'text',
headers: [Object],
method: 'POST',
data: '{"using":"css selector","value":".app-wrapper .application"}' },
statusCode: 500,
url: 'http://localhost:4444/wd/hub/session/8043a7a3-ca2a-42ed-b05e-1a5bcae60fe6/element',
nativeResponse:
IncomingMessage {
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 2,
_maxListeners: undefined,
socket: [Object],
connection: [Object],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers: [Object],
rawHeaders: [Object],
trailers: {},
rawTrailers: [],
upgrade: false,
url: '',
method: null,
statusCode: 500,
statusMessage: 'Internal Server Error',
client: [Object],
_consuming: true,
_dumped: false,
req: [Object],
read: [Function] } } }
16:47:32.721: kibanaLoaded = false
16:47:32.721: Kibana is not loaded, retrying
16:47:32.723: tryForTime failure: Kibana is not loaded, retrying
SUITE ERROR
Error: timeout Kibana is not loaded, retrying
at attempt <test/support/pages/common.js:212:17>
at tryCatcher <node_modules/bluebird/js/main/util.js:26:23>
at Promise._settlePromiseFromHandler <node_modules/bluebird/js/main/promise.js:503:31>
at Promise._settlePromiseAt <node_modules/bluebird/js/main/promise.js:577:18>
at Promise._settlePromises <node_modules/bluebird/js/main/promise.js:693:14>
at Async._drainQueue <node_modules/bluebird/js/main/async.js:123:16>
at Async._drainQueues <node_modules/bluebird/js/main/async.js:133:10>
at Immediate.Async.drainQueues [as _onImmediate] <node_modules/bluebird/js/main/async.js:15:14>
at processImmediate [as _immediateCallback] <timers.js:383:17>
>> 5/5 tests failed
I'm not sure what has caused this to start popping up but it's caused a couple of test failures lately;
For example, this jenkins run which has only a single line change to a console test;
http://build-eu-00.elastic.co/job/kibana_core_pr/3754/consoleFull
has multiple instances of this problem. Here's an example;
The problem below starts at 16:47:02.962. The last passing test was in
status pageand so the next test suite is settings._initial_state. The before method reloads the empty .kibana index and the is callingsettingsPage.navigateTo();which callsgetApp(). That method uses the".app-wrapper .application"css selector.