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: detection engine api security and spaces enabled Signals migration status returns no indexes if no signals exist in the specified range #99915

Closed
tylersmalley opened this issue May 12, 2021 · 2 comments · Fixed by #101682

Comments

@tylersmalley
Copy link
Contributor

tylersmalley commented May 12, 2021

This failure is preventing the promotion of the current Elasticsearch nightly snapshot.

For more information on the Elasticsearch snapshot promotion process: https://www.elastic.co/guide/en/kibana/master/development-es-snapshots.html

https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/2757/execution/node/520/log/

13:55:52                 └- ✖ fail: detection engine api security and spaces enabled  Signals migration status returns no indexes if no signals exist in the specified range
13:55:52                 │       Error: expected [ { index: '.ds-ilm-history-5-2021.05.11-000001',
13:55:52                 │     version: 0,
13:55:52                 │     signal_versions: [ [Object] ],
13:55:52                 │     migrations: [],
13:55:52                 │     is_outdated: true } ] to sort of equal []
13:55:52                 │       + expected - actual
13:55:52                 │ 
13:55:52                 │       -[
13:55:52                 │       -  {
13:55:52                 │       -    "index": ".ds-ilm-history-5-2021.05.11-000001"
13:55:52                 │       -    "is_outdated": true
13:55:52                 │       -    "migrations": []
13:55:52                 │       -    "signal_versions": [
13:55:52                 │       -      {
13:55:52                 │       -        "count": 673
13:55:52                 │       -        "version": "0"
13:55:52                 │       -      }
13:55:52                 │       -    ]
13:55:52                 │       -    "version": 0
13:55:52                 │       -  }
13:55:52                 │       -]
13:55:52                 │       +[]
13:55:52                 │       
13:55:52                 │       at Assertion.assert (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:100:11)
13:55:52                 │       at Assertion.eql (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:244:8)
13:55:52                 │       at Context.<anonymous> (test/detection_engine_api_integration/security_and_spaces/tests/get_signals_migration_status.ts:43:31)
13:55:52                 │       at Object.apply (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@mistic
Copy link
Member

mistic commented May 17, 2021

I've skipped the failing tests in order to promote the snapshots.

master/8.0: 839fc7b , d079dae and cbab391
7.x/7.14: 3173423 , 2a76071 and e1188f7

yctercero pushed a commit to yctercero/kibana that referenced this issue May 25, 2021
yctercero pushed a commit to yctercero/kibana that referenced this issue May 25, 2021
yctercero pushed a commit to yctercero/kibana that referenced this issue May 25, 2021
FrankHassanabad added a commit that referenced this issue Jun 9, 2021
## Summary

Unskips signal migration tests now that elastic search is fixed get alias bug

ES ticket about get alias bug:
elastic/elasticsearch#72953

Tickets related that should be fixed now:
#99915
#100305

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
@FrankHassanabad FrankHassanabad self-assigned this Jun 9, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Jun 9, 2021
)

## Summary

Unskips signal migration tests now that elastic search is fixed get alias bug

ES ticket about get alias bug:
elastic/elasticsearch#72953

Tickets related that should be fixed now:
elastic#99915
elastic#100305

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
kibanamachine added a commit that referenced this issue Jun 9, 2021
…101831)

## Summary

Unskips signal migration tests now that elastic search is fixed get alias bug

ES ticket about get alias bug:
elastic/elasticsearch#72953

Tickets related that should be fixed now:
#99915
#100305

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
semd pushed a commit that referenced this issue Jun 10, 2021
## Summary

Unskips signal migration tests now that elastic search is fixed get alias bug

ES ticket about get alias bug:
elastic/elasticsearch#72953

Tickets related that should be fixed now:
#99915
#100305

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants