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

[Security Solution][Resolver] Undo origin panel update #73501

Merged
merged 5 commits into from
Jul 28, 2020

Conversation

michaelolo24
Copy link
Contributor

@michaelolo24 michaelolo24 commented Jul 28, 2020

Summary

Remove code that updates panel with origin node details on resolver load.

Reverts: #73313

Solves the following issues:

  • Resolver map cannot be panned
  • Resolver panel cannot be switched.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@michaelolo24 michaelolo24 added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:Endpoint Data Visibility Team managing the endpoint resolver Feature:Resolver Security Solution Resolver feature v7.9.0 labels Jul 28, 2020
@michaelolo24 michaelolo24 requested review from a team as code owners July 28, 2020 16:39
@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-data-visibility-team (Team:Endpoint Data Visibility)

@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-app-team (Feature:Resolver)

@michaelolo24
Copy link
Contributor Author

@elasticmachine merge upstream

1 similar comment
@michaelolo24
Copy link
Contributor Author

@elasticmachine merge upstream

@michaelolo24
Copy link
Contributor Author

@elasticmachine merge upstream

@michaelolo24
Copy link
Contributor Author

@elasticmachine merge upstream

@michaelolo24
Copy link
Contributor Author

@elasticmachine merge upstream

@michaelolo24 michaelolo24 merged commit 17ec168 into elastic:master Jul 28, 2020
@michaelolo24 michaelolo24 deleted the undo-origin-panel-update branch July 28, 2020 23:59
michaelolo24 added a commit to michaelolo24/kibana that referenced this pull request Jul 29, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
michaelolo24 added a commit to michaelolo24/kibana that referenced this pull request Jul 29, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
michaelolo24 added a commit that referenced this pull request Jul 29, 2020
…#73586)

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

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
michaelolo24 added a commit that referenced this pull request Jul 29, 2020
…#73587)

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

kibanamachine commented Aug 3, 2020

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/context/_date_nanos·js.context app context view for date_nanos displays predessors - anchor - successors in right order

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:12]         └-: context app
[00:00:12]           └-> "before all" hook
[00:00:12]           └-> "before all" hook
[00:00:12]             │ info [logstash_functional] Loading "mappings.json"
[00:00:12]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:22]             │ info progress: 8424
[00:00:26]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:26]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:26]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:27]             │ info [visualize] Loading "mappings.json"
[00:00:27]             │ info [visualize] Loading "data.json"
[00:00:27]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_1/HU83RP-cQzybQMa3muwatg] deleting index
[00:00:27]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [visualize] Created index ".kibana"
[00:00:27]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana/-yAIJ13OR1WxwmOgQ-wXmQ] update_mapping [_doc]
[00:00:27]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana/-yAIJ13OR1WxwmOgQ-wXmQ] update_mapping [_doc]
[00:00:27]             │ debg Migrating saved objects
[00:00:27]             │ proc [kibana]   log   [14:15:09.459] [info][savedobjects-service] Creating index .kibana_2.
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:27]             │ proc [kibana]   log   [14:15:09.547] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:28]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:28]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] updating number_of_replicas to [0] for indices [.tasks]
[00:00:28]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] 869 finished with response BulkByScrollResponse[took=145ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:28]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana/-yAIJ13OR1WxwmOgQ-wXmQ] deleting index
[00:00:28]             │ proc [kibana]   log   [14:15:10.282] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:28]             │ proc [kibana]   log   [14:15:10.308] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_2/HsGxn3hGQ26xSdIG2ibUeA] update_mapping [_doc]
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_2/HsGxn3hGQ26xSdIG2ibUeA] update_mapping [_doc]
[00:00:28]             │ proc [kibana]   log   [14:15:10.428] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:28]             │ proc [kibana]   log   [14:15:10.492] [info][savedobjects-service] Finished in 1036ms.
[00:00:28]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_2/HsGxn3hGQ26xSdIG2ibUeA] update_mapping [_doc]
[00:00:30]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:31]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:31]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:31]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596464113600#/ 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:00:31]             │
[00:00:31]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:31]             │ debg ... sleep(700) start
[00:00:32]             │ debg ... sleep(700) end
[00:00:32]             │ debg returned from get, calling refresh
[00:00:33]             │ debg browser[INFO] http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-03T14:15:14Z
[00:00:33]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:33]             │
[00:00:33]             │      "
[00:00:33]             │ERROR browser[SEVERE] http://localhost:6121/35194/bundles/core/core.entry.js 83:273544 TypeError: Failed to fetch
[00:00:33]             │          at Fetch._callee3$ (http://localhost:6121/35194/bundles/core/core.entry.js:34:107583)
[00:00:33]             │          at l (http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155324)
[00:00:33]             │          at Generator._invoke (http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155077)
[00:00:33]             │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155681)
[00:00:33]             │          at fetch_asyncGeneratorStep (http://localhost:6121/35194/bundles/core/core.entry.js:34:101676)
[00:00:33]             │          at _throw (http://localhost:6121/35194/bundles/core/core.entry.js:34:102084)
[00:00:33]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596464113600#/ 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:00:33]             │
[00:00:33]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:33]             │ debg browser[INFO] http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-03T14:15:15Z
[00:00:33]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:33]             │
[00:00:33]             │      "
[00:00:34]             │ debg currentUrl = http://localhost:6121/app/discover#/
[00:00:34]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:34]             │ debg TestSubjects.find(kibanaChrome)
[00:00:34]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:34]             │ debg ... sleep(501) start
[00:00:34]             │ debg ... sleep(501) end
[00:00:34]             │ debg in navigateTo url = http://localhost:6121/app/discover#/
[00:00:34]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:34]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:35]             │ proc [kibana]   log   [14:15:17.076] [info][data][data][plugins] Get strategy es
[00:00:35]             │ proc [kibana]   log   [14:15:17.077] [info][data][data][plugins] search {"index":"logstash-*","body":{"version":true,"size":500,"sort":[{"@timestamp":{"order":"desc","unmapped_type":"boolean"}}],"aggs":{"2":{"date_histogram":{"field":"@timestamp","fixed_interval":"30s","time_zone":"UTC","min_doc_count":1}}},"stored_fields":["*"],"script_fields":{},"docvalue_fields":[{"field":"@timestamp","format":"date_time"},{"field":"relatedContent.article:modified_time","format":"date_time"},{"field":"relatedContent.article:published_time","format":"date_time"},{"field":"utc_time","format":"date_time"}],"_source":{"excludes":[]},"query":{"bool":{"must":[],"filter":[{"match_all":{}},{"range":{"@timestamp":{"gte":"2020-08-03T14:00:17.067Z","lte":"2020-08-03T14:15:17.067Z","format":"strict_date_optional_time"}}}],"should":[],"must_not":[]}},"highlight":{"pre_tags":["@kibana-highlighted-field@"],"post_tags":["@/kibana-highlighted-field@"],"fields":{"*":{}},"fragment_size":2147483647}},"rest_total_hits_as_int":true,"ignore_unavailable":true,"ignore_throttled":true,"preference":1596464115430,"timeout":"30000ms"}
[00:00:37]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:00]           └-: context view for date_nanos
[00:02:00]             └-> "before all" hook
[00:02:00]             └-> "before all" hook
[00:02:00]               │ info [date_nanos] Loading "mappings.json"
[00:02:00]               │ info [date_nanos] Loading "data.json"
[00:02:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:02:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[date-nanos][0]]])." previous.health="YELLOW" reason="shards started [[date-nanos][0]]"
[00:02:00]               │ info [date_nanos] Created index "date-nanos"
[00:02:00]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [date-nanos/KK7dRKaFTOWBZjubQGtWwg] update_mapping [_doc]
[00:02:00]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:02:00]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_2/HsGxn3hGQ26xSdIG2ibUeA] update_mapping [_doc]
[00:02:00]               │ debg Migrating saved objects
[00:02:00]               │ proc [kibana]   log   [14:16:42.378] [info][savedobjects-service] Creating index .kibana_3.
[00:02:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:02:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] updating number_of_replicas to [0] for indices [.kibana_3]
[00:02:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_3][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_3][0]]"
[00:02:00]               │ proc [kibana]   log   [14:16:42.457] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:02:00]               │ proc [kibana]   log   [14:16:42.466] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_3/sZzglyOTQrKjuY9-soiZYA] update_mapping [_doc]
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_3/sZzglyOTQrKjuY9-soiZYA] update_mapping [_doc]
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_3/sZzglyOTQrKjuY9-soiZYA] update_mapping [_doc]
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_3/sZzglyOTQrKjuY9-soiZYA] update_mapping [_doc]
[00:02:00]               │ proc [kibana]   log   [14:16:42.623] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:02:00]               │ proc [kibana]   log   [14:16:42.673] [info][savedobjects-service] Finished in 297ms.
[00:02:00]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:02:01]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:02:02]             └-> displays predessors - anchor - successors in right order 
[00:02:02]               └-> "before each" hook: global before each
[00:02:02]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:02:02]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:02]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:02]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596464204465#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27)) 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:02:02]               │
[00:02:02]               │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:03]               │ debg browser[INFO] http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-03T14:16:44Z
[00:02:03]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:03]               │
[00:02:03]               │      "
[00:02:03]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ proc [kibana]   log   [14:16:45.677] [info][data][data][plugins] Get strategy es
[00:02:03]               │ proc [kibana]   log   [14:16:45.678] [info][data][data][plugins] search {"index":"date-nanos","body":{"version":true,"size":1,"sort":[{"@timestamp":{"order":"desc","unmapped_type":"boolean"}},{"_doc":{"order":"desc","unmapped_type":"boolean"}}],"stored_fields":["*"],"script_fields":{},"docvalue_fields":[{"field":"@timestamp","format":"strict_date_time"}],"_source":{"excludes":[]},"query":{"bool":{"must":[{"constant_score":{"filter":{"ids":{"values":["AU_x3-TaGFA8no6Qj999Z"]}}}}],"filter":[],"should":[],"must_not":[]}}},"rest_total_hits_as_int":true,"ignore_unavailable":true,"ignore_throttled":true,"preference":1596464204842,"timeout":"30000ms"}
[00:02:03]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ proc [kibana]   log   [14:16:45.737] [info][data][data][plugins] Get strategy es
[00:02:03]               │ proc [kibana]   log   [14:16:45.738] [info][data][data][plugins] search {"index":"date-nanos","body":{"size":1,"search_after":["1568789412999999999",6],"sort":[{"@timestamp":{"order":"asc","unmapped_type":"boolean"}},{"_doc":{"order":"asc","unmapped_type":"boolean"}}],"version":true,"stored_fields":["*"],"script_fields":{},"docvalue_fields":[{"field":"@timestamp","format":"strict_date_time"}],"_source":{"excludes":[]},"query":{"bool":{"must":[{"constant_score":{"filter":{"range":{"@timestamp":{"format":"strict_date_optional_time","gte":"2019-09-18T06:50:12.999999999Z","lte":"2019-09-19T06:50:12.999999999Z"}}}}}],"filter":[],"should":[],"must_not":[]}}},"rest_total_hits_as_int":true,"ignore_unavailable":true,"ignore_throttled":true,"preference":1596464204842,"timeout":"30000ms"}
[00:02:03]               │ proc [kibana]   log   [14:16:45.743] [info][data][data][plugins] Get strategy es
[00:02:03]               │ proc [kibana]   log   [14:16:45.743] [info][data][data][plugins] search {"index":"date-nanos","body":{"size":1,"search_after":["1568789412999999999",6],"sort":[{"@timestamp":{"order":"desc","unmapped_type":"boolean"}},{"_doc":{"order":"desc","unmapped_type":"boolean"}}],"version":true,"stored_fields":["*"],"script_fields":{},"docvalue_fields":[{"field":"@timestamp","format":"strict_date_time"}],"_source":{"excludes":[]},"query":{"bool":{"must":[{"constant_score":{"filter":{"range":{"@timestamp":{"format":"strict_date_optional_time","lte":"2019-09-18T06:50:12.999999999Z","gte":"2019-09-17T06:50:12.999999999Z"}}}}}],"filter":[],"should":[],"must_not":[]}}},"rest_total_hits_as_int":true,"ignore_unavailable":true,"ignore_throttled":true,"preference":1596464204842,"timeout":"30000ms"}
[00:02:03]               │ debg --- retry.try error: loading context rows
[00:02:04]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:04]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:04]               │ERROR browser[SEVERE] http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 413:78739 Error: Bad Request
[00:02:04]               │          at Fetch._callee3$ (http://localhost:6121/35194/bundles/core/core.entry.js:34:108535)
[00:02:04]               │          at l (http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155324)
[00:02:04]               │          at Generator._invoke (http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155077)
[00:02:04]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155681)
[00:02:04]               │          at fetch_asyncGeneratorStep (http://localhost:6121/35194/bundles/core/core.entry.js:34:101676)
[00:02:04]               │          at _next (http://localhost:6121/35194/bundles/core/core.entry.js:34:101992) "Possibly unhandled rejection: {\"request\":{},\"response\":{},\"body\":{\"statusCode\":400,\"error\":\"Bad Request\",\"message\":\"[illegal_argument_exception] date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"attributes\":{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date-nanos\",\"node\":\"8rP9MFwEQ3qyxBEYTLNl4g\",\"reason\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}],\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}}}},\"name\":\"Error\",\"req\":\"...\",\"res\":\"...\"}"
[00:02:04]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:04]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:04]               │ debg ... sleep(1000) start
[00:02:05]               │ debg ... sleep(1000) end
[00:02:05]               │ debg TestSubjects.find(docTable)
[00:02:05]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:02:05]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app context view for date_nanos displays predessors - anchor - successors in right order .png"
[00:02:05]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:02:05]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app context view for date_nanos displays predessors - anchor - successors in right order .html
[00:02:05]               └- ✖ fail: context app context view for date_nanos displays predessors - anchor - successors in right order 
[00:02:05]               │       Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
[00:02:05]               │   'Sep 18, 2019 @ 06:50:12.999999999-3',
[00:02:05]               │   'Sep 19, 2015 @ 06:50:13.0001000011' ]
[00:02:05]               │       + expected - actual
[00:02:05]               │ 
[00:02:05]               │        [
[00:02:05]               │       +  "Sep 18, 2019 @ 06:50:13.000000000-2"
[00:02:05]               │          "Sep 18, 2019 @ 06:50:12.999999999-3"
[00:02:05]               │       +  "Sep 19, 2015 @ 06:50:13.0001000011"
[00:02:05]               │        ]
[00:02:05]               │       
[00:02:05]               │       at Assertion.assert (packages/kbn-expect/expect.js:100:11)
[00:02:05]               │       at Assertion.eql (packages/kbn-expect/expect.js:244:8)
[00:02:05]               │       at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
[00:02:05]               │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:02:05]               │ 
[00:02:05]               │ 

Stack Trace

{ Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
  'Sep 18, 2019 @ 06:50:12.999999999-3',
  'Sep 19, 2015 @ 06:50:13.0001000011' ]
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  actual: '[\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n]',
  expected:
   '[\n  "Sep 18, 2019 @ 06:50:13.000000000-2"\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n  "Sep 19, 2015 @ 06:50:13.0001000011"\n]',
  showDiff: true }

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/context/_date_nanos·js.context app context view for date_nanos displays predessors - anchor - successors in right order

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:11]         └-: context app
[00:00:11]           └-> "before all" hook
[00:00:11]           └-> "before all" hook
[00:00:11]             │ info [logstash_functional] Loading "mappings.json"
[00:00:11]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:11]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:11]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:11]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:11]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:11]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:11]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:21]             │ info progress: 11130
[00:00:23]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:23]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:23]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:23]             │ info [visualize] Loading "mappings.json"
[00:00:23]             │ info [visualize] Loading "data.json"
[00:00:24]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_1/6PWIrbBKQTCFFzw-LCX4xw] deleting index
[00:00:24]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:24]             │ info [visualize] Created index ".kibana"
[00:00:24]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana/5yeoEzzwR8a4XaXd22-cBA] update_mapping [_doc]
[00:00:24]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana/5yeoEzzwR8a4XaXd22-cBA] update_mapping [_doc]
[00:00:24]             │ debg Migrating saved objects
[00:00:24]             │ proc [kibana]   log   [14:11:24.488] [info][savedobjects-service] Creating index .kibana_2.
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:24]             │ proc [kibana]   log   [14:11:24.602] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] updating number_of_replicas to [0] for indices [.tasks]
[00:00:24]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] 852 finished with response BulkByScrollResponse[took=114.7ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:25]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana/5yeoEzzwR8a4XaXd22-cBA] deleting index
[00:00:25]             │ proc [kibana]   log   [14:11:25.084] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:25]             │ proc [kibana]   log   [14:11:25.114] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_2/kGAHAvcqSUSW_1AUkOZ3UA] update_mapping [_doc]
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_2/kGAHAvcqSUSW_1AUkOZ3UA] update_mapping [_doc]
[00:00:25]             │ proc [kibana]   log   [14:11:25.241] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:25]             │ proc [kibana]   log   [14:11:25.325] [info][savedobjects-service] Finished in 841ms.
[00:00:25]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_2/kGAHAvcqSUSW_1AUkOZ3UA] update_mapping [_doc]
[00:00:26]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:27]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:27]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:27]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596463887688#/ 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:00:27]             │
[00:00:27]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:27]             │ debg ... sleep(700) start
[00:00:28]             │ debg ... sleep(700) end
[00:00:28]             │ debg returned from get, calling refresh
[00:00:29]             │ debg browser[INFO] http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-03T14:11:28Z
[00:00:29]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:29]             │
[00:00:29]             │      "
[00:00:29]             │ERROR browser[SEVERE] http://localhost:6121/35194/bundles/core/core.entry.js 83:273544 TypeError: Failed to fetch
[00:00:29]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596463887688#/ 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:00:29]             │
[00:00:29]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:29]             │ debg currentUrl = http://localhost:6121/app/discover#/
[00:00:29]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:29]             │ debg TestSubjects.find(kibanaChrome)
[00:00:29]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:29]             │ debg browser[INFO] http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-03T14:11:29Z
[00:00:29]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:29]             │
[00:00:29]             │      "
[00:00:29]             │ debg ... sleep(501) start
[00:00:30]             │ debg ... sleep(501) end
[00:00:30]             │ debg in navigateTo url = http://localhost:6121/app/discover#/
[00:00:30]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:30]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:31]             │ proc [kibana]   log   [14:11:31.208] [info][data][data][plugins] Get strategy es
[00:00:31]             │ proc [kibana]   log   [14:11:31.209] [info][data][data][plugins] search {"index":"logstash-*","body":{"version":true,"size":500,"sort":[{"@timestamp":{"order":"desc","unmapped_type":"boolean"}}],"aggs":{"2":{"date_histogram":{"field":"@timestamp","fixed_interval":"30s","time_zone":"UTC","min_doc_count":1}}},"stored_fields":["*"],"script_fields":{},"docvalue_fields":[{"field":"@timestamp","format":"date_time"},{"field":"relatedContent.article:modified_time","format":"date_time"},{"field":"relatedContent.article:published_time","format":"date_time"},{"field":"utc_time","format":"date_time"}],"_source":{"excludes":[]},"query":{"bool":{"must":[],"filter":[{"match_all":{}},{"range":{"@timestamp":{"gte":"2020-08-03T13:56:31.198Z","lte":"2020-08-03T14:11:31.198Z","format":"strict_date_optional_time"}}}],"should":[],"must_not":[]}},"highlight":{"pre_tags":["@kibana-highlighted-field@"],"post_tags":["@/kibana-highlighted-field@"],"fields":{"*":{}},"fragment_size":2147483647}},"rest_total_hits_as_int":true,"ignore_unavailable":true,"ignore_throttled":true,"preference":1596463889559,"timeout":"30000ms"}
[00:00:32]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:59]           └-: context view for date_nanos
[00:01:59]             └-> "before all" hook
[00:01:59]             └-> "before all" hook
[00:01:59]               │ info [date_nanos] Loading "mappings.json"
[00:01:59]               │ info [date_nanos] Loading "data.json"
[00:01:59]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:02:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[date-nanos][0]]])." previous.health="YELLOW" reason="shards started [[date-nanos][0]]"
[00:02:00]               │ info [date_nanos] Created index "date-nanos"
[00:02:00]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [date-nanos/9u-z1rTNSeqn4b3HIenFEA] update_mapping [_doc]
[00:02:00]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:02:00]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_2/kGAHAvcqSUSW_1AUkOZ3UA] update_mapping [_doc]
[00:02:00]               │ debg Migrating saved objects
[00:02:00]               │ proc [kibana]   log   [14:13:00.252] [info][savedobjects-service] Creating index .kibana_3.
[00:02:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:02:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] updating number_of_replicas to [0] for indices [.kibana_3]
[00:02:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_3][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_3][0]]"
[00:02:00]               │ proc [kibana]   log   [14:13:00.363] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:02:00]               │ proc [kibana]   log   [14:13:00.372] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_3/IQVzGa2FQ2mzW-WBWfaYgg] update_mapping [_doc]
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_3/IQVzGa2FQ2mzW-WBWfaYgg] update_mapping [_doc]
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_3/IQVzGa2FQ2mzW-WBWfaYgg] update_mapping [_doc]
[00:02:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596462942063925154] [.kibana_3/IQVzGa2FQ2mzW-WBWfaYgg] update_mapping [_doc]
[00:02:00]               │ proc [kibana]   log   [14:13:00.556] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:02:00]               │ proc [kibana]   log   [14:13:00.625] [info][savedobjects-service] Finished in 375ms.
[00:02:00]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:02:01]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:02:02]             └-> displays predessors - anchor - successors in right order 
[00:02:02]               └-> "before each" hook: global before each
[00:02:02]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:02:02]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:02]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:02]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596463982382#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27)) 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:02:02]               │
[00:02:02]               │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:03]               │ debg browser[INFO] http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-03T14:13:03Z
[00:02:03]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:03]               │
[00:02:03]               │      "
[00:02:03]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:04]               │ proc [kibana]   log   [14:13:04.678] [info][data][data][plugins] Get strategy es
[00:02:04]               │ proc [kibana]   log   [14:13:04.679] [info][data][data][plugins] search {"index":"date-nanos","body":{"version":true,"size":1,"sort":[{"@timestamp":{"order":"desc","unmapped_type":"boolean"}},{"_doc":{"order":"desc","unmapped_type":"boolean"}}],"stored_fields":["*"],"script_fields":{},"docvalue_fields":[{"field":"@timestamp","format":"strict_date_time"}],"_source":{"excludes":[]},"query":{"bool":{"must":[{"constant_score":{"filter":{"ids":{"values":["AU_x3-TaGFA8no6Qj999Z"]}}}}],"filter":[],"should":[],"must_not":[]}}},"rest_total_hits_as_int":true,"ignore_unavailable":true,"ignore_throttled":true,"preference":1596463983359,"timeout":"30000ms"}
[00:02:04]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:04]               │ proc [kibana]   log   [14:13:04.757] [info][data][data][plugins] Get strategy es
[00:02:04]               │ proc [kibana]   log   [14:13:04.758] [info][data][data][plugins] search {"index":"date-nanos","body":{"size":1,"search_after":["1568789412999999999",6],"sort":[{"@timestamp":{"order":"asc","unmapped_type":"boolean"}},{"_doc":{"order":"asc","unmapped_type":"boolean"}}],"version":true,"stored_fields":["*"],"script_fields":{},"docvalue_fields":[{"field":"@timestamp","format":"strict_date_time"}],"_source":{"excludes":[]},"query":{"bool":{"must":[{"constant_score":{"filter":{"range":{"@timestamp":{"format":"strict_date_optional_time","gte":"2019-09-18T06:50:12.999999999Z","lte":"2019-09-19T06:50:12.999999999Z"}}}}}],"filter":[],"should":[],"must_not":[]}}},"rest_total_hits_as_int":true,"ignore_unavailable":true,"ignore_throttled":true,"preference":1596463983359,"timeout":"30000ms"}
[00:02:04]               │ proc [kibana]   log   [14:13:04.764] [info][data][data][plugins] Get strategy es
[00:02:04]               │ proc [kibana]   log   [14:13:04.765] [info][data][data][plugins] search {"index":"date-nanos","body":{"size":1,"search_after":["1568789412999999999",6],"sort":[{"@timestamp":{"order":"desc","unmapped_type":"boolean"}},{"_doc":{"order":"desc","unmapped_type":"boolean"}}],"version":true,"stored_fields":["*"],"script_fields":{},"docvalue_fields":[{"field":"@timestamp","format":"strict_date_time"}],"_source":{"excludes":[]},"query":{"bool":{"must":[{"constant_score":{"filter":{"range":{"@timestamp":{"format":"strict_date_optional_time","lte":"2019-09-18T06:50:12.999999999Z","gte":"2019-09-17T06:50:12.999999999Z"}}}}}],"filter":[],"should":[],"must_not":[]}}},"rest_total_hits_as_int":true,"ignore_unavailable":true,"ignore_throttled":true,"preference":1596463983359,"timeout":"30000ms"}
[00:02:04]               │ debg --- retry.try error: loading context rows
[00:02:04]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:04]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:04]               │ERROR browser[SEVERE] http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 413:78739 Error: Bad Request
[00:02:04]               │          at Fetch._callee3$ (http://localhost:6121/35194/bundles/core/core.entry.js:34:108535)
[00:02:04]               │          at l (http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155324)
[00:02:04]               │          at Generator._invoke (http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155077)
[00:02:04]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/35194/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155681)
[00:02:04]               │          at fetch_asyncGeneratorStep (http://localhost:6121/35194/bundles/core/core.entry.js:34:101676)
[00:02:04]               │          at _next (http://localhost:6121/35194/bundles/core/core.entry.js:34:101992) "Possibly unhandled rejection: {\"request\":{},\"response\":{},\"body\":{\"statusCode\":400,\"error\":\"Bad Request\",\"message\":\"[illegal_argument_exception] date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"attributes\":{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date-nanos\",\"node\":\"KcCaMedFTvKsVUUhU-bU_g\",\"reason\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}],\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}}}},\"name\":\"Error\",\"req\":\"...\",\"res\":\"...\"}"
[00:02:05]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:05]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:05]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:05]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:05]               │ debg ... sleep(1000) start
[00:02:06]               │ debg ... sleep(1000) end
[00:02:06]               │ debg TestSubjects.find(docTable)
[00:02:06]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:02:06]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app context view for date_nanos displays predessors - anchor - successors in right order .png"
[00:02:06]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:02:06]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app context view for date_nanos displays predessors - anchor - successors in right order .html
[00:02:06]               └- ✖ fail: context app context view for date_nanos displays predessors - anchor - successors in right order 
[00:02:06]               │       Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
[00:02:06]               │   'Sep 18, 2019 @ 06:50:12.999999999-3',
[00:02:06]               │   'Sep 19, 2015 @ 06:50:13.0001000011' ]
[00:02:06]               │       + expected - actual
[00:02:06]               │ 
[00:02:06]               │        [
[00:02:06]               │       +  "Sep 18, 2019 @ 06:50:13.000000000-2"
[00:02:06]               │          "Sep 18, 2019 @ 06:50:12.999999999-3"
[00:02:06]               │       +  "Sep 19, 2015 @ 06:50:13.0001000011"
[00:02:06]               │        ]
[00:02:06]               │       
[00:02:06]               │       at Assertion.assert (packages/kbn-expect/expect.js:100:11)
[00:02:06]               │       at Assertion.eql (packages/kbn-expect/expect.js:244:8)
[00:02:06]               │       at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
[00:02:06]               │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:02:06]               │ 
[00:02:06]               │ 

Stack Trace

{ Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
  'Sep 18, 2019 @ 06:50:12.999999999-3',
  'Sep 19, 2015 @ 06:50:13.0001000011' ]
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  actual: '[\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n]',
  expected:
   '[\n  "Sep 18, 2019 @ 06:50:13.000000000-2"\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n  "Sep 19, 2015 @ 06:50:13.0001000011"\n]',
  showDiff: true }

Build metrics

async chunks size

id value diff baseline
securitySolution 7.3MB -337.0B 7.3MB

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Resolver Security Solution Resolver feature release_note:skip Skip the PR/issue when compiling release notes Team:Endpoint Data Visibility Team managing the endpoint resolver v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants