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] [SIEM] fix circular dependency (#57729) #57897

Merged
merged 1 commit into from
Feb 18, 2020

Conversation

XavierM
Copy link
Contributor

@XavierM XavierM commented Feb 18, 2020

Backports the following commits to 7.x:

* fix Timeline url dependency

* fix circular dependency

* rename ColumnHeader to ColumnHeaderOptions
@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/dashboard/feature_controls/dashboard_spaces·ts.dashboard feature controls spaces space with no features disabled landing page shows "Create new Dashboard" button

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: feature controls
[00:00:00]             └-> "before all" hook
[00:00:00]             └-: spaces
[00:00:00]               └-> "before all" hook
[00:00:00]               └-> "before all" hook
[00:00:00]                 │ info [logstash_functional] Loading "mappings.json"
[00:00:00]                 │ info [logstash_functional] Loading "data.json.gz"
[00:00:00]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:00:00]                 │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]                 │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:00]                 │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]                 │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:00]                 │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]                 │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:10]                 │ info progress: 8425
[00:00:15]                 │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:15]                 │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:15]                 │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:15]               └-: space with no features disabled
[00:00:15]                 └-> "before all" hook
[00:00:15]                 └-> "before all" hook
[00:00:15]                   │ info [dashboard/feature_controls/spaces] Loading "mappings.json"
[00:00:15]                   │ info [dashboard/feature_controls/spaces] Loading "data.json"
[00:00:15]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana_1/8QQ-OysDR2SUFWffwSgRnQ] deleting index
[00:00:15]                   │ info [dashboard/feature_controls/spaces] Deleted existing index [".kibana_1"]
[00:00:15]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:00:16]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:00:16]                   │ info [dashboard/feature_controls/spaces] Created index ".kibana"
[00:00:16]                   │ debg [dashboard/feature_controls/spaces] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:00:16]                   │ info [dashboard/feature_controls/spaces] Indexed 6 docs into ".kibana"
[00:00:59]                   │ info Creating index .kibana_2.
[00:00:59]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:59]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:59]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:00:59]                   │ info Reindexing .kibana to .kibana_1
[00:00:59]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:59]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] updating number_of_replicas to [0] for indices [.kibana_1]
[00:01:00]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:01:00]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [task]
[00:01:00]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] updating number_of_replicas to [0] for indices [.tasks]
[00:01:00]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.tasks][0]]]).
[00:01:00]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] 1500 finished with response BulkByScrollResponse[took=50ms,timed_out=false,sliceId=null,updated=0,created=6,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:01:00]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana/dEwRKrKRT-K_-ZpGp6ltBA] deleting index
[00:01:00]                   │ info Migrating .kibana_1 saved objects to .kibana_2
[00:01:00]                   │ debg Migrating saved objects index-pattern:logstash-*, config:6.0.0, custom_space:index-pattern:logstash-*, custom_space:visualization:75c3e060-1e7c-11e9-8488-65449e65d0ed, custom_space:dashboard:i-exist, custom_space:config:6.0.0
[00:01:00]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana_2/Wql4IHLETUeDFq6zTlz8JA] update_mapping [_doc]
[00:01:00]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana_2/Wql4IHLETUeDFq6zTlz8JA] update_mapping [_doc]
[00:01:00]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana_2/Wql4IHLETUeDFq6zTlz8JA] update_mapping [_doc]
[00:01:00]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana_2/Wql4IHLETUeDFq6zTlz8JA] update_mapping [_doc]
[00:01:00]                   │ info Pointing alias .kibana to .kibana_2.
[00:01:00]                   │ info Finished in 1094ms.
[00:01:00]                   │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:01:02]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana_2/Wql4IHLETUeDFq6zTlz8JA] update_mapping [_doc]
[00:01:03]                   │ debg creating space
[00:01:03]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana_2/Wql4IHLETUeDFq6zTlz8JA] update_mapping [_doc]
[00:01:04]                   │ debg created space
[00:01:04]                 └-> shows dashboard navlink
[00:01:04]                   └-> "before each" hook: global before each
[00:01:04]                   │ debg navigating to home url: http://localhost:6131/s/custom_space/app/kibana#/home
[00:01:04]                   │ debg Navigate to: http://localhost:6131/s/custom_space/app/kibana#/home
[00:01:04]                   │ debg ... sleep(700) start
[00:01:04]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/login?next=%2Fs%2Fcustom_space%2Fapp%2Fkibana%3F_t%3D1582053906966#/home 350 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:01:04]                   │
[00:01:04]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:05]                   │ debg ... sleep(700) end
[00:01:05]                   │ debg returned from get, calling refresh
[00:01:06]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/login?next=%2Fs%2Fcustom_space%2Fapp%2Fkibana%3F_t%3D1582053906966#/home 350 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:01:06]                   │
[00:01:06]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:06]                   │ debg currentUrl = http://localhost:6131/s/custom_space/login?next=%2Fs%2Fcustom_space%2Fapp%2Fkibana%3F_t%3D1582053906966#/home
[00:01:06]                   │          appUrl = http://localhost:6131/s/custom_space/app/kibana#/home
[00:01:06]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:15]                   │ debg Found login page.  Logging in with username = elastic
[00:01:15]                   │ debg TestSubjects.setValue(loginUsername, elastic)
[00:01:15]                   │ debg TestSubjects.click(loginUsername)
[00:01:15]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:15]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:15]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-18T19:25:16Z
[00:01:15]                   │        Adding connection to http://localhost:6131/s/custom_space/elasticsearch
[00:01:15]                   │
[00:01:15]                   │      "
[00:01:15]                   │ debg TestSubjects.setValue(loginPassword, changeme)
[00:01:15]                   │ debg TestSubjects.click(loginPassword)
[00:01:15]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:15]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:15]                   │ debg TestSubjects.click(loginSubmit)
[00:01:15]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:15]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:15]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=20000
[00:01:25]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/app/kibana?_t=1582053906966#/home 350 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:01:25]                   │
[00:01:25]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:25]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-18T19:25:26Z
[00:01:25]                   │        Adding connection to http://localhost:6131/s/custom_space/elasticsearch
[00:01:25]                   │
[00:01:25]                   │      "
[00:01:26]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/app/kibana?_t=1582053928881#/home 350 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:01:26]                   │
[00:01:26]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:26]                   │ debg Finished login process currentUrl = http://localhost:6131/s/custom_space/app/kibana#/home
[00:01:26]                   │ debg TestSubjects.find(kibanaChrome)
[00:01:26]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:01:34]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-18T19:25:34Z
[00:01:34]                   │        Adding connection to http://localhost:6131/s/custom_space/elasticsearch
[00:01:34]                   │
[00:01:34]                   │      "
[00:01:34]                   │ debg ... sleep(501) start
[00:01:34]                   │ debg ... sleep(501) end
[00:01:34]                   │ debg in navigateTo url = http://localhost:6131/s/custom_space/app/kibana#/home
[00:01:34]                   │ debg TestSubjects.exists(statusPageContainer)
[00:01:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:37]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:37]                   │ debg navigating to settings url: http://localhost:6131/app/kibana#/management
[00:01:37]                   │ debg Navigate to: http://localhost:6131/app/kibana#/management
[00:01:38]                   │ debg ... sleep(700) start
[00:01:38]                   │ debg browser[INFO] http://localhost:6131/app/kibana?_t=1582053940705#/management 350 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:01:38]                   │
[00:01:38]                   │ debg browser[INFO] http://localhost:6131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:38]                   │ debg ... sleep(700) end
[00:01:38]                   │ debg returned from get, calling refresh
[00:01:39]                   │ debg browser[INFO] http://localhost:6131/app/kibana?_t=1582053940705#/management 350 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:01:39]                   │
[00:01:39]                   │ debg browser[INFO] http://localhost:6131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:39]                   │ debg currentUrl = http://localhost:6131/app/kibana#/management
[00:01:39]                   │          appUrl = http://localhost:6131/app/kibana#/management
[00:01:39]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:50]                   │ debg TestSubjects.find(kibanaChrome)
[00:01:50]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:01:50]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-18T19:25:50Z
[00:01:50]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:01:50]                   │
[00:01:50]                   │      "
[00:01:50]                   │ debg ... sleep(501) start
[00:01:50]                   │ debg ... sleep(501) end
[00:01:50]                   │ debg in navigateTo url = http://localhost:6131/app/kibana#/management?_g=()
[00:01:50]                   │ debg TestSubjects.exists(statusPageContainer)
[00:01:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:53]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:53]                   │ debg TestSubjects.click(settings)
[00:01:53]                   │ debg Find.clickByCssSelector('[data-test-subj="settings"]') with timeout=10000
[00:01:53]                   │ debg Find.findByCssSelector('[data-test-subj="settings"]') with timeout=10000
[00:01:56]                   │ debg isGlobalLoadingIndicatorVisible
[00:01:56]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:58]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:59]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:59]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:59]                   │ debg TestSubjects.exists(managementSettingsTitle)
[00:01:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="managementSettingsTitle"]') with timeout=120000
[00:01:59]                   │ debg Find.clickByCssSelector('[data-test-subj="advancedSetting-editField-pageNavigation"] option[value="individual"]') with timeout=10000
[00:01:59]                   │ debg Find.findByCssSelector('[data-test-subj="advancedSetting-editField-pageNavigation"] option[value="individual"]') with timeout=10000
[00:01:59]                   │ debg isGlobalLoadingIndicatorVisible
[00:01:59]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:01]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:02:01]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:01]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:01]                   │ debg TestSubjects.click(advancedSetting-saveEditField-pageNavigation)
[00:02:01]                   │ debg Find.clickByCssSelector('[data-test-subj="advancedSetting-saveEditField-pageNavigation"]') with timeout=10000
[00:02:01]                   │ debg Find.findByCssSelector('[data-test-subj="advancedSetting-saveEditField-pageNavigation"]') with timeout=10000
[00:02:02]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582051671395889828] [.kibana_2/Wql4IHLETUeDFq6zTlz8JA] update_mapping [_doc]
[00:02:02]                   │ debg isGlobalLoadingIndicatorVisible
[00:02:02]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:02:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:02]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:02]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:03]                   │ debg TestSubjects.find(navDrawer)
[00:02:03]                   │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:02:03]                   └- ✓ pass  (59.2s) "dashboard feature controls spaces space with no features disabled shows dashboard navlink"
[00:02:03]                 └-> landing page shows "Create new Dashboard" button
[00:02:03]                   └-> "before each" hook: global before each
[00:02:03]                   │ debg navigateToActualUrl http://localhost:6131/s/custom_space/app/kibana#/dashboards
[00:02:03]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/app/kibana?_t=1582053966205#/dashboards 350 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:02:03]                   │
[00:02:03]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:03]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:02:03]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:02:08]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:02:10]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-18T19:26:13Z
[00:02:10]                   │        Adding connection to http://localhost:6131/s/custom_space/elasticsearch
[00:02:10]                   │
[00:02:10]                   │      "
[00:02:13]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:13]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/dashboard feature controls spaces space with no features disabled landing page shows _Create new Dashboard_ button.png"
[00:02:14]                   │ info Current URL is: http://localhost:6131/s/custom_space/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:02:14]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/dashboard feature controls spaces space with no features disabled landing page shows _Create new Dashboard_ button.html
[00:02:14]                   └- ✖ fail: "dashboard feature controls spaces space with no features disabled landing page shows "Create new Dashboard" button"
[00:02:14]                   │

Stack Trace

Error: expected testSubject(dashboardLandingPage) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/test_subjects.ts:60:15)

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

@XavierM XavierM merged commit 3986275 into elastic:7.x Feb 18, 2020
@XavierM XavierM deleted the backport/7.x/pr-57729 branch June 4, 2020 16:22
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