-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:Data ViewsData Views code and UI - index patterns before 8.0Data Views code and UI - index patterns before 8.0blockerfailed-es-promotionimpact:criticalThis issue should be addressed immediately due to a critical level of impact on the product.This issue should be addressed immediately due to a critical level of impact on the product.loe:smallSmall Level of EffortSmall Level of Effortskipped-testv7.10.0v8.0.0
Description
This failure is preventing the promotion of the current Elasticsearch nightly snapshot.
For more information on the Elasticsearch snapshot promotion process: https://www.elastic.co/guide/en/kibana/master/development-es-snapshots.html
│ info [o.e.c.m.MetadataMappingService] [desktop] [.kibana_1/Z8LNqI-MQmq_M2F7VX-l0Q] update_mapping [_doc]
└-: apis
└-> "before all" hook
└-: index_patterns
└-> "before all" hook
└-: index_patterns/_fields_for_wildcard route
└-> "before all" hook
└-: response
└-> "before all" hook
└-> "before all" hook
│ info [index_patterns/basic_index] Loading "mappings.json"
│ info [index_patterns/basic_index] Loading "data.json.gz"
│ info [o.e.c.m.MetadataCreateIndexService] [desktop] [basic_index] creating index, cause [api], templates [], shards [1]/[1]
│ info [index_patterns/basic_index] Created index "basic_index"
│ info [index_patterns/basic_index] Indexed 1 docs into "basic_index"
└-> always returns a field for all passed meta fields
└-> "before each" hook: global before each
└- ✖ fail: apis index_patterns index_patterns/_fields_for_wildcard route response always returns a field for all passed meta fields
│ Error: expected { fields:
│ [ { aggregatable: true,
│ name: '_id',
│ esTypes: [Array],
│ readFromDocValues: false,
│ searchable: true,
│ type: 'string' },
│ { aggregatable: false,
│ name: '_source',
│ esTypes: [Array],
│ readFromDocValues: false,
│ searchable: false,
│ type: '_source' },
│ { type: 'boolean',
│ esTypes: [Array],
│ searchable: true,
│ aggregatable: true,
│ name: 'bar',
│ readFromDocValues: true },
│ { aggregatable: false,
│ name: 'baz',
│ esTypes: [Array],
│ readFromDocValues: false,
│ searchable: true,
│ type: 'string' },
│ { type: 'string',
│ esTypes: [Array],
│ searchable: true,
│ aggregatable: true,
│ name: 'baz.keyword',
│ readFromDocValues: true,
│ subType: [Object] },
│ { aggregatable: false,
│ name: 'crazy_meta_field',
│ readFromDocValues: false,
│ searchable: false,
│ type: 'string' },
│ { type: 'number',
│ esTypes: [Array],
│ searchable: true,
│ aggregatable: true,
│ name: 'foo',
│ readFromDocValues: true },
│ { aggregatable: true,
│ esTypes: [Array],
│ name: 'nestedField.child',
│ readFromDocValues: true,
│ searchable: true,
│ subType: [Object],
│ type: 'string' } ] } response body, got { fields:
│ [ { name: '_id',
│ type: 'string',
│ esTypes: [Array],
│ searchable: true,
│ aggregatable: false,
│ readFromDocValues: false },
│ { name: '_source',
│ type: '_source',
│ esTypes: [Array],
│ searchable: false,
│ aggregatable: false,
│ readFromDocValues: false },
│ { name: 'bar',
│ type: 'boolean',
│ esTypes: [Array],
│ searchable: true,
│ aggregatable: true,
│ readFromDocValues: true },
│ { name: 'baz',
│ type: 'string',
│ esTypes: [Array],
│ searchable: true,
│ aggregatable: false,
│ readFromDocValues: false },
│ { name: 'baz.keyword',
│ type: 'string',
│ esTypes: [Array],
│ searchable: true,
│ aggregatable: true,
│ readFromDocValues: true,
│ subType: [Object] },
│ { name: 'crazy_meta_field',
│ type: 'string',
│ searchable: false,
│ aggregatable: false,
│ readFromDocValues: false },
│ { name: 'foo',
│ type: 'number',
│ esTypes: [Array],
│ searchable: true,
│ aggregatable: true,
│ readFromDocValues: true },
│ { name: 'nestedField.child',
│ type: 'string',
│ esTypes: [Array],
│ searchable: true,
│ aggregatable: true,
│ readFromDocValues: true,
│ subType: [Object] } ] }
│ + expected - actual
│
│ {
│ "fields": [
│ {
│ - "aggregatable": false
│ + "aggregatable": true
│ "esTypes": [
│ "_id"
│ ]
│ "name": "_id"
│
│ at error (node_modules/supertest/lib/test.js:301:13)
│ at Test._assertBody (node_modules/supertest/lib/test.js:205:14)
│ 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 /home/tyler/elastic/kibana/node_modules/supertest/lib/test.js:128:5
│ at Test.Request.callback (node_modules/superagent/lib/node/index.js:706:12)
│ at parser (node_modules/superagent/lib/node/index.js:906:18)
│ at Stream.res.on (node_modules/superagent/lib/node/parsers/json.js:19:7)
│ at Unzip.unzip.on (node_modules/superagent/lib/node/unzip.js:55:12)
│ at endReadableNT (_stream_readable.js:1145:12)
│ at process._tickCallback (internal/process/next_tick.js:63:19)
I believe this might be caused by elastic/elasticsearch#63197
Metadata
Metadata
Assignees
Labels
Feature:Data ViewsData Views code and UI - index patterns before 8.0Data Views code and UI - index patterns before 8.0blockerfailed-es-promotionimpact:criticalThis issue should be addressed immediately due to a critical level of impact on the product.This issue should be addressed immediately due to a critical level of impact on the product.loe:smallSmall Level of EffortSmall Level of Effortskipped-testv7.10.0v8.0.0