Skip to content

RollupIndexerStateTests#testIndexing can fail with assertion error. #41046

Closed
@jtibshirani

Description

@jtibshirani

Unfortunately the failure doesn't reproduce for me locally. This failure has popped up several times in CI over the past couple days.


Link to the build: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-unix-compatibility/os=debian-9/321/console

Command to reproduce:

./gradlew :x-pack:plugin:rollup:test --tests "org.elasticsearch.xpack.rollup.job.RollupIndexerStateTests.testIndexing" \
  -Dtests.seed=3DEB668028ED149F \
  -Dtests.security.manager=true \
  -Dtests.locale=tg-TJ \
  -Dtests.timezone=US/Aleutian \
  -Dcompiler.java=12 \
  -Druntime.java=11

Relevant excerpt from the logs:

FAILURE 0.07s J3 | RollupIndexerStateTests.testIndexing <<< FAILURES!
  2> NOTE: All tests run in this JVM: [SearchActionTests, RollupResponseTranslationTests, RollupIndexerStateTests]
   > Throwable #1: java.lang.AssertionError: 
   > Expected: <STARTED>
   >      but: was <INDEXING>
   > 	at __randomizedtesting.SeedInfo.seed([53646ABBE2DD77C:E1EC09A2985894F7]:0)
   > 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
   > 	at org.elasticsearch.xpack.rollup.job.RollupIndexerStateTests.testIndexing(RollupIndexerStateTests.java:281)
   > 	at java.lang.Thread.run(Thread.java:748)

Metadata

Metadata

Assignees

Labels

:StorageEngine/RollupTurn fine-grained time-based data into coarser-grained data>test-failureTriaged test failures from CI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions