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

[SIEM] Add scripts for on boarding prepackage timeline #67496

Merged
merged 76 commits into from
Jul 14, 2020

Conversation

angorayc
Copy link
Contributor

@angorayc angorayc commented May 27, 2020

Summary

Screenshot 2020-07-02 at 16 44 57

Screenshot 2020-07-02 at 16 16 06

Screenshot 2020-07-02 at 16 27 15

This PR is to create scripts for on boarding prepackaged timelines.
#66291

How to on board a new prepackage timelines:

  1. Have the env params set up

  2. Create a new timelines template into x-pack/plugins/security_solution/server/lib/detection_engine/rules/prepackaged_timelines

    2.a : Create a new template from UI and export it.
    1. Go to Security Solution app in Kibana
    2. Go to timelines > templates > custom templates (a filter on the right)
    3. Click Create new timeline template
    4. Edit your template
    5. Export only one timeline template each time and put that in x-pack/plugins/security_solution/server/lib/detection_engine/rules/prepackaged_timelines. (For potential update requirement in the future, we put one timeline in each file to keep nice and clear)
    6. Rename the file extension to .json
    7. Check the chapter of Fields to hightlight for on boarding a new prepackaged timeline in this readme and update your template
    2.b : Create a new template from scratch

    Please note that below template is just an example, please replace all your fields with whatever makes sense. Do check Fields to hightlight for on boarding a new prepackaged timeline to make sure the template can be created as expected.

     cd x-pack/plugins/security_solution/server/lib/detection_engine/rules/prepackaged_timelines
    
     	  
    
     echo '{"savedObjectId":null,"version":null,"columns":[{"indexes":null,"name":null,"columnHeaderType":"not-filtered","id":"@timestamp","searchable":null},{"indexes":null,"name":null,"columnHeaderType":"not-filtered","id":"signal.rule.description","searchable":null},{"indexes":null,"name":null,"columnHeaderType":"not-filtered","id":"event.action","searchable":null},{"indexes":null,"name":null,"columnHeaderType":"not-filtered","id":"process.name","searchable":null},{"indexes":null,"aggregatable":true,"name":null,"description":"The working directory of the process.","columnHeaderType":"not-filtered","id":"process.working_directory","category":"process","type":"string","searchable":null,"example":"/home/alice"},{"indexes":null,"aggregatable":true,"name":null,"description":"Array of process arguments, starting with the absolute path to\nthe executable.\n\nMay be filtered to protect sensitive information.","columnHeaderType":"not-filtered","id":"process.args","category":"process","type":"string","searchable":null,"example":"[\"/usr/bin/ssh\",\"-l\",\"user\",\"10.0.0.16\"]"},{"indexes":null,"name":null,"columnHeaderType":"not-filtered","id":"process.pid","searchable":null},{"indexes":null,"aggregatable":true,"name":null,"description":"Absolute path to the process executable.","columnHeaderType":"not-filtered","id":"process.parent.executable","category":"process","type":"string","searchable":null,"example":"/usr/bin/ssh"},{"indexes":null,"aggregatable":true,"name":null,"description":"Array of process arguments.\n\nMay be filtered to protect sensitive information.","columnHeaderType":"not-filtered","id":"process.parent.args","category":"process","type":"string","searchable":null,"example":"[\"ssh\",\"-l\",\"user\",\"10.0.0.16\"]"},{"indexes":null,"aggregatable":true,"name":null,"description":"Process id.","columnHeaderType":"not-filtered","id":"process.parent.pid","category":"process","type":"number","searchable":null,"example":"4242"},{"indexes":null,"aggregatable":true,"name":null,"description":"Short name or login of the user.","columnHeaderType":"not-filtered","id":"user.name","category":"user","type":"string","searchable":null,"example":"albert"},{"indexes":null,"aggregatable":true,"name":null,"description":"Name of the host.\n\nIt can contain what `hostname` returns on Unix systems, the fully qualified\ndomain name, or a name specified by the user. The sender decides which value\nto use.","columnHeaderType":"not-filtered","id":"host.name","category":"host","type":"string","searchable":null}],"dataProviders":[{"excluded":false,"and":[],"kqlQuery":"","name":"590eb946a7fdbacaa587ed0f6b1a16f5ad3d659ec47ef35ad0826c47af133bde","queryMatch":{"displayValue":null,"field":"_id","displayField":null,"value":"590eb946a7fdbacaa587ed0f6b1a16f5ad3d659ec47ef35ad0826c47af133bde","operator":":"},"id":"send-signal-to-timeline-action-default-draggable-event-details-value-formatted-field-value-timeline-1-signal-id-590eb946a7fdbacaa587ed0f6b1a16f5ad3d659ec47ef35ad0826c47af133bde","enabled":true}],"description":"","eventType":"all","filters":[],"kqlMode":"filter","kqlQuery":{"filterQuery":{"kuery":{"kind":"kuery","expression":""},"serializedQuery":""}},"title":"Generic Process Timeline","dateRange":{"start":1588161020848,"end":1588162280848},"savedQueryId":null,"sort":{"columnId":"@timestamp","sortDirection":"desc"},"created":1588162404153,"createdBy":"Elastic","updated":1588604767818,"updatedBy":"Elastic","eventNotes":[],"globalNotes":[],"pinnedEventIds":[],"timelineType":"template","status":"immutable","templateTimelineId":"2c7e0663-5a91-0004-aa15-26bf756d2c40","templateTimelineVersion":1}' > my_new_template.json```
    

    Note that the json has to be minified.

    Fields to hightlight for on boarding a new prepackaged timeline:

    • savedObjectId: null

    • version: null

    • templateTimelineId: Specify an unique uuid e.g.: 2c7e0663-5a91-0004-aa15-26bf756d2c40

    • templateTimelineVersion: just start from 1

    • timelineType: template

    • status: immutable

  3. cd x-pack/plugins/security_solution/server/lib/detection_engine/scripts

  4. sh ./timelines/run regen_prepackage_timelines_index.sh

(this will update x-pack/plugins/security_solution/server/lib/detection_engine/rules/prepackaged_timelines/index.ndjson)

  1. Go to http://localhost:5601/app/security#/detections/rules and click on Install Elastic prebuild rules

or run

cd x-pack/plugins/security_solution/server/lib/detection_engine/scripts

sh ./timelines/add_prepackaged_timelines.sh

  1. Check in UI or run the script below to see if prepackaged timelines on-boarded correctly.

sh ./timelines/find_timeline_by_filter.sh immutable template elastic

How to update an existing prepackage timeline:

  1. cd x-pack/plugins/security_solution/server/lib/detection_engine/rules/prepackaged_timelines

  2. Open the json file you wish to update, and remember to bump the templateTimelineVersion

  3. Go to cd x-pack/plugins/security_solution/server/lib/detection_engine/scripts, run sh ./timelines/regen_prepackage_timelines_index.sh

  4. Go to http://localhost:5601/app/security#/detections/rules and click on Install Elastic prebuild rules

or run


sh ./timelines/add_prepackaged_timelines.sh

  1. Check in UI or run the script below to see if the prepackaged timeline updated correctly.

sh ./timelines/find_timeline_by_filter.sh immutable template elastic

How to install prepackaged timelines:

  1. cd x-pack/plugins/siem/server/lib/detection_engine/scripts

  2. sh ./timelines/add_prepackaged_timelines.sh

  3. sh ./timelines/find_timeline_by_filter.sh immutable template elastic

Get timeline by id:


cd x-pack/plugins/security_solution/server/lib/detection_engine/scripts

sh ./timelines/get_timeline_by_id.sh {id}

Get timeline by templateTimelineId:


cd x-pack/plugins/security_solution/server/lib/detection_engine/scripts

sh ./timelines/get_timeline_by_template_timeline_id.sh {template_timeline_id}

Get all custom timelines:


cd x-pack/plugins/security_solution/server/lib/detection_engine/scripts

sh ./timelines/get_all_timelines.sh

Delete all timelines:


cd x-pack/plugins/security_solution/server/lib/detection_engine/scripts

sh ./timelines/delete_all_timelines.sh

Delete timeline by timeline id:


cd x-pack/plugins/security_solution/server/lib/detection_engine/scripts

./timelines/delete_all_alerts.sh {timeline_id}

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@angorayc angorayc added the release_note:skip Skip the PR/issue when compiling release notes label May 27, 2020
@angorayc angorayc changed the title [SIEM] Prepackage timeline script [SIEM] Add scripts for on boarding prepackage timeline May 27, 2020
@angorayc
Copy link
Contributor Author

angorayc commented Jun 1, 2020

@elasticmachine merge upstream

@angorayc
Copy link
Contributor Author

angorayc commented Jun 3, 2020

@elasticmachine merge upstream

@angorayc
Copy link
Contributor Author

angorayc commented Jun 4, 2020

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

merge conflict between base and head

@angorayc
Copy link
Contributor Author

angorayc commented Jun 8, 2020

@elasticmachine merge upstream

@angorayc angorayc closed this Jun 9, 2020
@angorayc
Copy link
Contributor Author

angorayc commented Jun 9, 2020

Have some more things to add, close it for now.

@XavierM
Copy link
Contributor

XavierM commented Jul 14, 2020

image

Should will have a callout too, to describe what users needs to do? like here

image

@XavierM

This comment has been minimized.

Copy link
Contributor

@XavierM XavierM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I first tested to make sure that we did not break custom rules installation/updates/deletions, and everything is working as I expected/remembered ;)
Then I tested our flow for template timelines and everything is also working as expected.

My only suggestion will be to update our custom template timeline, to not be the way they are, or it will be really difficult to test them out in our BC. Even if we fake them just to use a template field.

I will approve after we discuss that.

angorayc and others added 4 commits July 14, 2020 08:07
…ules/prepackaged_timelines/README.md

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
@angorayc
Copy link
Contributor Author

@elasticmachine merge upstream

@angorayc
Copy link
Contributor Author

Prepackaged timelines updated:
Screenshot 2020-07-14 at 15 37 42
Screenshot 2020-07-14 at 15 37 26
Screenshot 2020-07-14 at 15 37 15

Copy link
Contributor

@XavierM XavierM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go, Let's make sure to get a meeting with the detection team to get good timeline templates for our 7.9 release

@angorayc angorayc mentioned this pull request Jul 14, 2020
11 tasks
@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/lens/smokescreen·ts.lens app lens smokescreen tests should allow creation of lens visualizations

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:10:10]         └-: lens app
[00:10:10]           └-> "before all" hook
[00:10:10]           └-> "before all" hook
[00:10:10]             │ debg Starting lens before method
[00:10:10]             │ info [logstash_functional] Loading "mappings.json"
[00:10:10]             │ info [logstash_functional] Loading "data.json.gz"
[00:10:10]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:10:10]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:10:10]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:10:11]             │ info [lens/basic] Loading "mappings.json"
[00:10:11]             │ info [lens/basic] Loading "data.json.gz"
[00:10:11]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] [.kibana_2/BBNN8LXcTQGqIaAgqC4Taw] deleting index
[00:10:11]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] [.kibana_1/FlB2Iy-cSBiIxRjNFD06AQ] deleting index
[00:10:11]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:10:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:10:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:10:12]             │ info [lens/basic] Created index ".kibana_1"
[00:10:12]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:10:12]             │ info [lens/basic] Indexed 10 docs into ".kibana_1"
[00:10:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] [.kibana_1/5EmJPghaRaurJV5wLHtY9g] update_mapping [_doc]
[00:10:12]             │ debg Migrating saved objects
[00:10:12]             │ proc [kibana]   log   [15:15:54.024] [info][savedobjects-service] Creating index .kibana_2.
[00:10:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:10:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] updating number_of_replicas to [0] for indices [.kibana_2]
[00:10:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_2][0]]"
[00:10:12]             │ proc [kibana]   log   [15:15:54.116] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:10:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] [.kibana_2/T2M3PvUOQo-ZhCUu3adeug] update_mapping [_doc]
[00:10:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] [.kibana_2/T2M3PvUOQo-ZhCUu3adeug] update_mapping [_doc]
[00:10:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] [.kibana_2/T2M3PvUOQo-ZhCUu3adeug] update_mapping [_doc]
[00:10:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] [.kibana_2/T2M3PvUOQo-ZhCUu3adeug] update_mapping [_doc]
[00:10:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594737039114242758] [.kibana_2/T2M3PvUOQo-ZhCUu3adeug] update_mapping [_doc]
[00:10:12]             │ proc [kibana]   log   [15:15:54.429] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:10:12]             │ proc [kibana]   log   [15:15:54.509] [info][savedobjects-service] Finished in 487ms.
[00:10:12]           └-: 
[00:10:12]             └-> "before all" hook
[00:10:12]             └-: lens smokescreen tests
[00:10:12]               └-> "before all" hook
[00:10:12]               └-> should allow editing saved visualizations
[00:10:12]                 └-> "before each" hook: global before each
[00:10:12]                 │ debg navigating to visualize url: http://localhost:6151/app/visualize#/
[00:10:12]                 │ debg navigate to: http://localhost:6151/app/visualize#/
[00:10:12]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fvisualize%3F_t%3D1594739754554#/ 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:10:12]                 │
[00:10:12]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:12]                 │ debg ... sleep(700) start
[00:10:13]                 │ debg ... sleep(700) end
[00:10:13]                 │ debg returned from get, calling refresh
[00:10:15]                 │ debg browser[INFO] http://localhost:6151/34717/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-14T15:15:56Z
[00:10:15]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:10:15]                 │
[00:10:15]                 │      "
[00:10:15]                 │ERROR browser[SEVERE] http://localhost:6151/34717/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:10:15]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fvisualize%3F_t%3D1594739754554#/ 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:10:15]                 │
[00:10:15]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:15]                 │ debg currentUrl = http://localhost:6151/login?next=%2Fapp%2Fvisualize%3F_t%3D1594739754554#/
[00:10:15]                 │          appUrl = http://localhost:6151/app/visualize#/
[00:10:15]                 │ debg TestSubjects.find(kibanaChrome)
[00:10:15]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:18]                 │ debg Found login page
[00:10:18]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:10:18]                 │ debg TestSubjects.click(loginUsername)
[00:10:18]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:10:18]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:10:18]                 │ debg browser[INFO] http://localhost:6151/34717/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-14T15:15:58Z
[00:10:18]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:10:18]                 │
[00:10:18]                 │      "
[00:10:18]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:10:18]                 │ debg TestSubjects.click(loginPassword)
[00:10:18]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:10:18]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:10:18]                 │ debg TestSubjects.click(loginSubmit)
[00:10:18]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:10:18]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:10:18]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:10:21]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594739754554#/ 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:10:21]                 │
[00:10:21]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:21]                 │ debg browser[INFO] http://localhost:6151/34717/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-14T15:16:02Z
[00:10:21]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:10:21]                 │
[00:10:21]                 │      "
[00:10:21]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594739763346#/ 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:10:21]                 │
[00:10:21]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:21]                 │ debg Finished login process currentUrl = http://localhost:6151/app/visualize#/
[00:10:21]                 │ debg ... sleep(501) start
[00:10:22]                 │ debg ... sleep(501) end
[00:10:22]                 │ debg in navigateTo url = http://localhost:6151/app/visualize#/
[00:10:22]                 │ debg TestSubjects.exists(statusPageContainer)
[00:10:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:10:25]                 │ debg browser[INFO] http://localhost:6151/34717/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-14T15:16:04Z
[00:10:25]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:10:25]                 │
[00:10:25]                 │      "
[00:10:25]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:25]                 │ debg searchForItemWithName: Artistpreviouslyknownaslens
[00:10:25]                 │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:10:26]                 │ debg isGlobalLoadingIndicatorVisible
[00:10:26]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:26]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:26]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:26]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:10:26]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:10:26]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:10:26]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:10:26]                 │ debg lensPage.goToTimeRange()
[00:10:26]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:10:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:10:27]                 │ debg TestSubjects.click(noDataPopoverDismissButton)
[00:10:27]                 │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:10:27]                 │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:10:27]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:10:27]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:10:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:10:27]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:10:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:10:27]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:10:27]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:10:27]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:10:27]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:10:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:10:27]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:10:27]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:10:27]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:10:27]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:10:27]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:10:27]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:27]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:28]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:28]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:28]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:28]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:10:28]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:28]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:28]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:28]                 │ debg ... sleep(500) start
[00:10:29]                 │ debg ... sleep(500) end
[00:10:29]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:10:29]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:10:29]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:10:29]                 │ debg Find.waitForElementStale with timeout=10000
[00:10:29]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:10:29]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:10:29]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:29]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:29]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:29]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:29]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:30]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:10:30]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:30]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:30]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:30]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:10:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:10:33]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:10:33]                 │ debg TestSubjects.click(querySubmitButton)
[00:10:33]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:10:33]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:10:34]                 │ debg Find.waitForElementStale with timeout=10000
[00:10:34]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:34]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:34]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:10:34]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:10:34]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:10:34]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:10:34]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:10:34]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:10:34]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:10:34]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:10:34]                 └- ✓ pass  (21.9s) "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:10:34]               └-> metric should be embeddable in dashboards
[00:10:34]                 └-> "before each" hook: global before each
[00:10:34]                 │ debg navigating to dashboard url: http://localhost:6151/app/dashboards#/list
[00:10:34]                 │ debg navigate to: http://localhost:6151/app/dashboards#/list
[00:10:34]                 │ debg ... sleep(700) start
[00:10:34]                 │ debg browser[INFO] http://localhost:6151/app/dashboards?_t=1594739776496#/list 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:10:34]                 │
[00:10:34]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:35]                 │ debg ... sleep(700) end
[00:10:35]                 │ debg returned from get, calling refresh
[00:10:35]                 │ debg browser[INFO] http://localhost:6151/app/dashboards?_t=1594739776496#/list 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:10:35]                 │
[00:10:35]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:35]                 │ debg currentUrl = http://localhost:6151/app/dashboards#/list
[00:10:35]                 │          appUrl = http://localhost:6151/app/dashboards#/list
[00:10:35]                 │ debg TestSubjects.find(kibanaChrome)
[00:10:35]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:37]                 │ debg browser[INFO] http://localhost:6151/34717/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-14T15:16:18Z
[00:10:37]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:10:37]                 │
[00:10:37]                 │      "
[00:10:37]                 │ debg ... sleep(501) start
[00:10:37]                 │ debg ... sleep(501) end
[00:10:37]                 │ debg in navigateTo url = http://localhost:6151/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:37]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:10:38]                 │ debg ... sleep(501) start
[00:10:38]                 │ debg ... sleep(501) end
[00:10:38]                 │ debg in navigateTo url = http://localhost:6151/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:38]                 │ debg TestSubjects.exists(statusPageContainer)
[00:10:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:10:41]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:41]                 │ debg TestSubjects.exists(newItemButton)
[00:10:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=5000
[00:10:44]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:10:47]                 │ debg --- retry.tryForTime failed again with the same message...
[00:10:47]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:10:47]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:10:47]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:10:48]                 │ debg waitForRenderComplete
[00:10:48]                 │ debg in getSharedItemsCount
[00:10:48]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:10:48]                 │ debg Renderable.waitForRender for 0 elements
[00:10:48]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:10:58]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:10:59]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:10:59]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:10:59]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:10:59]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:10:59]                 │ debg ... sleep(500) start
[00:10:59]                 │ debg ... sleep(500) end
[00:10:59]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:00]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, Artistpreviouslyknownaslens)
[00:11:00]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:11:00]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:11:00]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:11:00]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:01]                 │ debg Find.clickByButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:11:01]                 │ debg Find.byButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:11:02]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:11:02]                 │ debg Closing flyout dashboardAddPanel
[00:11:02]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:11:02]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:11:02]                 │ debg Waiting up to 20000ms for flyout closed...
[00:11:02]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:11:03]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:11:03]                 │ debg lensPage.goToTimeRange()
[00:11:03]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:11:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:11:06]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:11:06]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:11:06]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:11:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:11:06]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:11:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:11:07]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:11:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:07]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:11:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:11:07]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:11:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:07]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:07]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:07]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:07]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:11:07]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:08]                 │ debg ... sleep(500) start
[00:11:08]                 │ debg ... sleep(500) end
[00:11:08]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:11:08]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:08]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:08]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:09]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:09]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:09]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:09]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:09]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:09]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:09]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:09]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:11:09]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:09]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:09]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:09]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:11:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:11:12]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:11:12]                 │ debg TestSubjects.click(querySubmitButton)
[00:11:12]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:12]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:13]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:13]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:13]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:13]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:11:13]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:11:13]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:13]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:11:13]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:11:13]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:11:13]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:13]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:11:13]                 └- ✓ pass  (38.7s) "lens app  lens smokescreen tests metric should be embeddable in dashboards"
[00:11:13]               └-> click on the bar in XYChart adds proper filters/timerange in dashboard
[00:11:13]                 └-> "before each" hook: global before each
[00:11:13]                 │ debg navigating to dashboard url: http://localhost:6151/app/dashboards#/list
[00:11:13]                 │ debg navigate to: http://localhost:6151/app/dashboards#/list
[00:11:13]                 │ debg browser[INFO] http://localhost:6151/app/dashboards?_t=1594739815211#/list 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:11:13]                 │
[00:11:13]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:13]                 │ debg ... sleep(700) start
[00:11:14]                 │ debg ... sleep(700) end
[00:11:14]                 │ debg returned from get, calling refresh
[00:11:15]                 │ debg browser[INFO] http://localhost:6151/34717/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-14T15:16:56Z
[00:11:15]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:11:15]                 │
[00:11:15]                 │      "
[00:11:15]                 │ERROR browser[SEVERE] http://localhost:6151/34717/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:11:15]                 │ debg browser[INFO] http://localhost:6151/app/dashboards?_t=1594739815211#/list 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:11:15]                 │
[00:11:15]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:15]                 │ debg currentUrl = http://localhost:6151/app/dashboards#/list
[00:11:15]                 │          appUrl = http://localhost:6151/app/dashboards#/list
[00:11:15]                 │ debg TestSubjects.find(kibanaChrome)
[00:11:15]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:17]                 │ debg browser[INFO] http://localhost:6151/34717/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-14T15:16:58Z
[00:11:17]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:11:17]                 │
[00:11:17]                 │      "
[00:11:17]                 │ debg ... sleep(501) start
[00:11:18]                 │ debg ... sleep(501) end
[00:11:18]                 │ debg in navigateTo url = http://localhost:6151/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:11:18]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:11:18]                 │ debg ... sleep(501) start
[00:11:19]                 │ debg ... sleep(501) end
[00:11:19]                 │ debg in navigateTo url = http://localhost:6151/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:11:19]                 │ debg TestSubjects.exists(statusPageContainer)
[00:11:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:11:21]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:11:22]                 │ debg TestSubjects.exists(newItemButton)
[00:11:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=5000
[00:11:24]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:11:27]                 │ debg --- retry.tryForTime failed again with the same message...
[00:11:28]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:11:28]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:11:28]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:11:28]                 │ debg waitForRenderComplete
[00:11:28]                 │ debg in getSharedItemsCount
[00:11:28]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:11:28]                 │ debg Renderable.waitForRender for 0 elements
[00:11:28]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:11:38]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:11:39]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:11:39]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:11:39]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:11:39]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:11:40]                 │ debg ... sleep(500) start
[00:11:40]                 │ debg ... sleep(500) end
[00:11:40]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:41]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, lnsXYvis)
[00:11:41]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:11:41]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:11:41]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:11:41]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:41]                 │ debg Find.clickByButtonText('lnsXYvis') with timeout=10000
[00:11:41]                 │ debg Find.byButtonText('lnsXYvis') with timeout=10000
[00:11:42]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:11:42]                 │ debg Closing flyout dashboardAddPanel
[00:11:42]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:11:42]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:11:42]                 │ debg Waiting up to 20000ms for flyout closed...
[00:11:42]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:11:43]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:11:44]                 │ debg lensPage.goToTimeRange()
[00:11:44]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:11:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:11:46]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:11:47]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:11:47]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:11:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:11:47]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:11:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:11:47]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:11:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:47]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:47]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:11:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:11:47]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:11:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:47]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:47]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:47]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:47]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:47]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:47]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:47]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:11:47]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:47]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:48]                 │ debg ... sleep(500) start
[00:11:49]                 │ debg ... sleep(500) end
[00:11:49]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:11:49]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:49]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:49]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:49]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:49]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:49]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:49]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:49]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:49]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:49]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:49]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:11:49]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:49]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:49]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:50]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:11:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:11:53]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:11:53]                 │ debg TestSubjects.click(querySubmitButton)
[00:11:53]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:53]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:53]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:54]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:54]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:54]                 │ debg Find.findByCssSelector('.echChart canvas:last-of-type') with timeout=10000
[00:11:54]                 │ debg TestSubjects.click(applyFiltersPopoverButton)
[00:11:54]                 │ debg Find.clickByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:11:54]                 │ debg Find.findByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:11:54]                 │ debg TestSubjects.missingOrFail(applyFiltersPopoverButton)
[00:11:54]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=2500
[00:11:55]                 │ debg lensPage.assertExactText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', 'lnsXYvis')
[00:11:55]                 │ debg lensPage.assertExpectedText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', value => value === expectedText)
[00:11:55]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:55]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelHeading-lnsXYvis"]') with timeout=10000
[00:11:55]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:11:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:11:55]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:11:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:11:57]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:11:58]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:11:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:11:58]                 │ debg TestSubjects.getVisibleText(superDatePickerstartDatePopoverButton)
[00:11:58]                 │ debg TestSubjects.find(superDatePickerstartDatePopoverButton)
[00:11:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:58]                 │ debg TestSubjects.getVisibleText(superDatePickerendDatePopoverButton)
[00:11:58]                 │ debg TestSubjects.find(superDatePickerendDatePopoverButton)
[00:11:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:58]                 │ debg TestSubjects.exists(filter filter-enabled filter-key-ip filter-value-97.220.3.248 filter-unpinned )
[00:11:58]                 │ debg Find.existsByCssSelector('[data-test-subj="filter filter-enabled filter-key-ip filter-value-97.220.3.248 filter-unpinned "]') with timeout=2500
[00:11:58]                 └- ✓ pass  (44.9s) "lens app  lens smokescreen tests click on the bar in XYChart adds proper filters/timerange in dashboard"
[00:11:58]               └-> should allow seamless transition to and from table view
[00:11:58]                 └-> "before each" hook: global before each
[00:11:58]                 │ debg navigating to visualize url: http://localhost:6151/app/visualize#/
[00:11:58]                 │ debg navigate to: http://localhost:6151/app/visualize#/
[00:11:58]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594739860085#/ 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:11:58]                 │
[00:11:58]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:58]                 │ debg ... sleep(700) start
[00:11:59]                 │ debg ... sleep(700) end
[00:11:59]                 │ debg returned from get, calling refresh
[00:12:00]                 │ debg browser[INFO] http://localhost:6151/34717/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-14T15:17:41Z
[00:12:00]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:12:00]                 │
[00:12:00]                 │      "
[00:12:00]                 │ERROR browser[SEVERE] http://localhost:6151/34717/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:12:00]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594739860085#/ 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:12:00]                 │
[00:12:00]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:00]                 │ debg currentUrl = http://localhost:6151/app/visualize#/
[00:12:00]                 │          appUrl = http://localhost:6151/app/visualize#/
[00:12:00]                 │ debg TestSubjects.find(kibanaChrome)
[00:12:00]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:02]                 │ debg browser[INFO] http://localhost:6151/34717/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-14T15:17:43Z
[00:12:02]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:12:02]                 │
[00:12:02]                 │      "
[00:12:02]                 │ debg ... sleep(501) start
[00:12:03]                 │ debg ... sleep(501) end
[00:12:03]                 │ debg in navigateTo url = http://localhost:6151/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:12:03]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:12:03]                 │ debg ... sleep(501) start
[00:12:04]                 │ debg ... sleep(501) end
[00:12:04]                 │ debg in navigateTo url = http://localhost:6151/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:12:04]                 │ debg TestSubjects.exists(statusPageContainer)
[00:12:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:12:06]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:12:07]                 │ debg searchForItemWithName: Artistpreviouslyknownaslens
[00:12:07]                 │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:12:07]                 │ debg isGlobalLoadingIndicatorVisible
[00:12:07]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:12:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:12:08]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:12:08]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:12:08]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:12:08]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:12:08]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:12:08]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:12:08]                 │ debg lensPage.goToTimeRange()
[00:12:08]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:12:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:12:10]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:12:11]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:12:11]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:12:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:12:11]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:12:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:12:11]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:12:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:12:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:12:11]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:12:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:12:11]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:12:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:12:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:12:11]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:12:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:12:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:12:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:12:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:12:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:12]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:12:12]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:12:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:12]                 │ debg ... sleep(500) start
[00:12:13]                 │ debg ... sleep(500) end
[00:12:13]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:12:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:12:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:12:13]                 │ debg Find.waitForElementStale with timeout=10000
[00:12:13]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:12:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:12:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:12:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:12:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:12:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:13]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:12:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:12:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:14]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:12:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:12:17]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:12:17]                 │ debg TestSubjects.click(querySubmitButton)
[00:12:17]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:12:17]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:12:17]                 │ debg Find.waitForElementStale with timeout=10000
[00:12:18]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:12:18]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:12:18]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:12:18]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:12:18]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:12:18]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:12:18]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:12:18]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:12:18]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:12:18]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:12:18]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsDatatable')
[00:12:18]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:12:18]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:18]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:18]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:12:18]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:12:18]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:12:18]                 │ debg lensPage.assertExactText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', 'Maximum of bytes')
[00:12:18]                 │ debg lensPage.assertExpectedText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', value => value === expectedText)
[00:12:18]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:12:18]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text') with timeout=10000
[00:12:19]                 │ debg lensPage.assertExactText('[data-test-subj="lnsDataTable"] [data-test-subj="lnsDataTableCellValue"]', '19,986')
[00:12:19]                 │ debg lensPage.assertExpectedText('[data-test-subj="lnsDataTable"] [data-test-subj="lnsDataTableCellValue"]', value => value === expectedText)
[00:12:19]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:12:19]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] [data-test-subj="lnsDataTableCellValue"]') with timeout=10000
[00:12:19]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsMetric')
[00:12:19]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:12:19]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:19]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:19]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsMetric)
[00:12:19]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsMetric"]') with timeout=10000
[00:12:19]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsMetric"]') with timeout=10000
[00:12:19]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:12:19]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:12:19]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:12:19]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:12:19]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:12:19]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:12:19]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:12:19]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:12:19]                 └- ✓ pass  (21.7s) "lens app  lens smokescreen tests should allow seamless transition to and from table view"
[00:12:19]               └-> should allow creation of lens visualizations
[00:12:19]                 └-> "before each" hook: global before each
[00:12:19]                 │ debg navigating to visualize url: http://localhost:6151/app/visualize#/
[00:12:19]                 │ debg navigate to: http://localhost:6151/app/visualize#/
[00:12:20]                 │ debg ... sleep(700) start
[00:12:20]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594739881802#/ 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:12:20]                 │
[00:12:20]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:20]                 │ debg ... sleep(700) end
[00:12:20]                 │ debg returned from get, calling refresh
[00:12:21]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594739881802#/ 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:12:21]                 │
[00:12:21]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:21]                 │ debg currentUrl = http://localhost:6151/app/visualize#/
[00:12:21]                 │          appUrl = http://localhost:6151/app/visualize#/
[00:12:21]                 │ debg TestSubjects.find(kibanaChrome)
[00:12:21]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:22]                 │ debg browser[INFO] http://localhost:6151/34717/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-14T15:18:03Z
[00:12:22]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:12:22]                 │
[00:12:22]                 │      "
[00:12:22]                 │ debg ... sleep(501) start
[00:12:23]                 │ debg ... sleep(501) end
[00:12:23]                 │ debg in navigateTo url = http://localhost:6151/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:12:23]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:12:23]                 │ debg ... sleep(501) start
[00:12:24]                 │ debg ... sleep(501) end
[00:12:24]                 │ debg in navigateTo url = http://localhost:6151/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:12:24]                 │ debg TestSubjects.exists(statusPageContainer)
[00:12:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:12:26]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:12:27]                 │ debg TestSubjects.exists(newItemButton)
[00:12:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=5000
[00:12:27]                 │ debg TestSubjects.click(newItemButton)
[00:12:27]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:12:27]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:12:27]                 │ debg TestSubjects.find(visNewDialogTypes)
[00:12:27]                 │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:12:27]                 │ debg TestSubjects.click(visType-lens)
[00:12:27]                 │ debg Find.clickByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:12:27]                 │ debg Find.findByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:12:27]                 │ debg isGlobalLoadingIndicatorVisible
[00:12:27]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:12:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:12:27]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:12:27]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:12:27]                 │ debg lensPage.goToTimeRange()
[00:12:27]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:12:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:12:30]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:12:30]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:12:30]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:12:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:12:30]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:12:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:12:31]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:12:31]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:12:31]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:12:31]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:12:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:12:31]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:12:31]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:12:31]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:12:31]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:12:31]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:12:31]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:12:31]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:12:31]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:12:31]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:31]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:31]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:12:31]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:12:31]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:31]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:32]                 │ debg ... sleep(500) start
[00:12:32]                 │ debg ... sleep(500) end
[00:12:32]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:12:32]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:12:32]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:12:32]                 │ debg Find.waitForElementStale with timeout=10000
[00:12:33]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:12:33]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:12:33]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:12:33]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:12:33]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:12:33]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:33]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:33]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:12:33]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:12:33]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:33]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:12:34]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:12:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:12:36]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:12:37]                 │ debg TestSubjects.click(querySubmitButton)
[00:12:37]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:12:37]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:12:37]                 │ debg Find.waitForElementStale with timeout=10000
[00:12:37]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:12:37]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:12:38]                 │ debg lensPage.configureDimension([object Object])
[00:12:38]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:38]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:38]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-date_histogram"],
[00:12:38]                 │                [data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:12:38]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-date_histogram"],
[00:12:38]                 │                [data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:12:38]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:12:38]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:12:38]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:41]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:41]                 │ debg comboBox.setElement, value: @timestamp
[00:12:41]                 │ debg comboBox.isOptionSelected, value: @timestamp
[00:12:44]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:44]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@timestamp"]') with timeout=2500
[00:12:44]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:46]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:47]                 │ debg lensPage.configureDimension([object Object])
[00:12:47]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:47]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:47]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-avg"],
[00:12:47]                 │                [data-test-subj="lns-indexPatternDimension-avg"]') with timeout=10000
[00:12:47]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-avg"],
[00:12:47]                 │                [data-test-subj="lns-indexPatternDimension-avg"]') with timeout=10000
[00:12:47]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:12:47]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:12:47]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:50]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:50]                 │ warn WebElementWrapper.find: stale element reference: element is not attached to the page document
[00:12:50]                 │        (Session info: headless chrome=83.0.4103.116)
[00:12:50]                 │ debg finding element 'By(css selector, [data-test-subj="indexPattern-dimension-field"])' again, 2 attempts left
[00:12:50]                 │ debg comboBox.setElement, value: bytes
[00:12:50]                 │ debg comboBox.isOptionSelected, value: bytes
[00:12:53]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:53]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bytes"]') with timeout=2500
[00:12:53]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:56]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:56]                 │ debg lensPage.configureDimension([object Object])
[00:12:56]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:56]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:56]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-terms"],
[00:12:56]                 │                [data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:12:56]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-terms"],
[00:12:56]                 │                [data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:12:57]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:12:57]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:12:57]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:59]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:13:00]                 │ warn WebElementWrapper.find: stale element reference: element is not attached to the page document
[00:13:00]                 │        (Session info: headless chrome=83.0.4103.116)
[00:13:00]                 │ debg finding element 'By(css selector, [data-test-subj="indexPattern-dimension-field"])' again, 2 attempts left
[00:13:00]                 │ debg comboBox.setElement, value: @message.raw
[00:13:00]                 │ debg comboBox.isOptionSelected, value: @message.raw
[00:13:02]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:13:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:13:02]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@message.raw"]') with timeout=2500
[00:13:03]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:13:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:13:05]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:13:06]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsDatatable')
[00:13:06]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:13:06]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:13:06]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:13:06]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:13:06]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:13:06]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:13:06]                 │ debg lensPage.removeDimension('lnsDatatable_column')
[00:13:06]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsDatatable_column"] [data-test-subj="indexPattern-dimensionPopover-remove"]') with timeout=10000
[00:13:06]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDatatable_column"] [data-test-subj="indexPattern-dimensionPopover-remove"]') with timeout=10000
[00:13:06]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_bar_stacked')
[00:13:06]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:13:06]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:13:06]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:13:06]                 │ debg TestSubjects.click(lnsChartSwitchPopover_bar_stacked)
[00:13:06]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_bar_stacked"]') with timeout=10000
[00:13:06]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_bar_stacked"]') with timeout=10000
[00:13:07]                 │ debg lensPage.configureDimension([object Object])
[00:13:07]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:07]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:17]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:17]                 │      Wait timed out after 10055ms
[00:13:17]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:27]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:27]                 │      Wait timed out after 10039ms
[00:13:28]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:38]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:38]                 │      Wait timed out after 10032ms
[00:13:38]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:48]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:48]                 │      Wait timed out after 10037ms
[00:13:49]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:59]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:59]                 │      Wait timed out after 10060ms
[00:13:59]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:09]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:14:09]                 │      Wait timed out after 10006ms
[00:14:10]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:20]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:14:20]                 │      Wait timed out after 10059ms
[00:14:20]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:30]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:14:30]                 │      Wait timed out after 10043ms
[00:14:31]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:41]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:14:41]                 │      Wait timed out after 10036ms
[00:14:41]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:52]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:14:52]                 │      Wait timed out after 10056ms
[00:14:52]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:15:02]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:15:02]                 │      Wait timed out after 10037ms
[00:15:03]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:15:13]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:15:13]                 │      Wait timed out after 10020ms
[00:15:13]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests should allow creation of lens visualizations.png"
[00:15:13]                 │ info Current URL is: http://localhost:6151/app/lens#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))
[00:15:13]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests should allow creation of lens visualizations.html
[00:15:13]                 └- ✖ fail: lens app  lens smokescreen tests should allow creation of lens visualizations
[00:15:13]                 │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:15:13]                 │ Wait timed out after 10020ms
[00:15:13]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:15:13]                 │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:15:13]                 │       at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:15:13]                 │       at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:15:13]                 │ 
[00:15:13]                 │ 

Stack Trace

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

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
securitySolution 759 +1 758

History

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

@angorayc angorayc merged commit 9c91fd9 into elastic:master Jul 14, 2020
angorayc added a commit to angorayc/kibana that referenced this pull request Jul 14, 2020
* add prepackaged timelines

* generate ndjson

* expose end api points

* fix types

* fix types

* fix unit test

* install prepackage timelines

* plumbing for prepackaged timelines

* read ndjson by line

* fix unit test

* update templates

* fix types

* fix types

* fix integration test

* update script

* name it back

* add timeline status into rule status api

* fix update messages

* fix unit tests

* fix integration test

* rename types

* update prepackaged timelines

* update prepackaged timelines script

* update scripts

* fix update for elastic template

* move timeline utils

* export timelines scripts

* update module path

* fix intefration test

* add delete all timelines script

* readme

* add get_timeline_by_templatetimeline_id

* add getTimelineByIdRoute

* rename file

* add unit test

* fix types

* fix types

* update readme

* fix error id

* fix unit test

* update path

* update i18n

* update readme

* load prepacked timelines by default

* add unit tests

* Update x-pack/plugins/security_solution/server/lib/detection_engine/rules/prepackaged_timelines/README.md

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>

* review

* update prepacked timelines

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json
angorayc added a commit that referenced this pull request Jul 15, 2020
…#71698)

* [SIEM] Add scripts for on boarding prepackage timeline (#67496)

* add prepackaged timelines

* generate ndjson

* expose end api points

* fix types

* fix types

* fix unit test

* install prepackage timelines

* plumbing for prepackaged timelines

* read ndjson by line

* fix unit test

* update templates

* fix types

* fix types

* fix integration test

* update script

* name it back

* add timeline status into rule status api

* fix update messages

* fix unit tests

* fix integration test

* rename types

* update prepackaged timelines

* update prepackaged timelines script

* update scripts

* fix update for elastic template

* move timeline utils

* export timelines scripts

* update module path

* fix intefration test

* add delete all timelines script

* readme

* add get_timeline_by_templatetimeline_id

* add getTimelineByIdRoute

* rename file

* add unit test

* fix types

* fix types

* update readme

* fix error id

* fix unit test

* update path

* update i18n

* update readme

* load prepacked timelines by default

* add unit tests

* Update x-pack/plugins/security_solution/server/lib/detection_engine/rules/prepackaged_timelines/README.md

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>

* review

* update prepacked timelines

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json

* rollback change
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants