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

SearchServiceTests.testWaitOnRefreshTimeout fails #115935

Open
benwtrent opened this issue Oct 30, 2024 · 1 comment
Open

SearchServiceTests.testWaitOnRefreshTimeout fails #115935

benwtrent opened this issue Oct 30, 2024 · 1 comment
Labels
needs:risk Requires assignment of a risk label (low, medium, blocker) :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team >test-failure Triaged test failures from CI

Comments

@benwtrent
Copy link
Member

CI Link

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

Repro line

./gradlew ":server:test" --tests "org.elasticsearch.search.SearchServiceTests.testWaitOnRefreshTimeout" -Dtests.seed=7AC555CCB6E2E0F7 -Dtests.locale=as-IN -Dtests.timezone=America/St_Kitts -Druntime.java=22

Does it reproduce?

Yes

Applicable branches

main

Failure history

No response

Failure excerpt

  2> junit.framework.AssertionFailedError: Unexpected exception type, expected ElasticsearchTimeoutException but got org.elasticsearch.search.query.SearchTimeoutException: Wait for seq_no [0] refreshed timed out [75ms]
        at __randomizedtesting.SeedInfo.seed([7AC555CCB6E2E0F7:CBFD9EFA3DB5002F]:0)
        at org.apache.lucene.tests.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2894)
        at org.apache.lucene.tests.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2875)
        at org.elasticsearch.search.SearchServiceTests.testWaitOnRefreshTimeout(SearchServiceTests.java:2619)

        Caused by:
        org.elasticsearch.search.query.SearchTimeoutException: Wait for seq_no [0] refreshed timed out [75ms]
            at app//org.elasticsearch.search.SearchService.lambda$ensureAfterSeqNoRefreshed$4(SearchService.java:608)
            at app//org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:956)
            at app//org.elasticsearch.threadpool.ThreadPool$1.run(ThreadPool.java:514)
            at [email protected]/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
            at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
            at [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
            at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
            at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
@benwtrent benwtrent added :Search/Search Search-related issues that do not fall into other categories >test-failure Triaged test failures from CI needs:triage Requires assignment of a team area label labels Oct 30, 2024
@elasticsearchmachine elasticsearchmachine added Team:Search Meta label for search team needs:risk Requires assignment of a risk label (low, medium, blocker) labels Oct 30, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:risk Requires assignment of a risk label (low, medium, blocker) :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

2 participants