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

[Reporting] Clean Up TypeScript Definitions #76566

Merged
merged 19 commits into from
Sep 22, 2020

Conversation

tsullivan
Copy link
Member

@tsullivan tsullivan commented Sep 2, 2020

Summary

Pull work out of the PR to switch Reporting to Task Manager

  • Make corrections to types
  • Rename more types
  • Move types closer to where they are used
  • Layout from client is LayoutParams and is converted to LayoutInstance on the serverside, with createLayout
  • Remove unused function arguments in export_types/common
  • Removed duplicated interface: JobSource / (ReportDocument)
  • Fix a few minor issues:
    • job listing page is not always showing the object type
    • remove basePath from job params, since it is looked up at execution time
    • do not encrypt headers for "immediate" csv download

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@tsullivan tsullivan force-pushed the reporting/switch-to-tm-pre branch 5 times, most recently from 6528dd2 to 0acf89a Compare September 2, 2020 23:00
@tsullivan tsullivan changed the title [Reporting] Pre work for Task Manager: fixing types and minor stuff [Reporting] Pre work for Task Manager: fixing, renaming, moving TS definitions Sep 2, 2020
const logger = parentLogger.clone([CSV_FROM_SAVEDOBJECT_JOB_TYPE, 'create-job']);

return async function scheduleTask(jobParams, headers, context, req) {
return async function createJob(jobParams, context, req) {
Copy link
Member Author

@tsullivan tsullivan Sep 3, 2020

Choose a reason for hiding this comment

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

headers comes from req - the encrypted header string was not used.

@@ -13,7 +13,7 @@ describe('Get CSV Job', () => {
let mockSavedObjectsClient: any;
let mockUiSettingsClient: any;
beforeEach(() => {
mockJobParams = { isImmediate: true, savedObjectType: 'search', savedObjectId: '234-ididid' };
Copy link
Member Author

Choose a reason for hiding this comment

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

the get_csv_job module is only used for immediate csv download

@tsullivan tsullivan force-pushed the reporting/switch-to-tm-pre branch 2 times, most recently from d02b367 to f4eaff9 Compare September 3, 2020 03:55

// store the pending report, puts it in the Reporting Management UI table
const report = await store.addReport(exportType.jobType, user, payload);
Copy link
Member Author

@tsullivan tsullivan Sep 3, 2020

Choose a reason for hiding this comment

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

the argument types of addReport changed to take a single report instead of 3 separate parts of a report

Copy link
Member Author

Choose a reason for hiding this comment

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

Which is why applying jobSettings has moved to this file

@@ -63,4 +63,4 @@ interface LayoutSelectors {
positionElements?: (browser: HeadlessChromiumDriver, logger: LevelLogger) => Promise<void>;
}

export type LayoutInstance = Layout & LayoutSelectors & Size;
export type LayoutInstance = Layout & LayoutSelectors & Partial<Size>;
Copy link
Member Author

Choose a reason for hiding this comment

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

"print" layout does not have the dimension fields but is still a LayoutInstance

@tsullivan tsullivan force-pushed the reporting/switch-to-tm-pre branch 5 times, most recently from c86351e to 49eaeef Compare September 3, 2020 05:53
type: string;
}

export interface JobSource<JobParamsType> {
Copy link
Member Author

@tsullivan tsullivan Sep 3, 2020

Choose a reason for hiding this comment

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

removed this, as it was duplicate with ReportDocument

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice!

@tsullivan tsullivan force-pushed the reporting/switch-to-tm-pre branch 4 times, most recently from 2287b01 to 2197898 Compare September 3, 2020 06:45
size: number;
max_size_reached?: boolean;
warnings?: string[];
}
Copy link
Member Author

Choose a reason for hiding this comment

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

I created a new directory for these, because more code is coming soon

Copy link
Contributor

Choose a reason for hiding this comment

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

@@ -23,30 +24,30 @@ const mockJobsFound = [
_source: {
status: 'completed',
output: { max_size_reached: false, csv_contains_formulas: false },
payload: { type: 'spectacular', title: 'specimen' },
Copy link
Member Author

Choose a reason for hiding this comment

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

This is why we should not have had .type on JobSummary

return {
id: src._id,
status: src._source.status,
title: src._source.payload.title,
type: src._source.payload.type,
Copy link
Member Author

Choose a reason for hiding this comment

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

There is no type field of payload

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@tsullivan
Copy link
Member Author

@elasticmachine merge upstream

@streamich streamich self-requested a review September 22, 2020 12:48
@tsullivan
Copy link
Member Author

@elasticmachine merge upstream

Copy link
Contributor

@streamich streamich left a comment

Choose a reason for hiding this comment

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

Changes LGTM, ran it on Mac/Chrome all seems to work.


While looking at this PR, I also looked at the reporting plugin in general to learn it better, bellow are few things that caught my attention.

Maybe we should retire the dashboard sharing API share.register and use there UI Actions instead, where dashboard would have its own trigger, say DASHBOARD_MENU_TRIGGER:

uiActions.addTriggerAction(DASHBOARD_MENU_TRIGGER, action);

To reduce bundle sizes, ideally we want to load apps and management app section asynchronously, so would be nice to load the management app section using a dynamic import, and maybe even the UI parts of registered dashboard menu actions.

I liked the .stop$ observable, I'm thinking maybe we could even change how we write Kibana plugins, to something like this:

const {plugin, setup$, start$, stop$} = createPlugin();

export {plugin};

setup$
  .pipe(
    tap((core, plugins) => { /* ... */ }),
  )
  .subscribe();


start$
  .pipe(
    tap((core, plugins) => { /* ... */ }),
  )
  .subscribe();

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/smokescreen·ts.lens app lens smokescreen tests should create an xy visualization with filters aggregation

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:14:29]         └-: lens app
[00:14:29]           └-> "before all" hook
[00:14:29]           └-> "before all" hook
[00:14:29]             │ debg Starting lens before method
[00:14:29]             │ info [logstash_functional] Loading "mappings.json"
[00:14:29]             │ info [logstash_functional] Loading "data.json.gz"
[00:14:29]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:14:29]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:14:29]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:14:30]             │ info [lens/basic] Loading "mappings.json"
[00:14:30]             │ info [lens/basic] Loading "data.json.gz"
[00:14:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600794272026743466] [.kibana_2/uzLEHhDSTt264_zqQIs04A] deleting index
[00:14:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600794272026743466] [.kibana_1/QGtKGjoYRa-CsQKlQn1Wew] deleting index
[00:14:30]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:14:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600794272026743466] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:14:30]             │ info [lens/basic] Created index ".kibana_1"
[00:14:30]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:14:30]             │ info [lens/basic] Indexed 11 docs into ".kibana_1"
[00:14:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600794272026743466] [.kibana_1/ISKzb1z6SJChurkfaN-B2Q] update_mapping [_doc]
[00:14:30]             │ debg Migrating saved objects
[00:14:30]             │ proc [kibana]   log   [17:48:27.286] [info][savedobjects-service] Creating index .kibana_2.
[00:14:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600794272026743466] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:14:30]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600794272026743466] updating number_of_replicas to [0] for indices [.kibana_2]
[00:14:30]             │ proc [kibana]   log   [17:48:27.356] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:14:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600794272026743466] [.kibana_2/kOGJJvruS9GVyx3WSETHCQ] update_mapping [_doc]
[00:14:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600794272026743466] [.kibana_2/kOGJJvruS9GVyx3WSETHCQ] update_mapping [_doc]
[00:14:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600794272026743466] [.kibana_2/kOGJJvruS9GVyx3WSETHCQ] update_mapping [_doc]
[00:14:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600794272026743466] [.kibana_2/kOGJJvruS9GVyx3WSETHCQ] update_mapping [_doc]
[00:14:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600794272026743466] [.kibana_2/kOGJJvruS9GVyx3WSETHCQ] update_mapping [_doc]
[00:14:31]             │ proc [kibana]   log   [17:48:27.668] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:14:31]             │ proc [kibana]   log   [17:48:27.710] [info][savedobjects-service] Finished in 426ms.
[00:14:31]           └-: 
[00:14:31]             └-> "before all" hook
[00:14:31]             └-: lens smokescreen tests
[00:14:31]               └-> "before all" hook
[00:14:31]               └-> should allow creation of lens xy chart
[00:14:31]                 └-> "before each" hook: global before each
[00:14:31]                 │ debg navigating to visualize url: http://localhost:6181/app/visualize#/
[00:14:31]                 │ debg navigate to: http://localhost:6181/app/visualize#/
[00:14:31]                 │ debg ... sleep(700) start
[00:14:31]                 │ debg browser[INFO] http://localhost:6181/login?next=%2Fapp%2Fvisualize%3F_t%3D1600796907722#/ 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:14:31]                 │
[00:14:31]                 │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:32]                 │ debg ... sleep(700) end
[00:14:32]                 │ debg returned from get, calling refresh
[00:14:32]                 │ERROR browser[SEVERE] http://localhost:6181/internal/licensing/feature_usage/register - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:14:32]                 │ debg browser[WARNING] http://localhost:6181/36518/bundles/plugin/uiActionsEnhanced/uiActionsEnhanced.plugin.js 15:63477 "ActionFactory [actionFactory.id = URL_DRILLDOWN] fail to register feature for featureUsage."
[00:14:32]                 │ERROR browser[SEVERE] http://localhost:6181/36518/bundles/core/core.entry.js 97:271132 TypeError: Failed to fetch
[00:14:32]                 │          at Fetch._callee3$ (http://localhost:6181/36518/bundles/core/core.entry.js:34:106778)
[00:14:32]                 │          at l (http://localhost:6181/36518/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186849)
[00:14:32]                 │          at Generator._invoke (http://localhost:6181/36518/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186602)
[00:14:32]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6181/36518/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:187206)
[00:14:32]                 │          at fetch_asyncGeneratorStep (http://localhost:6181/36518/bundles/core/core.entry.js:34:100871)
[00:14:32]                 │          at _throw (http://localhost:6181/36518/bundles/core/core.entry.js:34:101279)
[00:14:32]                 │ debg browser[INFO] http://localhost:6181/login?next=%2Fapp%2Fvisualize%3F_t%3D1600796907722#/ 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:14:32]                 │
[00:14:32]                 │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:33]                 │ERROR browser[SEVERE] http://localhost:6181/internal/licensing/feature_usage/register - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:14:33]                 │ debg currentUrl = http://localhost:6181/login?next=%2Fapp%2Fvisualize%3F_t%3D1600796907722#/
[00:14:33]                 │          appUrl = http://localhost:6181/app/visualize#/
[00:14:33]                 │ debg TestSubjects.find(kibanaChrome)
[00:14:33]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:33]                 │ debg Found login page
[00:14:33]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:14:33]                 │ debg TestSubjects.click(loginUsername)
[00:14:33]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:14:33]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:14:33]                 │ debg browser[WARNING] http://localhost:6181/36518/bundles/plugin/uiActionsEnhanced/uiActionsEnhanced.plugin.js 15:63477 "ActionFactory [actionFactory.id = URL_DRILLDOWN] fail to register feature for featureUsage."
[00:14:33]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:14:33]                 │ debg TestSubjects.click(loginPassword)
[00:14:33]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:14:33]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:14:33]                 │ debg TestSubjects.click(loginSubmit)
[00:14:33]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:14:33]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:14:33]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:14:33]                 │ proc [kibana]   log   [17:48:30.207] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:14:34]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:34]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:14:36]                 │ debg browser[INFO] http://localhost:6181/app/visualize?_t=1600796907722#/ 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:14:36]                 │
[00:14:36]                 │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:36]                 │ debg browser[INFO] http://localhost:6181/app/visualize?_t=1600796912597#/ 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:14:36]                 │
[00:14:36]                 │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:37]                 │ debg Finished login process currentUrl = http://localhost:6181/app/visualize#/
[00:14:37]                 │ debg ... sleep(501) start
[00:14:37]                 │ debg ... sleep(501) end
[00:14:37]                 │ debg in navigateTo url = http://localhost:6181/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:37]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:14:38]                 │ debg ... sleep(501) start
[00:14:38]                 │ debg ... sleep(501) end
[00:14:38]                 │ debg in navigateTo url = http://localhost:6181/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:38]                 │ debg TestSubjects.exists(statusPageContainer)
[00:14:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:41]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:41]                 │ debg TestSubjects.exists(newItemButton)
[00:14:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:41]                 │ debg TestSubjects.click(newItemButton)
[00:14:41]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:41]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:41]                 │ debg TestSubjects.find(visNewDialogTypes)
[00:14:41]                 │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:14:41]                 │ debg TestSubjects.click(visType-lens)
[00:14:41]                 │ debg Find.clickByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:14:41]                 │ debg Find.findByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:14:41]                 │ debg isGlobalLoadingIndicatorVisible
[00:14:41]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:42]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:42]                 │ERROR browser[SEVERE] http://localhost:6181/plugins/lens/assets/lens_app_graphic_light_2x.png - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:14:44]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:44]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:44]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:44]                 │ debg lensPage.goToTimeRange()
[00:14:44]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:14:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:14:44]                 │ debg TestSubjects.click(noDataPopoverDismissButton)
[00:14:44]                 │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:14:44]                 │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:14:44]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:14:44]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:44]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:44]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:44]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:44]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:44]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:44]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:44]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:44]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:44]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:45]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:45]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:45]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:14:45]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:45]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:45]                 │ debg Find.waitForElementStale with timeout=10000
[00:14:46]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:46]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:46]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:46]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:14:46]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:46]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:14:49]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:14:49]                 │ debg TestSubjects.click(querySubmitButton)
[00:14:49]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:49]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:49]                 │ debg Find.waitForElementStale with timeout=10000
[00:14:50]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:50]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:50]                 │ debg lensPage.configureDimension([object Object])
[00:14:50]                 │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_xDimensionPanel > lns-empty-dimension)
[00:14:50]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:50]                 │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:50]                 │ debg TestSubjects.exists(lns-indexPatternDimension-date_histogram)
[00:14:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=2500
[00:14:50]                 │ debg TestSubjects.click(lns-indexPatternDimension-date_histogram)
[00:14:50]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:14:50]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:14:50]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:14:50]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:14:50]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:14:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:14:53]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:14:53]                 │ debg comboBox.setElement, value: @timestamp
[00:14:53]                 │ debg comboBox.isOptionSelected, value: @timestamp
[00:14:56]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:14:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:14:56]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@timestamp"]') with timeout=2500
[00:14:56]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:14:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:14:58]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:14:59]                 │ debg lensPage.closeDimensionEditor()
[00:14:59]                 │ debg TestSubjects.click(lns-indexPattern-dimensionContainerTitle)
[00:14:59]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:14:59]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:14:59]                 │ debg lensPage.configureDimension([object Object])
[00:14:59]                 │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_yDimensionPanel > lns-empty-dimension)
[00:14:59]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:59]                 │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:59]                 │ debg TestSubjects.exists(lns-indexPatternDimension-avg)
[00:14:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-avg"]') with timeout=2500
[00:14:59]                 │ debg TestSubjects.click(lns-indexPatternDimension-avg)
[00:14:59]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-avg"]') with timeout=10000
[00:14:59]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-avg"]') with timeout=10000
[00:14:59]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:14:59]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:14:59]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:14:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:02]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:02]                 │ debg comboBox.setElement, value: bytes
[00:15:02]                 │ debg comboBox.isOptionSelected, value: bytes
[00:15:05]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:05]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bytes"]') with timeout=2500
[00:15:05]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:08]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:08]                 │ debg lensPage.closeDimensionEditor()
[00:15:08]                 │ debg TestSubjects.click(lns-indexPattern-dimensionContainerTitle)
[00:15:08]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:15:08]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:15:08]                 │ debg lensPage.configureDimension([object Object])
[00:15:08]                 │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_splitDimensionPanel > lns-empty-dimension)
[00:15:08]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:15:08]                 │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:15:08]                 │ debg TestSubjects.exists(lns-indexPatternDimension-terms)
[00:15:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=2500
[00:15:08]                 │ debg TestSubjects.click(lns-indexPatternDimension-terms)
[00:15:08]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:15:08]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:15:08]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:15:08]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:15:08]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:11]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:11]                 │ debg comboBox.setElement, value: @message.raw
[00:15:11]                 │ debg comboBox.isOptionSelected, value: @message.raw
[00:15:14]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:14]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@message.raw"]') with timeout=2500
[00:15:14]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:14]                 │ proc [kibana]   log   [17:49:11.120] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [24], primary term [1]. current document has seqNo [25] and primary term [1]
[00:15:17]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:17]                 │ debg lensPage.closeDimensionEditor()
[00:15:17]                 │ debg TestSubjects.click(lns-indexPattern-dimensionContainerTitle)
[00:15:17]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:15:17]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:15:17]                 │ debg lensPage.switchToVisualization('lnsDatatable')
[00:15:17]                 │ debg lensPage.openChartSwitchPopover()
[00:15:17]                 │ debg TestSubjects.exists(visTypeTitle)
[00:15:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="visTypeTitle"]') with timeout=2500
[00:15:20]                 │ debg --- retry.tryForTime error: [data-test-subj="visTypeTitle"] is not displayed
[00:15:20]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:15:20]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:15:20]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:15:20]                 │ debg TestSubjects.exists(visTypeTitle)
[00:15:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="visTypeTitle"]') with timeout=120000
[00:15:21]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:15:21]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:15:21]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:15:21]                 │ debg lensPage.removeDimension('lnsDatatable_column')
[00:15:21]                 │ debg TestSubjects.click(lnsDatatable_column > indexPattern-dimension-remove)
[00:15:21]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsDatatable_column"] [data-test-subj="indexPattern-dimension-remove"]') with timeout=10000
[00:15:21]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDatatable_column"] [data-test-subj="indexPattern-dimension-remove"]') with timeout=10000
[00:15:21]                 │ debg lensPage.switchToVisualization('bar_stacked')
[00:15:21]                 │ debg lensPage.openChartSwitchPopover()
[00:15:21]                 │ debg TestSubjects.exists(visTypeTitle)
[00:15:21]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="visTypeTitle"]') with timeout=2500
[00:15:23]                 │ proc [kibana]   log   [17:49:19.914] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [30], primary term [1]. current document has seqNo [34] and primary term [1]
[00:15:23]                 │ debg --- retry.tryForTime error: [data-test-subj="visTypeTitle"] is not displayed
[00:15:24]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:15:24]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:15:24]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:15:24]                 │ debg TestSubjects.exists(visTypeTitle)
[00:15:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="visTypeTitle"]') with timeout=120000
[00:15:24]                 │ debg TestSubjects.click(lnsChartSwitchPopover_bar_stacked)
[00:15:24]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_bar_stacked"]') with timeout=10000
[00:15:24]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_bar_stacked"]') with timeout=10000
[00:15:24]                 │ debg lensPage.configureDimension([object Object])
[00:15:24]                 │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_splitDimensionPanel > lns-empty-dimension)
[00:15:24]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:15:24]                 │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:15:25]                 │ debg TestSubjects.exists(lns-indexPatternDimension-terms)
[00:15:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=2500
[00:15:25]                 │ debg --- retry.tryForTime error: [data-test-subj="lns-indexPatternDimension-terms"] is not displayed
[00:15:25]                 │ debg TestSubjects.click(lns-indexPatternDimension-terms)
[00:15:25]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:15:25]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:15:25]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:15:25]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:15:25]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:28]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:28]                 │ debg comboBox.setElement, value: ip
[00:15:28]                 │ debg comboBox.isOptionSelected, value: ip
[00:15:31]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:31]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="ip"]') with timeout=2500
[00:15:31]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:31]                 │ proc [kibana]   log   [17:49:27.817] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [38], primary term [1]. current document has seqNo [39] and primary term [1]
[00:15:33]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:34]                 │ debg lensPage.closeDimensionEditor()
[00:15:34]                 │ debg TestSubjects.click(lns-indexPattern-dimensionContainerTitle)
[00:15:34]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:15:34]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:15:34]                 │ debg lensPage.save('Afancilenstest')
[00:15:34]                 │ debg isGlobalLoadingIndicatorVisible
[00:15:34]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:35]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:36]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:36]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:36]                 │ debg TestSubjects.click(lnsApp_saveButton)
[00:15:36]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsApp_saveButton"]') with timeout=10000
[00:15:36]                 │ debg Find.findByCssSelector('[data-test-subj="lnsApp_saveButton"]') with timeout=10000
[00:15:36]                 │ debg TestSubjects.setValue(savedObjectTitle, Afancilenstest)
[00:15:36]                 │ debg TestSubjects.click(savedObjectTitle)
[00:15:36]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:15:36]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:15:36]                 │ debg TestSubjects.exists(saveAsNewCheckbox)
[00:15:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveAsNewCheckbox"]') with timeout=2500
[00:15:39]                 │ debg --- retry.tryForTime error: [data-test-subj="saveAsNewCheckbox"] is not displayed
[00:15:39]                 │ debg TestSubjects.exists(returnToOriginModeSwitch)
[00:15:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="returnToOriginModeSwitch"]') with timeout=2500
[00:15:42]                 │ debg --- retry.tryForTime error: [data-test-subj="returnToOriginModeSwitch"] is not displayed
[00:15:42]                 │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:15:42]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:15:42]                 │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:15:42]                 │ debg Waiting up to 1000ms for Save modal to disappear...
[00:15:42]                 │ debg TestSubjects.missingOrFail(confirmSaveSavedObjectButton)
[00:15:42]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=2500
[00:15:44]                 │ proc [kibana]   log   [17:49:40.794] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [46], primary term [1]. current document has seqNo [48] and primary term [1]
[00:15:44]                 │ debg navigating to visualize url: http://localhost:6181/app/visualize#/
[00:15:44]                 │ debg navigate to: http://localhost:6181/app/visualize#/
[00:15:44]                 │ debg browser[INFO] http://localhost:6181/app/visualize?_t=1600796981136#/ 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:15:44]                 │
[00:15:44]                 │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:44]                 │ debg ... sleep(700) start
[00:15:45]                 │ debg ... sleep(700) end
[00:15:45]                 │ debg returned from get, calling refresh
[00:15:46]                 │ debg browser[WARNING] http://localhost:6181/36518/bundles/plugin/uiActionsEnhanced/uiActionsEnhanced.plugin.js 15:63477 "ActionFactory [actionFactory.id = URL_DRILLDOWN] fail to register feature for featureUsage."
[00:15:46]                 │ERROR browser[SEVERE] http://localhost:6181/36518/bundles/core/core.entry.js 97:271132 TypeError: Failed to fetch
[00:15:46]                 │          at Fetch._callee3$ (http://localhost:6181/36518/bundles/core/core.entry.js:34:106778)
[00:15:46]                 │          at l (http://localhost:6181/36518/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186849)
[00:15:46]                 │          at Generator._invoke (http://localhost:6181/36518/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186602)
[00:15:46]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6181/36518/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:187206)
[00:15:46]                 │          at fetch_asyncGeneratorStep (http://localhost:6181/36518/bundles/core/core.entry.js:34:100871)
[00:15:46]                 │          at _throw (http://localhost:6181/36518/bundles/core/core.entry.js:34:101279)
[00:15:46]                 │ debg browser[INFO] http://localhost:6181/app/visualize?_t=1600796981136#/ 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:15:46]                 │
[00:15:46]                 │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:46]                 │ debg currentUrl = http://localhost:6181/app/visualize#/
[00:15:46]                 │          appUrl = http://localhost:6181/app/visualize#/
[00:15:46]                 │ debg TestSubjects.find(kibanaChrome)
[00:15:46]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:48]                 │ debg ... sleep(501) start
[00:15:48]                 │ debg ... sleep(501) end
[00:15:48]                 │ debg in navigateTo url = http://localhost:6181/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:15:48]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:15:49]                 │ debg ... sleep(501) start
[00:15:49]                 │ debg ... sleep(501) end
[00:15:49]                 │ debg in navigateTo url = http://localhost:6181/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:15:49]                 │ debg TestSubjects.exists(statusPageContainer)
[00:15:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:15:52]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:15:52]                 │ debg searchForItemWithName: Afancilenstest
[00:15:52]                 │ debg Find.allByCssSelector('main .euiFieldSearch') with timeout=10000
[00:15:53]                 │ debg isGlobalLoadingIndicatorVisible
[00:15:53]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:53]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:53]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:53]                 │ debg lensPage.clickVisualizeListItemTitle('Afancilenstest')
[00:15:53]                 │ debg TestSubjects.click(visListingTitleLink-Afancilenstest)
[00:15:53]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Afancilenstest"]') with timeout=10000
[00:15:53]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Afancilenstest"]') with timeout=10000
[00:15:53]                 │ debg lensPage.goToTimeRange()
[00:15:53]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:15:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:15:54]                 │ proc [kibana]   log   [17:49:50.951] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [55], primary term [1]. current document has seqNo [56] and primary term [1]
[00:15:54]                 │ proc [kibana]   log   [17:49:50.959] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [56], primary term [1]. current document has seqNo [57] and primary term [1]
[00:15:56]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:15:56]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:15:56]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:15:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:15:56]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:15:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:15:56]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:15:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:15:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:15:57]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:15:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:15:57]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:15:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:15:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:15:57]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:15:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:15:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:57]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:15:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:57]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:15:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:57]                 │ debg Find.waitForElementStale with timeout=10000
[00:15:58]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:15:58]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:15:58]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:58]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:58]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:58]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:15:58]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:58]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:58]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:15:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:16:01]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:16:01]                 │ debg TestSubjects.click(querySubmitButton)
[00:16:01]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:01]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:02]                 │ debg Find.waitForElementStale with timeout=10000
[00:16:02]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:02]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:02]                 │ debg lensPage.getTitle()
[00:16:02]                 │ debg TestSubjects.getVisibleText(lns_ChartTitle)
[00:16:02]                 │ debg TestSubjects.find(lns_ChartTitle)
[00:16:02]                 │ debg Find.findByCssSelector('[data-test-subj="lns_ChartTitle"]') with timeout=10000
[00:16:02]                 │ debg Find.allByCssSelector('.echLegendItem') with timeout=10000
[00:16:02]                 └- ✓ pass  (1.0m) "lens app  lens smokescreen tests should allow creation of lens xy chart"
[00:16:02]               └-> should create an xy visualization with filters aggregation
[00:16:02]                 └-> "before each" hook: global before each
[00:16:02]                 │ debg navigating to visualize url: http://localhost:6181/app/visualize#/
[00:16:02]                 │ debg navigate to: http://localhost:6181/app/visualize#/
[00:16:02]                 │ debg browser[INFO] http://localhost:6181/app/visualize?_t=1600796999166#/ 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:16:02]                 │
[00:16:02]                 │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:02]                 │ debg ... sleep(700) start
[00:16:03]                 │ debg ... sleep(700) end
[00:16:03]                 │ debg returned from get, calling refresh
[00:16:04]                 │ERROR browser[SEVERE] http://localhost:6181/36518/bundles/core/core.entry.js 97:271132 TypeError: Failed to fetch
[00:16:04]                 │          at Fetch._callee3$ (http://localhost:6181/36518/bundles/core/core.entry.js:34:106778)
[00:16:04]                 │          at l (http://localhost:6181/36518/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186849)
[00:16:04]                 │          at Generator._invoke (http://localhost:6181/36518/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186602)
[00:16:04]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6181/36518/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:187206)
[00:16:04]                 │          at fetch_asyncGeneratorStep (http://localhost:6181/36518/bundles/core/core.entry.js:34:100871)
[00:16:04]                 │          at _throw (http://localhost:6181/36518/bundles/core/core.entry.js:34:101279)
[00:16:04]                 │ debg browser[INFO] http://localhost:6181/app/visualize?_t=1600796999166#/ 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:16:04]                 │
[00:16:04]                 │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:05]                 │ debg currentUrl = http://localhost:6181/app/visualize#/
[00:16:05]                 │          appUrl = http://localhost:6181/app/visualize#/
[00:16:05]                 │ debg TestSubjects.find(kibanaChrome)
[00:16:05]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:05]                 │ debg ... sleep(501) start
[00:16:06]                 │ debg ... sleep(501) end
[00:16:06]                 │ debg in navigateTo url = http://localhost:6181/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:16:06]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:16:06]                 │ debg ... sleep(501) start
[00:16:07]                 │ debg ... sleep(501) end
[00:16:07]                 │ debg in navigateTo url = http://localhost:6181/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:16:07]                 │ debg TestSubjects.exists(statusPageContainer)
[00:16:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:16:09]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:16:10]                 │ debg searchForItemWithName: lnsXYvis
[00:16:10]                 │ debg Find.allByCssSelector('main .euiFieldSearch') with timeout=10000
[00:16:10]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:10]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:10]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:10]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:10]                 │ debg lensPage.clickVisualizeListItemTitle('lnsXYvis')
[00:16:10]                 │ debg TestSubjects.click(visListingTitleLink-lnsXYvis)
[00:16:10]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-lnsXYvis"]') with timeout=10000
[00:16:10]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-lnsXYvis"]') with timeout=10000
[00:16:10]                 │ debg lensPage.goToTimeRange()
[00:16:10]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:16:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:16:11]                 │ proc [kibana]   log   [17:50:07.952] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [64], primary term [1]. current document has seqNo [65] and primary term [1]
[00:16:13]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:16:13]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:16:13]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:16:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:16:13]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:16:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:16:13]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:16:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:14]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:16:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:16:14]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:16:14]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:14]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:14]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:14]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:14]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:14]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:14]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:14]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:14]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:14]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:16:14]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:14]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:14]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:14]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:16:14]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:14]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:14]                 │ debg Find.waitForElementStale with timeout=10000
[00:16:15]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:15]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:15]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:15]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:15]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:15]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:15]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:15]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:16:15]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:15]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:15]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:15]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:16:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:16:18]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:16:18]                 │ debg TestSubjects.click(querySubmitButton)
[00:16:18]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:18]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:18]                 │ debg Find.waitForElementStale with timeout=10000
[00:16:19]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:19]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:19]                 │ debg lensPage.configureDimension([object Object])
[00:16:19]                 │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_splitDimensionPanel > lns-dimensionTrigger)
[00:16:19]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-dimensionTrigger"]') with timeout=10000
[00:16:19]                 │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-dimensionTrigger"]') with timeout=10000
[00:16:19]                 │ debg TestSubjects.exists(lns-indexPatternDimension-filters)
[00:16:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-filters"]') with timeout=2500
[00:16:21]                 │ proc [kibana]   log   [17:50:17.875] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [74], primary term [1]. current document has seqNo [75] and primary term [1]
[00:16:21]                 │ proc [kibana]   log   [17:50:17.892] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [75], primary term [1]. current document has seqNo [76] and primary term [1]
[00:16:22]                 │ debg --- retry.tryForTime error: [data-test-subj="lns-indexPatternDimension-filters"] is not displayed
[00:16:22]                 │ debg TestSubjects.click(lns-indexPatternDimension-filters incompatible)
[00:16:22]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-filters incompatible"]') with timeout=10000
[00:16:22]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-filters incompatible"]') with timeout=10000
[00:16:22]                 │ debg lensPage.addFilterToAgg('geo.src : CN')
[00:16:22]                 │ debg TestSubjects.click(lns-newBucket-add)
[00:16:22]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-newBucket-add"]') with timeout=10000
[00:16:22]                 │ debg Find.findByCssSelector('[data-test-subj="lns-newBucket-add"]') with timeout=10000
[00:16:23]                 │ debg TestSubjects.find(indexPattern-filters-queryStringInput)
[00:16:23]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-filters-queryStringInput"]') with timeout=10000
[00:16:23]                 │ debg ... sleep(1000) start
[00:16:24]                 │ debg ... sleep(1000) end
[00:16:24]                 │ debg lensPage.getFiltersAggLabels()
[00:16:24]                 │ debg TestSubjects.findAll(indexPattern-filters-existingFilterContainer)
[00:16:24]                 │ debg Find.allByCssSelector('[data-test-subj="indexPattern-filters-existingFilterContainer"]') with timeout=10000
[00:16:24]                 │ debg Found 2 filters on current page
[00:16:24]                 │ info Taking screenshot "/dev/shm/workspace/parallel/8/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests should create an xy visualization with filters aggregation.png"
[00:16:24]                 │ info Current URL is: http://localhost:6181/app/lens#/edit/76fc4200-cf44-11e9-b933-fd84270f3ac2?_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:16:25]                 │ info Saving page source to: /dev/shm/workspace/parallel/8/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests should create an xy visualization with filters aggregation.html
[00:16:25]                 └- ✖ fail: lens app  lens smokescreen tests should create an xy visualization with filters aggregation
[00:16:25]                 │       Error: expected [ 'ip : *', '@message.raw geo.src : CN' ] to sort of equal [ 'ip : *', 'geo.src : CN' ]
[00:16:25]                 │       + expected - actual
[00:16:25]                 │ 
[00:16:25]                 │        [
[00:16:25]                 │          "ip : *"
[00:16:25]                 │       -  "@message.raw geo.src : CN"
[00:16:25]                 │       +  "geo.src : CN"
[00:16:25]                 │        ]
[00:16:25]                 │       
[00:16:25]                 │       at Assertion.assert (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:100:11)
[00:16:25]                 │       at Assertion.eql (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:244:8)
[00:16:25]                 │       at Context.it (test/functional/apps/lens/smokescreen.ts:81:63)
[00:16:25]                 │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:16:25]                 │ 
[00:16:25]                 │ 

Stack Trace

{ Error: expected [ 'ip : *', '@message.raw geo.src : CN' ] to sort of equal [ 'ip : *', 'geo.src : CN' ]
    at Assertion.assert (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.it (test/functional/apps/lens/smokescreen.ts:81:63)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  actual: '[\n  "ip : *"\n  "@message.raw geo.src : CN"\n]',
  expected: '[\n  "ip : *"\n  "geo.src : CN"\n]',
  showDiff: true }

Build metrics

page load bundle size

id value diff baseline
reporting 304.3KB +165.0B 304.2KB

distributable file count

id value diff baseline
default 45943 +1 45942

History

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

@tsullivan tsullivan merged commit a537f9a into elastic:master Sep 22, 2020
@tsullivan tsullivan deleted the reporting/switch-to-tm-pre branch September 22, 2020 19:34
tsullivan added a commit to tsullivan/kibana that referenced this pull request Sep 22, 2020
* [Reporting] Simplify Export Type Definitions, use defaults for generics, refactor

* ReportApiJSON interface for common

* rename JobSummary to JobStatusBucket for clarity

* revert unneeded create mock changes

* clean up the diff

* revert changes to worker.js

* rewrite comment

* rename type to jobtype in JobStatusBucket

* allow type inference

* JobSummarySet

* remove odd comment

* Reflect that browser timezone may be undefined in the BaseParams

* comment about optional browserTimezone

* revert unecessary es archive change

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/reporting/server/export_types/common/get_full_urls.test.ts
#	x-pack/plugins/reporting/server/export_types/printable_pdf/create_job/index.ts
#	x-pack/plugins/reporting/server/export_types/printable_pdf/types.d.ts
#	x-pack/plugins/reporting/server/lib/store/store.ts
#	x-pack/plugins/reporting/server/types.ts
tsullivan added a commit to tsullivan/kibana that referenced this pull request Sep 22, 2020
* [Reporting] Simplify Export Type Definitions, use defaults for generics, refactor

* ReportApiJSON interface for common

* rename JobSummary to JobStatusBucket for clarity

* revert unneeded create mock changes

* clean up the diff

* revert changes to worker.js

* rewrite comment

* rename type to jobtype in JobStatusBucket

* allow type inference

* JobSummarySet

* remove odd comment

* Reflect that browser timezone may be undefined in the BaseParams

* comment about optional browserTimezone

* revert unecessary es archive change

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
tsullivan added a commit to tsullivan/kibana that referenced this pull request Sep 22, 2020
* [Reporting] Simplify Export Type Definitions, use defaults for generics, refactor

* ReportApiJSON interface for common

* rename JobSummary to JobStatusBucket for clarity

* revert unneeded create mock changes

* clean up the diff

* revert changes to worker.js

* rewrite comment

* rename type to jobtype in JobStatusBucket

* allow type inference

* JobSummarySet

* remove odd comment

* Reflect that browser timezone may be undefined in the BaseParams

* comment about optional browserTimezone

* revert unecessary es archive change

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
tsullivan added a commit that referenced this pull request Sep 23, 2020
* [Reporting] Clean Up TypeScript Definitions (#76566)

* [Reporting] Simplify Export Type Definitions, use defaults for generics, refactor

* ReportApiJSON interface for common

* rename JobSummary to JobStatusBucket for clarity

* revert unneeded create mock changes

* clean up the diff

* revert changes to worker.js

* rewrite comment

* rename type to jobtype in JobStatusBucket

* allow type inference

* JobSummarySet

* remove odd comment

* Reflect that browser timezone may be undefined in the BaseParams

* comment about optional browserTimezone

* revert unecessary es archive change

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* fix ts

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@tsullivan
Copy link
Member Author

tsullivan commented Sep 23, 2020

@streamich Thanks for taking the time to review this and offer those suggestions. I think each one of them should stay tracked, so I am filing separate ER issues.

Maybe we should retire the dashboard sharing API share.register and use there UI Actions instead, where dashboard would have its own trigger, say DASHBOARD_MENU_TRIGGER:

I'm not sure I follow this one specifically. I think it is about a cleanup for App Arch in code that I'm not that familiar with. Feel free to ping me and we can talk about it more.

To reduce bundle sizes, ideally we want to load apps and management app section asynchronously, so would be nice to load the management app section using a dynamic import, and maybe even the UI parts of registered dashboard menu actions.

++ Reducing bundle sizes is hugely important for Reporting as a feature because lower bundle sizes means faster load in the headless browser that captures the screenshots. Of course we don't care about any management features in that use case, so if we can avoid having the browser parse the code altogether, that is great.

Filed: #78242

I liked the .stop$ observable

This reminded me that we need to monitor stop$ on our server side. If a reporting job is running when the server goes down, we can immediately re-schedule it so it gets picked up by another server or picked up when the server comes back online.

Filed: #78243

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants