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.x] Revert skips added while triaging ES OOMs (#97876) #98067

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

* Revert "skip flaky suite (elastic#97382)"

This reverts commit e321f57.

* Revert "skip flaky suite (elastic#97387)"

This reverts commit a89b756.

* Revert "Skip test to try and stabilize master" (elastic#97378)

This reverts commit 194355f.

* upload heap dumps when they are created

Co-authored-by: spalger <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/transform.transform "after all" hook in "transform"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:18:36]         └-: transform
[00:18:36]           └-> "before all" hook in "transform"
[00:18:36]           └-> "before all" hook in "transform"
[00:18:36]             │ debg creating role transform_source
[00:18:36]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1619117050928200543] added role [transform_source]
[00:18:36]             │ debg creating role transform_dest
[00:18:36]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1619117050928200543] added role [transform_dest]
[00:18:36]             │ debg creating role transform_dest_readonly
[00:18:36]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1619117050928200543] added role [transform_dest_readonly]
[00:18:36]             │ debg creating role transform_ui_extras
[00:18:36]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1619117050928200543] added role [transform_ui_extras]
[00:18:36]             │ debg creating user transform_poweruser
[00:18:36]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1619117050928200543] added user [transform_poweruser]
[00:18:36]             │ debg created user transform_poweruser
[00:18:36]             │ debg creating user transform_viewer
[00:18:36]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1619117050928200543] added user [transform_viewer]
[00:18:36]             │ debg created user transform_viewer
[00:19:21]           └-> "after all" hook in "transform"
[00:19:21]             │ debg deleting user transform_poweruser
[00:19:21]             │ debg deleted user transform_poweruser
[00:19:21]             │ debg deleting user transform_viewer
[00:19:21]             │ debg deleted user transform_viewer
[00:19:21]             │ debg deleting role transform_source
[00:19:21]             │ debg deleting role transform_dest
[00:19:21]             │ debg deleting role transform_dest_readonly
[00:19:21]             │ debg deleting role transform_ui_extras
[00:19:21]             │ debg Deleting saved search with title 'ft_farequote_filter'...
[00:19:21]             │ debg Searching for 'search' with title 'ft_farequote_filter'...
[00:19:21]             │ debg  > Not found
[00:19:21]             │ debg Saved search with title 'ft_farequote_filter' does not exists. Nothing to delete.
[00:19:21]             │ debg Deleting saved search with title 'ft_farequote_lucene'...
[00:19:21]             │ debg Searching for 'search' with title 'ft_farequote_lucene'...
[00:19:21]             │ debg  > Not found
[00:19:21]             │ debg Saved search with title 'ft_farequote_lucene' does not exists. Nothing to delete.
[00:19:21]             │ debg Deleting saved search with title 'ft_farequote_kuery'...
[00:19:21]             │ debg Searching for 'search' with title 'ft_farequote_kuery'...
[00:19:21]             │ debg  > Not found
[00:19:21]             │ debg Saved search with title 'ft_farequote_kuery' does not exists. Nothing to delete.
[00:19:21]             │ debg Deleting saved search with title 'ft_farequote_filter_and_lucene'...
[00:19:21]             │ debg Searching for 'search' with title 'ft_farequote_filter_and_lucene'...
[00:19:21]             │ debg  > Not found
[00:19:21]             │ debg Saved search with title 'ft_farequote_filter_and_lucene' does not exists. Nothing to delete.
[00:19:21]             │ debg Deleting saved search with title 'ft_farequote_filter_and_kuery'...
[00:19:21]             │ debg Searching for 'search' with title 'ft_farequote_filter_and_kuery'...
[00:19:21]             │ debg  > Not found
[00:19:21]             │ debg Saved search with title 'ft_farequote_filter_and_kuery' does not exists. Nothing to delete.
[00:19:21]             │ debg Deleting index pattern with title 'ft_farequote'...
[00:19:21]             │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:19:21]             │ debg  > Not found
[00:19:21]             │ debg Index pattern with title 'ft_farequote' does not exists. Nothing to delete.
[00:19:21]             │ debg Deleting index pattern with title 'ft_ecommerce'...
[00:19:21]             │ debg Searching for 'index-pattern' with title 'ft_ecommerce'...
[00:19:21]             │ debg  > Not found
[00:19:21]             │ debg Index pattern with title 'ft_ecommerce' does not exists. Nothing to delete.
[00:19:21]             │ info [ml/farequote] Unloading indices from "mappings.json"
[00:19:21]             │ info [ml/farequote] Unloading indices from "data.json.gz"
[00:19:22]             │ info [ml/ecommerce] Unloading indices from "mappings.json"
[00:19:22]             │ info [ml/ecommerce] Unloading indices from "data.json.gz"
[00:19:22]             │ info Taking screenshot "/dev/shm/workspace/parallel/5/kibana/x-pack/test/functional/screenshots/failure/transform _after all_ hook in _transform_.png"
[00:19:23]             │ info Current URL is: http://localhost:6151/app/management
[00:19:23]             │ info Saving page source to: /dev/shm/workspace/parallel/5/kibana/x-pack/test/functional/failure_debug/html/transform _after all_ hook in _transform_.html
[00:19:23]             └- ✖ fail: transform "after all" hook in "transform"
[00:19:23]             │      Error: Request failed with status code 409
[00:19:23]             │       at createError (/dev/shm/workspace/parallel/5/kibana/node_modules/axios/lib/core/createError.js:16:15)
[00:19:23]             │       at settle (/dev/shm/workspace/parallel/5/kibana/node_modules/axios/lib/core/settle.js:17:12)
[00:19:23]             │       at IncomingMessage.handleStreamEnd (/dev/shm/workspace/parallel/5/kibana/node_modules/axios/lib/adapters/http.js:260:11)
[00:19:23]             │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:19:23]             │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:19:23]             │ 
[00:19:23]             │ 

Stack Trace

Error: Request failed with status code 409
    at createError (/dev/shm/workspace/parallel/5/kibana/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/dev/shm/workspace/parallel/5/kibana/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/dev/shm/workspace/parallel/5/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:6151/api/kibana/settings/dateFormat%3Atz',
    method: 'delete',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'kbn-xsrf': 'kbn-client',
      'User-Agent': 'axios/0.21.1'
    },
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    paramsSerializer: [Function: paramsSerializer],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    httpsAgent: null,
    validateStatus: [Function: validateStatus],
    data: undefined
  },
  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: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: 0,
    _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)]: 721562,
      [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)]: 706,
      [Symbol(kBytesWritten)]: 235,
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'DELETE /api/kibana/settings/dateFormat%3Atz HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'kbn-xsrf: kbn-client\r\n' +
      'User-Agent: axios/0.21.1\r\n' +
      'Host: localhost:6151\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: 'DELETE',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/api/kibana/settings/dateFormat%3Atz',
    _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: 409,
      statusMessage: 'Conflict',
      client: [Socket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'http://elastic:changeme@localhost:6151/api/kibana/settings/dateFormat%3Atz',
      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: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'http://elastic:changeme@localhost:6151/api/kibana/settings/dateFormat%3Atz',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'kbn-xsrf': [Array],
      'user-agent': [Array],
      host: [Array],
      authorization: [Array]
    }
  },
  response: {
    status: 409,
    statusText: 'Conflict',
    headers: {
      'x-content-type-options': 'nosniff',
      'referrer-policy': 'no-referrer-when-downgrade',
      'kbn-name': 'kibana-ci-immutable-centos-tests-xxl-1619117050928200543',
      'kbn-license-sig': '4a31fc55441407e94f4023b71e0a9845d8337dd9ebe8a642faf1b08c506ae94f',
      'content-type': 'application/json; charset=utf-8',
      'cache-control': 'private, no-cache, no-store, must-revalidate',
      'content-length': '267',
      date: 'Thu, 22 Apr 2021 19:31:07 GMT',
      connection: 'close'
    },
    config: {
      url: 'http://elastic:changeme@localhost:6151/api/kibana/settings/dateFormat%3Atz',
      method: 'delete',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      paramsSerializer: [Function: paramsSerializer],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      httpsAgent: null,
      validateStatus: [Function: validateStatus],
      data: undefined
    },
    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: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      socket: [Socket],
      _header: 'DELETE /api/kibana/settings/dateFormat%3Atz HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'kbn-xsrf: kbn-client\r\n' +
        'User-Agent: axios/0.21.1\r\n' +
        'Host: localhost:6151\r\n' +
        'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: noopPendingOutput],
      agent: [Agent],
      socketPath: undefined,
      method: 'DELETE',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/api/kibana/settings/dateFormat%3Atz',
      _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: 409,
      error: 'Conflict',
      message: '[[config:7.14.0-SNAPSHOT]: version conflict, document already exists (current version [4]): version_conflict_engine_exception]: [config:7.14.0-SNAPSHOT]: version conflict, document already exists (current version [4])'
    }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

Metrics [docs]

✅ unchanged

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

cc @spalger

@kibanamachine kibanamachine merged commit 08c9152 into elastic:7.x Apr 22, 2021
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