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

Failing ES Promotion: Fleet Endpoints EPM Endpoints EPM - list "after all" hook in "EPM - list #96515

Closed
spalger opened this issue Apr 7, 2021 · 8 comments · Fixed by #96837
Assignees
Labels
blocker skipped-test Team:Fleet Team label for Observability Data Collection Fleet team v7.13.0

Comments

@spalger
Copy link
Contributor

spalger commented Apr 7, 2021

Now that the elastic/elasticsearch#70689 has been backported to 7.x we are unable to promote the 7.x snapshot until the fleet tests are updated to work with the system indices. It seems this was attempted in the backport of #89372, but it seems support was incomplete.

1)    Fleet Endpoints
       EPM Endpoints
         EPM - list
           "after all" hook in "EPM - list":

      ResponseError: resource_already_exists_exception
       at onBody (/dev/shm/workspace/parallel/24/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:337:23)
       at IncomingMessage.onEnd (/dev/shm/workspace/parallel/24/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:264:11)
       at endReadableNT (internal/streams/readable.js:1327:12)
       at processTicksAndRejections (internal/process/task_queues.js:80:21)

A second test seems to be failing because of the same reason so I'm going to merge it into this issue: Endpoint plugin artifact download "before all" hook for "should fail to find artifact with invalid hash"

1)    Endpoint plugin
       artifact download
         "before all" hook for "should fail to find artifact with invalid hash":

      AggregateError: 
     Error: Bulk doc failure [operation=create]:
       doc: {"body":"eJyrVkrNKynKTC1WsoqOrQUAJxkFKQ==","created":"2021-03-10T21:51:33.155Z","compression_algorithm":"zlib","encryption_algorithm":"none","identifier":"endpoint-exceptionlist-macos-v1","encoded_sha256":"f8e6afa1d5662f5b37f83337af774b5785b5b7f1daee08b7b00c2d6813874cda","encoded_size":14,"decoded_sha256":"d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658","decoded_size":22,"package_name":"endpoint","relative_url":"/api/fleet/artifacts/endpoint-exceptionlist-macos-v1/d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658","type":"exceptionlist"}
       error: {"type":"index_not_found_exception","reason":"no such index [.fleet-artifacts_1]","resource.type":"index_expression","resource.id":".fleet-artifacts_1","index_uuid":"_na_","index":".fleet-artifacts_1"}
         at Array.map (<anonymous>)
         at indexDocs (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/packages/kbn-es-archiver/src/lib/docs/index_doc_records_stream.ts:56:13)
         at runMicrotasks (<anonymous>)
         at Writable.write [as _write] (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/packages/kbn-es-archiver/src/lib/docs/index_doc_records_stream.ts:70:9)
       at indexDocs (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/packages/kbn-es-archiver/src/lib/docs/index_doc_records_stream.ts:56:13)
       at runMicrotasks (<anonymous>)
       at processTicksAndRejections (internal/process/task_queues.js:93:5)
       at Writable.write [as _write] (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/packages/kbn-es-archiver/src/lib/docs/index_doc_records_stream.ts:70:9)

Skipped

master/8.0: fc9f97e + 0cf31ae + f931728 + 91e1acd
7.x/7.13: 7fdf7e1 + f06be93 + 048b9f3 + 452d8c4

@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 7, 2021
@spalger spalger added the Team:Fleet Team label for Observability Data Collection Fleet team label Apr 7, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 7, 2021
@spalger
Copy link
Contributor Author

spalger commented Apr 7, 2021

cc @nchaulet since you worked on #89372

@spalger
Copy link
Contributor Author

spalger commented Apr 7, 2021

Appears the these failures are impacting 8.0/master too, skipping there

spalger added a commit that referenced this issue Apr 7, 2021
@nchaulet nchaulet self-assigned this Apr 8, 2021
@nchaulet
Copy link
Member

nchaulet commented Apr 8, 2021

Thanks for skipping the test I will update the test tomorrow

spalger added a commit that referenced this issue Apr 8, 2021
spalger added a commit that referenced this issue Apr 8, 2021
@spalger
Copy link
Contributor Author

spalger commented Apr 8, 2021

Needed to skip another suite: 0cf31ae

spalger added a commit that referenced this issue Apr 8, 2021
@spalger
Copy link
Contributor Author

spalger commented Apr 8, 2021

And another: f931728

@spalger
Copy link
Contributor Author

spalger commented Apr 8, 2021

@nchaulet I tried to focus this skip, but after 4 attempts I'm just skipping the entire FTR config in https://github.com/elastic/kibana/blob/master/x-pack/scripts/functional_tests.js#L76-L77, which is the change you should remove in your PR that fixes these incompatibilities. Thank you!

@jbudz
Copy link
Member

jbudz commented Apr 8, 2021

Added another, updated the list in the top issue

main: 91e1acd
7.x: 452d8c4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker skipped-test Team:Fleet Team label for Observability Data Collection Fleet team v7.13.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants