Skip to content

Conversation

@liza-mae
Copy link
Contributor

@liza-mae liza-mae commented Apr 6, 2020

Backports the following commits to 7.x:

@liza-mae liza-mae added the backport This PR is a backport of another PR label Apr 6, 2020
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/security/management·js.security app Management Security navigation Clicking save in create role section brings user back to listing

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: security app
[00:00:00]           └-> "before all" hook
[00:04:57]           └-: Management
[00:04:57]             └-> "before all" hook
[00:04:57]             └-> "before all" hook
[00:04:57]               │ debg SecurityPage:initTests
[00:04:57]               │ info [empty_kibana] Loading "mappings.json"
[00:04:57]               │ info [empty_kibana] Loading "data.json.gz"
[00:04:57]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana_2/iom1AzMjQ7ulK0-9OL20JA] deleting index
[00:04:57]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana_1/BM04wRxQTQCfr5sEPfBTmQ] deleting index
[00:04:57]               │ info [empty_kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] applying create index request using v1 templates []
[00:04:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:58]               │ info [empty_kibana] Created index ".kibana"
[00:04:58]               │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:58]               │ info [empty_kibana] Indexed 2 docs into ".kibana"
[00:04:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana/8eFcwo0kSPqB5yaZa4-O4g] update_mapping [_doc]
[00:04:58]               │ debg Migrating saved objects
[00:04:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana/8eFcwo0kSPqB5yaZa4-O4g] update_mapping [_doc]
[00:04:59]               │ proc [kibana]   log   [23:36:16.455] [info][savedobjects-service] Creating index .kibana_2.
[00:04:59]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] applying create index request using v1 templates []
[00:04:59]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:59]               │ proc [kibana]   log   [23:36:16.560] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:59]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] applying create index request using v1 templates []
[00:04:59]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:59]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] 5366 finished with response BulkByScrollResponse[took=41.5ms,timed_out=false,sliceId=null,updated=0,created=3,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:59]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana/8eFcwo0kSPqB5yaZa4-O4g] deleting index
[00:04:59]               │ proc [kibana]   log   [23:36:16.951] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana_2/tOta2RCNTp6D0mV-YmAFPg] update_mapping [_doc]
[00:04:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana_2/tOta2RCNTp6D0mV-YmAFPg] update_mapping [_doc]
[00:04:59]               │ proc [kibana]   log   [23:36:17.113] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:59]               │ proc [kibana]   log   [23:36:17.191] [info][savedobjects-service] Finished in 738ms.
[00:04:59]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:04:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana_2/tOta2RCNTp6D0mV-YmAFPg] update_mapping [_doc]
[00:05:00]               │ info [logstash_functional] Loading "mappings.json"
[00:05:00]               │ info [logstash_functional] Loading "data.json.gz"
[00:05:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] applying create index request using v1 templates []
[00:05:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:05:00]               │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:05:00]               │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:05:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] applying create index request using v1 templates []
[00:05:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:05:00]               │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:05:00]               │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:05:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] applying create index request using v1 templates []
[00:05:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:05:00]               │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:05:00]               │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:05:10]               │ info progress: 11061
[00:05:12]               │ info [logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:05:12]               │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:05:12]               │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:05:13]               │ debg applying update to kibana config: {"defaultIndex":"logstash-*"}
[00:05:13]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] [.kibana_2/tOta2RCNTp6D0mV-YmAFPg] update_mapping [_doc]
[00:05:14]               │ debg navigating to settings url: http://localhost:6141/app/kibana#/management
[00:05:14]               │ debg Navigate to: http://localhost:6141/app/kibana#/management
[00:05:14]               │ debg ... sleep(700) start
[00:05:14]               │ debg browser[INFO] http://localhost:6141/login?next=%2Fapp%2Fkibana%3F_t%3D1586216191620#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:14]               │
[00:05:14]               │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:15]               │ debg ... sleep(700) end
[00:05:15]               │ debg returned from get, calling refresh
[00:05:16]               │ debg browser[INFO] http://localhost:6141/login?next=%2Fapp%2Fkibana%3F_t%3D1586216191620#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:16]               │
[00:05:16]               │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:16]               │ debg currentUrl = http://localhost:6141/login?next=%2Fapp%2Fkibana%3F_t%3D1586216191620#/management
[00:05:16]               │          appUrl = http://localhost:6141/app/kibana#/management
[00:05:16]               │ debg TestSubjects.find(kibanaChrome)
[00:05:16]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:20]               │ debg Found login page
[00:05:20]               │ debg TestSubjects.setValue(loginUsername, test_user)
[00:05:20]               │ debg TestSubjects.click(loginUsername)
[00:05:20]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:05:20]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:05:20]               │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-06T23:36:37Z
[00:05:20]               │        Adding connection to http://localhost:6141/elasticsearch
[00:05:20]               │
[00:05:20]               │      "
[00:05:21]               │ debg TestSubjects.setValue(loginPassword, changeme)
[00:05:21]               │ debg TestSubjects.click(loginPassword)
[00:05:21]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:05:21]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:05:21]               │ debg TestSubjects.click(loginSubmit)
[00:05:21]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:05:21]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:05:21]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:05:27]               │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586216191620#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:27]               │
[00:05:27]               │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:27]               │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-06T23:36:43Z
[00:05:27]               │        Adding connection to http://localhost:6141/elasticsearch
[00:05:27]               │
[00:05:27]               │      "
[00:05:27]               │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586216204599#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:27]               │
[00:05:27]               │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:27]               │ debg Finished login process currentUrl = http://localhost:6141/app/kibana#/management
[00:05:27]               │ debg TestSubjects.find(kibanaChrome)
[00:05:27]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:05:32]               │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-06T23:36:48Z
[00:05:32]               │        Adding connection to http://localhost:6141/elasticsearch
[00:05:32]               │
[00:05:32]               │      "
[00:05:32]               │ debg ... sleep(501) start
[00:05:33]               │ debg ... sleep(501) end
[00:05:33]               │ debg in navigateTo url = http://localhost:6141/app/kibana#/management?_g=()
[00:05:33]               │ debg TestSubjects.exists(statusPageContainer)
[00:05:33]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:35]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:36]               │ debg TestSubjects.click(roles)
[00:05:36]               │ debg Find.clickByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:05:36]               │ debg Find.findByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:05:36]               │ debg TestSubjects.click(createRoleButton)
[00:05:36]               │ debg Find.clickByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:05:36]               │ debg Find.findByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:05:37]               │ debg TestSubjects.setValue(roleFormNameInput, logstash-readonly)
[00:05:37]               │ debg TestSubjects.click(roleFormNameInput)
[00:05:37]               │ debg Find.clickByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:05:37]               │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:05:38]               │ debg Adding index logstash-* to role
[00:05:38]               │ debg Find.findByCssSelector('[data-test-subj="indicesInput0"] input') with timeout=10000
[00:05:38]               │ debg Adding privilege read to role
[00:05:38]               │ debg Find.findByCssSelector('[data-test-subj="privilegesInput0"] input') with timeout=10000
[00:05:39]               │ debg Find.byButtonText('read') with timeout=10000
[00:05:39]               │ debg TestSubjects.find(roleFormSaveButton)
[00:05:39]               │ debg Find.findByCssSelector('[data-test-subj="roleFormSaveButton"]') with timeout=10000
[00:05:40]               │ debg isGlobalLoadingIndicatorVisible
[00:05:40]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:40]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:40]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:40]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:40]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] added role [logstash-readonly]
[00:05:40]               │ debg navigating to settings url: http://localhost:6141/app/kibana#/management
[00:05:40]               │ debg Navigate to: http://localhost:6141/app/kibana#/management
[00:05:40]               │ debg ... sleep(700) start
[00:05:40]               │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586216217778#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:40]               │
[00:05:40]               │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:41]               │ debg ... sleep(700) end
[00:05:41]               │ debg returned from get, calling refresh
[00:05:43]               │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586216217778#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:43]               │
[00:05:43]               │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:43]               │ debg currentUrl = http://localhost:6141/app/kibana#/management
[00:05:43]               │          appUrl = http://localhost:6141/app/kibana#/management
[00:05:43]               │ debg TestSubjects.find(kibanaChrome)
[00:05:43]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:48]               │ debg TestSubjects.find(kibanaChrome)
[00:05:48]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:05:48]               │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-06T23:37:04Z
[00:05:48]               │        Adding connection to http://localhost:6141/elasticsearch
[00:05:48]               │
[00:05:48]               │      "
[00:05:48]               │ debg ... sleep(501) start
[00:05:49]               │ debg ... sleep(501) end
[00:05:49]               │ debg in navigateTo url = http://localhost:6141/app/kibana#/management?_g=()
[00:05:49]               │ debg TestSubjects.exists(statusPageContainer)
[00:05:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:51]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:52]             └-: Security
[00:05:52]               └-> "before all" hook
[00:05:52]               └-: navigation
[00:05:52]                 └-> "before all" hook
[00:05:52]                 └-> Can navigate to create user section
[00:05:52]                   └-> "before each" hook: global before each
[00:05:52]                   │ debg navigating to settings url: http://localhost:6141/app/kibana#/management
[00:05:52]                   │ debg Navigate to: http://localhost:6141/app/kibana#/management
[00:05:52]                   │ debg ... sleep(700) start
[00:05:52]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586216229526#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:52]                   │
[00:05:52]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:53]                   │ debg ... sleep(700) end
[00:05:53]                   │ debg returned from get, calling refresh
[00:05:54]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586216229526#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:54]                   │
[00:05:54]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:54]                   │ debg currentUrl = http://localhost:6141/app/kibana#/management
[00:05:54]                   │          appUrl = http://localhost:6141/app/kibana#/management
[00:05:54]                   │ debg TestSubjects.find(kibanaChrome)
[00:05:54]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:00]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:00]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:06:00]                   │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-06T23:37:15Z
[00:06:00]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:06:00]                   │
[00:06:00]                   │      "
[00:06:00]                   │ debg ... sleep(501) start
[00:06:00]                   │ debg ... sleep(501) end
[00:06:00]                   │ debg in navigateTo url = http://localhost:6141/app/kibana#/management?_g=()
[00:06:00]                   │ debg TestSubjects.exists(statusPageContainer)
[00:06:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:03]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:03]                   │ debg TestSubjects.click(users)
[00:06:03]                   │ debg Find.clickByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:06:03]                   │ debg Find.findByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:06:04]                   │ debg TestSubjects.click(createUserButton)
[00:06:04]                   │ debg Find.clickByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:06:04]                   │ debg Find.findByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:06:04]                   └- ✓ pass  (12.4s) "security app Management Security navigation Can navigate to create user section"
[00:06:04]                 └-> Clicking cancel in create user section brings user back to listing
[00:06:04]                   └-> "before each" hook: global before each
[00:06:04]                   │ debg TestSubjects.click(userFormCancelButton)
[00:06:04]                   │ debg Find.clickByCssSelector('[data-test-subj="userFormCancelButton"]') with timeout=10000
[00:06:04]                   │ debg Find.findByCssSelector('[data-test-subj="userFormCancelButton"]') with timeout=10000
[00:06:04]                   └- ✓ pass  (396ms) "security app Management Security navigation Clicking cancel in create user section brings user back to listing"
[00:06:04]                 └-> Clicking save in create user section brings user back to listing
[00:06:04]                   └-> "before each" hook: global before each
[00:06:04]                   │ debg TestSubjects.click(createUserButton)
[00:06:04]                   │ debg Find.clickByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:06:04]                   │ debg Find.findByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:06:05]                   │ debg TestSubjects.setValue(userFormUserNameInput, new-user)
[00:06:05]                   │ debg TestSubjects.click(userFormUserNameInput)
[00:06:05]                   │ debg Find.clickByCssSelector('[data-test-subj="userFormUserNameInput"]') with timeout=10000
[00:06:05]                   │ debg Find.findByCssSelector('[data-test-subj="userFormUserNameInput"]') with timeout=10000
[00:06:05]                   │ debg TestSubjects.setValue(passwordInput, 123456)
[00:06:05]                   │ debg TestSubjects.click(passwordInput)
[00:06:05]                   │ debg Find.clickByCssSelector('[data-test-subj="passwordInput"]') with timeout=10000
[00:06:05]                   │ debg Find.findByCssSelector('[data-test-subj="passwordInput"]') with timeout=10000
[00:06:05]                   │ debg TestSubjects.setValue(passwordConfirmationInput, 123456)
[00:06:05]                   │ debg TestSubjects.click(passwordConfirmationInput)
[00:06:05]                   │ debg Find.clickByCssSelector('[data-test-subj="passwordConfirmationInput"]') with timeout=10000
[00:06:05]                   │ debg Find.findByCssSelector('[data-test-subj="passwordConfirmationInput"]') with timeout=10000
[00:06:06]                   │ debg TestSubjects.setValue(userFormFullNameInput, Full User Name)
[00:06:06]                   │ debg TestSubjects.click(userFormFullNameInput)
[00:06:06]                   │ debg Find.clickByCssSelector('[data-test-subj="userFormFullNameInput"]') with timeout=10000
[00:06:06]                   │ debg Find.findByCssSelector('[data-test-subj="userFormFullNameInput"]') with timeout=10000
[00:06:06]                   │ debg TestSubjects.setValue(userFormEmailInput, [email protected])
[00:06:06]                   │ debg TestSubjects.click(userFormEmailInput)
[00:06:06]                   │ debg Find.clickByCssSelector('[data-test-subj="userFormEmailInput"]') with timeout=10000
[00:06:06]                   │ debg Find.findByCssSelector('[data-test-subj="userFormEmailInput"]') with timeout=10000
[00:06:06]                   │ debg TestSubjects.click(userFormSaveButton)
[00:06:06]                   │ debg Find.clickByCssSelector('[data-test-subj="userFormSaveButton"]') with timeout=10000
[00:06:06]                   │ debg Find.findByCssSelector('[data-test-subj="userFormSaveButton"]') with timeout=10000
[00:06:07]                   │ debg isGlobalLoadingIndicatorVisible
[00:06:07]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:07]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:07]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:07]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1586213522363961936] added user [new-user]
[00:06:07]                   └- ✓ pass  (2.8s) "security app Management Security navigation Clicking save in create user section brings user back to listing"
[00:06:07]                 └-> Can navigate to edit user section
[00:06:07]                   └-> "before each" hook: global before each
[00:06:07]                   │ debg Find.clickByDisplayedLinkText('new-user') with timeout=10000
[00:06:07]                   │ debg Find.displayedByLinkText('new-user') with timeout=10000
[00:06:07]                   │ debg Find.byLinkText('new-user') with timeout=10000
[00:06:07]                   │ debg Wait for element become visible: new-user with timeout=10000
[00:06:08]                   │ debg ... sleep(500) start
[00:06:08]                   │ debg ... sleep(500) end
[00:06:08]                   │ debg TestSubjects.getAttribute(userFormUserNameInput, value)
[00:06:08]                   │ debg TestSubjects.find(userFormUserNameInput)
[00:06:08]                   │ debg Find.findByCssSelector('[data-test-subj="userFormUserNameInput"]') with timeout=10000
[00:06:08]                   └- ✓ pass  (1.2s) "security app Management Security navigation Can navigate to edit user section"
[00:06:08]                 └-> Can navigate to roles section
[00:06:08]                   └-> "before each" hook: global before each
[00:06:08]                   │ debg navigating to settings url: http://localhost:6141/app/kibana#/management
[00:06:08]                   │ debg Navigate to: http://localhost:6141/app/kibana#/management
[00:06:09]                   │ debg ... sleep(700) start
[00:06:09]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586216246323#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:09]                   │
[00:06:09]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:10]                   │ debg ... sleep(700) end
[00:06:10]                   │ debg returned from get, calling refresh
[00:06:12]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586216246323#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:12]                   │
[00:06:12]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:12]                   │ debg currentUrl = http://localhost:6141/app/kibana#/management
[00:06:12]                   │          appUrl = http://localhost:6141/app/kibana#/management
[00:06:12]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:12]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:21]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:21]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:06:21]                   │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-06T23:37:36Z
[00:06:21]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:06:21]                   │
[00:06:21]                   │      "
[00:06:21]                   │ debg ... sleep(501) start
[00:06:21]                   │ debg ... sleep(501) end
[00:06:21]                   │ debg in navigateTo url = http://localhost:6141/app/kibana#/management?_g=()
[00:06:21]                   │ debg TestSubjects.exists(statusPageContainer)
[00:06:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:24]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:24]                   │ debg TestSubjects.click(roles)
[00:06:24]                   │ debg Find.clickByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:06:24]                   │ debg Find.findByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:06:25]                   └- ✓ pass  (16.4s) "security app Management Security navigation Can navigate to roles section"
[00:06:25]                 └-> Can navigate to create role section
[00:06:25]                   └-> "before each" hook: global before each
[00:06:25]                   │ debg TestSubjects.click(createRoleButton)
[00:06:25]                   │ debg Find.clickByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:25]                   │ debg Find.findByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:26]                   └- ✓ pass  (657ms) "security app Management Security navigation Can navigate to create role section"
[00:06:26]                 └-> Clicking cancel in create role section brings user back to listing
[00:06:26]                   └-> "before each" hook: global before each
[00:06:26]                   │ debg TestSubjects.click(roleFormCancelButton)
[00:06:26]                   │ debg Find.clickByCssSelector('[data-test-subj="roleFormCancelButton"]') with timeout=10000
[00:06:26]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormCancelButton"]') with timeout=10000
[00:06:26]                   └- ✓ pass  (905ms) "security app Management Security navigation Clicking cancel in create role section brings user back to listing"
[00:06:26]                 └-> Clicking save in create role section brings user back to listing
[00:06:26]                   └-> "before each" hook: global before each
[00:06:26]                   │ debg TestSubjects.click(createRoleButton)
[00:06:26]                   │ debg Find.clickByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:26]                   │ debg Find.findByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:27]                   │ debg TestSubjects.setValue(roleFormNameInput, a-my-new-role)
[00:06:27]                   │ debg TestSubjects.click(roleFormNameInput)
[00:06:27]                   │ debg Find.clickByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:06:27]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:06:37]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:06:37]                   │      Wait timed out after 10045ms
[00:06:37]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:06:47]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:06:47]                   │      Wait timed out after 10015ms
[00:06:48]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:06:58]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:06:58]                   │      Wait timed out after 10063ms
[00:06:58]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:07:08]                   │ debg --- retry.try failed again with the same message...
[00:07:09]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:07:19]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:07:19]                   │      Wait timed out after 10014ms
[00:07:19]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:07:29]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:07:29]                   │      Wait timed out after 10006ms
[00:07:30]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:07:40]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:07:40]                   │      Wait timed out after 10054ms
[00:07:40]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:07:51]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:07:51]                   │      Wait timed out after 10049ms
[00:07:51]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:08:01]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:01]                   │      Wait timed out after 10046ms
[00:08:02]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:08:12]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:12]                   │      Wait timed out after 10005ms
[00:08:12]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:08:22]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:22]                   │      Wait timed out after 10031ms
[00:08:23]                   │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:08:33]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:33]                   │      Wait timed out after 10023ms
[00:08:33]                   │ debg --- retry.try error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
[00:08:33]                   │      Wait timed out after 10023ms
[00:08:33]                   │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
[00:08:33]                   │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:08:34]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/security app Management Security navigation Clicking save in create role section brings user back to listing.png"
[00:08:34]                   │ info Current URL is: http://localhost:6141/app/kibana#/management/security/roles
[00:08:34]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/security app Management Security navigation Clicking save in create role section brings user back to listing.html
[00:08:34]                   └- ✖ fail: "security app Management Security navigation Clicking save in create role section brings user back to listing"
[00:08:34]                   │

Stack Trace

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

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

@liza-mae liza-mae self-assigned this Apr 7, 2020
@liza-mae liza-mae merged commit 635b0ad into elastic:7.x Apr 7, 2020
@liza-mae liza-mae deleted the backport/7.x/pr-62660 branch April 7, 2020 00:53
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.

2 participants