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

[7.9] [Vega] Write tutorials and reference (#71028) #71929

Merged
merged 1 commit into from
Jul 15, 2020

Conversation

wylieconlon
Copy link
Contributor

Backports the following commits to 7.9:

* [Vega] Improve all Vega docs

* Rewrite Vega tutorial to introduce from empty visualization

* Update from feedback
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard_mode/dashboard_empty_screen·js.dashboard mode empty dashboard "before all" hook for "adds Lens visualization to empty dashboard"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:09:27]         └-: dashboard mode
[00:09:27]           └-> "before all" hook
[00:14:54]           └-: empty dashboard
[00:14:54]             └-> "before all" hook
[00:14:54]             └-> "before all" hook
[00:14:54]               │ info [logstash_functional] Loading "mappings.json"
[00:14:54]               │ info [logstash_functional] Loading "data.json.gz"
[00:14:54]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:14:54]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:14:54]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:14:56]               │ info [lens/basic] Loading "mappings.json"
[00:14:56]               │ info [lens/basic] Loading "data.json.gz"
[00:14:56]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594839156957637358] [.kibana_1/hl7WA42ZThKipjAT_CWTDg] deleting index
[00:14:56]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594839156957637358] [.kibana_2/Dvw5iY_sTlCbx7MCdvdifg] deleting index
[00:14:56]               │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:14:56]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594839156957637358] [.kibana] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:14:56]               │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/dashboard mode empty dashboard _before all_ hook.png"
[00:14:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594839156957637358] [.kibana/Nkw0HMs_TkWTeGl7fV_tTg] create_mapping [_doc]
[00:14:57]               │ info Current URL is: http://localhost:6181/app/dashboards#/view/d7a41cf0-c6d2-11ea-96e2-2d63454025ce?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(description:%27%27,filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,formattedValue:%270%27,index:%27logstash-*%27,key:memory,negate:!f,params:(gte:0,lt:40000),type:range),range:(memory:(gte:0,lt:40000)))),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27Dashboard%20View%20Mode%20Test%20Dashboard%27,viewMode:view)
[00:14:57]               │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/dashboard mode empty dashboard _before all_ hook.html
[00:14:57]               └- ✖ fail: dashboard mode empty dashboard "before all" hook for "adds Lens visualization to empty dashboard"
[00:14:57]               │      Error: [invalid_alias_name_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index_uuid="Nkw0HMs_TkWTeGl7fV_tTg" & index=".kibana" }
[00:14:57]               │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:14:57]               │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:14:57]               │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:14:57]               │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4929:19)
[00:14:57]               │       at endReadableNT (_stream_readable.js:1145:12)
[00:14:57]               │       at process._tickCallback (internal/process/next_tick.js:63:19)
[00:14:57]               │ 
[00:14:57]               │ 

Stack Trace

{ Error: [invalid_alias_name_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index_uuid="Nkw0HMs_TkWTeGl7fV_tTg" & index=".kibana" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4929:19)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  status: 400,
  displayName: 'BadRequest',
  message:
   '[invalid_alias_name_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index_uuid="Nkw0HMs_TkWTeGl7fV_tTg" & index=".kibana" }',
  path: '/.kibana_1',
  query: { include_type_name: false },
  body:
   { error:
      { root_cause: [Array],
        type: 'invalid_alias_name_exception',
        reason:
         'Invalid alias name [.kibana], an index exists with the same name as the alias',
        index_uuid: 'Nkw0HMs_TkWTeGl7fV_tTg',
        index: '.kibana' },
     status: 400 },
  statusCode: 400,
  response:
   '{"error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana], an index exists with the same name as the alias","index_uuid":"Nkw0HMs_TkWTeGl7fV_tTg","index":".kibana"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana], an index exists with the same name as the alias","index_uuid":"Nkw0HMs_TkWTeGl7fV_tTg","index":".kibana"},"status":400}',
  toString: [Function],
  toJSON: [Function] }

Build metrics

✅ unchanged

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

@wylieconlon
Copy link
Contributor Author

@elasticmachine merge upstream

@wylieconlon wylieconlon merged commit b1e7bc7 into elastic:7.9 Jul 15, 2020
@wylieconlon wylieconlon deleted the backport/7.9/pr-71028 branch July 15, 2020 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants