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

[7.x] [EPM] restrict package install endpoint from installing/updating to old packages (#64932) #64971

Merged
merged 1 commit into from
May 1, 2020

Conversation

neptunian
Copy link
Contributor

Backports the following commits to 7.x:

…ld packages (elastic#64932)

* restrict installing or updating to out-of-date package

* throw bad requests in remove handler

* remove accidental commit

* remove space
@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/field_level_security·js.security app field_level_security should add new user customer2

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: security app
[00:00:00]           └-> "before all" hook
[00:06:25]           └-: field_level_security
[00:06:25]             └-> "before all" hook
[00:06:25]             └-> "before all" hook: initialize tests
[00:06:25]               │ info [security/flstest/data] Loading "mappings.json"
[00:06:25]               │ info [security/flstest/data] Loading "data.json.gz"
[00:06:25]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] applying create index request using v1 templates []
[00:06:25]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] [flstest] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:06:25]               │ info [security/flstest/data] Created index "flstest"
[00:06:25]               │ debg [security/flstest/data] "flstest" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:06:25]               │ info [security/flstest/data] Indexed 2 docs into "flstest"
[00:06:25]               │ info [security/flstest/kibana] Loading "mappings.json"
[00:06:25]               │ info [security/flstest/kibana] Loading "data.json"
[00:06:26]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] [.kibana_2/6Xhs4jYrTYCT2r_WUzBxrQ] deleting index
[00:06:26]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] [.kibana_1/cFCA6ki1SU6vPV0kgxiuLQ] deleting index
[00:06:26]               │ info [security/flstest/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:06:26]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] applying create index request using v1 templates []
[00:06:26]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:06:26]               │ info [security/flstest/kibana] Created index ".kibana"
[00:06:26]               │ debg [security/flstest/kibana] ".kibana" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:06:26]               │ info [security/flstest/kibana] Indexed 1 docs into ".kibana"
[00:06:26]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] [.kibana/p1fVRK8zTO6G_c68y-_2hA] update_mapping [_doc]
[00:06:26]               │ debg Migrating saved objects
[00:06:27]               │ proc [kibana]   log   [22:41:27.250] [info][savedobjects-service] Creating index .kibana_2.
[00:06:27]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] applying create index request using v1 templates []
[00:06:27]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:06:27]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] updating number_of_replicas to [0] for indices [.kibana_2]
[00:06:27]               │ proc [kibana]   log   [22:41:27.328] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:06:27]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] applying create index request using v1 templates []
[00:06:27]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:06:27]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] updating number_of_replicas to [0] for indices [.kibana_1]
[00:06:27]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] 9726 finished with response BulkByScrollResponse[took=22.9ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:27]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] [.kibana/p1fVRK8zTO6G_c68y-_2hA] deleting index
[00:06:27]               │ proc [kibana]   log   [22:41:27.705] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:06:27]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] [.kibana_2/-TrOPpAkQVCKpnEUkcvuXQ] update_mapping [_doc]
[00:06:27]               │ proc [kibana]   log   [22:41:27.789] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:06:27]               │ proc [kibana]   log   [22:41:27.838] [info][savedobjects-service] Finished in 589ms.
[00:06:27]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:06:27]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] [.kibana_2/-TrOPpAkQVCKpnEUkcvuXQ] update_mapping [_doc]
[00:06:28]             └-> should add new role a_viewssnrole
[00:06:28]               └-> "before each" hook: global before each
[00:06:28]               │ debg navigating to settings url: http://localhost:6151/app/kibana#/management
[00:06:28]               │ debg navigate to: http://localhost:6151/app/kibana#/management
[00:06:28]               │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1588286488429#/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:28]               │
[00:06:28]               │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:28]               │ debg ... sleep(700) start
[00:06:29]               │ debg ... sleep(700) end
[00:06:29]               │ debg returned from get, calling refresh
[00:06:29]               │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1588286488429#/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:29]               │
[00:06:29]               │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:29]               │ debg currentUrl = http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1588286488429#/management
[00:06:29]               │          appUrl = http://localhost:6151/app/kibana#/management
[00:06:29]               │ debg TestSubjects.find(kibanaChrome)
[00:06:29]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:31]               │ debg Found login page
[00:06:31]               │ debg TestSubjects.setValue(loginUsername, test_user)
[00:06:31]               │ debg TestSubjects.click(loginUsername)
[00:06:31]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:31]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:31]               │ debg browser[INFO] http://localhost:6151/31380/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-30T22:41:31Z
[00:06:31]               │        Adding connection to http://localhost:6151/elasticsearch
[00:06:31]               │
[00:06:31]               │      "
[00:06:31]               │ debg TestSubjects.setValue(loginPassword, changeme)
[00:06:31]               │ debg TestSubjects.click(loginPassword)
[00:06:31]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:31]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:32]               │ debg TestSubjects.click(loginSubmit)
[00:06:32]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:32]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:32]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:06:36]               │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588286488429#/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:36]               │
[00:06:36]               │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:36]               │ debg browser[INFO] http://localhost:6151/31380/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-30T22:41:34Z
[00:06:36]               │        Adding connection to http://localhost:6151/elasticsearch
[00:06:36]               │
[00:06:36]               │      "
[00:06:36]               │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588286496399#/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:36]               │
[00:06:36]               │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:36]               │ debg Finished login process currentUrl = http://localhost:6151/app/kibana#/management
[00:06:36]               │ debg TestSubjects.find(kibanaChrome)
[00:06:36]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:06:39]               │ debg browser[INFO] http://localhost:6151/31380/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-30T22:41:39Z
[00:06:39]               │        Adding connection to http://localhost:6151/elasticsearch
[00:06:39]               │
[00:06:39]               │      "
[00:06:39]               │ debg ... sleep(501) start
[00:06:40]               │ debg ... sleep(501) end
[00:06:40]               │ debg in navigateTo url = http://localhost:6151/app/kibana#/management?_g=()
[00:06:40]               │ debg TestSubjects.exists(statusPageContainer)
[00:06:40]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:42]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:43]               │ debg navigating to settings url: http://localhost:6151/app/kibana#/management
[00:06:43]               │ debg navigate to: http://localhost:6151/app/kibana#/management
[00:06:43]               │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588286503508#/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:43]               │
[00:06:43]               │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:43]               │ debg ... sleep(700) start
[00:06:44]               │ debg ... sleep(700) end
[00:06:44]               │ debg returned from get, calling refresh
[00:06:45]               │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588286503508#/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:45]               │
[00:06:45]               │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:45]               │ debg currentUrl = http://localhost:6151/app/kibana#/management
[00:06:45]               │          appUrl = http://localhost:6151/app/kibana#/management
[00:06:45]               │ debg TestSubjects.find(kibanaChrome)
[00:06:45]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:47]               │ debg TestSubjects.find(kibanaChrome)
[00:06:47]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:06:47]               │ debg browser[INFO] http://localhost:6151/31380/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-30T22:41:46Z
[00:06:47]               │        Adding connection to http://localhost:6151/elasticsearch
[00:06:47]               │
[00:06:47]               │      "
[00:06:47]               │ debg ... sleep(501) start
[00:06:48]               │ debg ... sleep(501) end
[00:06:48]               │ debg in navigateTo url = http://localhost:6151/app/kibana#/management?_g=()
[00:06:48]               │ debg TestSubjects.exists(statusPageContainer)
[00:06:48]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:50]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:51]               │ debg TestSubjects.click(roles)
[00:06:51]               │ debg Find.clickByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:06:51]               │ debg Find.findByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:06:51]               │ debg TestSubjects.click(createRoleButton)
[00:06:51]               │ debg Find.clickByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:51]               │ debg Find.findByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:06:51]               │ debg userObj.indices[0].names = flstest
[00:06:51]               │ debg TestSubjects.append(roleFormNameInput, a_viewssnrole)
[00:06:51]               │ debg TestSubjects.find(roleFormNameInput)
[00:06:51]               │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:06:52]               │ debg Find.setValue('[data-test-subj="indicesInput0"] input', 'flstest
[00:06:52]               │      ')
[00:06:52]               │ debg Find.findByCssSelector('[data-test-subj="indicesInput0"] input') with timeout=10000
[00:06:52]               │ debg TestSubjects.click(restrictDocumentsQuery0)
[00:06:52]               │ debg Find.clickByCssSelector('[data-test-subj="restrictDocumentsQuery0"]') with timeout=10000
[00:06:52]               │ debg Find.findByCssSelector('[data-test-subj="restrictDocumentsQuery0"]') with timeout=10000
[00:06:52]               │ debg TestSubjects.find(addSpacePrivilegeButton)
[00:06:52]               │ debg Find.findByCssSelector('[data-test-subj="addSpacePrivilegeButton"]') with timeout=10000
[00:06:53]               │ debg TestSubjects.find(spaceSelectorComboBox)
[00:06:53]               │ debg Find.findByCssSelector('[data-test-subj="spaceSelectorComboBox"]') with timeout=10000
[00:06:53]               │ debg Find.findByCssSelector('#spaceOption_\*') with timeout=10000
[00:06:53]               │ debg TestSubjects.find(basePrivilegeComboBox)
[00:06:53]               │ debg Find.findByCssSelector('[data-test-subj="basePrivilegeComboBox"]') with timeout=10000
[00:06:53]               │ debg Find.findByCssSelector('#basePrivilege_all') with timeout=10000
[00:06:54]               │ debg TestSubjects.find(createSpacePrivilegeButton)
[00:06:54]               │ debg Find.findByCssSelector('[data-test-subj="createSpacePrivilegeButton"]') with timeout=10000
[00:06:54]               │ debg Adding privilege read to role
[00:06:54]               │ debg Find.findByCssSelector('[data-test-subj="privilegesInput0"] input') with timeout=10000
[00:06:54]               │ debg Find.byButtonText('read') with timeout=10000
[00:06:55]               │ debg ... sleep(250) start
[00:06:55]               │ debg ... sleep(250) end
[00:06:55]               │ debg Adding privilege view_index_metadata to role
[00:06:55]               │ debg Find.findByCssSelector('[data-test-subj="privilegesInput0"] input') with timeout=10000
[00:06:55]               │ debg Find.byButtonText('view_index_metadata') with timeout=10000
[00:06:56]               │ debg ... sleep(250) start
[00:06:56]               │ debg ... sleep(250) end
[00:06:56]               │ debg TestSubjects.click(restrictFieldsQuery0)
[00:06:56]               │ debg Find.clickByCssSelector('[data-test-subj="restrictFieldsQuery0"]') with timeout=10000
[00:06:56]               │ debg Find.findByCssSelector('[data-test-subj="restrictFieldsQuery0"]') with timeout=10000
[00:06:56]               │ debg Find.clickByCssSelector('div[data-test-subj="fieldInput0"] [title="Remove * from selection in this group"] svg.euiIcon') with timeout=10000
[00:06:56]               │ debg Find.findByCssSelector('div[data-test-subj="fieldInput0"] [title="Remove * from selection in this group"] svg.euiIcon') with timeout=10000
[00:06:57]               │ debg Find.setValue('[data-test-subj="fieldInput0"] input', 'customer_ssn
[00:06:57]               │      ')
[00:06:57]               │ debg Find.findByCssSelector('[data-test-subj="fieldInput0"] input') with timeout=10000
[00:06:57]               │ debg ... sleep(1000) start
[00:06:58]               │ debg ... sleep(1000) end
[00:06:58]               │ debg Find.setValue('[data-test-subj="fieldInput0"] input', 'customer_name
[00:06:58]               │      ')
[00:06:58]               │ debg Find.findByCssSelector('[data-test-subj="fieldInput0"] input') with timeout=10000
[00:06:58]               │ debg ... sleep(1000) start
[00:06:59]               │ debg ... sleep(1000) end
[00:06:59]               │ debg Find.setValue('[data-test-subj="fieldInput0"] input', 'customer_region
[00:06:59]               │      ')
[00:06:59]               │ debg Find.findByCssSelector('[data-test-subj="fieldInput0"] input') with timeout=10000
[00:07:00]               │ debg ... sleep(1000) start
[00:07:01]               │ debg ... sleep(1000) end
[00:07:01]               │ debg Find.setValue('[data-test-subj="fieldInput0"] input', 'customer_type
[00:07:01]               │      ')
[00:07:01]               │ debg Find.findByCssSelector('[data-test-subj="fieldInput0"] input') with timeout=10000
[00:07:01]               │ debg ... sleep(1000) start
[00:07:02]               │ debg ... sleep(1000) end
[00:07:02]               │ debg click save button
[00:07:02]               │ debg TestSubjects.click(roleFormSaveButton)
[00:07:02]               │ debg Find.clickByCssSelector('[data-test-subj="roleFormSaveButton"]') with timeout=10000
[00:07:02]               │ debg Find.findByCssSelector('[data-test-subj="roleFormSaveButton"]') with timeout=10000
[00:07:02]               │ debg ... sleep(5000) start
[00:07:03]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] added role [a_viewssnrole]
[00:07:07]               │ debg ... sleep(5000) end
[00:07:07]               │ debg ... sleep(1000) start
[00:07:08]               │ debg ... sleep(1000) end
[00:07:08]               │ debg TestSubjects.findAll(roleRow)
[00:07:08]               │ debg Find.allByCssSelector('[data-test-subj="roleRow"]') with timeout=10000
[00:07:10]               │ debg actualRoles = {"a_viewssnrole":{"rolename":"a_viewssnrole","reserved":false,"deprecated":false},"apm_system":{"rolename":"apm_system","reserved":true,"deprecated":false},"apm_user":{"rolename":"apm_user","reserved":true,"deprecated":false},"beats_admin":{"rolename":"beats_admin","reserved":true,"deprecated":false},"beats_system":{"rolename":"beats_system","reserved":true,"deprecated":false},"data_frame_transforms_admin":{"rolename":"data_frame_transforms_admin","reserved":true,"deprecated":false},"data_frame_transforms_user":{"rolename":"data_frame_transforms_user","reserved":true,"deprecated":false},"enrich_user":{"rolename":"enrich_user","reserved":true,"deprecated":false},"global_discover_read":{"rolename":"global_discover_read","reserved":false,"deprecated":false},"ingest_admin":{"rolename":"ingest_admin","reserved":true,"deprecated":false},"kibana_admin":{"rolename":"kibana_admin","reserved":true,"deprecated":false},"kibana_dashboard_only_user":{"rolename":"kibana_dashboard_only_user","reserved":true,"deprecated":true},"kibana_system":{"rolename":"kibana_system","reserved":true,"deprecated":false},"kibana_user":{"rolename":"kibana_user","reserved":true,"deprecated":true},"logstash_admin":{"rolename":"logstash_admin","reserved":true,"deprecated":false},"logstash_reader":{"rolename":"logstash_reader","reserved":false,"deprecated":false},"logstash_system":{"rolename":"logstash_system","reserved":true,"deprecated":false},"machine_learning_admin":{"rolename":"machine_learning_admin","reserved":true,"deprecated":false},"machine_learning_user":{"rolename":"machine_learning_user","reserved":true,"deprecated":false},"monitoring_user":{"rolename":"monitoring_user","reserved":true,"deprecated":false}}
[00:07:10]               └- ✓ pass  (42.3s) "security app field_level_security should add new role a_viewssnrole"
[00:07:10]             └-> should add new role a_view_no_ssn_role
[00:07:10]               └-> "before each" hook: global before each
[00:07:10]               │ debg TestSubjects.click(createRoleButton)
[00:07:10]               │ debg Find.clickByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:07:10]               │ debg Find.findByCssSelector('[data-test-subj="createRoleButton"]') with timeout=10000
[00:07:10]               │ debg userObj.indices[0].names = flstest
[00:07:10]               │ debg TestSubjects.append(roleFormNameInput, a_view_no_ssn_role)
[00:07:10]               │ debg TestSubjects.find(roleFormNameInput)
[00:07:10]               │ debg Find.findByCssSelector('[data-test-subj="roleFormNameInput"]') with timeout=10000
[00:07:11]               │ debg Find.setValue('[data-test-subj="indicesInput0"] input', 'flstest
[00:07:11]               │      ')
[00:07:11]               │ debg Find.findByCssSelector('[data-test-subj="indicesInput0"] input') with timeout=10000
[00:07:11]               │ debg TestSubjects.click(restrictDocumentsQuery0)
[00:07:11]               │ debg Find.clickByCssSelector('[data-test-subj="restrictDocumentsQuery0"]') with timeout=10000
[00:07:11]               │ debg Find.findByCssSelector('[data-test-subj="restrictDocumentsQuery0"]') with timeout=10000
[00:07:11]               │ debg TestSubjects.find(addSpacePrivilegeButton)
[00:07:11]               │ debg Find.findByCssSelector('[data-test-subj="addSpacePrivilegeButton"]') with timeout=10000
[00:07:12]               │ debg TestSubjects.find(spaceSelectorComboBox)
[00:07:12]               │ debg Find.findByCssSelector('[data-test-subj="spaceSelectorComboBox"]') with timeout=10000
[00:07:12]               │ debg Find.findByCssSelector('#spaceOption_\*') with timeout=10000
[00:07:12]               │ debg TestSubjects.find(basePrivilegeComboBox)
[00:07:12]               │ debg Find.findByCssSelector('[data-test-subj="basePrivilegeComboBox"]') with timeout=10000
[00:07:12]               │ debg Find.findByCssSelector('#basePrivilege_all') with timeout=10000
[00:07:13]               │ debg TestSubjects.find(createSpacePrivilegeButton)
[00:07:13]               │ debg Find.findByCssSelector('[data-test-subj="createSpacePrivilegeButton"]') with timeout=10000
[00:07:13]               │ debg Adding privilege read to role
[00:07:13]               │ debg Find.findByCssSelector('[data-test-subj="privilegesInput0"] input') with timeout=10000
[00:07:13]               │ debg Find.byButtonText('read') with timeout=10000
[00:07:14]               │ debg ... sleep(250) start
[00:07:14]               │ debg ... sleep(250) end
[00:07:14]               │ debg Adding privilege view_index_metadata to role
[00:07:14]               │ debg Find.findByCssSelector('[data-test-subj="privilegesInput0"] input') with timeout=10000
[00:07:14]               │ debg Find.byButtonText('view_index_metadata') with timeout=10000
[00:07:15]               │ debg ... sleep(250) start
[00:07:15]               │ debg ... sleep(250) end
[00:07:15]               │ debg TestSubjects.click(restrictFieldsQuery0)
[00:07:15]               │ debg Find.clickByCssSelector('[data-test-subj="restrictFieldsQuery0"]') with timeout=10000
[00:07:15]               │ debg Find.findByCssSelector('[data-test-subj="restrictFieldsQuery0"]') with timeout=10000
[00:07:15]               │ debg Find.clickByCssSelector('div[data-test-subj="fieldInput0"] [title="Remove * from selection in this group"] svg.euiIcon') with timeout=10000
[00:07:15]               │ debg Find.findByCssSelector('div[data-test-subj="fieldInput0"] [title="Remove * from selection in this group"] svg.euiIcon') with timeout=10000
[00:07:15]               │ debg Find.setValue('[data-test-subj="fieldInput0"] input', 'customer_name
[00:07:15]               │      ')
[00:07:15]               │ debg Find.findByCssSelector('[data-test-subj="fieldInput0"] input') with timeout=10000
[00:07:16]               │ debg ... sleep(1000) start
[00:07:17]               │ debg ... sleep(1000) end
[00:07:17]               │ debg Find.setValue('[data-test-subj="fieldInput0"] input', 'customer_region
[00:07:17]               │      ')
[00:07:17]               │ debg Find.findByCssSelector('[data-test-subj="fieldInput0"] input') with timeout=10000
[00:07:17]               │ debg ... sleep(1000) start
[00:07:18]               │ debg ... sleep(1000) end
[00:07:18]               │ debg Find.setValue('[data-test-subj="fieldInput0"] input', 'customer_type
[00:07:18]               │      ')
[00:07:18]               │ debg Find.findByCssSelector('[data-test-subj="fieldInput0"] input') with timeout=10000
[00:07:18]               │ debg ... sleep(1000) start
[00:07:19]               │ debg ... sleep(1000) end
[00:07:19]               │ debg click save button
[00:07:19]               │ debg TestSubjects.click(roleFormSaveButton)
[00:07:19]               │ debg Find.clickByCssSelector('[data-test-subj="roleFormSaveButton"]') with timeout=10000
[00:07:19]               │ debg Find.findByCssSelector('[data-test-subj="roleFormSaveButton"]') with timeout=10000
[00:07:19]               │ debg ... sleep(5000) start
[00:07:20]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] added role [a_view_no_ssn_role]
[00:07:24]               │ debg ... sleep(5000) end
[00:07:24]               │ debg ... sleep(1000) start
[00:07:25]               │ debg ... sleep(1000) end
[00:07:25]               │ debg TestSubjects.findAll(roleRow)
[00:07:25]               │ debg Find.allByCssSelector('[data-test-subj="roleRow"]') with timeout=10000
[00:07:27]               │ debg actualRoles = {"a_view_no_ssn_role":{"rolename":"a_view_no_ssn_role","reserved":false,"deprecated":false},"a_viewssnrole":{"rolename":"a_viewssnrole","reserved":false,"deprecated":false},"apm_system":{"rolename":"apm_system","reserved":true,"deprecated":false},"apm_user":{"rolename":"apm_user","reserved":true,"deprecated":false},"beats_admin":{"rolename":"beats_admin","reserved":true,"deprecated":false},"beats_system":{"rolename":"beats_system","reserved":true,"deprecated":false},"data_frame_transforms_admin":{"rolename":"data_frame_transforms_admin","reserved":true,"deprecated":false},"data_frame_transforms_user":{"rolename":"data_frame_transforms_user","reserved":true,"deprecated":false},"enrich_user":{"rolename":"enrich_user","reserved":true,"deprecated":false},"global_discover_read":{"rolename":"global_discover_read","reserved":false,"deprecated":false},"ingest_admin":{"rolename":"ingest_admin","reserved":true,"deprecated":false},"kibana_admin":{"rolename":"kibana_admin","reserved":true,"deprecated":false},"kibana_dashboard_only_user":{"rolename":"kibana_dashboard_only_user","reserved":true,"deprecated":true},"kibana_system":{"rolename":"kibana_system","reserved":true,"deprecated":false},"kibana_user":{"rolename":"kibana_user","reserved":true,"deprecated":true},"logstash_admin":{"rolename":"logstash_admin","reserved":true,"deprecated":false},"logstash_reader":{"rolename":"logstash_reader","reserved":false,"deprecated":false},"logstash_system":{"rolename":"logstash_system","reserved":true,"deprecated":false},"machine_learning_admin":{"rolename":"machine_learning_admin","reserved":true,"deprecated":false},"machine_learning_user":{"rolename":"machine_learning_user","reserved":true,"deprecated":false}}
[00:07:27]               └- ✓ pass  (17.0s) "security app field_level_security should add new role a_view_no_ssn_role"
[00:07:27]             └-> should add new user customer1 
[00:07:27]               └-> "before each" hook: global before each
[00:07:27]               │ debg navigating to settings url: http://localhost:6151/app/kibana#/management
[00:07:27]               │ debg navigate to: http://localhost:6151/app/kibana#/management
[00:07:27]               │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588286547740#/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:07:27]               │
[00:07:27]               │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:27]               │ debg ... sleep(700) start
[00:07:28]               │ debg ... sleep(700) end
[00:07:28]               │ debg returned from get, calling refresh
[00:07:29]               │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588286547740#/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:07:29]               │
[00:07:29]               │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:29]               │ debg currentUrl = http://localhost:6151/app/kibana#/management
[00:07:29]               │          appUrl = http://localhost:6151/app/kibana#/management
[00:07:29]               │ debg TestSubjects.find(kibanaChrome)
[00:07:29]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:32]               │ debg TestSubjects.find(kibanaChrome)
[00:07:32]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:07:32]               │ debg browser[INFO] http://localhost:6151/31380/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-30T22:42:31Z
[00:07:32]               │        Adding connection to http://localhost:6151/elasticsearch
[00:07:32]               │
[00:07:32]               │      "
[00:07:32]               │ debg ... sleep(501) start
[00:07:33]               │ debg ... sleep(501) end
[00:07:33]               │ debg in navigateTo url = http://localhost:6151/app/kibana#/management?_g=()
[00:07:33]               │ debg TestSubjects.exists(statusPageContainer)
[00:07:33]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:07:35]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:07:36]               │ debg TestSubjects.click(users)
[00:07:36]               │ debg Find.clickByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:07:36]               │ debg Find.findByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:07:36]               │ debg TestSubjects.click(createUserButton)
[00:07:36]               │ debg Find.clickByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:07:36]               │ debg Find.findByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:07:36]               │ debg username = customer1
[00:07:36]               │ debg TestSubjects.setValue(userFormUserNameInput, customer1)
[00:07:36]               │ debg TestSubjects.click(userFormUserNameInput)
[00:07:36]               │ debg Find.clickByCssSelector('[data-test-subj="userFormUserNameInput"]') with timeout=10000
[00:07:36]               │ debg Find.findByCssSelector('[data-test-subj="userFormUserNameInput"]') with timeout=10000
[00:07:36]               │ debg TestSubjects.setValue(passwordInput, changeme)
[00:07:36]               │ debg TestSubjects.click(passwordInput)
[00:07:36]               │ debg Find.clickByCssSelector('[data-test-subj="passwordInput"]') with timeout=10000
[00:07:36]               │ debg Find.findByCssSelector('[data-test-subj="passwordInput"]') with timeout=10000
[00:07:37]               │ debg TestSubjects.setValue(passwordConfirmationInput, changeme)
[00:07:37]               │ debg TestSubjects.click(passwordConfirmationInput)
[00:07:37]               │ debg Find.clickByCssSelector('[data-test-subj="passwordConfirmationInput"]') with timeout=10000
[00:07:37]               │ debg Find.findByCssSelector('[data-test-subj="passwordConfirmationInput"]') with timeout=10000
[00:07:37]               │ debg TestSubjects.setValue(userFormFullNameInput, customer one)
[00:07:37]               │ debg TestSubjects.click(userFormFullNameInput)
[00:07:37]               │ debg Find.clickByCssSelector('[data-test-subj="userFormFullNameInput"]') with timeout=10000
[00:07:37]               │ debg Find.findByCssSelector('[data-test-subj="userFormFullNameInput"]') with timeout=10000
[00:07:37]               │ debg TestSubjects.setValue(userFormEmailInput, [email protected])
[00:07:37]               │ debg TestSubjects.click(userFormEmailInput)
[00:07:37]               │ debg Find.clickByCssSelector('[data-test-subj="userFormEmailInput"]') with timeout=10000
[00:07:37]               │ debg Find.findByCssSelector('[data-test-subj="userFormEmailInput"]') with timeout=10000
[00:07:37]               │ debg Add roles:  [ 'kibana_admin', 'a_viewssnrole' ]
[00:07:37]               │ debg TestSubjects.find(rolesDropdown)
[00:07:37]               │ debg Find.findByCssSelector('[data-test-subj="rolesDropdown"]') with timeout=10000
[00:07:38]               │ debg TestSubjects.click(roleOption-kibana_admin)
[00:07:38]               │ debg Find.clickByCssSelector('[data-test-subj="roleOption-kibana_admin"]') with timeout=10000
[00:07:38]               │ debg Find.findByCssSelector('[data-test-subj="roleOption-kibana_admin"]') with timeout=10000
[00:07:38]               │ debg TestSubjects.click(comboBoxToggleListButton)
[00:07:38]               │ debg Find.clickByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:07:38]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:07:38]               │ debg TestSubjects.find(roleOption-kibana_admin)
[00:07:38]               │ debg Find.findByCssSelector('[data-test-subj="roleOption-kibana_admin"]') with timeout=10000
[00:07:38]               │ debg TestSubjects.find(rolesDropdown)
[00:07:38]               │ debg Find.findByCssSelector('[data-test-subj="rolesDropdown"]') with timeout=10000
[00:07:38]               │ debg TestSubjects.click(roleOption-a_viewssnrole)
[00:07:38]               │ debg Find.clickByCssSelector('[data-test-subj="roleOption-a_viewssnrole"]') with timeout=10000
[00:07:38]               │ debg Find.findByCssSelector('[data-test-subj="roleOption-a_viewssnrole"]') with timeout=10000
[00:07:38]               │ debg TestSubjects.click(comboBoxToggleListButton)
[00:07:38]               │ debg Find.clickByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:07:38]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:07:39]               │ debg TestSubjects.find(roleOption-a_viewssnrole)
[00:07:39]               │ debg Find.findByCssSelector('[data-test-subj="roleOption-a_viewssnrole"]') with timeout=10000
[00:07:39]               │ debg After Add role: , userObj.roleName
[00:07:39]               │ debg TestSubjects.click(userFormSaveButton)
[00:07:39]               │ debg Find.clickByCssSelector('[data-test-subj="userFormSaveButton"]') with timeout=10000
[00:07:39]               │ debg Find.findByCssSelector('[data-test-subj="userFormSaveButton"]') with timeout=10000
[00:07:39]               │ debg TestSubjects.findAll(userRow)
[00:07:39]               │ debg Find.allByCssSelector('[data-test-subj="userRow"]') with timeout=10000
[00:07:39]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] added user [customer1]
[00:07:41]               │ debg actualUsers = {"OptionalUser":{"username":"OptionalUser","fullname":"","email":"","roles":[""],"reserved":false},"Rashmi":{"username":"Rashmi","fullname":"RashmiFirst RashmiLast","email":"[email protected]","roles":["logstash_reader","kibana_admin"],"reserved":false},"apm_system":{"username":"apm_system","fullname":"","email":"","roles":["apm_system"],"reserved":true},"beats_system":{"username":"beats_system","fullname":"","email":"","roles":["beats_system"],"reserved":true},"customer1":{"username":"customer1","fullname":"customer one","email":"[email protected]","roles":["kibana_admin","a_viewssnrole"],"reserved":false},"elastic":{"username":"elastic","fullname":"","email":"","roles":["superuser"],"reserved":true},"kibana":{"username":"kibana","fullname":"","email":"","roles":["kibana_system"],"reserved":true},"kibana_system":{"username":"kibana_system","fullname":"","email":"","roles":["kibana_system"],"reserved":true},"logstash_system":{"username":"logstash_system","fullname":"","email":"","roles":["logstash_system"],"reserved":true},"remote_monitoring_user":{"username":"remote_monitoring_user","fullname":"","email":"","roles":["remote_monitoring_collector","remote_monitoring_agent"],"reserved":true},"test_user":{"username":"test_user","fullname":"test user","email":"","roles":["superuser"],"reserved":false},"userEast":{"username":"userEast","fullname":"dls EAST","email":"[email protected]","roles":["kibana_admin","myroleEast"],"reserved":false}}
[00:07:41]               └- ✓ pass  (14.2s) "security app field_level_security should add new user customer1 "
[00:07:41]             └-> should add new user customer2 
[00:07:41]               └-> "before each" hook: global before each
[00:07:41]               │ debg navigating to settings url: http://localhost:6151/app/kibana#/management
[00:07:41]               │ debg navigate to: http://localhost:6151/app/kibana#/management
[00:07:42]               │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588286561900#/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:07:42]               │
[00:07:42]               │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:42]               │ debg ... sleep(700) start
[00:07:42]               │ debg ... sleep(700) end
[00:07:42]               │ debg returned from get, calling refresh
[00:07:44]               │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588286561900#/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:07:44]               │
[00:07:44]               │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:44]               │ debg currentUrl = http://localhost:6151/app/kibana#/management
[00:07:44]               │          appUrl = http://localhost:6151/app/kibana#/management
[00:07:44]               │ debg TestSubjects.find(kibanaChrome)
[00:07:44]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:45]               │ debg TestSubjects.find(kibanaChrome)
[00:07:45]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:07:45]               │ debg browser[INFO] http://localhost:6151/31380/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-30T22:42:44Z
[00:07:45]               │        Adding connection to http://localhost:6151/elasticsearch
[00:07:45]               │
[00:07:45]               │      "
[00:07:45]               │ debg ... sleep(501) start
[00:07:46]               │ debg ... sleep(501) end
[00:07:46]               │ debg in navigateTo url = http://localhost:6151/app/kibana#/management?_g=()
[00:07:46]               │ debg TestSubjects.exists(statusPageContainer)
[00:07:46]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:07:48]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:07:49]               │ debg TestSubjects.click(users)
[00:07:49]               │ debg Find.clickByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:07:49]               │ debg Find.findByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:07:49]               │ debg TestSubjects.click(createUserButton)
[00:07:49]               │ debg Find.clickByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:07:49]               │ debg Find.findByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:07:49]               │ debg username = customer2
[00:07:49]               │ debg TestSubjects.setValue(userFormUserNameInput, customer2)
[00:07:49]               │ debg TestSubjects.click(userFormUserNameInput)
[00:07:49]               │ debg Find.clickByCssSelector('[data-test-subj="userFormUserNameInput"]') with timeout=10000
[00:07:49]               │ debg Find.findByCssSelector('[data-test-subj="userFormUserNameInput"]') with timeout=10000
[00:07:50]               │ debg TestSubjects.setValue(passwordInput, changeme)
[00:07:50]               │ debg TestSubjects.click(passwordInput)
[00:07:50]               │ debg Find.clickByCssSelector('[data-test-subj="passwordInput"]') with timeout=10000
[00:07:50]               │ debg Find.findByCssSelector('[data-test-subj="passwordInput"]') with timeout=10000
[00:07:50]               │ debg TestSubjects.setValue(passwordConfirmationInput, changeme)
[00:07:50]               │ debg TestSubjects.click(passwordConfirmationInput)
[00:07:50]               │ debg Find.clickByCssSelector('[data-test-subj="passwordConfirmationInput"]') with timeout=10000
[00:07:50]               │ debg Find.findByCssSelector('[data-test-subj="passwordConfirmationInput"]') with timeout=10000
[00:07:50]               │ debg TestSubjects.setValue(userFormFullNameInput, customer two)
[00:07:50]               │ debg TestSubjects.click(userFormFullNameInput)
[00:07:50]               │ debg Find.clickByCssSelector('[data-test-subj="userFormFullNameInput"]') with timeout=10000
[00:07:50]               │ debg Find.findByCssSelector('[data-test-subj="userFormFullNameInput"]') with timeout=10000
[00:07:50]               │ debg TestSubjects.setValue(userFormEmailInput, [email protected])
[00:07:50]               │ debg TestSubjects.click(userFormEmailInput)
[00:07:50]               │ debg Find.clickByCssSelector('[data-test-subj="userFormEmailInput"]') with timeout=10000
[00:07:50]               │ debg Find.findByCssSelector('[data-test-subj="userFormEmailInput"]') with timeout=10000
[00:07:51]               │ debg Add roles:  [ 'kibana_admin', 'a_view_no_ssn_role' ]
[00:07:51]               │ debg TestSubjects.find(rolesDropdown)
[00:07:51]               │ debg Find.findByCssSelector('[data-test-subj="rolesDropdown"]') with timeout=10000
[00:07:51]               │ debg TestSubjects.click(roleOption-kibana_admin)
[00:07:51]               │ debg Find.clickByCssSelector('[data-test-subj="roleOption-kibana_admin"]') with timeout=10000
[00:07:51]               │ debg Find.findByCssSelector('[data-test-subj="roleOption-kibana_admin"]') with timeout=10000
[00:07:52]               │ debg TestSubjects.click(comboBoxToggleListButton)
[00:07:52]               │ debg Find.clickByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:07:52]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:08:02]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:08:02]               │      Wait timed out after 10060ms
[00:08:02]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:08:12]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:08:12]               │      Wait timed out after 10038ms
[00:08:13]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:08:23]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:08:23]               │      Wait timed out after 10028ms
[00:08:23]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:08:33]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:08:33]               │      Wait timed out after 10044ms
[00:08:34]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:08:44]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:08:44]               │      Wait timed out after 10024ms
[00:08:44]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:08:52]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] to [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:52]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [.kibana-event-log-7.8.0-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] to [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] in policy [kibana-event-log-policy]
[00:08:52]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:52]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [.kibana-event-log-7.8.0-000001] from [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] in policy [kibana-event-log-policy]
[00:08:52]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:52]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [.kibana-event-log-7.8.0-000001] from [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] in policy [kibana-event-log-policy]
[00:08:53]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:53]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [.kibana-event-log-7.8.0-000001] from [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] in policy [kibana-event-log-policy]
[00:08:53]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] in policy [ilm-history-ilm-policy]
[00:08:53]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [.kibana-event-log-7.8.0-000001] from [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] in policy [kibana-event-log-policy]
[00:08:53]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ilm-history-ilm-policy]
[00:08:53]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xl-1588283769927906915] moving index [.kibana-event-log-7.8.0-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [kibana-event-log-policy]
[00:08:54]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:08:54]               │      Wait timed out after 10044ms
[00:08:55]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:09:05]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:09:05]               │      Wait timed out after 10034ms
[00:09:05]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:09:15]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:09:15]               │      Wait timed out after 10036ms
[00:09:16]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:09:26]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:09:26]               │      Wait timed out after 10057ms
[00:09:27]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:09:37]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:09:37]               │      Wait timed out after 10017ms
[00:09:37]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:09:47]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:09:47]               │      Wait timed out after 10060ms
[00:09:48]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:09:58]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
[00:09:58]               │      Wait timed out after 10035ms
[00:09:58]               │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/security app field_level_security should add new user customer2 .png"
[00:09:58]               │ info Current URL is: http://localhost:6151/app/kibana#/management?_g=()
[00:09:59]               │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/security app field_level_security should add new user customer2 .html
[00:09:59]               └- ✖ fail: "security app field_level_security should add new user customer2 "
[00:09:59]               │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="comboBoxToggleListButton"])
Wait timed out after 10035ms
    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/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

@neptunian neptunian merged commit 0152c5e into elastic:7.x May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants