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

[ML] Adding missing index pattern name to new job wizards #72400

Conversation

jgowdyelastic
Copy link
Member

@jgowdyelastic jgowdyelastic commented Jul 20, 2020

Index pattern name should be visible at the top of the new job wizards.

image

Relates to #67787

@jgowdyelastic jgowdyelastic added review non-issue Indicates to automation that a pull request should not appear in the release notes :ml Feature:Anomaly Detection ML anomaly detection v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v7.9.0 labels Jul 20, 2020
@jgowdyelastic jgowdyelastic requested a review from a team as a code owner July 20, 2020 09:28
@jgowdyelastic jgowdyelastic self-assigned this Jul 20, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@darnautov darnautov left a comment

Choose a reason for hiding this comment

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

LGTM

@jgowdyelastic jgowdyelastic merged commit 9504c94 into elastic:master Jul 20, 2020
@jgowdyelastic jgowdyelastic deleted the adding-missing-index-pattern-name-to-new-job-wizards branch July 20, 2020 12:47
jgowdyelastic added a commit to jgowdyelastic/kibana that referenced this pull request Jul 20, 2020
jgowdyelastic added a commit to jgowdyelastic/kibana that referenced this pull request Jul 20, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 20, 2020
* master: (60 commits)
  [SIEM][Detection Engine][Lists] Adds list permissions (elastic#72335)
  [SIEM][Detection Engine][Lists] Adds conflict versioning and io-ts improvements to lists (elastic#72337)
  [Resolver] no longer pass related event stats to process node component (elastic#72435)
  Revert "skip flaky suite (elastic#72146)"
  [Security Solution] Cleanup endpoint telemetry (elastic#71950)
  Unskip dashboard embeddable rendering tests (elastic#71824)
  [ENDPOINT] Added unerolling status for host. (elastic#72303)
  [Alerting][Connectors] Increase the size of the logos (elastic#72419)
  [SECURITY] [Timeline] Raw events not displayed (elastic#72387)
  [ML] Fixes display of regression stop stats if one is NaN (elastic#72412)
  [Ingest Pipelines] Processor Editor Move Tooltip (elastic#72239)
  Fix match phrase and not match phrase comparators (elastic#71850)
  [Plugin Generator] Generate tsconfig and useDefaultBehaviors (elastic#72040)
  [Security Solution][Timeline] Fix timeline styling and createFrom beh… (elastic#72152)
  [Resolver] Selector performance (elastic#72380)
  [Ingest Manager] Set `_meta` in the index.mappings (elastic#72026)
  [Ingest Manager] Do not bumb config revision during config creation (elastic#72270)
  [ML] Adding missing index pattern name to new job wizards (elastic#72400)
  [ML] improve annotation flyout performance (elastic#72299)
  [APM] Testing error rate API and restructuring folders (elastic#72257)
  ...
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 20, 2020
* master: (26 commits)
  [SIEM][Detection Engine][Lists] Adds list permissions (elastic#72335)
  [SIEM][Detection Engine][Lists] Adds conflict versioning and io-ts improvements to lists (elastic#72337)
  [Resolver] no longer pass related event stats to process node component (elastic#72435)
  Revert "skip flaky suite (elastic#72146)"
  [Security Solution] Cleanup endpoint telemetry (elastic#71950)
  Unskip dashboard embeddable rendering tests (elastic#71824)
  [ENDPOINT] Added unerolling status for host. (elastic#72303)
  [Alerting][Connectors] Increase the size of the logos (elastic#72419)
  [SECURITY] [Timeline] Raw events not displayed (elastic#72387)
  [ML] Fixes display of regression stop stats if one is NaN (elastic#72412)
  [Ingest Pipelines] Processor Editor Move Tooltip (elastic#72239)
  Fix match phrase and not match phrase comparators (elastic#71850)
  [Plugin Generator] Generate tsconfig and useDefaultBehaviors (elastic#72040)
  [Security Solution][Timeline] Fix timeline styling and createFrom beh… (elastic#72152)
  [Resolver] Selector performance (elastic#72380)
  [Ingest Manager] Set `_meta` in the index.mappings (elastic#72026)
  [Ingest Manager] Do not bumb config revision during config creation (elastic#72270)
  [ML] Adding missing index pattern name to new job wizards (elastic#72400)
  [ML] improve annotation flyout performance (elastic#72299)
  [APM] Testing error rate API and restructuring folders (elastic#72257)
  ...
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 21, 2020
…feature-privileges

* alerting/consumer-based-rbac: (45 commits)
  fixed alerts test
  [SIEM][Detection Engine][Lists] Adds list permissions (elastic#72335)
  [SIEM][Detection Engine][Lists] Adds conflict versioning and io-ts improvements to lists (elastic#72337)
  [Resolver] no longer pass related event stats to process node component (elastic#72435)
  Revert "skip flaky suite (elastic#72146)"
  [Security Solution] Cleanup endpoint telemetry (elastic#71950)
  Unskip dashboard embeddable rendering tests (elastic#71824)
  [ENDPOINT] Added unerolling status for host. (elastic#72303)
  [Alerting][Connectors] Increase the size of the logos (elastic#72419)
  [SECURITY] [Timeline] Raw events not displayed (elastic#72387)
  [ML] Fixes display of regression stop stats if one is NaN (elastic#72412)
  [Ingest Pipelines] Processor Editor Move Tooltip (elastic#72239)
  Fix match phrase and not match phrase comparators (elastic#71850)
  [Plugin Generator] Generate tsconfig and useDefaultBehaviors (elastic#72040)
  [Security Solution][Timeline] Fix timeline styling and createFrom beh… (elastic#72152)
  allow user to disable alert even if they dont have privileges to the underlying action
  [Resolver] Selector performance (elastic#72380)
  [Ingest Manager] Set `_meta` in the index.mappings (elastic#72026)
  [Ingest Manager] Do not bumb config revision during config creation (elastic#72270)
  [ML] Adding missing index pattern name to new job wizards (elastic#72400)
  ...
@kibanamachine
Copy link
Contributor

💔 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:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] 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:13]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:13]             │ 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:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] 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:13]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:13]             │ 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:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] 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:13]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:13]             │ 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: 8426
[00:00:27]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:27]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:27]             │ 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-debian-tests-xl-1596112864375434042] [.kibana_1/VSA4HKikQFqxW5eISokHqg] deleting index
[00:00:27]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.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-debian-tests-xl-1596112864375434042] [.kibana/hvVdI_DBS1C8hOctb4lbsg] 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-debian-tests-xl-1596112864375434042] [.kibana/hvVdI_DBS1C8hOctb4lbsg] update_mapping [_doc]
[00:00:27]             │ debg Migrating saved objects
[00:00:27]             │ proc [kibana]   log   [13:02:14.686] [info][savedobjects-service] Creating index .kibana_2.
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:27]             │ proc [kibana]   log   [13:02:14.773] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:28]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:28]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] updating number_of_replicas to [0] for indices [.tasks]
[00:00:28]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] 864 finished with response BulkByScrollResponse[took=94.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:28]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.kibana/hvVdI_DBS1C8hOctb4lbsg] deleting index
[00:00:28]             │ proc [kibana]   log   [13:02:15.194] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:28]             │ proc [kibana]   log   [13:02:15.218] [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-debian-tests-xl-1596112864375434042] [.kibana_2/JQ6nnN8lQ3CPKLIa8JxM0w] update_mapping [_doc]
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.kibana_2/JQ6nnN8lQ3CPKLIa8JxM0w] update_mapping [_doc]
[00:00:28]             │ proc [kibana]   log   [13:02:15.321] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:28]             │ proc [kibana]   log   [13:02:15.381] [info][savedobjects-service] Finished in 698ms.
[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-debian-tests-xl-1596112864375434042] [.kibana_2/JQ6nnN8lQ3CPKLIa8JxM0w] update_mapping [_doc]
[00:00:29]             │ 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=1596114137800#/ 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:31]             │ debg ... sleep(700) end
[00:00:31]             │ debg returned from get, calling refresh
[00:00:32]             │ debg browser[INFO] http://localhost:6121/34894/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-30T13:02:18Z
[00:00:32]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:32]             │
[00:00:32]             │      "
[00:00:32]             │ERROR browser[SEVERE] http://localhost:6121/34894/bundles/core/core.entry.js 83:273544 TypeError: Failed to fetch
[00:00:32]             │          at Fetch._callee3$ (http://localhost:6121/34894/bundles/core/core.entry.js:34:107583)
[00:00:32]             │          at l (http://localhost:6121/34894/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155138)
[00:00:32]             │          at Generator._invoke (http://localhost:6121/34894/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:154891)
[00:00:32]             │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6121/34894/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155495)
[00:00:32]             │          at fetch_asyncGeneratorStep (http://localhost:6121/34894/bundles/core/core.entry.js:34:101676)
[00:00:32]             │          at _throw (http://localhost:6121/34894/bundles/core/core.entry.js:34:102084)
[00:00:32]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596114137800#/ 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:32]             │
[00:00:32]             │ 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/34894/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-30T13:02:19Z
[00:00:33]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:33]             │
[00:00:33]             │      "
[00:00:33]             │ debg currentUrl = http://localhost:6121/app/discover#/
[00:00:33]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:33]             │ debg TestSubjects.find(kibanaChrome)
[00:00:33]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:33]             │ debg ... sleep(501) start
[00:00:33]             │ debg ... sleep(501) end
[00:00:33]             │ debg in navigateTo url = http://localhost:6121/app/discover#/
[00:00:33]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:33]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:36]             │ 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-debian-tests-xl-1596112864375434042] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:01:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] 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:01:59]               │ info [date_nanos] Created index "date-nanos"
[00:01:59]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [date-nanos/AjOLxzxgQ_OXnwTvw4MywQ] update_mapping [_doc]
[00:01:59]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:01:59]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.kibana_2/JQ6nnN8lQ3CPKLIa8JxM0w] update_mapping [_doc]
[00:01:59]               │ debg Migrating saved objects
[00:01:59]               │ proc [kibana]   log   [13:03:46.118] [info][savedobjects-service] Creating index .kibana_3.
[00:01:59]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:01:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] updating number_of_replicas to [0] for indices [.kibana_3]
[00:01:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] 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:01:59]               │ proc [kibana]   log   [13:03:46.200] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:01:59]               │ proc [kibana]   log   [13:03:46.208] [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:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.kibana_3/JJu5baXITaaV81NZbYU4tQ] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.kibana_3/JJu5baXITaaV81NZbYU4tQ] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.kibana_3/JJu5baXITaaV81NZbYU4tQ] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596112864375434042] [.kibana_3/JJu5baXITaaV81NZbYU4tQ] update_mapping [_doc]
[00:01:59]               │ proc [kibana]   log   [13:03:46.372] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:01:59]               │ proc [kibana]   log   [13:03:46.432] [info][savedobjects-service] Finished in 317ms.
[00:01:59]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:02:00]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:02:01]             └-> displays predessors - anchor - successors in right order 
[00:02:01]               └-> "before each" hook: global before each
[00:02:01]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:02:01]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:01]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:01]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596114228212#/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:01]               │
[00:02:01]               │ 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:02]               │ debg browser[INFO] http://localhost:6121/34894/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-30T13:03:49Z
[00:02:02]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:02]               │
[00:02:02]               │      "
[00:02:02]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:02]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg --- retry.try error: loading context rows
[00:02:03]               │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:03]               │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:03]               │ERROR browser[SEVERE] http://localhost:6121/34894/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 413:78739 Error: Bad Request
[00:02:03]               │          at Fetch._callee3$ (http://localhost:6121/34894/bundles/core/core.entry.js:34:108535)
[00:02:03]               │          at l (http://localhost:6121/34894/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155138)
[00:02:03]               │          at Generator._invoke (http://localhost:6121/34894/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:154891)
[00:02:03]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/34894/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155495)
[00:02:03]               │          at fetch_asyncGeneratorStep (http://localhost:6121/34894/bundles/core/core.entry.js:34:101676)
[00:02:03]               │          at _next (http://localhost:6121/34894/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\":\"B_HfvFuLQHiqP52BSkS6ng\",\"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-xpack-agent / X-Pack API Integration Tests.x-pack/test/api_integration/apis/endpoint/resolver·ts.apis Endpoint plugin Resolver related alerts route endpoint events should return details for the root node

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook
[00:14:13]           └-: Endpoint plugin
[00:14:13]             └-> "before all" hook
[00:14:13]             └-> "before all" hook
[00:14:21]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] updated role [fleet_enroll]
[00:14:21]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] updated user [fleet_enroll]
[00:14:24]             └-: Resolver
[00:14:24]               └-> "before all" hook
[00:14:24]               └-> "before all" hook
[00:14:24]                 │ info [endpoint/resolver/api_feature] Loading "mappings.json"
[00:14:24]                 │ info [endpoint/resolver/api_feature] Loading "data.json.gz"
[00:14:24]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] [endgame-4.21.0-000001] creating index, cause [api], templates [], shards [5]/[0]
[00:14:24]                 │ info [endpoint/resolver/api_feature] Created index "endgame-4.21.0-000001"
[00:14:24]                 │ debg [endpoint/resolver/api_feature] "endgame-4.21.0-000001" settings {"index":{"lifecycle":{"name":"endgame_policy-4.21.0","rollover_alias":"endgame-4.21.0"},"mapping":{"ignore_malformed":"true","total_fields":{"limit":"10000"}},"number_of_replicas":"0","number_of_shards":"5","refresh_interval":"5s"}}
[00:14:24]                 │ info [endpoint/resolver/api_feature] Indexed 156 docs into "endgame-4.21.0-000001"
[00:14:24]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] [.ds-logs-endpoint.events.process-default-000001] creating index, cause [initialize_data_stream], templates [logs-endpoint.events.process], shards [1]/[1]
[00:14:24]                 │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] adding data stream [logs-endpoint.events.process-default]
[00:14:24]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] [.ds-logs-endpoint.alerts-default-000001] creating index, cause [initialize_data_stream], templates [logs-endpoint.alerts], shards [1]/[1]
[00:14:24]                 │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] adding data stream [logs-endpoint.alerts-default]
[00:14:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] moving index [.ds-logs-endpoint.events.process-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [logs]
[00:14:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] moving index [.ds-logs-endpoint.alerts-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [logs]
[00:14:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] moving index [.ds-logs-endpoint.events.process-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [logs]
[00:14:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] moving index [.ds-logs-endpoint.alerts-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [logs]
[00:14:24]               └-: related alerts route
[00:14:24]                 └-> "before all" hook
[00:14:24]                 └-: endpoint events
[00:14:24]                   └-> "before all" hook
[00:14:24]                   └-> should not find any alerts
[00:14:24]                     └-> "before each" hook: global before each
[00:14:24]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] moving index [.ds-logs-endpoint.events.process-default-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [logs]
[00:14:24]                     └- ✓ pass  (27ms) "apis Endpoint plugin Resolver related alerts route endpoint events should not find any alerts"
[00:14:24]                   └-> should return details for the root node
[00:14:25]                     └-> "before each" hook: global before each
[00:14:25]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1596112864373940972] moving index [.ds-logs-endpoint.alerts-default-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [logs]
[00:14:25]                     └- ✖ fail: apis Endpoint plugin Resolver related alerts route endpoint events should return details for the root node
[00:14:25]                     │      Error: expected undefined to be truthy
[00:14:25]                     │       at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
[00:14:25]                     │       at Assertion.ok (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:122:8)
[00:14:25]                     │       at Function.ok (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:531:15)
[00:14:25]                     │       at forEach (test/api_integration/apis/endpoint/resolver.ts:175:13)
[00:14:25]                     │       at Array.forEach (<anonymous>)
[00:14:25]                     │       at compareArrays (test/api_integration/apis/endpoint/resolver.ts:170:10)
[00:14:25]                     │       at Context.it (test/api_integration/apis/endpoint/resolver.ts:280:11)
[00:14:25]                     │ 
[00:14:25]                     │ 

Stack Trace

Error: expected undefined to be truthy
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.ok (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:122:8)
    at Function.ok (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:531:15)
    at forEach (test/api_integration/apis/endpoint/resolver.ts:175:13)
    at Array.forEach (<anonymous>)
    at compareArrays (test/api_integration/apis/endpoint/resolver.ts:170:10)
    at Context.it (test/api_integration/apis/endpoint/resolver.ts:280:11)

Kibana Pipeline / x-pack-intake-agent / X-Pack Jest Tests.x-pack/plugins/uptime/public/components/common/charts/__tests__.PingHistogram component renders the component without errors

Link to Jenkins

Standard Out

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


Stack Trace

Error: expect(received).toMatchSnapshot()

Snapshot name: `PingHistogram component renders the component without errors 1`

- Snapshot  - 1
+ Received  + 1

@@ -3,11 +3,11 @@
      class="euiTitle euiTitle--xsmall"
    >
      Pings over time
    </h2>,
    <div
-     aria-label="Bar Chart showing uptime status over time from a year ago to a year ago."
+     aria-label="Bar Chart showing uptime status over time from 2 years ago to 2 years ago."
      style="height:100%;opacity:1;transition:opacity 0.2s"
    >
      <div
        class="echChart"
      >
    at Object.it (/dev/shm/workspace/kibana/x-pack/plugins/uptime/public/components/common/charts/__tests__/ping_histogram.test.tsx:58:23)
    at Promise (/dev/shm/workspace/kibana/node_modules/jest-circus/build/utils.js:198:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/dev/shm/workspace/kibana/node_modules/jest-circus/build/utils.js:162:10)
    at _callCircusTest (/dev/shm/workspace/kibana/node_modules/jest-circus/build/run.js:205:40)
    at process._tickCallback (internal/process/next_tick.js:68:7)

and 1 more failures, only showing the first 3.

Build metrics

page load bundle size

id value diff baseline
ml 4.3MB +256.0B 4.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:Anomaly Detection ML anomaly detection :ml non-issue Indicates to automation that a pull request should not appear in the release notes release_note:skip Skip the PR/issue when compiling release notes review v7.9.0 v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants