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] log an invalid type for SO (#115175) #115275

Merged
merged 1 commit into from
Oct 15, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack API Integration Tests.x-pack/test/api_integration/apis/search/session·ts.apis search search session touched time updates when you poll on an search

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]         └-> "before all" hook in "apis"
[00:00:00]         └-: search
[00:00:00]           └-> "before all" hook in "search"
[00:00:03]           └-: search session
[00:00:03]             └-> "before all" hook for "should fail to extend a nonexistent session"
[00:00:03]             └-> should fail to extend a nonexistent session
[00:00:03]               └-> "before each" hook: global before each for "should fail to extend a nonexistent session"
[00:00:03]               │ proc [kibana]   log   [21:56:05.474] [error][dataEnhanced][data_enhanced][plugins] {
[00:00:03]               │ proc [kibana]   statusCode: 404,
[00:00:03]               │ proc [kibana]   error: 'Not Found',
[00:00:03]               │ proc [kibana]   message: 'Saved object [search-session/123] not found'
[00:00:03]               │ proc [kibana] }
[00:00:03]               └- ✓ pass  (76ms)
[00:00:03]             └-> should sync search ids into not persisted session
[00:00:03]               └-> "before each" hook: global before each for "should sync search ids into not persisted session"
[00:00:03]               │ debg Waiting up to 5000ms for searches persisted into session...
[00:00:03]               │ proc [kibana]   log   [21:56:05.624] [error][dataEnhanced][data_enhanced][plugins] {
[00:00:03]               │ proc [kibana]   statusCode: 404,
[00:00:03]               │ proc [kibana]   error: 'Not Found',
[00:00:03]               │ proc [kibana]   message: 'Saved object [search-session/my-session-0.881936849218727] not found'
[00:00:03]               │ proc [kibana] }
[00:00:03]               │ debg --- retry.waitForWithTimeout error: expected 200 "OK", got 404 "Not Found"
[00:00:03]               │ proc [kibana]   log   [21:56:06.196] [error][dataEnhanced][data_enhanced][plugins] {
[00:00:03]               │ proc [kibana]   statusCode: 404,
[00:00:03]               │ proc [kibana]   error: 'Not Found',
[00:00:03]               │ proc [kibana]   message: 'Saved object [search-session/my-session-0.881936849218727] not found'
[00:00:03]               │ proc [kibana] }
[00:00:03]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:00:04]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/Zec4qXTURbuG7EugeBGztg] update_mapping [_doc]
[00:00:04]               └- ✓ pass  (1.3s)
[00:00:04]             └-> should complete session when searches complete
[00:00:04]               └-> "before each" hook: global before each for "should complete session when searches complete"
[00:00:04]               │ debg Waiting up to 5000ms for searches persisted into session...
[00:00:04]               │ debg --- retry.waitForWithTimeout error: expected [] to contain 'FnhBWm94MlRBUjB1MWk3Ylpfbl9lb1EbYk1weWd3cFhSWENTMjFFcE9JUlJrUToyMDEy'
[00:00:05]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:00:08]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/Zec4qXTURbuG7EugeBGztg] update_mapping [_doc]
[00:00:15]               │ debg Waiting up to 5000ms for searches eventually complete and session gets into the complete state...
[00:00:15]               └- ✓ pass  (11.5s)
[00:00:15]             └-> touched time updates when you poll on an search
[00:00:15]               └-> "before each" hook: global before each for "touched time updates when you poll on an search"
[00:00:15]               │ debg Waiting up to 20000ms for search session created...
[00:00:15]               │ proc [kibana]   log   [21:56:18.372] [error][dataEnhanced][data_enhanced][plugins] {
[00:00:15]               │ proc [kibana]   statusCode: 404,
[00:00:15]               │ proc [kibana]   error: 'Not Found',
[00:00:15]               │ proc [kibana]   message: 'Saved object [search-session/my-session-0.42678432229707997] not found'
[00:00:15]               │ proc [kibana] }
[00:00:16]               │ proc [kibana]   log   [21:56:18.942] [error][dataEnhanced][data_enhanced][plugins] {
[00:00:16]               │ proc [kibana]   statusCode: 404,
[00:00:16]               │ proc [kibana]   error: 'Not Found',
[00:00:16]               │ proc [kibana]   message: 'Saved object [search-session/my-session-0.42678432229707997] not found'
[00:00:16]               │ proc [kibana] }
[00:00:19]               └- ✖ fail: apis search search session touched time updates when you poll on an search
[00:00:19]               │      Error: expected '2021-10-15T21:56:19.352Z' to be below 2021-10-15T21:56:19.352Z
[00:00:19]               │       at Assertion.assert (/dev/shm/workspace/parallel/11/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:00:19]               │       at Assertion.lessThan.Assertion.below (/dev/shm/workspace/parallel/11/kibana/node_modules/@kbn/expect/expect.js:336:8)
[00:00:19]               │       at Function.lessThan (/dev/shm/workspace/parallel/11/kibana/node_modules/@kbn/expect/expect.js:531:15)
[00:00:19]               │       at Context.<anonymous> (test/api_integration/apis/search/session.ts:438:65)
[00:00:19]               │       at runMicrotasks (<anonymous>)
[00:00:19]               │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:00:19]               │       at Object.apply (/dev/shm/workspace/parallel/11/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:00:19]               │ 
[00:00:19]               │ 

Stack Trace

Error: expected '2021-10-15T21:56:19.352Z' to be below 2021-10-15T21:56:19.352Z
    at Assertion.assert (/dev/shm/workspace/parallel/11/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.lessThan.Assertion.below (/dev/shm/workspace/parallel/11/kibana/node_modules/@kbn/expect/expect.js:336:8)
    at Function.lessThan (/dev/shm/workspace/parallel/11/kibana/node_modules/@kbn/expect/expect.js:531:15)
    at Context.<anonymous> (test/api_integration/apis/search/session.ts:438:65)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/11/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

✅ unchanged

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

cc @mshustov

@kibanamachine kibanamachine merged commit 0ba5189 into elastic:7.x Oct 15, 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