Skip to content

Comments

[7.x] [SECURITY] Rename siem plugin to security_solution (#67902)#68246

Merged
XavierM merged 2 commits intoelastic:7.xfrom
XavierM:backport/7.x/pr-67902
Jun 4, 2020
Merged

[7.x] [SECURITY] Rename siem plugin to security_solution (#67902)#68246
XavierM merged 2 commits intoelastic:7.xfrom
XavierM:backport/7.x/pr-67902

Conversation

@XavierM
Copy link
Contributor

@XavierM XavierM commented Jun 4, 2020

Backports the following commits to 7.x:

* rename siem to security_solution

* rename siem to security solution inside of code

* rename translation keys

* fix snapshot

* replace siem for security solution in tutorial

* missing translation to be renamed

* fix types for api test integration

* updates runner file to match the new path

* change category for kibana settings

* miss renaming in advance settings

* fixes cypress tests

* fix api integration test

* fix new translation

* fix unit test

* update translation i18n

* update translation i18n II

Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
@XavierM XavierM added the backport This PR is a backport of another PR label Jun 4, 2020
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Firefox XPack UI Functional Tests.x-pack/test/functional/apps/spaces/spaces_selection·ts.Spaces app Spaces Spaces Data displays separate data for each space in a custom space

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:05:26]         └-: Spaces app
[00:05:26]           └-> "before all" hook
[00:05:26]           └-: Spaces
[00:05:26]             └-> "before all" hook
[00:06:58]             └-: Spaces Data
[00:06:58]               └-> "before all" hook
[00:06:58]               └-> "before all" hook
[00:06:58]                 │ info [spaces/selector] Loading "mappings.json"
[00:06:58]                 │ info [spaces/selector] Loading "data.json"
[00:06:59]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_1/nmSXGDJGTuONWPCdstq_rw] deleting index
[00:06:59]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2/8PArReiXSmyIjQQV6Fqfeg] deleting index
[00:06:59]                 │ info [spaces/selector] Deleted existing index [".kibana_2",".kibana_1"]
[00:06:59]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:06:59]                 │ info [spaces/selector] Created index ".kibana"
[00:06:59]                 │ debg [spaces/selector] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:06:59]                 │ info [spaces/selector] Indexed 3 docs into ".kibana"
[00:06:59]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana/Uaza4cIDTJKFJNYwNz7fJA] update_mapping [_doc]
[00:06:59]                 │ debg Migrating saved objects
[00:06:59]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana/Uaza4cIDTJKFJNYwNz7fJA] update_mapping [_doc]
[00:07:00]                 │ proc [kibana]   log   [18:09:06.694] [info][savedobjects-service] Creating index .kibana_2.
[00:07:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:07:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] updating number_of_replicas to [0] for indices [.kibana_2]
[00:07:00]                 │ proc [kibana]   log   [18:09:06.805] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:07:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:07:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] updating number_of_replicas to [0] for indices [.kibana_1]
[00:07:00]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] 6086 finished with response BulkByScrollResponse[took=55.6ms,timed_out=false,sliceId=null,updated=0,created=4,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:07:00]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana/Uaza4cIDTJKFJNYwNz7fJA] deleting index
[00:07:00]                 │ proc [kibana]   log   [18:09:07.233] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:07:00]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2/xM3V1kkASJOVPDIMlV8Ihw] update_mapping [_doc]
[00:07:00]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2/xM3V1kkASJOVPDIMlV8Ihw] update_mapping [_doc]
[00:07:00]                 │ proc [kibana]   log   [18:09:07.372] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:07:01]                 │ proc [kibana]   log   [18:09:07.431] [info][savedobjects-service] Finished in 739ms.
[00:07:01]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:07:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2/xM3V1kkASJOVPDIMlV8Ihw] update_mapping [_doc]
[00:07:01]                 │ debg navigating to login url: http://localhost:6111/login
[00:07:01]                 │ debg navigate to: http://localhost:6111/login
[00:07:01]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:01]                 │ debg ... sleep(700) start
[00:07:02]                 │ debg ... sleep(700) end
[00:07:02]                 │ debg returned from get, calling refresh
[00:07:11]                 │ debg browser[info] "INFO: 2020-06-04T18:09:17Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:07:11]                 │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:07:11]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:11]                 │ debg currentUrl = http://localhost:6111/login
[00:07:11]                 │          appUrl = http://localhost:6111/login
[00:07:11]                 │ debg TestSubjects.find(kibanaChrome)
[00:07:11]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:23]                 │ debg browser[info] "INFO: 2020-06-04T18:09:29Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:07:24]                 │ debg ... sleep(501) start
[00:07:24]                 │ debg ... sleep(501) end
[00:07:24]                 │ debg in navigateTo url = http://localhost:6111/login
[00:07:24]                 │ debg TestSubjects.exists(statusPageContainer)
[00:07:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:07:27]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:07:27]                 │ debg Waiting for Login Form to appear.
[00:07:27]                 │ debg Waiting up to 100000ms for login form...
[00:07:27]                 │ debg TestSubjects.exists(loginForm)
[00:07:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:07:28]                 │ debg TestSubjects.setValue(loginUsername, elastic)
[00:07:28]                 │ debg TestSubjects.click(loginUsername)
[00:07:28]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:07:28]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:07:28]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:07:28]                 │ debg TestSubjects.click(loginPassword)
[00:07:28]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:07:28]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:07:29]                 │ debg TestSubjects.click(loginSubmit)
[00:07:29]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:07:29]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:07:29]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:29]                 │ debg Waiting for login result, expected: spaceSelector.
[00:07:29]                 │ debg TestSubjects.find(kibanaSpaceSelector)
[00:07:29]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaSpaceSelector"]') with timeout=10000
[00:07:38]                 │ debg browser[info] "INFO: 2020-06-04T18:09:45Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:07:39]                 │ debg Finished login process, landed on space selector. currentUrl = http://localhost:6111/spaces/space_selector
[00:07:39]                 │ info SpaceSelectorPage:clickSpaceCard(default)
[00:07:39]                 │ debg TestSubjects.click(space-card-default)
[00:07:39]                 │ debg Find.clickByCssSelector('[data-test-subj="space-card-default"]') with timeout=10000
[00:07:39]                 │ debg Find.findByCssSelector('[data-test-subj="space-card-default"]') with timeout=10000
[00:07:39]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:39]                 │ debg ... sleep(1000) start
[00:07:40]                 │ debg ... sleep(1000) end
[00:07:40]                 │ debg navigating to home url: http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:07:40]                 │ debg navigate to: http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:07:52]                 │ debg browser[info] "INFO: 2020-06-04T18:09:59Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:07:53]                 │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:07:53]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:53]                 │ debg ... sleep(700) start
[00:07:54]                 │ debg ... sleep(700) end
[00:07:54]                 │ debg returned from get, calling refresh
[00:08:07]                 │ debg browser[info] "INFO: 2020-06-04T18:10:14Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:08:08]                 │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:08:08]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:08]                 │ debg currentUrl = http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:08:08]                 │          appUrl = http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:08:08]                 │ debg TestSubjects.find(kibanaChrome)
[00:08:08]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:28]                 │ debg browser[info] "INFO: 2020-06-04T18:10:34Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:08:37]                 │ debg ... sleep(501) start
[00:08:37]                 │ debg ... sleep(501) end
[00:08:37]                 │ debg in navigateTo url = http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:08:37]                 │ debg TestSubjects.exists(statusPageContainer)
[00:08:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:40]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:40]                 │ debg TestSubjects.exists(addSampleDataSetlogs)
[00:08:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=2500
[00:08:41]                 │ debg TestSubjects.click(addSampleDataSetlogs)
[00:08:41]                 │ debg Find.clickByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=10000
[00:08:41]                 │ debg Find.findByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=10000
[00:08:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [kibana_sample_data_logs] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:08:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] updating number_of_replicas to [0] for indices [kibana_sample_data_logs]
[00:08:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[kibana_sample_data_logs][0]]]).
[00:08:41]                 │ debg TestSubjects.find(sampleDataSetCardlogs)
[00:08:41]                 │ debg Find.findByCssSelector('[data-test-subj="sampleDataSetCardlogs"]') with timeout=10000
[00:08:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [kibana_sample_data_logs/_Ir30pnUQtu5C_upuzhEzg] update_mapping [_doc]
[00:08:49]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2/xM3V1kkASJOVPDIMlV8Ihw] update_mapping [_doc]
[00:08:49]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2/xM3V1kkASJOVPDIMlV8Ihw] update_mapping [_doc]
[00:08:49]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2/xM3V1kkASJOVPDIMlV8Ihw] update_mapping [_doc]
[00:08:49]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2/xM3V1kkASJOVPDIMlV8Ihw] update_mapping [_doc]
[00:08:49]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2/xM3V1kkASJOVPDIMlV8Ihw] update_mapping [_doc]
[00:08:49]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2/xM3V1kkASJOVPDIMlV8Ihw] update_mapping [_doc]
[00:08:50]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] [.kibana_2/xM3V1kkASJOVPDIMlV8Ihw] update_mapping [_doc]
[00:08:51]                 │ debg navigating to home url: http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:08:51]                 │ debg navigate to: http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:08:51]                 │ debg ... sleep(700) start
[00:08:52]                 │ debg ... sleep(700) end
[00:08:52]                 │ debg returned from get, calling refresh
[00:08:52]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:52]                 │ debg currentUrl = http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:08:52]                 │          appUrl = http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:08:52]                 │ debg TestSubjects.find(kibanaChrome)
[00:08:52]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:00]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] moving index [.kibana-event-log-7.9.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:09:00]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] 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:09:00]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] moving index [.kibana-event-log-7.9.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:09:00]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] 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:09:00]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] moving index [.kibana-event-log-7.9.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:09:00]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] 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:09:01]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] moving index [.kibana-event-log-7.9.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:09:01]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] 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:09:01]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] moving index [.kibana-event-log-7.9.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:09:01]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] 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:09:01]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] moving index [.kibana-event-log-7.9.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:09:01]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1591291448601483329] 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:09:03]                 │ debg browser[info] "INFO: 2020-06-04T18:11:09Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:09:09]                 │ debg App failed to load: home in 10000ms appUrl=http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData currentUrl=http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:09:09]                 │ debg --- retry.try error: App failed to load: home in 10000ms appUrl=http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData currentUrl=http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:09:09]                 │ debg navigate to: http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:09:09]                 │ debg ... sleep(700) start
[00:09:09]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:10]                 │ debg ... sleep(700) end
[00:09:10]                 │ debg returned from get, calling refresh
[00:09:19]                 │ debg browser[info] "INFO: 2020-06-04T18:11:25Z\n  Adding connection to http://localhost:6111/s/another-space/elasticsearch\n\n"
[00:09:19]                 │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:09:19]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:20]                 │ debg currentUrl = http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:09:20]                 │          appUrl = http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:09:20]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:20]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:34]                 │ debg browser[info] "INFO: 2020-06-04T18:11:41Z\n  Adding connection to http://localhost:6111/s/another-space/elasticsearch\n\n"
[00:09:35]                 │ debg ... sleep(501) start
[00:09:36]                 │ debg ... sleep(501) end
[00:09:36]                 │ debg in navigateTo url = http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:09:36]                 │ debg TestSubjects.exists(statusPageContainer)
[00:09:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:09:38]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:09:39]                 │ debg TestSubjects.exists(addSampleDataSetlogs)
[00:09:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=2500
[00:09:41]                 │ debg --- retry.tryForTime error: [data-test-subj="addSampleDataSetlogs"] is not displayed
[00:09:42]               └-: displays separate data for each space
[00:09:42]                 └-> "before all" hook
[00:09:42]                 └-> in the default space
[00:09:42]                   └-> "before each" hook: global before each
[00:09:42]                   │ debg navigating to dashboard url: http://localhost:6111/app/dashboards#/list
[00:09:42]                   │ debg navigate to: http://localhost:6111/app/dashboards#/list
[00:09:42]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:42]                   │ debg ... sleep(700) start
[00:09:43]                   │ debg ... sleep(700) end
[00:09:43]                   │ debg returned from get, calling refresh
[00:09:54]                   │ debg browser[info] "INFO: 2020-06-04T18:12:00Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:09:54]                   │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:09:54]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:55]                   │ debg currentUrl = http://localhost:6111/app/dashboards#/list
[00:09:55]                   │          appUrl = http://localhost:6111/app/dashboards#/list
[00:09:55]                   │ debg TestSubjects.find(kibanaChrome)
[00:09:55]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:10]                   │ debg browser[info] "INFO: 2020-06-04T18:12:16Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:10:21]                   │ debg ... sleep(501) start
[00:10:22]                   │ debg ... sleep(501) end
[00:10:22]                   │ debg in navigateTo url = http://localhost:6111/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:22]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:10:22]                   │ debg ... sleep(501) start
[00:10:23]                   │ debg ... sleep(501) end
[00:10:23]                   │ debg in navigateTo url = http://localhost:6111/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:23]                   │ debg TestSubjects.exists(statusPageContainer)
[00:10:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:10:25]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:26]                   │ debg searchForItemWithName: [Logs] Web Traffic
[00:10:26]                   │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:10:27]                   │ debg isGlobalLoadingIndicatorVisible
[00:10:27]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:27]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:27]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:27]                   │ debg TestSubjects.click(dashboardListingTitleLink-[Logs]-Web-Traffic)
[00:10:27]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:10:27]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:10:27]                   │ debg isGlobalLoadingIndicatorVisible
[00:10:27]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:27]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:27]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:27]                   │ debg waitForRenderComplete
[00:10:27]                   │ debg in getSharedItemsCount
[00:10:27]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:10:27]                   │ debg browser[warn] "Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.\nArguments: \n[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: now-7d, _f: undefined, _strict: undefined, _locale: [object Object]\nx/<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:74952\nMt/</<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:94702\nMt/<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:94753\nMt@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:95047\nCt@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:95424\nSt@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:95506\nr@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:71790\nconvertTimeToUTCString@http://localhost:6111/32193/bundles/plugin/dashboard/dashboard.plugin.js:21:25653\nareTimesEqual@http://localhost:6111/32193/bundles/plugin/dashboard/dashboard.plugin.js:21:25841\ngetTimeChanged@http://localhost:6111/32193/bundles/plugin/dashboard/dashboard.plugin.js:33:119773\ngetChangedFilterTypes@http://localhost:6111/32193/bundles/plugin/dashboard/dashboard.plugin.js:33:121090\ngetFiltersChanged@http://localhost:6111/32193/bundles/plugin/dashboard/dashboard.plugin.js:33:121258\ngetIsDirty@http://localhost:6111/32193/bundles/plugin/dashboard/dashboard.plugin.js:33:120424\ngetDashTitle@http://localhost:6111/32193/bundles/plugin/dashboard/dashboard.plugin.js:33:34313\nupdateBreadcrumbs@http://localhost:6111/32193/bundles/plugin/dashboard/dashboard.plugin.js:33:34569\nDashboardAppController@http://localhost:6111/32193/bundles/plugin/dashboard/dashboard.plugin.js:33:34588\ncontroller@http://localhost:6111/32193/bundles/plugin/dashboard/dashboard.plugin.js:33:18892\ninvoke@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:26216\nbn/this.$get</</<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:59877\nae@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:50753\nle/<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:44306\noe/<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:43519\nlink@http://localhost:6111/32193/bundles/plugin/dashboardMode/dashboardMode.plugin.js:39:10128\npe/<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:7397\nPe@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:56678\nae@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:51450\nle/<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:44306\noe/<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:43519\nge/<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:46725\nr@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:44668\n_@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:49926\nupdate@http://localhost:6111/32193/bundles/plugin/dashboardMode/dashboardMode.plugin.js:39:9071\n$broadcast@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:103481\ncommitRoute/</<@http://localhost:6111/32193/bundles/plugin/dashboardMode/dashboardMode.plugin.js:39:4705\nd/</<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:94842\nd/<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:94980\n$digest@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:100155\n$evalAsync/<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:102127\nYr/this.completeTask@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:122692\nrn/o.defer/r<@http://localhost:6111/32193/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:34257\n"
[00:10:28]                   │ debg Renderable.waitForRender for 11 elements
[00:10:28]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:10:29]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:10:30]                   │ debg --- retry.try error: 1 elements completed rendering, still waiting on a total of 11
[00:10:30]                   │                      specifically:
[00:10:30]                   │
[00:10:30]                   │      [Logs] Response Codes Over Time + Annotations
[00:10:30]                   │      [Logs] File Type Scatter Plot
[00:10:30]                   │      [Logs] Host, Visits and Bytes Table
[00:10:30]                   │      [Logs] Source and Destination Sankey Chart
[00:10:30]                   │ERROR browser[error] (new Error("Failed to initialize WebGL", "http://localhost:6111/32193/bundles/plugin/maps/7.plugin.js", 1))
[00:10:31]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:10:31]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:10:31]                   │ debg browser[log] "%cWelcome to Kibana Vega Plugin!" "font-size: 16px; font-weight: bold;"
[00:10:31]                   │ debg browser[log] "You can access the Vega view with VEGA_DEBUG. Learn more at https://vega.github.io/vega/docs/api/debugging/."
[00:10:32]                   │ debg --- retry.try error: 2 elements completed rendering, still waiting on a total of 11
[00:10:32]                   │                      specifically:
[00:10:32]                   │
[00:10:32]                   │
[00:10:32]                   │      [Logs] Visitors by OS
[00:10:32]                   │      [Logs] Response Codes Over Time + Annotations
[00:10:32]                   │      [Logs] File Type Scatter Plot
[00:10:32]                   │      [Logs] Host, Visits and Bytes Table
[00:10:32]                   │      [Logs] Heatmap
[00:10:32]                   │      [Logs] Source and Destination Sankey Chart
[00:10:33]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:10:33]                   │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:10:34]                   └- ✓ pass  (52.1s) "Spaces app Spaces Spaces Data displays separate data for each space in the default space"
[00:10:34]                 └-> in a custom space
[00:10:34]                   └-> "before each" hook: global before each
[00:10:34]                   │ debg navigating to dashboard url: http://localhost:6111/s/another-space/app/dashboards#/list
[00:10:34]                   │ debg navigate to: http://localhost:6111/s/another-space/app/dashboards#/list
[00:10:34]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:35]                   │ debg ... sleep(700) start
[00:10:35]                   │ debg ... sleep(700) end
[00:10:35]                   │ debg returned from get, calling refresh
[00:10:45]                   │ debg browser[info] "INFO: 2020-06-04T18:12:52Z\n  Adding connection to http://localhost:6111/s/another-space/elasticsearch\n\n"
[00:10:45]                   │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:10:46]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:46]                   │ debg currentUrl = http://localhost:6111/s/another-space/app/dashboards#/list
[00:10:46]                   │          appUrl = http://localhost:6111/s/another-space/app/dashboards#/list
[00:10:46]                   │ debg TestSubjects.find(kibanaChrome)
[00:10:46]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:01]                   │ debg browser[info] "INFO: 2020-06-04T18:13:07Z\n  Adding connection to http://localhost:6111/s/another-space/elasticsearch\n\n"
[00:11:14]                   │ debg ... sleep(501) start
[00:11:14]                   │ debg ... sleep(501) end
[00:11:14]                   │ debg in navigateTo url = http://localhost:6111/s/another-space/app/management/kibana/indexPatterns?bannerMessage=In%20order%20to%20visualize%20and%20explore%20data%20in%20Kibana%2C%20you'll%20need%20to%20create%20an%20index%20pattern%20to%20retrieve%20data%20from%20Elasticsearch.
[00:11:14]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:11:15]                   │ debg ... sleep(501) start
[00:11:15]                   │ debg ... sleep(501) end
[00:11:15]                   │ debg in navigateTo url = http://localhost:6111/s/another-space/app/management/kibana/indexPatterns?bannerMessage=In%20order%20to%20visualize%20and%20explore%20data%20in%20Kibana%2C%20you'll%20need%20to%20create%20an%20index%20pattern%20to%20retrieve%20data%20from%20Elasticsearch.
[00:11:15]                   │ debg TestSubjects.exists(statusPageContainer)
[00:11:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:11:18]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:11:18]                   │ debg searchForItemWithName: [Logs] Web Traffic
[00:11:18]                   │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:11:19]                   │ debg isGlobalLoadingIndicatorVisible
[00:11:19]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:20]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:11:21]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:21]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:21]                   │ debg TestSubjects.click(dashboardListingTitleLink-[Logs]-Web-Traffic)
[00:11:21]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:11:21]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:11:31]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:11:31]                   │      Wait timed out after 10008ms
[00:11:31]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:11:41]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:11:41]                   │      Wait timed out after 10006ms
[00:11:42]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:11:52]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:11:52]                   │      Wait timed out after 10011ms
[00:11:52]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:12:02]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:12:02]                   │      Wait timed out after 10010ms
[00:12:03]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:12:13]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:12:13]                   │      Wait timed out after 10009ms
[00:12:13]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:12:24]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:12:24]                   │      Wait timed out after 10044ms
[00:12:24]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:12:59]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:12:59]                   │      Wait timed out after 34964ms
[00:13:00]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:13:10]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:13:10]                   │      Wait timed out after 10014ms
[00:13:10]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:13:20]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:13:20]                   │      Wait timed out after 10008ms
[00:13:21]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:13:31]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:13:31]                   │      Wait timed out after 10016ms
[00:13:31]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Spaces app Spaces Spaces Data displays separate data for each space in a custom space.png"
[00:13:31]                   │ info Current URL is: http://localhost:6111/s/another-space/app/management/kibana/indexPatterns?bannerMessage=In%20order%20to%20visualize%20and%20explore%20data%20in%20Kibana%2C%20you'll%20need%20to%20create%20an%20index%20pattern%20to%20retrieve%20data%20from%20Elasticsearch.
[00:13:31]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Spaces app Spaces Spaces Data displays separate data for each space in a custom space.html
[00:13:31]                   └- ✖ fail: "Spaces app Spaces Spaces Data displays separate data for each space in a custom space"
[00:13:31]                   │

Stack Trace

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

History

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

@XavierM XavierM merged commit 3bec71e into elastic:7.x Jun 4, 2020
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