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

[CI] CacheServiceTests.testRunIfShardMarkedAsEvictedInCache #67125

Closed
pugnascotia opened this issue Jan 6, 2021 · 3 comments
Closed

[CI] CacheServiceTests.testRunIfShardMarkedAsEvictedInCache #67125

pugnascotia opened this issue Jan 6, 2021 · 3 comments
Assignees
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Meta label for distributed team (obsolete) >test-failure Triaged test failures from CI

Comments

@pugnascotia
Copy link
Contributor

Build scan:

https://gradle-enterprise.elastic.co/s/h2yx2xghs7vt4

Repro line:

./gradlew ':x-pack:plugin:searchable-snapshots:test' --tests "org.elasticsearch.xpack.searchablesnapshots.cache.CacheServiceTests.testRunIfShardMarkedAsEvictedInCache" -Dtests.seed=483F9A4ED9532DFE -Dtests.security.manager=true -Dtests.locale=en-IE -Dtests.timezone=America/Argentina/Salta -Druntime.java=11

Reproduces locally?:

Not for me

Applicable branches:

master

Failure history:

Gradle enterprise history

Failure excerpt:

org.elasticsearch.xpack.searchablesnapshots.cache.CacheServiceTests > testRunIfShardMarkedAsEvictedInCache FAILED
    java.lang.AssertionError: shard eviction should be successful: [snapshotUUID=xsB7j___T_-RNbG6_____w, snapshotIndexName=yriuz, shardId=[xorpa][0]]
        at __randomizedtesting.SeedInfo.seed([483F9A4ED9532DFE:257EE32BEC484C76]:0)
        at org.elasticsearch.xpack.searchablesnapshots.cache.CacheService.runIfShardMarkedAsEvictedInCache(CacheService.java:412)
        at org.elasticsearch.xpack.searchablesnapshots.cache.CacheService.runIfShardMarkedAsEvictedInCache(CacheService.java:393)
        at org.elasticsearch.xpack.searchablesnapshots.cache.CacheServiceTests.testRunIfShardMarkedAsEvictedInCache(CacheServiceTests.java:254)
@pugnascotia pugnascotia added :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >test-failure Triaged test failures from CI labels Jan 6, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team (obsolete) label Jan 6, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@tlrx tlrx self-assigned this Jan 11, 2021
@mayya-sharipova
Copy link
Contributor

I've experienced similar failure today on CI for PR:

Build scan: https://gradle-enterprise.elastic.co/s/lhvki2far7bhy

@tlrx
Copy link
Member

tlrx commented Jan 15, 2021

The shard eviction mechanism has been improved in #67160 and the failing assertion removed in #67265. This test has also been removed as part of #67160.

This should now be fixed, hence I'm closing this issue.

@tlrx tlrx closed this as completed Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Meta label for distributed team (obsolete) >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

4 participants