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

Fix KQL autocomplete value suggestions #78676

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

lukasolson
Copy link
Member

Summary

Fixes #75742.

At some point with the index pattern refactorings, things like name, aggregatable, and type weren't properties of the field object, but became accessor methods. Since we were doing some funky transformations in the value suggestions logic, these properties were getting lost as a result of something like this:

const newField = { ...field, ... 

This PR updates the code to not lose these properties and adds a functional test to ensure value suggestions are working properly.

Checklist

@lukasolson lukasolson added Feature:KQL KQL v8.0.0 Team:AppArch release_note:skip Skip the PR/issue when compiling release notes v7.10.0 labels Sep 28, 2020
@lukasolson lukasolson requested a review from a team as a code owner September 28, 2020 19:57
@elasticmachine
Copy link
Contributor

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

const fullFieldName = nestedPath ? `${nestedPath}.${fieldName}` : fieldName;
const fields = allFields.filter((field) => field.name === fullFieldName);

const indexPatternFieldEntries: Array<[IIndexPattern, IFieldType]> = [];
Copy link
Contributor

Choose a reason for hiding this comment

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

Just want to make sure these are the correct types. They're necessary if someone is passing in js objects instead of classes instances but otherwise we should use IndexPattern and IndexPatternField

Copy link
Member Author

Choose a reason for hiding this comment

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

If we could add that in a follow-up PR I think that'd be ideal since it will also include some refactoring of all the suggestors (value, conjunction, fields, etc.)

@lukasolson lukasolson force-pushed the fix-value-suggestions branch from 79b678f to 2369467 Compare September 28, 2020 20:11
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

X-Pack Reporting API Integration Tests.x-pack/test/reporting_api_integration/reporting_and_security/usage·ts.Reporting APIs Usage from new jobs posted should handle preserve_layout pdf

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Reporting APIs
[00:00:00]           └-> "before all" hook
[00:02:12]           └-: Usage
[00:02:12]             └-> "before all" hook
[00:02:12]             └-> "before all" hook
[00:02:12]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Loading "mappings.json"
[00:02:12]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Loading "data.json.gz"
[00:02:13]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/W5136u_ZSi2lxcy7Mp6pfQ] deleting index
[00:02:13]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_1/gNcfPn6hR7ShqFjaPfOGmA] deleting index
[00:02:13]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:02:13]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:02:13]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] 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:02:13]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Created index ".kibana_1"
[00:02:13]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:13]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Indexed 143 docs into ".kibana_1"
[00:02:13]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_1/qwFm-g7wT9S-3ksK6kO08g] update_mapping [_doc]
[00:02:13]               │ debg Migrating saved objects
[00:02:13]               │ proc [kibana]   log   [21:56:33.187] [info][savedobjects-service] Creating index .kibana_2.
[00:02:13]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:02:13]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:13]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] 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:02:13]               │ proc [kibana]   log   [21:56:33.244] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:13]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/qgNtXxYbQXyNuov4dMyXLQ] update_mapping [_doc]
[00:02:13]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/qgNtXxYbQXyNuov4dMyXLQ] update_mapping [_doc]
[00:02:13]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/qgNtXxYbQXyNuov4dMyXLQ] update_mapping [_doc]
[00:02:13]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/qgNtXxYbQXyNuov4dMyXLQ] update_mapping [_doc]
[00:02:13]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/qgNtXxYbQXyNuov4dMyXLQ] update_mapping [_doc]
[00:02:13]               │ proc [kibana]   log   [21:56:33.524] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:13]               │ proc [kibana]   log   [21:56:33.580] [info][savedobjects-service] Finished in 394ms.
[00:02:13]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Loading "mappings.json"
[00:02:13]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Loading "data.json.gz"
[00:02:13]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:02:13]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:02:13]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:13]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:02:13]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:02:13]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:13]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:02:13]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-cats-2018-01-01"
[00:02:13]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-cats-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:13]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:02:13]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:02:13]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:14]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1]
[00:02:14]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "dogbreeds"
[00:02:14]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:14]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:02:14]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "logstash-0"
[00:02:14]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:02:23]               │ info progress: 12941
[00:02:24]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:02:24]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:02:24]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:02:24]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:02:24]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:02:24]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:02:24]               │ debg applying update to kibana config: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:02:26]               │ debg ReportingAPI.deleteAllReports
[00:02:47]             └-: from new jobs posted
[00:02:47]               └-> "before all" hook
[00:02:47]               └-> should handle csv
[00:02:47]                 └-> "before each" hook: global before each
[00:02:47]                 │ debg ReportingAPI.postJob(/api/reporting/generate/csv?jobParams=(conflictedTypesFields:!(),fields:!(%27@timestamp%27,agent,bytes,clientip),indexPatternId:%270bf35f60-3dc9-11e8-8660-4d65aa086b3c%27,metaFields:!(_source,_id,_type,_index,_score),searchRequest:(body:(_source:(excludes:!(),includes:!(%27@timestamp%27,agent,bytes,clientip)),docvalue_fields:!(%27@timestamp%27),query:(bool:(filter:!((bool:(minimum_should_match:1,should:!((match:(clientip:%2773.14.212.83%27)))))),must:!((range:(bytes:(gte:100,lt:1000))),(range:(%27@timestamp%27:(format:epoch_millis,gte:1369165215770,lte:1526931615770)))),must_not:!(),should:!())),script_fields:(),sort:!((%27@timestamp%27:(order:desc,unmapped_type:boolean))),stored_fields:!(%27@timestamp%27,agent,bytes,clientip),version:!t),index:%27logstash-*%27),title:%27Bytes%20and%20kuery%20in%20saved%20search%20with%20filter%27,type:search))
[00:02:47]                 │ proc [kibana]   log   [21:57:07.678] [info][plugins][reporting] Request uses default Space
[00:02:47]                 │ proc [kibana]   log   [21:57:07.697] [info][plugins][queue-job][reporting] Scheduled CSV report: kfn2o7hb715y49a1558obr7s
[00:02:47]                 │ debg Waiting for job to finish: /api/reporting/jobs/download/kfn2o7hb715y49a1558obr7s
[00:02:49]                 │ debg Report at path /api/reporting/jobs/download/kfn2o7hb715y49a1558obr7s is pending
[00:02:50]                 │ proc [kibana]   log   [21:57:10.274] [info][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Job marked as claimed: /.reporting-2020-09-27/kfn2o7hb715y49a1558obr7s
[00:02:50]                 │ proc [kibana]   log   [21:57:10.274] [info][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Starting job
[00:02:50]                 │ proc [kibana]   log   [21:57:10.285] [info][plugins][reporting] Request uses default Space
[00:02:50]                 │ proc [kibana]   log   [21:57:10.305] [warning][csv][execute-job][kfn2o7hb715y49a1558obr7s][plugins][reporting] Kibana Advanced Setting "dateFormat:tz" is set to "Browser". Dates will be formatted as UTC to avoid ambiguity.
[00:02:50]                 │ proc [kibana]   log   [21:57:10.341] [info][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Job execution completed successfully
[00:02:50]                 │ proc [kibana]   log   [21:57:10.346] [info][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Job data saved successfully: /.reporting-2020-09-27/kfn2o7hb715y49a1558obr7s
[00:02:50]                 │ debg Report at path /api/reporting/jobs/download/kfn2o7hb715y49a1558obr7s is pending
[00:02:52]                 │ debg Report at path /api/reporting/jobs/download/kfn2o7hb715y49a1558obr7s is complete
[00:02:52]                 └- ✓ pass  (4.8s) "Reporting APIs Usage from new jobs posted should handle csv"
[00:02:52]               └-> "after each" hook
[00:02:52]                 │ debg ReportingAPI.deleteAllReports
[00:02:52]               └-> should handle preserve_layout pdf
[00:02:52]                 └-> "before each" hook: global before each
[00:02:52]                 │ debg ReportingAPI.postJob(/api/reporting/generate/printablePdf?jobParams=(browserTimezone:America%2FNew_York,layout:(dimensions:(height:439,width:1362),id:preserve_layout),objectType:dashboard,relativeUrls:!(%27%2Fapp%2Fkibana%23%2Fdashboard%2F61c58ad0-3dd3-11e8-b2b9-5d5dc1715159%3F_g%3D(refreshInterval:(display:Off,pause:!!f,value:0),time:(from:!%27Mon%2BApr%2B09%2B2018%2B17:56:08%2BGMT-0400!%27,mode:absolute,to:!%27Wed%2BApr%2B11%2B2018%2B17:56:08%2BGMT-0400!%27))%26_a%3D(description:!%27!%27,filters:!!((!%27$state!%27:(store:appState),meta:(alias:!!n,disabled:!!f,index:a0f483a0-3dc9-11e8-8660-4d65aa086b3c,key:animal,negate:!!f,params:(query:dog,type:phrase),type:phrase,value:dog),query:(match:(animal:(query:dog,type:phrase))))),fullScreenMode:!!f,options:(hidePanelTitles:!!f,useMargins:!!t),panels:!!((embeddableConfig:(),gridData:(h:15,i:!%271!%27,w:24,x:0,y:0),id:!%2750643b60-3dd3-11e8-b2b9-5d5dc1715159!%27,panelIndex:!%271!%27,type:visualization,version:!%276.3.0!%27),(embeddableConfig:(),gridData:(h:15,i:!%272!%27,w:24,x:24,y:0),id:a16d1990-3dca-11e8-8660-4d65aa086b3c,panelIndex:!%272!%27,type:search,version:!%276.3.0!%27)),query:(language:lucene,query:!%27!%27),timeRestore:!!t,title:!%27dashboard%2Bwith%2Bfilter!%27,viewMode:view)%27),title:%27dashboard%20with%20filter%27))
[00:02:52]                 │ debg ReportingAPI.postJob(/api/reporting/generate/printablePdf?jobParams=(browserTimezone:America%2FNew_York,layout:(dimensions:(height:441,width:1002),id:preserve_layout),objectType:visualization,relativeUrls:!(%27%2Fapp%2Fkibana%23%2Fvisualize%2Fedit%2F3fe22200-3dcb-11e8-8660-4d65aa086b3c%3F_g%3D(refreshInterval:(display:Off,pause:!!f,value:0),time:(from:!%27Mon%2BApr%2B09%2B2018%2B17:56:08%2BGMT-0400!%27,mode:absolute,to:!%27Wed%2BApr%2B11%2B2018%2B17:56:08%2BGMT-0400!%27))%26_a%3D(filters:!!(),linked:!!f,query:(language:lucene,query:!%27!%27),uiState:(),vis:(aggs:!!((enabled:!!t,id:!%271!%27,params:(),schema:metric,type:count),(enabled:!!t,id:!%272!%27,params:(field:bytes,missingBucket:!!f,missingBucketLabel:Missing,order:desc,orderBy:!%271!%27,otherBucket:!!f,otherBucketLabel:Other,size:5),schema:segment,type:terms)),params:(addLegend:!!t,addTooltip:!!t,isDonut:!!t,labels:(last_level:!!t,show:!!f,truncate:100,values:!!t),legendPosition:right,type:pie),title:!%27Rendering%2BTest:%2Bpie!%27,type:pie))%27),title:%27Rendering%20Test:%20pie%27))
[00:02:52]                 │ proc [kibana]   log   [21:57:12.625] [info][plugins][reporting] Request uses default Space
[00:02:52]                 │ proc [kibana]   log   [21:57:12.627] [info][plugins][reporting] Request uses default Space
[00:02:52]                 │ proc [kibana]   log   [21:57:12.650] [info][plugins][queue-job][reporting] Scheduled PDF report: kfn2obap715y49a1557sckt9
[00:02:52]                 │ proc [kibana]   log   [21:57:12.651] [info][plugins][queue-job][reporting] Scheduled PDF report: kfn2obas715y49a1557ttfhz
[00:02:52]                 │ debg Waiting for job to finish: /api/reporting/jobs/download/kfn2obap715y49a1557sckt9
[00:02:52]                 │ debg Waiting for job to finish: /api/reporting/jobs/download/kfn2obas715y49a1557ttfhz
[00:02:53]                 │ proc [kibana]   log   [21:57:13.358] [info][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Job marked as claimed: /.reporting-2020-09-27/kfn2obap715y49a1557sckt9
[00:02:53]                 │ proc [kibana]   log   [21:57:13.359] [info][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Starting job
[00:02:53]                 │ proc [kibana]   log   [21:57:13.371] [info][plugins][reporting] Request uses default Space
[00:02:53]                 │ proc [kibana]   log   [21:57:13.387] [info][browser-driver][execute][kfn2obap715y49a1557sckt9][plugins][printable_pdf][reporting] Creating browser page driver
[00:02:53]                 │ proc [kibana]   log   [21:57:13.783] [info][execute][kfn2obap715y49a1557sckt9][plugins][printable_pdf][reporting] opening url http://localhost:6131/app/kibana#/dashboard/61c58ad0-3dd3-11e8-b2b9-5d5dc1715159?_g=(refreshInterval%3A(display%3AOff%2Cpause%3A!f%2Cvalue%3A0)%2Ctime%3A(from%3A'Mon%20Apr%2009%202018%2017%3A56%3A08%20GMT-0400'%2Cmode%3Aabsolute%2Cto%3A'Wed%20Apr%2011%202018%2017%3A56%3A08%20GMT-0400'))&_a=(description%3A''%2Cfilters%3A!(('%24state'%3A(store%3AappState)%2Cmeta%3A(alias%3A!n%2Cdisabled%3A!f%2Cindex%3Aa0f483a0-3dc9-11e8-8660-4d65aa086b3c%2Ckey%3Aanimal%2Cnegate%3A!f%2Cparams%3A(query%3Adog%2Ctype%3Aphrase)%2Ctype%3Aphrase%2Cvalue%3Adog)%2Cquery%3A(match%3A(animal%3A(query%3Adog%2Ctype%3Aphrase)))))%2CfullScreenMode%3A!f%2Coptions%3A(hidePanelTitles%3A!f%2CuseMargins%3A!t)%2Cpanels%3A!((embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A'1'%2Cw%3A24%2Cx%3A0%2Cy%3A0)%2Cid%3A'50643b60-3dd3-11e8-b2b9-5d5dc1715159'%2CpanelIndex%3A'1'%2Ctype%3Avisualization%2Cversion%3A'6.3.0')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A'2'%2Cw%3A24%2Cx%3A24%2Cy%3A0)%2Cid%3Aa16d1990-3dca-11e8-8660-4d65aa086b3c%2CpanelIndex%3A'2'%2Ctype%3Asearch%2Cversion%3A'6.3.0'))%2Cquery%3A(language%3Alucene%2Cquery%3A'')%2CtimeRestore%3A!t%2Ctitle%3A'dashboard%20with%20filter'%2CviewMode%3Aview)&forceNow=2020-09-28T21%3A57%3A12.625Z
[00:02:53]                 │ proc [kibana]   log   [21:57:13.870] [error][browser-driver][execute][headless-browser-console][kfn2obap715y49a1557sckt9][plugins][printable_pdf][reporting] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:53]                 │ proc [kibana] 
[00:02:54]                 │ debg Report at path /api/reporting/jobs/download/kfn2obap715y49a1557sckt9 is pending
[00:02:54]                 │ debg Report at path /api/reporting/jobs/download/kfn2obas715y49a1557ttfhz is pending
[00:02:55]                 │ debg Report at path /api/reporting/jobs/download/kfn2obap715y49a1557sckt9 is pending
[00:02:55]                 │ debg Report at path /api/reporting/jobs/download/kfn2obas715y49a1557ttfhz is pending
[00:02:56]                 │ proc [kibana]   log   [21:57:16.656] [info][execute][kfn2obap715y49a1557sckt9][plugins][printable_pdf][reporting] handled 122 page requests
[00:02:57]                 │ debg Report at path /api/reporting/jobs/download/kfn2obap715y49a1557sckt9 is pending
[00:02:57]                 │ debg Report at path /api/reporting/jobs/download/kfn2obas715y49a1557ttfhz is pending
[00:02:57]                 │ proc [kibana]   log   [21:57:17.862] [info][execute][kfn2obap715y49a1557sckt9][plugins][printable_pdf][reporting] timeRange: Apr 9, 2018 @ 17:56:08.000 to Apr 11, 2018 @ 17:56:08.000
[00:02:57]                 │ proc [kibana]   log   [21:57:17.863] [info][execute][kfn2obap715y49a1557sckt9][plugins][printable_pdf][reporting] taking screenshots
[00:02:58]                 │ proc [kibana]   log   [21:57:18.195] [info][execute][kfn2obap715y49a1557sckt9][plugins][printable_pdf][reporting] screenshots taken: 1
[00:02:58]                 │ proc [kibana]   log   [21:57:18.665] [info][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Job execution completed successfully
[00:02:58]                 │ proc [kibana]   log   [21:57:18.676] [info][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Job data saved successfully: /.reporting-2020-09-27/kfn2obap715y49a1557sckt9
[00:02:58]                 │ debg Report at path /api/reporting/jobs/download/kfn2obap715y49a1557sckt9 is pending
[00:02:58]                 │ debg Report at path /api/reporting/jobs/download/kfn2obas715y49a1557ttfhz is pending
[00:03:00]                 │ debg Report at path /api/reporting/jobs/download/kfn2obap715y49a1557sckt9 is complete
[00:03:00]                 │ debg Report at path /api/reporting/jobs/download/kfn2obas715y49a1557ttfhz is pending
[00:03:01]                 │ proc [kibana]   log   [21:57:21.687] [info][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Job marked as claimed: /.reporting-2020-09-27/kfn2obas715y49a1557ttfhz
[00:03:01]                 │ proc [kibana]   log   [21:57:21.687] [info][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Starting job
[00:03:01]                 │ debg Report at path /api/reporting/jobs/download/kfn2obas715y49a1557ttfhz is pending
[00:03:01]                 │ proc [kibana]   log   [21:57:21.700] [info][plugins][reporting] Request uses default Space
[00:03:01]                 │ proc [kibana]   log   [21:57:21.715] [info][browser-driver][execute][kfn2obas715y49a1557ttfhz][plugins][printable_pdf][reporting] Creating browser page driver
[00:03:02]                 │ proc [kibana]   log   [21:57:22.091] [info][execute][kfn2obas715y49a1557ttfhz][plugins][printable_pdf][reporting] opening url http://localhost:6131/app/kibana#/visualize/edit/3fe22200-3dcb-11e8-8660-4d65aa086b3c?_g=(refreshInterval%3A(display%3AOff%2Cpause%3A!f%2Cvalue%3A0)%2Ctime%3A(from%3A'Mon%20Apr%2009%202018%2017%3A56%3A08%20GMT-0400'%2Cmode%3Aabsolute%2Cto%3A'Wed%20Apr%2011%202018%2017%3A56%3A08%20GMT-0400'))&_a=(filters%3A!()%2Clinked%3A!f%2Cquery%3A(language%3Alucene%2Cquery%3A'')%2CuiState%3A()%2Cvis%3A(aggs%3A!((enabled%3A!t%2Cid%3A'1'%2Cparams%3A()%2Cschema%3Ametric%2Ctype%3Acount)%2C(enabled%3A!t%2Cid%3A'2'%2Cparams%3A(field%3Abytes%2CmissingBucket%3A!f%2CmissingBucketLabel%3AMissing%2Corder%3Adesc%2CorderBy%3A'1'%2CotherBucket%3A!f%2CotherBucketLabel%3AOther%2Csize%3A5)%2Cschema%3Asegment%2Ctype%3Aterms))%2Cparams%3A(addLegend%3A!t%2CaddTooltip%3A!t%2CisDonut%3A!t%2Clabels%3A(last_level%3A!t%2Cshow%3A!f%2Ctruncate%3A100%2Cvalues%3A!t)%2ClegendPosition%3Aright%2Ctype%3Apie)%2Ctitle%3A'Rendering%20Test%3A%20pie'%2Ctype%3Apie))&forceNow=2020-09-28T21%3A57%3A12.628Z
[00:03:02]                 │ proc [kibana]   log   [21:57:22.168] [error][browser-driver][execute][headless-browser-console][kfn2obas715y49a1557ttfhz][plugins][printable_pdf][reporting] 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:03:02]                 │ proc [kibana] 
[00:03:03]                 │ debg Report at path /api/reporting/jobs/download/kfn2obas715y49a1557ttfhz is pending
[00:03:04]                 │ debg Report at path /api/reporting/jobs/download/kfn2obas715y49a1557ttfhz is pending
[00:03:04]                 │ proc [kibana]   log   [21:57:24.846] [info][execute][kfn2obas715y49a1557ttfhz][plugins][printable_pdf][reporting] handled 124 page requests
[00:03:05]                 │ proc [kibana]   log   [21:57:25.530] [error][execute][kfn2obas715y49a1557ttfhz][plugins][printable_pdf][reporting] Reporting encountered an error on the page: Error: SyntaxError: Unexpected token '<'
[00:03:05]                 │ proc [kibana]   log   [21:57:25.531] [error][error][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Failure occurred on job kfn2obas715y49a1557ttfhz: Reporting encountered an error on the page: Error: SyntaxError: Unexpected token '<'
[00:03:05]                 │ proc [kibana]   log   [21:57:25.531] [warning][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Failing job kfn2obas715y49a1557ttfhz
[00:03:05]                 │ proc [kibana]   log   [21:57:25.536] [error][execute][kfn2obas715y49a1557ttfhz][plugins][printable_pdf][reporting] Error: Protocol error (DOM.resolveNode): Session closed. Most likely the page has been closed.
[00:03:05]                 │ proc [kibana]     at CDPSession.send (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/puppeteer-core/lib/Connection.js:180:29)
[00:03:05]                 │ proc [kibana]     at ExecutionContext._adoptElementHandle (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/puppeteer-core/lib/ExecutionContext.js:195:41)
[00:03:05]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:03:05]                 │ proc [kibana]   -- ASYNC --
[00:03:05]                 │ proc [kibana]     at Frame.<anonymous> (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/puppeteer-core/lib/helper.js:111:15)
[00:03:05]                 │ proc [kibana]     at Frame.waitFor (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/puppeteer-core/lib/FrameManager.js:613:19)
[00:03:05]                 │ proc [kibana]     at Page.waitFor (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/puppeteer-core/lib/Page.js:1080:29)
[00:03:05]                 │ proc [kibana]     at HeadlessChromiumDriver.waitForSelector (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/x-pack/plugins/reporting/server/browsers/chromium/driver/chromium_driver.js:146:34)
[00:03:05]                 │ proc [kibana]     at getNumberOfItems (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/x-pack/plugins/reporting/server/lib/screenshots/get_number_of_items.js:38:19)
[00:03:05]                 │ proc [kibana]     at MergeMapSubscriber.Rx.of.pipe [as project] (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/x-pack/plugins/reporting/server/lib/screenshots/observable.js:128:44)
[00:03:05]                 │ proc [kibana]     at MergeMapSubscriber._tryNext (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/operators/mergeMap.js:69:27)
[00:03:05]                 │ proc [kibana]     at MergeMapSubscriber._next (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/operators/mergeMap.js:59:18)
[00:03:05]                 │ proc [kibana]     at MergeMapSubscriber.Subscriber.next (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/Subscriber.js:66:18)
[00:03:05]                 │ proc [kibana]     at MergeMapSubscriber.notifyNext (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/operators/mergeMap.js:95:26)
[00:03:05]                 │ proc [kibana]     at InnerSubscriber._next (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/InnerSubscriber.js:28:21)
[00:03:05]                 │ proc [kibana]     at InnerSubscriber.Subscriber.next (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/Subscriber.js:66:18)
[00:03:05]                 │ proc [kibana]     at /dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/util/subscribeToPromise.js:7:24
[00:03:05]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:03:05]                 │ proc [kibana]   log   [21:57:25.539] [error][data][elasticsearch] [RequestAbortedError]: Request aborted
[00:03:05]                 │ proc [kibana]   log   [21:57:25.541] [info][esqueue][plugins][queue-worker][reporting] kfn2kmr4715y49a155bgqdir - Job marked as failed: /.reporting-2020-09-27/kfn2obas715y49a1557ttfhz
[00:03:06]                 │ debg Report at path /api/reporting/jobs/download/kfn2obas715y49a1557ttfhz is pending
[00:03:07]                 │ debg Report at path /api/reporting/jobs/download/kfn2obas715y49a1557ttfhz returned code 500
[00:03:07]                 └- ✖ fail: Reporting APIs Usage from new jobs posted should handle preserve_layout pdf
[00:03:07]                 │      Error: expected 500 to equal 200
[00:03:07]                 │       at Assertion.assert (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:100:11)
[00:03:07]                 │       at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:227:8)
[00:03:07]                 │       at Assertion.be (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:69:22)
[00:03:07]                 │       at Object.waitForJobToFinish (test/reporting_api_integration/services.ts:76:29)
[00:03:07]                 │ 
[00:03:07]                 │ 

Stack Trace

Error: expected 500 to equal 200
    at Assertion.assert (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:69:22)
    at Object.waitForJobToFinish (test/reporting_api_integration/services.ts:76:29)

X-Pack Reporting API Integration Tests.x-pack/test/reporting_api_integration/reporting_and_security/usage·ts.Reporting APIs Usage from new jobs posted should handle preserve_layout pdf

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Reporting APIs
[00:00:00]           └-> "before all" hook
[00:02:17]           └-: Usage
[00:02:17]             └-> "before all" hook
[00:02:17]             └-> "before all" hook
[00:02:17]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Loading "mappings.json"
[00:02:17]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Loading "data.json.gz"
[00:02:17]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_1/O-ntbFg5TC-3usZLoevgEw] deleting index
[00:02:17]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/18D3GMBdTpiTJWJPdF9UQw] deleting index
[00:02:17]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:02:17]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:02:17]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] 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:02:17]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Created index ".kibana_1"
[00:02:17]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:17]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Indexed 143 docs into ".kibana_1"
[00:02:17]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_1/1CK-QClsSOGPGA8TKQdVUg] update_mapping [_doc]
[00:02:17]               │ debg Migrating saved objects
[00:02:17]               │ proc [kibana]   log   [21:11:46.183] [info][savedobjects-service] Creating index .kibana_2.
[00:02:17]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:02:17]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:17]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] 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:02:17]               │ proc [kibana]   log   [21:11:46.257] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:17]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/iV9Wl_nDS06DWsHAkJhuKQ] update_mapping [_doc]
[00:02:17]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/iV9Wl_nDS06DWsHAkJhuKQ] update_mapping [_doc]
[00:02:17]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/iV9Wl_nDS06DWsHAkJhuKQ] update_mapping [_doc]
[00:02:17]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/iV9Wl_nDS06DWsHAkJhuKQ] update_mapping [_doc]
[00:02:17]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [.kibana_2/iV9Wl_nDS06DWsHAkJhuKQ] update_mapping [_doc]
[00:02:18]               │ proc [kibana]   log   [21:11:46.583] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:18]               │ proc [kibana]   log   [21:11:46.632] [info][savedobjects-service] Finished in 450ms.
[00:02:18]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Loading "mappings.json"
[00:02:18]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Loading "data.json.gz"
[00:02:18]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:02:18]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:02:18]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:18]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:02:18]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:02:18]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:18]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:02:18]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-cats-2018-01-01"
[00:02:18]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-cats-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:18]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:02:18]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:02:18]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:18]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1]
[00:02:18]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "dogbreeds"
[00:02:18]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:18]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601323101400115781] [logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:02:18]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "logstash-0"
[00:02:18]               │ debg [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:02:28]               │ info progress: 11436
[00:02:29]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:02:29]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:02:29]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:02:29]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:02:29]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:02:29]               │ info [/dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:02:30]               │ debg applying update to kibana config: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:02:31]               │ debg ReportingAPI.deleteAllReports
[00:02:53]             └-: from new jobs posted
[00:02:53]               └-> "before all" hook
[00:02:53]               └-> should handle csv
[00:02:53]                 └-> "before each" hook: global before each
[00:02:53]                 │ debg ReportingAPI.postJob(/api/reporting/generate/csv?jobParams=(conflictedTypesFields:!(),fields:!(%27@timestamp%27,agent,bytes,clientip),indexPatternId:%270bf35f60-3dc9-11e8-8660-4d65aa086b3c%27,metaFields:!(_source,_id,_type,_index,_score),searchRequest:(body:(_source:(excludes:!(),includes:!(%27@timestamp%27,agent,bytes,clientip)),docvalue_fields:!(%27@timestamp%27),query:(bool:(filter:!((bool:(minimum_should_match:1,should:!((match:(clientip:%2773.14.212.83%27)))))),must:!((range:(bytes:(gte:100,lt:1000))),(range:(%27@timestamp%27:(format:epoch_millis,gte:1369165215770,lte:1526931615770)))),must_not:!(),should:!())),script_fields:(),sort:!((%27@timestamp%27:(order:desc,unmapped_type:boolean))),stored_fields:!(%27@timestamp%27,agent,bytes,clientip),version:!t),index:%27logstash-*%27),title:%27Bytes%20and%20kuery%20in%20saved%20search%20with%20filter%27,type:search))
[00:02:53]                 │ proc [kibana]   log   [21:12:22.200] [info][plugins][reporting] Request uses default Space
[00:02:53]                 │ proc [kibana]   log   [21:12:22.218] [info][plugins][queue-job][reporting] Scheduled CSV report: kfn12nco4rqs49a1550rg4iy
[00:02:53]                 │ debg Waiting for job to finish: /api/reporting/jobs/download/kfn12nco4rqs49a1550rg4iy
[00:02:54]                 │ proc [kibana]   log   [21:12:23.376] [info][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Job marked as claimed: /.reporting-2020-09-27/kfn12nco4rqs49a1550rg4iy
[00:02:54]                 │ proc [kibana]   log   [21:12:23.377] [info][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Starting job
[00:02:54]                 │ proc [kibana]   log   [21:12:23.388] [info][plugins][reporting] Request uses default Space
[00:02:54]                 │ proc [kibana]   log   [21:12:23.399] [warning][csv][execute-job][kfn12nco4rqs49a1550rg4iy][plugins][reporting] Kibana Advanced Setting "dateFormat:tz" is set to "Browser". Dates will be formatted as UTC to avoid ambiguity.
[00:02:54]                 │ proc [kibana]   log   [21:12:23.438] [info][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Job execution completed successfully
[00:02:54]                 │ proc [kibana]   log   [21:12:23.443] [info][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Job data saved successfully: /.reporting-2020-09-27/kfn12nco4rqs49a1550rg4iy
[00:02:55]                 │ debg Report at path /api/reporting/jobs/download/kfn12nco4rqs49a1550rg4iy is complete
[00:02:55]                 └- ✓ pass  (1.8s) "Reporting APIs Usage from new jobs posted should handle csv"
[00:02:55]               └-> "after each" hook
[00:02:55]                 │ debg ReportingAPI.deleteAllReports
[00:02:55]               └-> should handle preserve_layout pdf
[00:02:55]                 └-> "before each" hook: global before each
[00:02:55]                 │ debg ReportingAPI.postJob(/api/reporting/generate/printablePdf?jobParams=(browserTimezone:America%2FNew_York,layout:(dimensions:(height:439,width:1362),id:preserve_layout),objectType:dashboard,relativeUrls:!(%27%2Fapp%2Fkibana%23%2Fdashboard%2F61c58ad0-3dd3-11e8-b2b9-5d5dc1715159%3F_g%3D(refreshInterval:(display:Off,pause:!!f,value:0),time:(from:!%27Mon%2BApr%2B09%2B2018%2B17:56:08%2BGMT-0400!%27,mode:absolute,to:!%27Wed%2BApr%2B11%2B2018%2B17:56:08%2BGMT-0400!%27))%26_a%3D(description:!%27!%27,filters:!!((!%27$state!%27:(store:appState),meta:(alias:!!n,disabled:!!f,index:a0f483a0-3dc9-11e8-8660-4d65aa086b3c,key:animal,negate:!!f,params:(query:dog,type:phrase),type:phrase,value:dog),query:(match:(animal:(query:dog,type:phrase))))),fullScreenMode:!!f,options:(hidePanelTitles:!!f,useMargins:!!t),panels:!!((embeddableConfig:(),gridData:(h:15,i:!%271!%27,w:24,x:0,y:0),id:!%2750643b60-3dd3-11e8-b2b9-5d5dc1715159!%27,panelIndex:!%271!%27,type:visualization,version:!%276.3.0!%27),(embeddableConfig:(),gridData:(h:15,i:!%272!%27,w:24,x:24,y:0),id:a16d1990-3dca-11e8-8660-4d65aa086b3c,panelIndex:!%272!%27,type:search,version:!%276.3.0!%27)),query:(language:lucene,query:!%27!%27),timeRestore:!!t,title:!%27dashboard%2Bwith%2Bfilter!%27,viewMode:view)%27),title:%27dashboard%20with%20filter%27))
[00:02:55]                 │ debg ReportingAPI.postJob(/api/reporting/generate/printablePdf?jobParams=(browserTimezone:America%2FNew_York,layout:(dimensions:(height:441,width:1002),id:preserve_layout),objectType:visualization,relativeUrls:!(%27%2Fapp%2Fkibana%23%2Fvisualize%2Fedit%2F3fe22200-3dcb-11e8-8660-4d65aa086b3c%3F_g%3D(refreshInterval:(display:Off,pause:!!f,value:0),time:(from:!%27Mon%2BApr%2B09%2B2018%2B17:56:08%2BGMT-0400!%27,mode:absolute,to:!%27Wed%2BApr%2B11%2B2018%2B17:56:08%2BGMT-0400!%27))%26_a%3D(filters:!!(),linked:!!f,query:(language:lucene,query:!%27!%27),uiState:(),vis:(aggs:!!((enabled:!!t,id:!%271!%27,params:(),schema:metric,type:count),(enabled:!!t,id:!%272!%27,params:(field:bytes,missingBucket:!!f,missingBucketLabel:Missing,order:desc,orderBy:!%271!%27,otherBucket:!!f,otherBucketLabel:Other,size:5),schema:segment,type:terms)),params:(addLegend:!!t,addTooltip:!!t,isDonut:!!t,labels:(last_level:!!t,show:!!f,truncate:100,values:!!t),legendPosition:right,type:pie),title:!%27Rendering%2BTest:%2Bpie!%27,type:pie))%27),title:%27Rendering%20Test:%20pie%27))
[00:02:55]                 │ proc [kibana]   log   [21:12:24.130] [info][plugins][reporting] Request uses default Space
[00:02:55]                 │ proc [kibana]   log   [21:12:24.135] [info][plugins][reporting] Request uses default Space
[00:02:55]                 │ proc [kibana]   log   [21:12:24.164] [info][plugins][queue-job][reporting] Scheduled PDF report: kfn12oub4rqs49a155g59ikr
[00:02:55]                 │ proc [kibana]   log   [21:12:24.177] [info][plugins][queue-job][reporting] Scheduled PDF report: kfn12oug4rqs49a155g8cxwa
[00:02:55]                 │ debg Waiting for job to finish: /api/reporting/jobs/download/kfn12oub4rqs49a155g59ikr
[00:02:55]                 │ debg Waiting for job to finish: /api/reporting/jobs/download/kfn12oug4rqs49a155g8cxwa
[00:02:57]                 │ debg Report at path /api/reporting/jobs/download/kfn12oub4rqs49a155g59ikr is pending
[00:02:57]                 │ debg Report at path /api/reporting/jobs/download/kfn12oug4rqs49a155g8cxwa is pending
[00:02:57]                 │ proc [kibana]   log   [21:12:26.456] [info][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Job marked as claimed: /.reporting-2020-09-27/kfn12oub4rqs49a155g59ikr
[00:02:57]                 │ proc [kibana]   log   [21:12:26.456] [info][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Starting job
[00:02:57]                 │ proc [kibana]   log   [21:12:26.469] [info][plugins][reporting] Request uses default Space
[00:02:57]                 │ proc [kibana]   log   [21:12:26.485] [info][browser-driver][execute][kfn12oub4rqs49a155g59ikr][plugins][printable_pdf][reporting] Creating browser page driver
[00:02:58]                 │ proc [kibana]   log   [21:12:26.829] [info][execute][kfn12oub4rqs49a155g59ikr][plugins][printable_pdf][reporting] opening url http://localhost:6131/app/kibana#/dashboard/61c58ad0-3dd3-11e8-b2b9-5d5dc1715159?_g=(refreshInterval%3A(display%3AOff%2Cpause%3A!f%2Cvalue%3A0)%2Ctime%3A(from%3A'Mon%20Apr%2009%202018%2017%3A56%3A08%20GMT-0400'%2Cmode%3Aabsolute%2Cto%3A'Wed%20Apr%2011%202018%2017%3A56%3A08%20GMT-0400'))&_a=(description%3A''%2Cfilters%3A!(('%24state'%3A(store%3AappState)%2Cmeta%3A(alias%3A!n%2Cdisabled%3A!f%2Cindex%3Aa0f483a0-3dc9-11e8-8660-4d65aa086b3c%2Ckey%3Aanimal%2Cnegate%3A!f%2Cparams%3A(query%3Adog%2Ctype%3Aphrase)%2Ctype%3Aphrase%2Cvalue%3Adog)%2Cquery%3A(match%3A(animal%3A(query%3Adog%2Ctype%3Aphrase)))))%2CfullScreenMode%3A!f%2Coptions%3A(hidePanelTitles%3A!f%2CuseMargins%3A!t)%2Cpanels%3A!((embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A'1'%2Cw%3A24%2Cx%3A0%2Cy%3A0)%2Cid%3A'50643b60-3dd3-11e8-b2b9-5d5dc1715159'%2CpanelIndex%3A'1'%2Ctype%3Avisualization%2Cversion%3A'6.3.0')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A'2'%2Cw%3A24%2Cx%3A24%2Cy%3A0)%2Cid%3Aa16d1990-3dca-11e8-8660-4d65aa086b3c%2CpanelIndex%3A'2'%2Ctype%3Asearch%2Cversion%3A'6.3.0'))%2Cquery%3A(language%3Alucene%2Cquery%3A'')%2CtimeRestore%3A!t%2Ctitle%3A'dashboard%20with%20filter'%2CviewMode%3Aview)&forceNow=2020-09-28T21%3A12%3A24.131Z
[00:02:58]                 │ proc [kibana]   log   [21:12:26.924] [error][browser-driver][execute][headless-browser-console][kfn12oub4rqs49a155g59ikr][plugins][printable_pdf][reporting] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:58]                 │ proc [kibana] 
[00:02:58]                 │ debg Report at path /api/reporting/jobs/download/kfn12oub4rqs49a155g59ikr is pending
[00:02:58]                 │ debg Report at path /api/reporting/jobs/download/kfn12oug4rqs49a155g8cxwa is pending
[00:03:00]                 │ debg Report at path /api/reporting/jobs/download/kfn12oub4rqs49a155g59ikr is pending
[00:03:00]                 │ debg Report at path /api/reporting/jobs/download/kfn12oug4rqs49a155g8cxwa is pending
[00:03:01]                 │ proc [kibana]   log   [21:12:29.609] [info][execute][kfn12oub4rqs49a155g59ikr][plugins][printable_pdf][reporting] handled 122 page requests
[00:03:01]                 │ debg Report at path /api/reporting/jobs/download/kfn12oub4rqs49a155g59ikr is pending
[00:03:01]                 │ debg Report at path /api/reporting/jobs/download/kfn12oug4rqs49a155g8cxwa is pending
[00:03:02]                 │ proc [kibana]   log   [21:12:30.837] [info][execute][kfn12oub4rqs49a155g59ikr][plugins][printable_pdf][reporting] timeRange: Apr 9, 2018 @ 17:56:08.000 to Apr 11, 2018 @ 17:56:08.000
[00:03:02]                 │ proc [kibana]   log   [21:12:30.837] [info][execute][kfn12oub4rqs49a155g59ikr][plugins][printable_pdf][reporting] taking screenshots
[00:03:02]                 │ proc [kibana]   log   [21:12:31.161] [info][execute][kfn12oub4rqs49a155g59ikr][plugins][printable_pdf][reporting] screenshots taken: 1
[00:03:03]                 │ proc [kibana]   log   [21:12:31.642] [info][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Job execution completed successfully
[00:03:03]                 │ proc [kibana]   log   [21:12:31.653] [info][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Job data saved successfully: /.reporting-2020-09-27/kfn12oub4rqs49a155g59ikr
[00:03:03]                 │ debg Report at path /api/reporting/jobs/download/kfn12oub4rqs49a155g59ikr is complete
[00:03:03]                 │ debg Report at path /api/reporting/jobs/download/kfn12oug4rqs49a155g8cxwa is pending
[00:03:04]                 │ debg Report at path /api/reporting/jobs/download/kfn12oug4rqs49a155g8cxwa is pending
[00:03:06]                 │ proc [kibana]   log   [21:12:34.665] [info][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Job marked as claimed: /.reporting-2020-09-27/kfn12oug4rqs49a155g8cxwa
[00:03:06]                 │ proc [kibana]   log   [21:12:34.666] [info][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Starting job
[00:03:06]                 │ proc [kibana]   log   [21:12:34.683] [info][plugins][reporting] Request uses default Space
[00:03:06]                 │ proc [kibana]   log   [21:12:34.710] [info][browser-driver][execute][kfn12oug4rqs49a155g8cxwa][plugins][printable_pdf][reporting] Creating browser page driver
[00:03:06]                 │ debg Report at path /api/reporting/jobs/download/kfn12oug4rqs49a155g8cxwa is pending
[00:03:06]                 │ proc [kibana]   log   [21:12:35.038] [info][execute][kfn12oug4rqs49a155g8cxwa][plugins][printable_pdf][reporting] opening url http://localhost:6131/app/kibana#/visualize/edit/3fe22200-3dcb-11e8-8660-4d65aa086b3c?_g=(refreshInterval%3A(display%3AOff%2Cpause%3A!f%2Cvalue%3A0)%2Ctime%3A(from%3A'Mon%20Apr%2009%202018%2017%3A56%3A08%20GMT-0400'%2Cmode%3Aabsolute%2Cto%3A'Wed%20Apr%2011%202018%2017%3A56%3A08%20GMT-0400'))&_a=(filters%3A!()%2Clinked%3A!f%2Cquery%3A(language%3Alucene%2Cquery%3A'')%2CuiState%3A()%2Cvis%3A(aggs%3A!((enabled%3A!t%2Cid%3A'1'%2Cparams%3A()%2Cschema%3Ametric%2Ctype%3Acount)%2C(enabled%3A!t%2Cid%3A'2'%2Cparams%3A(field%3Abytes%2CmissingBucket%3A!f%2CmissingBucketLabel%3AMissing%2Corder%3Adesc%2CorderBy%3A'1'%2CotherBucket%3A!f%2CotherBucketLabel%3AOther%2Csize%3A5)%2Cschema%3Asegment%2Ctype%3Aterms))%2Cparams%3A(addLegend%3A!t%2CaddTooltip%3A!t%2CisDonut%3A!t%2Clabels%3A(last_level%3A!t%2Cshow%3A!f%2Ctruncate%3A100%2Cvalues%3A!t)%2ClegendPosition%3Aright%2Ctype%3Apie)%2Ctitle%3A'Rendering%20Test%3A%20pie'%2Ctype%3Apie))&forceNow=2020-09-28T21%3A12%3A24.136Z
[00:03:06]                 │ proc [kibana]   log   [21:12:35.122] [error][browser-driver][execute][headless-browser-console][kfn12oug4rqs49a155g8cxwa][plugins][printable_pdf][reporting] 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:03:06]                 │ proc [kibana] 
[00:03:07]                 │ debg Report at path /api/reporting/jobs/download/kfn12oug4rqs49a155g8cxwa is pending
[00:03:09]                 │ debg Report at path /api/reporting/jobs/download/kfn12oug4rqs49a155g8cxwa is pending
[00:03:09]                 │ proc [kibana]   log   [21:12:37.757] [info][execute][kfn12oug4rqs49a155g8cxwa][plugins][printable_pdf][reporting] handled 124 page requests
[00:03:09]                 │ proc [kibana]   log   [21:12:38.504] [error][execute][kfn12oug4rqs49a155g8cxwa][plugins][printable_pdf][reporting] Reporting encountered an error on the page: Error: SyntaxError: Unexpected token '<'
[00:03:09]                 │ proc [kibana]   log   [21:12:38.505] [error][error][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Failure occurred on job kfn12oug4rqs49a155g8cxwa: Reporting encountered an error on the page: Error: SyntaxError: Unexpected token '<'
[00:03:09]                 │ proc [kibana]   log   [21:12:38.505] [warning][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Failing job kfn12oug4rqs49a155g8cxwa
[00:03:09]                 │ proc [kibana]   log   [21:12:38.510] [error][execute][kfn12oug4rqs49a155g8cxwa][plugins][printable_pdf][reporting] Error: Protocol error (DOM.resolveNode): Session closed. Most likely the page has been closed.
[00:03:09]                 │ proc [kibana]     at CDPSession.send (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/puppeteer-core/lib/Connection.js:180:29)
[00:03:09]                 │ proc [kibana]     at ExecutionContext._adoptElementHandle (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/puppeteer-core/lib/ExecutionContext.js:195:41)
[00:03:09]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:03:09]                 │ proc [kibana]   -- ASYNC --
[00:03:09]                 │ proc [kibana]     at Frame.<anonymous> (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/puppeteer-core/lib/helper.js:111:15)
[00:03:09]                 │ proc [kibana]     at Frame.waitFor (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/puppeteer-core/lib/FrameManager.js:613:19)
[00:03:09]                 │ proc [kibana]     at Page.waitFor (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/puppeteer-core/lib/Page.js:1080:29)
[00:03:09]                 │ proc [kibana]     at HeadlessChromiumDriver.waitForSelector (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/x-pack/plugins/reporting/server/browsers/chromium/driver/chromium_driver.js:146:34)
[00:03:09]                 │ proc [kibana]     at getNumberOfItems (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/x-pack/plugins/reporting/server/lib/screenshots/get_number_of_items.js:38:19)
[00:03:09]                 │ proc [kibana]     at MergeMapSubscriber.Rx.of.pipe [as project] (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/x-pack/plugins/reporting/server/lib/screenshots/observable.js:128:44)
[00:03:09]                 │ proc [kibana]     at MergeMapSubscriber._tryNext (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/operators/mergeMap.js:69:27)
[00:03:09]                 │ proc [kibana]     at MergeMapSubscriber._next (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/operators/mergeMap.js:59:18)
[00:03:09]                 │ proc [kibana]     at MergeMapSubscriber.Subscriber.next (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/Subscriber.js:66:18)
[00:03:09]                 │ proc [kibana]     at MergeMapSubscriber.notifyNext (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/operators/mergeMap.js:95:26)
[00:03:09]                 │ proc [kibana]     at InnerSubscriber._next (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/InnerSubscriber.js:28:21)
[00:03:09]                 │ proc [kibana]     at InnerSubscriber.Subscriber.next (/dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/Subscriber.js:66:18)
[00:03:09]                 │ proc [kibana]     at /dev/shm/workspace/parallel/3/kibana/build/kibana-build-xpack/node_modules/rxjs/internal/util/subscribeToPromise.js:7:24
[00:03:09]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:03:09]                 │ proc [kibana]   log   [21:12:38.511] [info][esqueue][plugins][queue-worker][reporting] kfn0yxst4rqs49a155fwx22t - Job marked as failed: /.reporting-2020-09-27/kfn12oug4rqs49a155g8cxwa
[00:03:10]                 │ debg Report at path /api/reporting/jobs/download/kfn12oug4rqs49a155g8cxwa returned code 500
[00:03:10]                 └- ✖ fail: Reporting APIs Usage from new jobs posted should handle preserve_layout pdf
[00:03:10]                 │      Error: expected 500 to equal 200
[00:03:10]                 │       at Assertion.assert (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:100:11)
[00:03:10]                 │       at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:227:8)
[00:03:10]                 │       at Assertion.be (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:69:22)
[00:03:10]                 │       at Object.waitForJobToFinish (test/reporting_api_integration/services.ts:76:29)
[00:03:10]                 │ 
[00:03:10]                 │ 

Stack Trace

Error: expected 500 to equal 200
    at Assertion.assert (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:69:22)
    at Object.waitForJobToFinish (test/reporting_api_integration/services.ts:76:29)

Metrics [docs]

@kbn/optimizer bundle module count

id value diff baseline
data 569 +2 567

distributable file count

id value diff baseline
default 45632 +2 45630
oss 26381 +2 26379

page load bundle size

id value diff baseline
data 1.3MB +11.3KB 1.3MB
dataEnhanced 34.7KB +220.0B 34.5KB
total +11.5KB

History

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

@lukasolson lukasolson self-assigned this Sep 29, 2020
@lukasolson lukasolson merged commit 28e1382 into elastic:master Sep 30, 2020
lukasolson added a commit to lukasolson/kibana that referenced this pull request Sep 30, 2020
phillipb added a commit to phillipb/kibana that referenced this pull request Sep 30, 2020
…aly-detection-partition-field

* 'master' of github.com:elastic/kibana: (37 commits)
  Fixes for the Ticket 78375 (elastic#79004)
  [Security] Alert Telemetry for the Security app (elastic#77200)
  [Search bar] Remove duplicate `popoverProps` (elastic#79025)
  [Security Solution][Detections] Add rule overrides for single event EQL rules (elastic#78876)
  [SECURITY_SOLUTION][ENDPOINT] Improve Endpoint Host data generator to also integrate with Ingest (elastic#74305)
  remove file accidentally checked in (elastic#79005)
  [ML] DF Analytics creation wizard: replace select input with job type cards with icons (elastic#78872)
  [Design] A couple fixes for 7.10 (elastic#78801)
  Fix KQL autocomplete value suggestions (elastic#78676)
  [Security Solution][Resolver] New mock with cursor (elastic#78863)
  Embeddables: basic documentation (elastic#78900)
  [security solution] only import beat_schema when needed (elastic#78708)
  [Reporting] API Integration tests: fix flaky tests for Spaces CSV formatting (elastic#78849)
  [Actions] Adds a "Test Connector" button on the Connectors List to make discovery of the Test tab easier (elastic#78746)
  [Discover] Fix functional time picker test permissions (elastic#78564)
  [ML] Fixing module datafeed overrides (elastic#78925)
  Adds some missing licenses to the CSV export (elastic#78719)
  [dev/cli] ensure plugins/ and all watch source dirs exist (elastic#78973)
  [Lens] Stop using scripted metric to collect telemetry (elastic#78687)
  [Lens] fix wrong message in fields accordion (elastic#78924)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:KQL KQL release_note:skip Skip the PR/issue when compiling release notes review v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No field value suggestions
4 participants