Skip to content

Conversation

@rashmivkulkarni
Copy link
Contributor

Backports the following commits to 7.9:

… ui test (elastic#76713)

* lens reporting test

* update chromedriver to 85

* checking bug fix

* hitting another bug - added as a comment

* Revert "update chromedriver to 85"

This reverts commit dcd8983.

* don't refresh the page when setting roles

* lens reporting test

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@rashmivkulkarni rashmivkulkarni added the backport This PR is a backport of another PR label Sep 18, 2020
@rashmivkulkarni
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/lens_reporting·ts.lens app lens reporting should not cause PDF reports to fail

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 11 times on tracked branches: https://github.com/elastic/kibana/issues/59229

[00:00:00]       │
[00:14:51]         └-: lens app
[00:14:51]           └-> "before all" hook
[00:14:51]           └-> "before all" hook
[00:14:51]             │ debg Starting lens before method
[00:14:51]             │ info [logstash_functional] Loading "mappings.json"
[00:14:51]             │ info [logstash_functional] Loading "data.json.gz"
[00:14:51]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:14:51]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:14:51]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:14:52]             │ info [lens/basic] Loading "mappings.json"
[00:14:52]             │ info [lens/basic] Loading "data.json.gz"
[00:14:52]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1/dH6C2ziQS22Qa79ldRlUdA] deleting index
[00:14:52]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/zt7-TT5zSjaBuRj7-XvGZw] deleting index
[00:14:52]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:14:52]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:14:52]             │ info [lens/basic] Created index ".kibana_1"
[00:14:52]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:14:52]             │ info [lens/basic] Indexed 10 docs into ".kibana_1"
[00:14:52]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1/U5PYYTcUST-NSuDpERJiNA] update_mapping [_doc]
[00:14:53]             │ debg Migrating saved objects
[00:14:53]             │ proc [kibana]   log   [18:54:20.514] [info][savedobjects-service] Creating index .kibana_2.
[00:14:53]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:14:53]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] updating number_of_replicas to [0] for indices [.kibana_2]
[00:14:53]             │ proc [kibana]   log   [18:54:20.603] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:14:53]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/aXo3VX1gRiaHKTPAJgxCKw] update_mapping [_doc]
[00:14:53]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/aXo3VX1gRiaHKTPAJgxCKw] update_mapping [_doc]
[00:14:53]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/aXo3VX1gRiaHKTPAJgxCKw] update_mapping [_doc]
[00:14:53]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/aXo3VX1gRiaHKTPAJgxCKw] update_mapping [_doc]
[00:14:53]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/aXo3VX1gRiaHKTPAJgxCKw] update_mapping [_doc]
[00:14:53]             │ proc [kibana]   log   [18:54:20.890] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:14:53]             │ proc [kibana]   log   [18:54:20.959] [info][savedobjects-service] Finished in 447ms.
[00:14:53]           └-: 
[00:14:53]             └-> "before all" hook
[00:20:49]             └-: lens reporting
[00:20:49]               └-> "before all" hook
[00:20:49]               └-> "before all" hook
[00:20:49]                 │ info [lens/reporting] Loading "mappings.json"
[00:20:49]                 │ info [lens/reporting] Loading "data.json.gz"
[00:20:49]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/aXo3VX1gRiaHKTPAJgxCKw] deleting index
[00:20:49]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1/U5PYYTcUST-NSuDpERJiNA] deleting index
[00:20:49]                 │ info [lens/reporting] Deleted existing index [".kibana_2",".kibana_1"]
[00:20:49]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:20:49]                 │ info [lens/reporting] Created index ".kibana_1"
[00:20:49]                 │ debg [lens/reporting] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:20:49]                 │ info [lens/reporting] Indexed 13 docs into ".kibana_1"
[00:20:49]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1/6B_R_sniTa-D-CJ7bQZkQw] update_mapping [_doc]
[00:20:49]                 │ debg Migrating saved objects
[00:20:49]                 │ proc [kibana]   log   [19:00:17.213] [info][savedobjects-service] Creating index .kibana_2.
[00:20:49]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:20:49]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] updating number_of_replicas to [0] for indices [.kibana_2]
[00:20:49]                 │ proc [kibana]   log   [19:00:17.304] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:20:49]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/sWT6YxjcT1-_CSSwOevW5Q] update_mapping [_doc]
[00:20:49]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/sWT6YxjcT1-_CSSwOevW5Q] update_mapping [_doc]
[00:20:50]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/sWT6YxjcT1-_CSSwOevW5Q] update_mapping [_doc]
[00:20:50]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/sWT6YxjcT1-_CSSwOevW5Q] update_mapping [_doc]
[00:20:50]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/sWT6YxjcT1-_CSSwOevW5Q] update_mapping [_doc]
[00:20:50]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/sWT6YxjcT1-_CSSwOevW5Q] update_mapping [_doc]
[00:20:50]                 │ proc [kibana]   log   [19:00:17.652] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:20:50]                 │ proc [kibana]   log   [19:00:17.720] [info][savedobjects-service] Finished in 509ms.
[00:20:50]                 │ debg set roles = test_logstash_reader,global_dashboard_read,reporting_user
[00:20:50]                 │ debg creating user test_user
[00:20:50]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] updated user [test_user]
[00:20:50]                 │ debg created user test_user
[00:20:50]               └-> should not cause PDF reports to fail
[00:20:50]                 └-> "before each" hook: global before each
[00:20:50]                 │ debg navigating to dashboard url: http://localhost:61131/app/dashboards#/list
[00:20:50]                 │ debg navigate to: http://localhost:61131/app/dashboards#/list
[00:20:50]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600801217876#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:20:50]                 │ debg ... sleep(700) start
[00:20:51]                 │ debg ... sleep(700) end
[00:20:51]                 │ debg returned from get, calling refresh
[00:20:51]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600801217876#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:20:51]                 │ debg currentUrl = http://localhost:61131/app/dashboards#/list
[00:20:51]                 │          appUrl = http://localhost:61131/app/dashboards#/list
[00:20:51]                 │ debg TestSubjects.find(kibanaChrome)
[00:20:51]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:21:52]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:21:52]                 │      Wait timed out after 61216ms
[00:21:53]                 │ debg navigate to: http://localhost:61131/app/dashboards#/list
[00:21:53]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600801280575#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:21:53]                 │ debg ... sleep(700) start
[00:21:53]                 │ debg ... sleep(700) end
[00:21:53]                 │ debg returned from get, calling refresh
[00:21:54]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600801280575#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:21:54]                 │ debg currentUrl = http://localhost:61131/app/dashboards#/list
[00:21:54]                 │          appUrl = http://localhost:61131/app/dashboards#/list
[00:21:54]                 │ debg TestSubjects.find(kibanaChrome)
[00:21:54]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:22:55]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:22:55]                 │      Wait timed out after 61201ms
[00:22:55]                 │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:22:55]                 │      Wait timed out after 61201ms
[00:22:55]                 │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:22:55]                 │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:22:56]                 │ debg navigate to: http://localhost:61131/app/dashboards#/list
[00:22:56]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600801343635#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:22:56]                 │ debg ... sleep(700) start
[00:22:56]                 │ debg ... sleep(700) end
[00:22:56]                 │ debg returned from get, calling refresh
[00:22:57]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600801343635#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:22:57]                 │ debg currentUrl = http://localhost:61131/app/dashboards#/list
[00:22:57]                 │          appUrl = http://localhost:61131/app/dashboards#/list
[00:22:57]                 │ debg TestSubjects.find(kibanaChrome)
[00:22:57]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:23:58]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:23:58]                 │      Wait timed out after 61203ms
[00:23:58]                 │ debg navigate to: http://localhost:61131/app/dashboards#/list
[00:23:58]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600801406185#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:23:58]                 │ debg ... sleep(700) start
[00:23:59]                 │ debg ... sleep(700) end
[00:23:59]                 │ debg returned from get, calling refresh
[00:23:59]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600801406185#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:23:59]                 │ debg currentUrl = http://localhost:61131/app/dashboards#/list
[00:23:59]                 │          appUrl = http://localhost:61131/app/dashboards#/list
[00:23:59]                 │ debg TestSubjects.find(kibanaChrome)
[00:23:59]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:25:00]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:25:00]                 │      Wait timed out after 61184ms
[00:25:01]                 │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:25:01]                 │      Wait timed out after 61184ms
[00:25:01]                 │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:25:01]                 │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:25:01]                 │ info Taking screenshot "/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/screenshots/failure/lens app  lens reporting should not cause PDF reports to fail.png"
[00:25:01]                 │ info Current URL is: http://localhost:61131/app/dashboards#/list
[00:25:01]                 │ info Saving page source to: /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/failure_debug/html/lens app  lens reporting should not cause PDF reports to fail.html
[00:25:01]                 └- ✖ fail: lens app  lens reporting should not cause PDF reports to fail
[00:25:01]                 │      Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:25:01]                 │ Wait timed out after 61184ms
[00:25:01]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:25:01]                 │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:25:01]                 │     at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:25:01]                 │     at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:25:01]                 │       at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:25:01]                 │       at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:25:01]                 │ 
[00:25:01]                 │ 

Stack Trace

Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
Wait timed out after 61184ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/lens_reporting·ts.lens app lens reporting should not cause PDF reports to fail

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 11 times on tracked branches: https://github.com/elastic/kibana/issues/59229

[00:00:00]       │
[00:14:58]         └-: lens app
[00:14:58]           └-> "before all" hook
[00:14:58]           └-> "before all" hook
[00:14:59]             │ debg Starting lens before method
[00:14:59]             │ info [logstash_functional] Loading "mappings.json"
[00:14:59]             │ info [logstash_functional] Loading "data.json.gz"
[00:14:59]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:14:59]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:14:59]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:15:00]             │ info [lens/basic] Loading "mappings.json"
[00:15:00]             │ info [lens/basic] Loading "data.json.gz"
[00:15:00]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1/lzvp3AKqROyLw23Aq7F_nA] deleting index
[00:15:00]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/RXJufBwDRDu0smw5Izbycg] deleting index
[00:15:00]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:15:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:15:00]             │ info [lens/basic] Created index ".kibana_1"
[00:15:00]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:15:00]             │ info [lens/basic] Indexed 10 docs into ".kibana_1"
[00:15:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1/rfzIFQ-XRI2NO1eNUYH2EQ] update_mapping [_doc]
[00:15:00]             │ debg Migrating saved objects
[00:15:00]             │ proc [kibana]   log   [18:26:53.925] [info][savedobjects-service] Creating index .kibana_2.
[00:15:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:15:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] updating number_of_replicas to [0] for indices [.kibana_2]
[00:15:00]             │ proc [kibana]   log   [18:26:54.047] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:15:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/8vHrMRc5SqW6wEfhOfr0FA] update_mapping [_doc]
[00:15:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/8vHrMRc5SqW6wEfhOfr0FA] update_mapping [_doc]
[00:15:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/8vHrMRc5SqW6wEfhOfr0FA] update_mapping [_doc]
[00:15:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/8vHrMRc5SqW6wEfhOfr0FA] update_mapping [_doc]
[00:15:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/8vHrMRc5SqW6wEfhOfr0FA] update_mapping [_doc]
[00:15:01]             │ proc [kibana]   log   [18:26:54.346] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:15:01]             │ proc [kibana]   log   [18:26:54.415] [info][savedobjects-service] Finished in 491ms.
[00:15:01]           └-: 
[00:15:01]             └-> "before all" hook
[00:21:00]             └-: lens reporting
[00:21:00]               └-> "before all" hook
[00:21:00]               └-> "before all" hook
[00:21:00]                 │ info [lens/reporting] Loading "mappings.json"
[00:21:00]                 │ info [lens/reporting] Loading "data.json.gz"
[00:21:00]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/8vHrMRc5SqW6wEfhOfr0FA] deleting index
[00:21:00]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1/rfzIFQ-XRI2NO1eNUYH2EQ] deleting index
[00:21:00]                 │ info [lens/reporting] Deleted existing index [".kibana_2",".kibana_1"]
[00:21:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:21:01]                 │ info [lens/reporting] Created index ".kibana_1"
[00:21:01]                 │ debg [lens/reporting] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:21:01]                 │ info [lens/reporting] Indexed 13 docs into ".kibana_1"
[00:21:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_1/F0zg1KqLSDm3BXA8XDW0gw] update_mapping [_doc]
[00:21:01]                 │ debg Migrating saved objects
[00:21:01]                 │ proc [kibana]   log   [18:32:54.324] [info][savedobjects-service] Creating index .kibana_2.
[00:21:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:21:01]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] updating number_of_replicas to [0] for indices [.kibana_2]
[00:21:01]                 │ proc [kibana]   log   [18:32:54.445] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:21:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/kP3kxkHHRGGktFtAaKQN8w] update_mapping [_doc]
[00:21:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/kP3kxkHHRGGktFtAaKQN8w] update_mapping [_doc]
[00:21:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/kP3kxkHHRGGktFtAaKQN8w] update_mapping [_doc]
[00:21:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/kP3kxkHHRGGktFtAaKQN8w] update_mapping [_doc]
[00:21:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/kP3kxkHHRGGktFtAaKQN8w] update_mapping [_doc]
[00:21:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] [.kibana_2/kP3kxkHHRGGktFtAaKQN8w] update_mapping [_doc]
[00:21:01]                 │ proc [kibana]   log   [18:32:54.818] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:21:01]                 │ proc [kibana]   log   [18:32:54.903] [info][savedobjects-service] Finished in 580ms.
[00:21:01]                 │ debg set roles = test_logstash_reader,global_dashboard_read,reporting_user
[00:21:01]                 │ debg creating user test_user
[00:21:02]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1600795718231215986] updated user [test_user]
[00:21:02]                 │ debg created user test_user
[00:21:02]               └-> should not cause PDF reports to fail
[00:21:02]                 └-> "before each" hook: global before each
[00:21:02]                 │ debg navigating to dashboard url: http://localhost:61131/app/dashboards#/list
[00:21:02]                 │ debg navigate to: http://localhost:61131/app/dashboards#/list
[00:21:02]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600799575108#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:21:02]                 │ debg ... sleep(700) start
[00:21:02]                 │ debg ... sleep(700) end
[00:21:02]                 │ debg returned from get, calling refresh
[00:21:02]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600799575108#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:21:03]                 │ debg currentUrl = http://localhost:61131/app/dashboards#/list
[00:21:03]                 │          appUrl = http://localhost:61131/app/dashboards#/list
[00:21:03]                 │ debg TestSubjects.find(kibanaChrome)
[00:21:03]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:22:04]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:22:04]                 │      Wait timed out after 61234ms
[00:22:04]                 │ debg navigate to: http://localhost:61131/app/dashboards#/list
[00:22:04]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600799637819#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:22:04]                 │ debg ... sleep(700) start
[00:22:05]                 │ debg ... sleep(700) end
[00:22:05]                 │ debg returned from get, calling refresh
[00:22:05]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600799637819#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:22:05]                 │ debg currentUrl = http://localhost:61131/app/dashboards#/list
[00:22:05]                 │          appUrl = http://localhost:61131/app/dashboards#/list
[00:22:05]                 │ debg TestSubjects.find(kibanaChrome)
[00:22:05]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:23:06]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:23:06]                 │      Wait timed out after 61195ms
[00:23:07]                 │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:23:07]                 │      Wait timed out after 61195ms
[00:23:07]                 │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:23:07]                 │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:23:07]                 │ debg navigate to: http://localhost:61131/app/dashboards#/list
[00:23:07]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600799700864#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:23:07]                 │ debg ... sleep(700) start
[00:23:08]                 │ debg ... sleep(700) end
[00:23:08]                 │ debg returned from get, calling refresh
[00:23:08]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600799700864#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:23:08]                 │ debg currentUrl = http://localhost:61131/app/dashboards#/list
[00:23:08]                 │          appUrl = http://localhost:61131/app/dashboards#/list
[00:23:08]                 │ debg TestSubjects.find(kibanaChrome)
[00:23:08]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:24:09]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:24:09]                 │      Wait timed out after 61203ms
[00:24:10]                 │ debg navigate to: http://localhost:61131/app/dashboards#/list
[00:24:10]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600799763419#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:24:10]                 │ debg ... sleep(700) start
[00:24:11]                 │ debg ... sleep(700) end
[00:24:11]                 │ debg returned from get, calling refresh
[00:24:11]                 │ERROR browser[SEVERE] http://localhost:61131/app/dashboards?_t=1600799763419#/list - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:24:11]                 │ debg currentUrl = http://localhost:61131/app/dashboards#/list
[00:24:11]                 │          appUrl = http://localhost:61131/app/dashboards#/list
[00:24:11]                 │ debg TestSubjects.find(kibanaChrome)
[00:24:11]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:25:12]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:25:12]                 │      Wait timed out after 61231ms
[00:25:12]                 │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:25:12]                 │      Wait timed out after 61231ms
[00:25:12]                 │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:25:12]                 │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:25:13]                 │ info Taking screenshot "/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/screenshots/failure/lens app  lens reporting should not cause PDF reports to fail.png"
[00:25:13]                 │ info Current URL is: http://localhost:61131/app/dashboards#/list
[00:25:13]                 │ info Saving page source to: /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/failure_debug/html/lens app  lens reporting should not cause PDF reports to fail.html
[00:25:13]                 └- ✖ fail: lens app  lens reporting should not cause PDF reports to fail
[00:25:13]                 │      Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:25:13]                 │ Wait timed out after 61231ms
[00:25:13]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:25:13]                 │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:25:13]                 │     at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:25:13]                 │     at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:25:13]                 │       at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:25:13]                 │       at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:25:13]                 │ 
[00:25:13]                 │ 

Stack Trace

Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
Wait timed out after 61231ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@rashmivkulkarni
Copy link
Contributor Author

not required for this branch, hence closing

@rashmivkulkarni rashmivkulkarni deleted the backport/7.9/pr-76713 branch September 24, 2020 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants