elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.62k stars 8.22k forks source link

Failing test: Jest Integration Tests.src/core/server/integration_tests/saved_objects/migrations/group3/actions - migration actions bulkOverwriteTransformedDocuments resolves left request_entity_too_large_exception when the payload is too large #193592

Closed kibanamachine closed 1 month ago

kibanamachine commented 1 month ago

A test failed on a tracked branch

Error: expect(received).resolves.toMatchInlineSnapshot(snapshot)

Snapshot name: `migration actions bulkOverwriteTransformedDocuments resolves left request_entity_too_large_exception when the payload is too large 1`

- Snapshot  - 4
+ Received  + 2

  Object {
-   "_tag": "Left",
-   "left": Object {
-     "type": "request_entity_too_large_exception",
-   },
+   "_tag": "Right",
+   "right": "bulk_index_succeeded",
  }
    at Object.toMatchInlineSnapshot (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/expect/build/index.js:174:22)
    at Object.toMatchInlineSnapshot (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/src/core/server/integration_tests/saved_objects/migrations/group3/actions/actions.test.ts:2046:37)
    at Promise.then.completed (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-circus/build/run.js:121:9)
    at run (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726838829564151471/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/jest-runner/build/runTest.js:444:34)

First failure: kibana-elasticsearch-snapshot-verify - 8.x

elasticmachine commented 1 month ago

Pinging @elastic/kibana-core (Team:Core)

kibanamachine commented 1 month ago

New failure: kibana-elasticsearch-snapshot-verify - 8.x

jbudz commented 1 month ago

/skip

kibanamachine commented 1 month ago

New failure: kibana-elasticsearch-snapshot-verify - 8.x

kibanamachine commented 1 month ago

New failure: kibana-elasticsearch-snapshot-verify - 8.x

kibanamachine commented 1 month ago

New failure: kibana-elasticsearch-snapshot-verify - 8.x

kibanamachine commented 1 month ago

New failure: kibana-elasticsearch-snapshot-verify - 8.x

jbudz commented 1 month ago

Skipped

8.x/8.16: https://github.com/elastic/kibana/commit/0bb781d69b168229c7832a93278ab3af074f7c09

jbudz commented 1 month ago

Removing the blocker label, this was discussed and the test will be removed.

kibanamachine commented 1 month ago

New failure: kibana-elasticsearch-snapshot-verify - 8.x

kibanamachine commented 1 month ago

New failure: kibana-elasticsearch-snapshot-verify - 8.x

gsoldevila commented 1 month ago

The failing assertion is n/a anymore since the Incremental Bulk Execution enhancement. Thus, removed in https://github.com/elastic/kibana/pull/193328