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

Migrate saved_object_save_as_checkbox directive to timelion #56114

Merged

Conversation

kertal
Copy link
Member

@kertal kertal commented Jan 28, 2020

Summary

Migrate saved_object_save_as_checkbox Angular directive to timelion, since it's only used there

Dev Docs

Use our React component SavedObjectSaveModal with showCopyOnSave={true} instead of the react directive. Note that SavedObjectSaveModal soon will be part of a new plugin, so the path will change.

import { SavedObjectSaveModal } from 'ui/saved_objects/components/saved_object_save_modal';
<SavedObjectSaveModal
  onSave={onSave}
  onClose={() => {}}
  title={'A title'}
  showCopyOnSave={true}
  objectType={'The type of you saved object'}
 />

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

- [ ] This was checked for cross-browser compatibility, including a check against IE11
- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials
- [ ] Unit or functional tests were updated or added to match the most common scenarios
- [ ] This was checked for keyboard-only and screenreader accessibility

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately
- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately

@kertal kertal self-assigned this Jan 28, 2020
@kertal kertal added the Feature:Timelion Timelion app and visualization label Jan 28, 2020
@kertal kertal added Feature:NP Migration Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jan 28, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@kertal kertal marked this pull request as ready for review January 28, 2020 17:28
@kertal kertal requested review from a team, sulemanof and maryia-lapata January 28, 2020 17:28
@kertal kertal added the release_note:skip Skip the PR/issue when compiling release notes label Jan 28, 2020
Copy link
Contributor

@maryia-lapata maryia-lapata left a comment

Choose a reason for hiding this comment

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

LGTM
Tested in Chrome (Mac)

Copy link
Contributor

@sulemanof sulemanof left a comment

Choose a reason for hiding this comment

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

LGTM

"common.ui.savedObjects.overwriteRejectedDescription": "已拒绝覆盖确认",
"common.ui.savedObjects.saveAsNewLabel": "另存为新的 {savedObjectName}",
"timelion.savedObjects.saveAsNewLabel": "另存为新的 {savedObjectName}",
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we need to move it manually to a group of timelion translations?
Because I did it in my PRs ... 😩

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right, thanks for that hint. I've improved that! you did it right 🎁

- Put keys in order
@kertal kertal merged commit d8adb39 into elastic:master Jan 29, 2020
kertal added a commit to kertal/kibana that referenced this pull request Jan 29, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jan 29, 2020
* master:
  Migrate saved_object_save_as_checkbox directive to timelion (elastic#56114)
kertal added a commit that referenced this pull request Jan 29, 2020
jloleysens added a commit to jloleysens/kibana that referenced this pull request Jan 29, 2020
…55831

* '7.x' of github.com:elastic/kibana: (78 commits)
  Re-enable watcher FireFox functional test (elastic#56112) (elastic#56294)
  [Metrics UI] Fixing title truncation in Metrics Explorer (elastic#55917) (elastic#56248)
  [APM] x-axis labels on Error occurrences chart are incorrect based on Kibana timezone (elastic#55686) (elastic#56288)
  Migrate saved_object_save_as_checkbox directive to timelion (elastic#56114) (elastic#56286)
  [APM] Treat error.exception.stacktrace.line as optional (elastic#55733) (elastic#55840)
  Remove alerts and actions from feature catalogue (elastic#56140) (elastic#56208)
  Migrate UI capabilities to use new platform APIs (elastic#56070) (elastic#56207)
  [ML] Add functional tests for analytics UI: creation addition and regression/outlier results (elastic#56059) (elastic#56191)
  [SIEM] Overview page feedback (elastic#56261) (elastic#56276)
  [NP Cleanup] Remove ui/public/inspector (elastic#55677) (elastic#56271)
  [Index template] Fix editor should support mappings types (elastic#55804)
  fixes map index message (elastic#56104) (elastic#56194)
  [SIEM] [TIMELINE] Only add endpoint logo when on event.module === endgame (elastic#56263) (elastic#56269)
  [SIEM] Fix filters on Hosts and Network page (elastic#56234) (elastic#56267)
  [SIEM] Adds ability to infer the newsfeed.enabled setting (elastic#56236) (elastic#56265)
  [SIEM][Detection Engine] critical blocker for updated rules (elastic#56259)
  [SIEM] Put the notice for rules in comment block (elastic#56123) (elastic#56246)
  [SIEM][Detection Engine] critical blocker, fixes ordering issue that causes rules to not run the first time (elastic#56256)
  [Reporting/NP] Migration of Reporting Security dependency (elastic#56046) (elastic#56198)
  [SIEM] Add link to endpoint app through reference.url (elastic#56211) (elastic#56250)
  ...

# Conflicts:
#	x-pack/plugins/watcher/public/plugin.ts
@kertal kertal added release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. and removed release_note:skip Skip the PR/issue when compiling release notes labels Jan 30, 2020
@kibanamachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-intake-agent / API Integration Tests.test/api_integration/apis/saved_objects/export·js.apis saved_objects export with kibana index basic amount of saved objects should return objects in dependency order

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]           │ proc [kibana]   log   [11:10:22.470] [info][status][plugin:elasticsearch@8.0.0] Status changed from yellow to green - Ready
[00:00:00]           └-> "before all" hook
[00:00:32]           └-: saved_objects
[00:00:32]             └-> "before all" hook
[00:00:41]             └-: export
[00:00:41]               └-> "before all" hook
[00:00:41]               └-: with kibana index
[00:00:41]                 └-> "before all" hook
[00:00:41]                 └-: basic amount of saved objects
[00:00:41]                   └-> "before all" hook
[00:00:41]                   └-> "before all" hook
[00:00:41]                     │ info [saved_objects/basic] Loading "mappings.json"
[00:00:41]                     │ info [saved_objects/basic] Loading "data.json.gz"
[00:00:41]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-1580378226174225128] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:41]                     │ info [saved_objects/basic] Created index ".kibana"
[00:00:41]                     │ debg [saved_objects/basic] ".kibana" settings {"index":{"number_of_shards":"1","number_of_replicas":"1"}}
[00:00:41]                     │ info Creating index .kibana_2.
[00:00:41]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-1580378226174225128] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:41]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-1580378226174225128] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:41]                     │ info Reindexing .kibana to .kibana_1
[00:00:41]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-1580378226174225128] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:41]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-1580378226174225128] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:41]                     │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-1580378226174225128] 1898 finished with response BulkByScrollResponse[took=27ms,timed_out=false,sliceId=null,updated=0,created=8,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:42]                     │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-1580378226174225128] [.kibana/_-kKfj15SUCNdUqNiCBl2Q] deleting index
[00:00:42]                     │ info Migrating .kibana_1 saved objects to .kibana_2
[00:00:42]                     │ debg Migrating saved objects index-pattern:91200a00-9efd-11e7-acb3-3dab96693fab, config:7.0.0-alpha1, visualization:dd7caf20-9efd-11e7-acb3-3dab96693fab, dashboard:be3733a0-9efe-11e7-acb3-3dab96693fab, foo-ns:index-pattern:91200a00-9efd-11e7-acb3-3dab96693fab, foo-ns:config:7.0.0-alpha1, foo-ns:visualization:dd7caf20-9efd-11e7-acb3-3dab96693fab, foo-ns:dashboard:be3733a0-9efe-11e7-acb3-3dab96693fab
[00:00:42]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-1580378226174225128] [.kibana_2/eJ-IhO6_REOOtwpaLdSCAA] update_mapping [_doc]
[00:00:42]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-1580378226174225128] [.kibana_2/eJ-IhO6_REOOtwpaLdSCAA] update_mapping [_doc]
[00:00:42]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-1580378226174225128] [.kibana_2/eJ-IhO6_REOOtwpaLdSCAA] update_mapping [_doc]
[00:00:42]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-1580378226174225128] [.kibana_2/eJ-IhO6_REOOtwpaLdSCAA] update_mapping [_doc]
[00:00:42]                     │ info Pointing alias .kibana to .kibana_2.
[00:00:42]                     │ info Finished in 659ms.
[00:00:42]                   └-> should return objects in dependency order
[00:00:42]                     └-> "before each" hook: global before each
[00:00:42]                     └- ✖ fail: "apis saved_objects export with kibana index basic amount of saved objects should return objects in dependency order"
[00:00:42]                     │

Stack Trace

Error: expected 200 "OK", got 400 "Bad Request"
    at Test._assertStatus (node_modules/supertest/lib/test.js:268:12)
    at Test._assertFunction (node_modules/supertest/lib/test.js:283:11)
    at Test.assert (node_modules/supertest/lib/test.js:173:18)
    at assert (node_modules/supertest/lib/test.js:131:12)
    at /var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/supertest/lib/test.js:128:5
    at Test.Request.callback (node_modules/superagent/lib/node/index.js:718:3)
    at parser (node_modules/superagent/lib/node/index.js:906:18)
    at IncomingMessage.res.on (node_modules/superagent/lib/node/parsers/json.js:19:7)
    at endReadableNT (_stream_readable.js:1143:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

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

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:13]         └-: context app
[00:00:13]           └-> "before all" hook
[00:00:13]           └-> "before all" hook
[00:00:13]             │ info [logstash_functional] Loading "mappings.json"
[00:00:13]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:13]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] Cluster health status changed from [YELLOW] to [GREEN] (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:14]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:14]             │ 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:14]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:14]             │ 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:23]             │ info progress: 8119
[00:00:29]             │ info [visualize] Loading "mappings.json"
[00:00:29]             │ info [visualize] Loading "data.json"
[00:00:29]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_1/UACql70GRbqT8mSRNFU8aQ] deleting index
[00:00:29]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:29]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:29]             │ info [visualize] Created index ".kibana"
[00:00:29]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:29]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana/LuyDsZEDT7mkNHyGpcki-g] update_mapping [_doc]
[00:00:36]             │ info Creating index .kibana_2.
[00:00:36]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:36]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:36]             │ info Reindexing .kibana to .kibana_1
[00:00:36]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:36]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:37]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:37]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] updating number_of_replicas to [0] for indices [.tasks]
[00:00:37]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] 820 finished with response BulkByScrollResponse[took=122.7ms,timed_out=false,sliceId=null,updated=0,created=7,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:37]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana/LuyDsZEDT7mkNHyGpcki-g] deleting index
[00:00:37]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:00:37]             │ debg Migrating saved objects index-pattern:logstash-*, index-pattern:logstash*, index-pattern:long-window-logstash-*, visualization:Shared-Item-Visualization-AreaChart, visualization:68305470-87bc-11e9-a991-3b492a7c3e09, visualization:64983230-87bf-11e9-a991-3b492a7c3e09, visualization:5d2de430-87c0-11e9-a991-3b492a7c3e09
[00:00:37]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_2/svVN19ocSjCtokPss6BI3A] update_mapping [_doc]
[00:00:37]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_2/svVN19ocSjCtokPss6BI3A] update_mapping [_doc]
[00:00:37]             │ info Pointing alias .kibana to .kibana_2.
[00:00:37]             │ info Finished in 879ms.
[00:00:37]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","telemetry:optIn":false}
[00:00:37]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_2/svVN19ocSjCtokPss6BI3A] update_mapping [_doc]
[00:00:38]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:38]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_2/svVN19ocSjCtokPss6BI3A] update_mapping [_doc]
[00:00:39]             │ debg navigating to discover url: http://localhost:6121/app/kibana#/discover
[00:00:39]             │ debg Navigate to: http://localhost:6121/app/kibana#/discover
[00:00:40]             │ debg ... sleep(700) start
[00:00:40]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1580379581192#/discover 350 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:40]             │
[00:00:40]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:40]             │ debg ... sleep(700) end
[00:00:40]             │ debg returned from get, calling refresh
[00:00:40]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1580379581192#/discover 350 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:40]             │
[00:00:40]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:40]             │ debg currentUrl = http://localhost:6121/app/kibana#/discover
[00:00:40]             │          appUrl = http://localhost:6121/app/kibana#/discover
[00:00:40]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:43]             │ debg TestSubjects.find(kibanaChrome)
[00:00:43]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:43]             │ debg browser[INFO] http://localhost:6121/built_assets/dlls/vendors_0.bundle.dll.js 109:138197 "INFO: 2020-01-30T10:19:43Z
[00:00:43]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:43]             │
[00:00:43]             │      "
[00:00:43]             │ debg ... sleep(501) start
[00:00:43]             │ debg ... sleep(501) end
[00:00:43]             │ debg in navigateTo url = http://localhost:6121/app/kibana#/discover?_g=()
[00:00:43]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:43]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:46]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:15]           └-: context view for date_nanos with custom timestamp
[00:02:15]             └-> "before all" hook
[00:02:15]             └-> "before all" hook
[00:02:15]               │ info [date_nanos_custom] Loading "mappings.json"
[00:02:15]               │ info [date_nanos_custom] Loading "data.json"
[00:02:15]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [date_nanos_custom_timestamp] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:15]               │ info [date_nanos_custom] Created index "date_nanos_custom_timestamp"
[00:02:15]               │ debg [date_nanos_custom] "date_nanos_custom_timestamp" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:02:15]               │ info Creating index .kibana_4.
[00:02:15]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_4] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] updating number_of_replicas to [0] for indices [.kibana_4]
[00:02:15]               │ info Migrating .kibana_3 saved objects to .kibana_4
[00:02:15]               │ debg Migrating saved objects index-pattern:logstash*, index-pattern:long-window-logstash-*, visualization:Shared-Item-Visualization-AreaChart, visualization:68305470-87bc-11e9-a991-3b492a7c3e09, visualization:64983230-87bf-11e9-a991-3b492a7c3e09, visualization:5d2de430-87c0-11e9-a991-3b492a7c3e09, index-pattern:logstash-*, search:ab12e3c0-f231-11e6-9486-733b1ac9221a, config:8.0.0-SNAPSHOT, index-pattern:date-nanos, index-pattern:date_nanos_custom_timestamp
[00:02:16]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_4/VbPIfITHRs-ON0R4Gj2iqw] update_mapping [_doc]
[00:02:16]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_4/VbPIfITHRs-ON0R4Gj2iqw] update_mapping [_doc]
[00:02:16]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_4/VbPIfITHRs-ON0R4Gj2iqw] update_mapping [_doc]
[00:02:16]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1580378226174167120] [.kibana_4/VbPIfITHRs-ON0R4Gj2iqw] update_mapping [_doc]
[00:02:16]               │ info Pointing alias .kibana to .kibana_4.
[00:02:16]               │ info Finished in 363ms.
[00:02:16]               │ debg replacing kibana config doc: {"defaultIndex":"date_nanos_custom_timestamp"}
[00:02:16]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:02:17]             └-> displays predessors - anchor - successors in right order 
[00:02:17]               └-> "before each" hook: global before each
[00:02:17]               │ debg browser.get(http://localhost:6121/app/kibana#/context/date_nanos_custom_timestamp/1?_a=(columns:!('@message')))
[00:02:18]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:18]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:18]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1580379679296#/context/date_nanos_custom_timestamp/1?_a=(columns:!(%27@message%27)) 350 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:18]               │
[00:02:18]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:19]               │ debg browser[INFO] http://localhost:6121/built_assets/dlls/vendors_0.bundle.dll.js 109:138197 "INFO: 2020-01-30T10:21:20Z
[00:02:19]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:19]               │
[00:02:19]               │      "
[00:02:19]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:19]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:20]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:20]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:20]               │ warn WebElementWrapper.isEnabled: stale element reference: element is not attached to the page document
[00:02:20]               │        (Session info: headless chrome=79.0.3945.130)
[00:02:20]               │        (Driver info: chromedriver=79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}),platform=Linux 4.9.0-11-amd64 x86_64)
[00:02:20]               │ debg finding element 'By(css selector, [data-test-subj="successorsLoadMoreButton"])' again, 2 attempts left
[00:02:20]               │ERROR browser[SEVERE] http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 367:78758 Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"date_nanos_custom_timestamp","node":"fc7mGfLuRcOOMa19PNh90A","reason":{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]","caused_by":{"type":"illegal_argument_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]","caused_by":{"type":"date_time_parse_exception","reason":"Text '1571617804828740000' could not be parsed at index 0"}}}}]},"status":400}
[00:02:20]               │          at SearchSource._callee$ (http://localhost:6121/bundles/commons.bundle.js:1:790546)
[00:02:20]               │          at s (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774504)
[00:02:20]               │          at Generator._invoke (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774257)
[00:02:20]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774861)
[00:02:20]               │          at asyncGeneratorStep (http://localhost:6121/bundles/commons.bundle.js:1:785404)
[00:02:20]               │          at _next (http://localhost:6121/bundles/commons.bundle.js:1:785715) "Possibly unhandled rejection: {\"resp\":{\"error\":{\"root_cause\":[{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date_nanos_custom_timestamp\",\"node\":\"fc7mGfLuRcOOMa19PNh90A\",\"reason\":{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]\",\"caused_by\":{\"type\":\"date_time_parse_exception\",\"reason\":\"Text '1571617804828740000' could not be parsed at index 0\"}}}}]},\"status\":400}}"
[00:02:20]               │ERROR browser[SEVERE] http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 367:78758 Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"date_nanos_custom_timestamp","node":"fc7mGfLuRcOOMa19PNh90A","reason":{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]","caused_by":{"type":"illegal_argument_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]","caused_by":{"type":"date_time_parse_exception","reason":"Text '1571617804828740000' could not be parsed at index 0"}}}}]},"status":400}
[00:02:20]               │          at SearchSource._callee$ (http://localhost:6121/bundles/commons.bundle.js:1:790546)
[00:02:20]               │          at s (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774504)
[00:02:20]               │          at Generator._invoke (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774257)
[00:02:20]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774861)
[00:02:20]               │          at asyncGeneratorStep (http://localhost:6121/bundles/commons.bundle.js:1:785404)
[00:02:20]               │          at _next (http://localhost:6121/bundles/commons.bundle.js:1:785715) "Possibly unhandled rejection: {\"resp\":{\"error\":{\"root_cause\":[{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date_nanos_custom_timestamp\",\"node\":\"fc7mGfLuRcOOMa19PNh90A\",\"reason\":{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]\",\"caused_by\":{\"type\":\"date_time_parse_exception\",\"reason\":\"Text '1571617804828740000' could not be parsed at index 0\"}}}}]},\"status\":400}}"
[00:02:20]               │ debg ... sleep(1000) start
[00:02:21]               │ debg ... sleep(1000) end
[00:02:21]               │ debg TestSubjects.find(docTable)
[00:02:21]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:02:21]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app context view for date_nanos with custom timestamp displays predessors - anchor - successors in right order .png"
[00:02:21]               │ info Current URL is: http://localhost:6121/app/kibana#/discover/context/date_nanos_custom_timestamp/1?_a=(columns:!(%27@message%27),filters:!(),predecessorCount:1,sort:!(timestamp,desc),successorCount:1)&_g=()
[00:02:22]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app context view for date_nanos with custom timestamp displays predessors - anchor - successors in right order .html
[00:02:22]               └- ✖ fail: "context app context view for date_nanos with custom timestamp displays predessors - anchor - successors in right order "
[00:02:22]               │

Stack Trace

{ Error: expected [ 'Oct 21, 2019 @ 00:30:04.828740000 -' ] to sort of equal [ 'Oct 21, 2019 @ 08:30:04.828733000 -',
  'Oct 21, 2019 @ 00:30:04.828740000 -',
  'Oct 21, 2019 @ 00:30:04.828723000 -' ]
    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_custom_timestamp.js:54:33)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  actual: '[\n  "Oct 21, 2019 @ 00:30:04.828740000 -"\n]',
  expected:
   '[\n  "Oct 21, 2019 @ 08:30:04.828733000 -"\n  "Oct 21, 2019 @ 00:30:04.828740000 -"\n  "Oct 21, 2019 @ 00:30:04.828723000 -"\n]',
  showDiff: true }

Kibana Pipeline / kibana-xpack-agent / X-Pack Saved Object API Integration Tests -- security_and_spaces.x-pack/test/saved_object_api_integration/security_and_spaces/apis/export·ts.saved objects security and spaces enabled export superuser with the default space space aware type should return 200 with only the visualization when querying by type

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: saved objects security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added role [kibana_legacy_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added role [kibana_dual_privileges_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added role [kibana_dual_privileges_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added role [kibana_rbac_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added role [kibana_rbac_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added role [kibana_rbac_default_space_all_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added role [kibana_rbac_default_space_read_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added role [kibana_rbac_space_1_all_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added role [kibana_rbac_space_1_read_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added user [not_a_kibana_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added user [a_kibana_legacy_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added user [a_kibana_dual_privileges_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added user [a_kibana_dual_privileges_dashboard_only_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added user [a_kibana_rbac_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added user [a_kibana_rbac_dashboard_only_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added user [a_kibana_rbac_default_space_all_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added user [a_kibana_rbac_default_space_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added user [a_kibana_rbac_space_1_all_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] added user [a_kibana_rbac_space_1_read_user]
[00:04:05]           └-: export
[00:04:05]             └-> "before all" hook
[00:04:07]             └-: superuser with the default space
[00:04:07]               └-> "before all" hook
[00:04:07]               └-> "before all" hook
[00:04:07]                 │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:07]                 │ info [saved_objects/spaces] Loading "data.json"
[00:04:07]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] [.kibana_2/o-ZVJop2RAKCtvTblHWf0A] deleting index
[00:04:07]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] [.kibana_1/artFPa28SEW_ThPsFqUP-w] deleting index
[00:04:07]                 │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:07]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:07]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:07]                 │ info [saved_objects/spaces] Created index ".kibana"
[00:04:07]                 │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:08]                 │ info Creating index .kibana_2.
[00:04:08]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:08]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:08]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:08]                 │ info Reindexing .kibana to .kibana_1
[00:04:08]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:08]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:08]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:08]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] 24426 finished with response BulkByScrollResponse[took=32.6ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:08]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] [.kibana/n7-waIznT6imOlZf16VRXg] deleting index
[00:04:08]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:08]                 │ debg Migrating saved objects space:default, space:space_1, space:space_2, index-pattern:91200a00-9efd-11e7-acb3-3dab96693fab, config:7.0.0-alpha1, visualization:dd7caf20-9efd-11e7-acb3-3dab96693fab, dashboard:be3733a0-9efe-11e7-acb3-3dab96693fab, space_1:index-pattern:space_1-91200a00-9efd-11e7-acb3-3dab96693fab, space_1:config:7.0.0-alpha1, space_1:visualization:space_1-dd7caf20-9efd-11e7-acb3-3dab96693fab, space_1:dashboard:space_1-be3733a0-9efe-11e7-acb3-3dab96693fab, space_2:index-pattern:space_2-91200a00-9efd-11e7-acb3-3dab96693fab, space_2:config:7.0.0-alpha1, space_2:visualization:space_2-dd7caf20-9efd-11e7-acb3-3dab96693fab, space_2:dashboard:space_2-be3733a0-9efe-11e7-acb3-3dab96693fab, globaltype:8121a00-8efd-21e7-1cb3-34ab966434445
[00:04:08]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] [.kibana_2/WW-bm4jrSXmhE71FanuWFA] update_mapping [_doc]
[00:04:08]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] [.kibana_2/WW-bm4jrSXmhE71FanuWFA] update_mapping [_doc]
[00:04:08]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] [.kibana_2/WW-bm4jrSXmhE71FanuWFA] update_mapping [_doc]
[00:04:08]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] [.kibana_2/WW-bm4jrSXmhE71FanuWFA] update_mapping [_doc]
[00:04:08]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1580378226174093161] [.kibana_2/WW-bm4jrSXmhE71FanuWFA] update_mapping [_doc]
[00:04:08]                 │ info Pointing alias .kibana to .kibana_2.
[00:04:09]                 │ info Finished in 692ms.
[00:04:09]               └-> space aware type should return 200 with only the visualization when querying by type
[00:04:09]                 └-> "before each" hook: global before each
[00:04:09]                 └- ✖ fail: "saved objects security and spaces enabled export superuser with the default space space aware type should return 200 with only the visualization when querying by type"
[00:04:09]                 │

Stack Trace

Error: expected 200 "OK", got 400 "Bad Request"
    at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
    at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
    at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
    at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
    at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
    at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:718:3)
    at parser (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:906:18)
    at IncomingMessage.res.on (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/parsers/json.js:19:7)
    at endReadableNT (_stream_readable.js:1143:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

and 2 more failures, only showing the first 3.

History

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

@kertal kertal deleted the kertal-pr-2020-01-28-migrate_save_as_checkbox branch February 9, 2021 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:NP Migration Feature:Timelion Timelion app and visualization release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants