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] IndexShardIT#testStressMaybeFlushOrRollTranslogGeneration failure #25773

Closed
martijnvg opened this issue Jul 18, 2017 · 2 comments
Closed
Assignees
Labels
>test-failure Triaged test failures from CI

Comments

@martijnvg
Copy link
Member

Build url: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+java9-periodic/3287/consoleFull

Reproduce line: gradle :core:integTest -Dtests.seed=D51E246A7DC3F163 -Dtests.class=org.elasticsearch.index.shard.IndexShardIT -Dtests.security.manager=true -Dtests.jvm.argline="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED" -Dtests.locale=en-US -Dtests.timezone=UTC (does not reproduce for me)

FAILURE 10.1s J0 | IndexShardIT.testStressMaybeFlushOrRollTranslogGeneration <<< FAILURES!
   > Throwable #1: java.lang.AssertionError: expected:<1> but was:<2514855>
   > 	at __randomizedtesting.SeedInfo.seed([D51E246A7DC3F163:3812107F9AD40345]:0)
   > 	at org.elasticsearch.index.shard.IndexShardIT.lambda$testStressMaybeFlushOrRollTranslogGeneration$8(IndexShardIT.java:457)
   > 	at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:722)
   > 	at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:696)
   > 	at org.elasticsearch.index.shard.IndexShardIT.testStressMaybeFlushOrRollTranslogGeneration(IndexShardIT.java:465)
   > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   > 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   > 	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
   > 	at java.base/java.lang.Thread.run(Thread.java:844)
   > 	Suppressed: java.lang.AssertionError: expected:<1> but was:<0>
   > 		at org.elasticsearch.index.shard.IndexShardIT.lambda$testStressMaybeFlushOrRollTranslogGeneration$8(IndexShardIT.java:457)
   > 		at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:710)
   > 		... 38 more
   > 	Suppressed: java.lang.AssertionError: expected:<1> but was:<0>
   > 		at org.elasticsearch.index.shard.IndexShardIT.lambda$testStressMaybeFlushOrRollTranslogGeneration$8(IndexShardIT.java:457)
   > 		at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:710)
   > 		... 38 more
   > 	Suppressed: java.lang.AssertionError: expected:<1> but was:<0>
   > 		at org.elasticsearch.index.shard.IndexShardIT.lambda$testStressMaybeFlushOrRollTranslogGeneration$8(IndexShardIT.java:457)
   > 		at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:710)
   > 		... 38 more
   > 	Suppressed: java.lang.AssertionError: expected:<1> but was:<0>
@dnhatn
Copy link
Member

dnhatn commented Feb 9, 2018

I am looking at this.

@dnhatn
Copy link
Member

dnhatn commented Feb 9, 2018

The test was stuck in an infinite loop of flushing - it expected one more flush but the actual value was 247006 flushes.

> 	Suppressed: java.lang.AssertionError: expected:<1> but was:<247006>
> 		at org.elasticsearch.index.shard.IndexShardIT.lambda$testStressMaybeFlushOrRollTranslogGeneration$8(IndexShardIT.java:456)
> 		at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:714)

This issue was addressed by #28350.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

3 participants