Skip to content

[7.11] [Test] Add tag cloud visualization to dashboard in functional test for reporting (#87600)#88558

Closed
tsullivan wants to merge 3 commits intoelastic:7.11from
tsullivan:backport/7.11/pr-87600
Closed

[7.11] [Test] Add tag cloud visualization to dashboard in functional test for reporting (#87600)#88558
tsullivan wants to merge 3 commits intoelastic:7.11from
tsullivan:backport/7.11/pr-87600

Conversation

@tsullivan
Copy link
Member

Backports the following commits to 7.11:

@tsullivan tsullivan added the backport This PR is a backport of another PR label Jan 16, 2021
…r reporting (elastic#87600)

* add tag cloud to dashboard in kibana archive

* add pdf snapshot testing to downloaded pdfs

* update png baseline image

* remove pdf snapshot testing

* rename mislabeled variable

* fix test comparison

* remove unnecessary pdf utf8 checks

* Update screenshots.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@tsullivan tsullivan force-pushed the backport/7.11/pr-87600 branch from 686654f to 96cef6f Compare January 19, 2021 16:49
@tsullivan
Copy link
Member Author

@elasticmachine merge upstream

@tsullivan
Copy link
Member Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

kibanamachine commented Jan 27, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/visualize/reporting·ts.Visualize Visualize Reporting Screenshots "before all" hook: initialize tests in "Visualize Reporting Screenshots"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:37:31]         └-: Visualize
[00:37:31]           └-> "before all" hook
[00:45:45]           └-: Visualize Reporting Screenshots
[00:45:45]             └-> "before all" hook
[00:45:45]             └-> "before all" hook: initialize tests
[00:45:45]               │ debg ReportingPage:initTests
[00:45:45]               │ info [reporting/ecommerce] Loading "mappings.json"
[00:45:45]               │ info [reporting/ecommerce] Loading "data.json.gz"
[00:45:45]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [ecommerce] creating index, cause [api], templates [], shards [1]/[0]
[00:45:46]               │ info [reporting/ecommerce] Created index "ecommerce"
[00:45:46]               │ debg [reporting/ecommerce] "ecommerce" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:45:46]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/j4MOUPcXRIC0l2gUONIO8w] deleting index
[00:45:46]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/PqoKMFK3Q8qS90Nj7Ba3WA] deleting index
[00:45:46]               │ info [reporting/ecommerce] Deleted existing index [".kibana_2",".kibana_1"]
[00:45:46]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:45:46]               │ info [reporting/ecommerce] Created index ".kibana_1"
[00:45:46]               │ debg [reporting/ecommerce] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:45:47]               │ info [reporting/ecommerce] Indexed 4675 docs into "ecommerce"
[00:45:47]               │ info [reporting/ecommerce] Indexed 3 docs into ".kibana_1"
[00:45:48]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/9AvoNS27QduWUD4iG4ZbEA] update_mapping [_doc]
[00:45:48]               │ debg Migrating saved objects
[00:45:48]               │ proc [kibana]   log   [02:00:21.763] [info][savedobjects-service] Creating index .kibana_2.
[00:45:48]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:45:48]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] updating number_of_replicas to [0] for indices [.kibana_2]
[00:45:48]               │ proc [kibana]   log   [02:00:21.836] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:45:48]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/YwqffYF0TACICdZkKk9Kag] update_mapping [_doc]
[00:45:48]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/YwqffYF0TACICdZkKk9Kag] update_mapping [_doc]
[00:45:48]               │ proc [kibana]   log   [02:00:21.963] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:45:48]               │ proc [kibana]   log   [02:00:22.001] [info][savedobjects-service] Finished in 240ms.
[00:45:48]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:45:50]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:45:51]               │ info [reporting/ecommerce_kibana] Loading "mappings.json"
[00:45:51]               │ info [reporting/ecommerce_kibana] Loading "data.json.gz"
[00:45:51]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/9AvoNS27QduWUD4iG4ZbEA] deleting index
[00:45:51]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/YwqffYF0TACICdZkKk9Kag] deleting index
[00:45:51]               │ info [reporting/ecommerce_kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:45:51]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:45:51]               │ info [reporting/ecommerce_kibana] Created index ".kibana_1"
[00:45:51]               │ debg [reporting/ecommerce_kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:45:51]               │ info [reporting/ecommerce_kibana] Indexed 16 docs into ".kibana_1"
[00:45:51]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/yz2R_n4CRYSJpiBD_Em0QQ] update_mapping [_doc]
[00:45:51]               │ debg Migrating saved objects
[00:45:51]               │ proc [kibana]   log   [02:00:25.148] [info][savedobjects-service] Creating index .kibana_2.
[00:45:51]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:45:51]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] updating number_of_replicas to [0] for indices [.kibana_2]
[00:45:51]               │ proc [kibana]   log   [02:00:25.218] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:45:51]               │ info Taking screenshot "/dev/shm/workspace/parallel/14/kibana/x-pack/test/functional/screenshots/failure/Visualize Visualize Reporting Screenshots _before all_ hook_ initialize tests.png"
[00:45:51]               │ info Current URL is: http://localhost:61141/s/another-space/app/visualize#/edit/75c3e060-1e7c-11e9-8488-65449e65d0ed?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(filters:!(),linked:!f,query:(language:lucene,query:%27%27),uiState:(),vis:(aggs:!((enabled:!t,id:%271%27,params:(),schema:metric,type:count),(enabled:!t,id:%272%27,params:(field:geo.src,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:%271%27,otherBucket:!f,otherBucketLabel:Other,size:5),schema:segment,type:terms)),params:(addLegend:!t,addTooltip:!t,dimensions:(metric:(accessor:0,aggType:count,format:(id:number),params:())),isDonut:!t,labels:(last_level:!t,show:!f,truncate:100,values:!t),legendPosition:right,type:pie),title:%27A%20Pie%20in%20another%20space%27,type:pie))
[00:45:51]               │ info Saving page source to: /dev/shm/workspace/parallel/14/kibana/x-pack/test/functional/failure_debug/html/Visualize Visualize Reporting Screenshots _before all_ hook_ initialize tests.html
[00:45:51]               └- ✖ fail: Visualize Visualize Reporting Screenshots "before all" hook: initialize tests in "Visualize Reporting Screenshots"
[00:45:51]               │      Error: Request failed with status code 422
[00:45:51]               │       at createError (/dev/shm/workspace/kibana/node_modules/axios/lib/core/createError.js:16:15)
[00:45:51]               │       at settle (/dev/shm/workspace/kibana/node_modules/axios/lib/core/settle.js:17:12)
[00:45:51]               │       at IncomingMessage.handleStreamEnd (/dev/shm/workspace/kibana/node_modules/axios/lib/adapters/http.js:260:11)
[00:45:51]               │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:45:51]               │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:45:51]               │ 
[00:45:51]               │ 

Stack Trace

Error: Request failed with status code 422
    at createError (/dev/shm/workspace/kibana/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/dev/shm/workspace/kibana/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/dev/shm/workspace/kibana/node_modules/axios/lib/adapters/http.js:260:11)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  config: {
    url: 'http://elastic:changeme@localhost:61141/internal/saved_objects/_migrate',
    method: 'post',
    data: '{}',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'Content-Type': 'application/json;charset=utf-8',
      'kbn-xsrf': 'kbn-client',
      'User-Agent': 'axios/0.21.1',
      'Content-Length': 2
    },
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    httpsAgent: null,
    validateStatus: [Function: validateStatus]
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      socket: [Function (anonymous)],
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: true,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: true,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: null,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    socket: Socket {
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'localhost',
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 6,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: null,
      _server: null,
      parser: null,
      _httpMessage: [Circular *1],
      write: [Function: writeAfterFIN],
      [Symbol(async_id_symbol)]: 919435,
      [Symbol(kHandle)]: null,
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 612,
      [Symbol(kBytesWritten)]: 297,
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'POST /internal/saved_objects/_migrate HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'Content-Type: application/json;charset=utf-8\r\n' +
      'kbn-xsrf: kbn-client\r\n' +
      'User-Agent: axios/0.21.1\r\n' +
      'Content-Length: 2\r\n' +
      'Host: localhost:61141\r\n' +
      'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: noopPendingOutput],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 80,
      protocol: 'http:',
      options: [Object],
      requests: {},
      sockets: {},
      freeSockets: {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'fifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 0,
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'POST',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/internal/saved_objects/_migrate',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      socket: [Socket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      headers: [Object],
      rawHeaders: [Array],
      trailers: {},
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 422,
      statusMessage: 'Unprocessable Entity',
      client: [Socket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'http://elastic:changeme@localhost:61141/internal/saved_objects/_migrate',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'localhost',
    protocol: 'http:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 2,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'http://elastic:changeme@localhost:61141/internal/saved_objects/_migrate',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'content-type': [Array],
      'kbn-xsrf': [Array],
      'user-agent': [Array],
      'content-length': [Array],
      host: [Array],
      authorization: [Array]
    }
  },
  response: {
    status: 422,
    statusText: 'Unprocessable Entity',
    headers: {
      'kbn-name': 'kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332',
      'kbn-license-sig': 'd165ec468f8f3ebc52be2bb9416a54bf85bff9492a87a24a23f793e88cd03efc',
      'content-type': 'application/json; charset=utf-8',
      'cache-control': 'private, no-cache, no-store, must-revalidate',
      'content-length': '236',
      date: 'Wed, 27 Jan 2021 02:00:25 GMT',
      connection: 'close'
    },
    config: {
      url: 'http://elastic:changeme@localhost:61141/internal/saved_objects/_migrate',
      method: 'post',
      data: '{}',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      httpsAgent: null,
      validateStatus: [Function: validateStatus]
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: null,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      socket: [Socket],
      _header: 'POST /internal/saved_objects/_migrate HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Content-Type: application/json;charset=utf-8\r\n' +
        'kbn-xsrf: kbn-client\r\n' +
        'User-Agent: axios/0.21.1\r\n' +
        'Content-Length: 2\r\n' +
        'Host: localhost:61141\r\n' +
        'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: noopPendingOutput],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/internal/saved_objects/_migrate',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'localhost',
      protocol: 'http:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    data: {
      statusCode: 422,
      error: 'Unprocessable Entity',
      message: 'Document "0a464230-79f0-11ea-ae7f-13c5d6e410a0" has property "visualization" which belongs to a more recent version of Kibana [7.12.0]. The last known version is [7.11.0]'
    }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/reporting/screenshots·ts.dashboard Reporting Dashboard Reporting Screenshots "before all" hook: initialize tests in "Dashboard Reporting Screenshots"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:00]         └-: dashboard
[00:00:00]           └-> "before all" hook
[00:08:21]           └-: Reporting
[00:08:21]             └-> "before all" hook
[00:08:21]             └-: Dashboard Reporting Screenshots
[00:08:21]               └-> "before all" hook
[00:08:21]               └-> "before all" hook: initialize tests
[00:08:21]                 │ debg ReportingPage:initTests
[00:08:21]                 │ info [reporting/ecommerce] Loading "mappings.json"
[00:08:21]                 │ info [reporting/ecommerce] Loading "data.json.gz"
[00:08:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [ecommerce] creating index, cause [api], templates [], shards [1]/[0]
[00:08:21]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[ecommerce][0]]]).
[00:08:21]                 │ info [reporting/ecommerce] Created index "ecommerce"
[00:08:21]                 │ debg [reporting/ecommerce] "ecommerce" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:08:21]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/1jmfg3F-Q6C5VtL0vJpuAw] deleting index
[00:08:21]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/wjR6QTE4Qxq9y-swkqI79g] deleting index
[00:08:21]                 │ info [reporting/ecommerce] Deleted existing index [".kibana_2",".kibana_1"]
[00:08:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:08:21]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:08:22]                 │ info [reporting/ecommerce] Created index ".kibana_1"
[00:08:22]                 │ debg [reporting/ecommerce] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:08:23]                 │ info [reporting/ecommerce] Indexed 4675 docs into "ecommerce"
[00:08:23]                 │ info [reporting/ecommerce] Indexed 3 docs into ".kibana_1"
[00:08:23]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/NrXJuK9pS0yvWDALVY0RKg] update_mapping [_doc]
[00:08:24]                 │ debg Migrating saved objects
[00:08:24]                 │ proc [kibana]   log   [01:33:16.042] [info][savedobjects-service] Creating index .kibana_2.
[00:08:24]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:08:24]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] updating number_of_replicas to [0] for indices [.kibana_2]
[00:08:24]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:08:24]                 │ proc [kibana]   log   [01:33:16.115] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:08:24]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/2UzyQYQkS4O4__3G4OAECA] update_mapping [_doc]
[00:08:24]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/2UzyQYQkS4O4__3G4OAECA] update_mapping [_doc]
[00:08:24]                 │ proc [kibana]   log   [01:33:16.249] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:08:24]                 │ proc [kibana]   log   [01:33:16.291] [info][savedobjects-service] Finished in 251ms.
[00:08:24]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:08:26]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:08:27]                 │ info [reporting/ecommerce_kibana] Loading "mappings.json"
[00:08:27]                 │ info [reporting/ecommerce_kibana] Loading "data.json.gz"
[00:08:27]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/2UzyQYQkS4O4__3G4OAECA] deleting index
[00:08:27]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/NrXJuK9pS0yvWDALVY0RKg] deleting index
[00:08:27]                 │ info [reporting/ecommerce_kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:08:27]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:08:27]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:08:27]                 │ info [reporting/ecommerce_kibana] Created index ".kibana_1"
[00:08:27]                 │ debg [reporting/ecommerce_kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:08:27]                 │ info [reporting/ecommerce_kibana] Indexed 16 docs into ".kibana_1"
[00:08:27]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/CngC3JR4SmGbpU-vq2AXjA] update_mapping [_doc]
[00:08:27]                 │ debg Migrating saved objects
[00:08:27]                 │ proc [kibana]   log   [01:33:19.409] [info][savedobjects-service] Creating index .kibana_2.
[00:08:27]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:08:27]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] updating number_of_replicas to [0] for indices [.kibana_2]
[00:08:27]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:08:27]                 │ proc [kibana]   log   [01:33:19.489] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:08:27]                 │ info Taking screenshot "/dev/shm/workspace/parallel/16/kibana/x-pack/test/functional/screenshots/failure/dashboard Reporting Dashboard Reporting Screenshots _before all_ hook_ initialize tests.png"
[00:08:27]                 │ info Current URL is: http://localhost:61161/s/another-space/app/dashboards#/view/my-dashboard?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(darkTheme:!f,hidePanelTitles:!f,useMargins:!t),query:(language:lucene,query:%27%27),tags:!(),timeRestore:!f,title:%27A%20Dashboard%20in%20another%20space%27,viewMode:view)
[00:08:27]                 │ info Saving page source to: /dev/shm/workspace/parallel/16/kibana/x-pack/test/functional/failure_debug/html/dashboard Reporting Dashboard Reporting Screenshots _before all_ hook_ initialize tests.html
[00:08:27]                 └- ✖ fail: dashboard Reporting Dashboard Reporting Screenshots "before all" hook: initialize tests in "Dashboard Reporting Screenshots"
[00:08:27]                 │      Error: Request failed with status code 422
[00:08:27]                 │       at createError (/dev/shm/workspace/kibana/node_modules/axios/lib/core/createError.js:16:15)
[00:08:27]                 │       at settle (/dev/shm/workspace/kibana/node_modules/axios/lib/core/settle.js:17:12)
[00:08:27]                 │       at IncomingMessage.handleStreamEnd (/dev/shm/workspace/kibana/node_modules/axios/lib/adapters/http.js:260:11)
[00:08:27]                 │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:08:27]                 │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:08:27]                 │ 
[00:08:27]                 │ 

Stack Trace

Error: Request failed with status code 422
    at createError (/dev/shm/workspace/kibana/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/dev/shm/workspace/kibana/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/dev/shm/workspace/kibana/node_modules/axios/lib/adapters/http.js:260:11)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  config: {
    url: 'http://elastic:changeme@localhost:61161/internal/saved_objects/_migrate',
    method: 'post',
    data: '{}',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'Content-Type': 'application/json;charset=utf-8',
      'kbn-xsrf': 'kbn-client',
      'User-Agent': 'axios/0.21.1',
      'Content-Length': 2
    },
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    httpsAgent: null,
    validateStatus: [Function: validateStatus]
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      socket: [Function (anonymous)],
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: true,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: true,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: null,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    socket: Socket {
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'localhost',
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 6,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: null,
      _server: null,
      parser: null,
      _httpMessage: [Circular *1],
      write: [Function: writeAfterFIN],
      [Symbol(async_id_symbol)]: 317670,
      [Symbol(kHandle)]: null,
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 612,
      [Symbol(kBytesWritten)]: 297,
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'POST /internal/saved_objects/_migrate HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'Content-Type: application/json;charset=utf-8\r\n' +
      'kbn-xsrf: kbn-client\r\n' +
      'User-Agent: axios/0.21.1\r\n' +
      'Content-Length: 2\r\n' +
      'Host: localhost:61161\r\n' +
      'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: noopPendingOutput],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 80,
      protocol: 'http:',
      options: [Object],
      requests: {},
      sockets: {},
      freeSockets: {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'fifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 0,
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'POST',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/internal/saved_objects/_migrate',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      socket: [Socket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      headers: [Object],
      rawHeaders: [Array],
      trailers: {},
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 422,
      statusMessage: 'Unprocessable Entity',
      client: [Socket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'http://elastic:changeme@localhost:61161/internal/saved_objects/_migrate',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'localhost',
    protocol: 'http:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 2,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'http://elastic:changeme@localhost:61161/internal/saved_objects/_migrate',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'content-type': [Array],
      'kbn-xsrf': [Array],
      'user-agent': [Array],
      'content-length': [Array],
      host: [Array],
      authorization: [Array]
    }
  },
  response: {
    status: 422,
    statusText: 'Unprocessable Entity',
    headers: {
      'kbn-name': 'kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332',
      'kbn-license-sig': '99f60751254cbc7926c15e88d26baf14236d419013d09f569ba93ae7e4f5df7d',
      'content-type': 'application/json; charset=utf-8',
      'cache-control': 'private, no-cache, no-store, must-revalidate',
      'content-length': '236',
      date: 'Wed, 27 Jan 2021 01:33:19 GMT',
      connection: 'close'
    },
    config: {
      url: 'http://elastic:changeme@localhost:61161/internal/saved_objects/_migrate',
      method: 'post',
      data: '{}',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      httpsAgent: null,
      validateStatus: [Function: validateStatus]
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: null,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      socket: [Socket],
      _header: 'POST /internal/saved_objects/_migrate HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Content-Type: application/json;charset=utf-8\r\n' +
        'kbn-xsrf: kbn-client\r\n' +
        'User-Agent: axios/0.21.1\r\n' +
        'Content-Length: 2\r\n' +
        'Host: localhost:61161\r\n' +
        'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: noopPendingOutput],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/internal/saved_objects/_migrate',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'localhost',
      protocol: 'http:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    data: {
      statusCode: 422,
      error: 'Unprocessable Entity',
      message: 'Document "0a464230-79f0-11ea-ae7f-13c5d6e410a0" has property "visualization" which belongs to a more recent version of Kibana [7.12.0]. The last known version is [7.11.0]'
    }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/reporting/screenshots·ts.dashboard Reporting Dashboard Reporting Screenshots "before all" hook: initialize tests in "Dashboard Reporting Screenshots"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard
[00:00:00]           └-> "before all" hook
[00:08:46]           └-: Reporting
[00:08:46]             └-> "before all" hook
[00:08:46]             └-: Dashboard Reporting Screenshots
[00:08:46]               └-> "before all" hook
[00:08:46]               └-> "before all" hook: initialize tests
[00:08:46]                 │ debg ReportingPage:initTests
[00:08:46]                 │ info [reporting/ecommerce] Loading "mappings.json"
[00:08:46]                 │ info [reporting/ecommerce] Loading "data.json.gz"
[00:08:46]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [ecommerce] creating index, cause [api], templates [], shards [1]/[0]
[00:08:46]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[ecommerce][0]]]).
[00:08:46]                 │ info [reporting/ecommerce] Created index "ecommerce"
[00:08:46]                 │ debg [reporting/ecommerce] "ecommerce" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:08:46]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/5O2Mhd_LQomd3yCXwU9nTw] deleting index
[00:08:46]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/9TqE8196SU6ljLkNrb7ViA] deleting index
[00:08:46]                 │ info [reporting/ecommerce] Deleted existing index [".kibana_2",".kibana_1"]
[00:08:46]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:08:46]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:08:46]                 │ info [reporting/ecommerce] Created index ".kibana_1"
[00:08:46]                 │ debg [reporting/ecommerce] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:08:48]                 │ info [reporting/ecommerce] Indexed 4675 docs into "ecommerce"
[00:08:48]                 │ info [reporting/ecommerce] Indexed 3 docs into ".kibana_1"
[00:08:48]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/kPjnufCSRVSMCDjenTK5Ig] update_mapping [_doc]
[00:08:48]                 │ debg Migrating saved objects
[00:08:48]                 │ proc [kibana]   log   [01:23:28.270] [info][savedobjects-service] Creating index .kibana_2.
[00:08:48]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:08:48]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] updating number_of_replicas to [0] for indices [.kibana_2]
[00:08:48]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:08:48]                 │ proc [kibana]   log   [01:23:28.356] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:08:48]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/CLIY8CiUSMu6KGQB9Yqhpg] update_mapping [_doc]
[00:08:48]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/CLIY8CiUSMu6KGQB9Yqhpg] update_mapping [_doc]
[00:08:48]                 │ proc [kibana]   log   [01:23:28.509] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:08:48]                 │ proc [kibana]   log   [01:23:28.563] [info][savedobjects-service] Finished in 295ms.
[00:08:48]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:08:50]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:08:51]                 │ info [reporting/ecommerce_kibana] Loading "mappings.json"
[00:08:51]                 │ info [reporting/ecommerce_kibana] Loading "data.json.gz"
[00:08:51]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/kPjnufCSRVSMCDjenTK5Ig] deleting index
[00:08:51]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2/CLIY8CiUSMu6KGQB9Yqhpg] deleting index
[00:08:51]                 │ info [reporting/ecommerce_kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:08:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:08:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:08:51]                 │ info [reporting/ecommerce_kibana] Created index ".kibana_1"
[00:08:51]                 │ debg [reporting/ecommerce_kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:08:51]                 │ info [reporting/ecommerce_kibana] Indexed 16 docs into ".kibana_1"
[00:08:51]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_1/hQ6ktRwEQci0UnS4OAqdgQ] update_mapping [_doc]
[00:08:51]                 │ debg Migrating saved objects
[00:08:51]                 │ proc [kibana]   log   [01:23:31.676] [info][savedobjects-service] Creating index .kibana_2.
[00:08:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:08:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] updating number_of_replicas to [0] for indices [.kibana_2]
[00:08:52]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:08:52]                 │ proc [kibana]   log   [01:23:31.764] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:08:52]                 │ info Taking screenshot "/dev/shm/workspace/parallel/16/kibana/x-pack/test/functional/screenshots/failure/dashboard Reporting Dashboard Reporting Screenshots _before all_ hook_ initialize tests.png"
[00:08:52]                 │ info Current URL is: http://localhost:61161/s/another-space/app/dashboards#/view/my-dashboard?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(darkTheme:!f,hidePanelTitles:!f,useMargins:!t),query:(language:lucene,query:%27%27),tags:!(),timeRestore:!f,title:%27A%20Dashboard%20in%20another%20space%27,viewMode:view)
[00:08:52]                 │ info Saving page source to: /dev/shm/workspace/parallel/16/kibana/x-pack/test/functional/failure_debug/html/dashboard Reporting Dashboard Reporting Screenshots _before all_ hook_ initialize tests.html
[00:08:52]                 └- ✖ fail: dashboard Reporting Dashboard Reporting Screenshots "before all" hook: initialize tests in "Dashboard Reporting Screenshots"
[00:08:52]                 │      Error: Request failed with status code 422
[00:08:52]                 │       at createError (/dev/shm/workspace/kibana/node_modules/axios/lib/core/createError.js:16:15)
[00:08:52]                 │       at settle (/dev/shm/workspace/kibana/node_modules/axios/lib/core/settle.js:17:12)
[00:08:52]                 │       at IncomingMessage.handleStreamEnd (/dev/shm/workspace/kibana/node_modules/axios/lib/adapters/http.js:260:11)
[00:08:52]                 │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:08:52]                 │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:08:52]                 │ 
[00:08:52]                 │ 

Stack Trace

Error: Request failed with status code 422
    at createError (/dev/shm/workspace/kibana/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/dev/shm/workspace/kibana/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/dev/shm/workspace/kibana/node_modules/axios/lib/adapters/http.js:260:11)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  config: {
    url: 'http://elastic:changeme@localhost:61161/internal/saved_objects/_migrate',
    method: 'post',
    data: '{}',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'Content-Type': 'application/json;charset=utf-8',
      'kbn-xsrf': 'kbn-client',
      'User-Agent': 'axios/0.21.1',
      'Content-Length': 2
    },
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    httpsAgent: null,
    validateStatus: [Function: validateStatus]
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      socket: [Function (anonymous)],
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: true,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: true,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: null,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    socket: Socket {
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'localhost',
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 6,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: null,
      _server: null,
      parser: null,
      _httpMessage: [Circular *1],
      write: [Function: writeAfterFIN],
      [Symbol(async_id_symbol)]: 318887,
      [Symbol(kHandle)]: null,
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 612,
      [Symbol(kBytesWritten)]: 297,
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'POST /internal/saved_objects/_migrate HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'Content-Type: application/json;charset=utf-8\r\n' +
      'kbn-xsrf: kbn-client\r\n' +
      'User-Agent: axios/0.21.1\r\n' +
      'Content-Length: 2\r\n' +
      'Host: localhost:61161\r\n' +
      'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: noopPendingOutput],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 80,
      protocol: 'http:',
      options: [Object],
      requests: {},
      sockets: {},
      freeSockets: {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'fifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 0,
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'POST',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/internal/saved_objects/_migrate',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      socket: [Socket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      headers: [Object],
      rawHeaders: [Array],
      trailers: {},
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 422,
      statusMessage: 'Unprocessable Entity',
      client: [Socket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'http://elastic:changeme@localhost:61161/internal/saved_objects/_migrate',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'localhost',
    protocol: 'http:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 2,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'http://elastic:changeme@localhost:61161/internal/saved_objects/_migrate',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'content-type': [Array],
      'kbn-xsrf': [Array],
      'user-agent': [Array],
      'content-length': [Array],
      host: [Array],
      authorization: [Array]
    }
  },
  response: {
    status: 422,
    statusText: 'Unprocessable Entity',
    headers: {
      'kbn-name': 'kibana-ci-immutable-ubuntu-18-tests-xxl-1611708043368540332',
      'kbn-license-sig': '0fe7741ef57c311f4f16b3a6e926992d19ed9177d31c3e97912e6ebff7d46796',
      'content-type': 'application/json; charset=utf-8',
      'cache-control': 'private, no-cache, no-store, must-revalidate',
      'content-length': '236',
      date: 'Wed, 27 Jan 2021 01:23:31 GMT',
      connection: 'close'
    },
    config: {
      url: 'http://elastic:changeme@localhost:61161/internal/saved_objects/_migrate',
      method: 'post',
      data: '{}',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      httpsAgent: null,
      validateStatus: [Function: validateStatus]
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: null,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      socket: [Socket],
      _header: 'POST /internal/saved_objects/_migrate HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Content-Type: application/json;charset=utf-8\r\n' +
        'kbn-xsrf: kbn-client\r\n' +
        'User-Agent: axios/0.21.1\r\n' +
        'Content-Length: 2\r\n' +
        'Host: localhost:61161\r\n' +
        'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: noopPendingOutput],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/internal/saved_objects/_migrate',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'localhost',
      protocol: 'http:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    data: {
      statusCode: 422,
      error: 'Unprocessable Entity',
      message: 'Document "0a464230-79f0-11ea-ae7f-13c5d6e410a0" has property "visualization" which belongs to a more recent version of Kibana [7.12.0]. The last known version is [7.11.0]'
    }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

and 2 more failures, only showing the first 3.

Metrics [docs]

✅ unchanged

History

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

@tsullivan
Copy link
Member Author

Closing, as this backport PR is not truly needed and is not a clean merge

@tsullivan tsullivan closed this Feb 1, 2021
@tsullivan tsullivan deleted the backport/7.11/pr-87600 branch April 29, 2021 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants