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

[BUG] Flaky org.opensearch.index.codec.CodecTests.testCodecServiceWithNullMapperService tests #8593

Closed
reta opened this issue Jul 10, 2023 · 1 comment
Labels
bug Something isn't working distributed framework flaky-test Random test failure that succeeds on second run

Comments

@reta
Copy link
Collaborator

reta commented Jul 10, 2023

Describe the bug
The org.opensearch.index.codec.CodecTests.testCodecServiceWithNullMapperService test is flaky

java.lang.AssertionError
	at __randomizedtesting.SeedInfo.seed([3B9EE058DD15AB90:12A18189C846CB09]:0)
	at org.opensearch.index.codec.CodecService.<init>(CodecService.java:74)
	at org.opensearch.index.codec.CodecTests.testCodecServiceWithNullMapperService(CodecTests.java:146)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1750)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:938)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:974)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:988)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.apache.lucene.tests.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:48)
	at org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
	at org.apache.lucene.tests.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:45)
	at org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
	at org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl

CC @sarthakaggarwal97

To Reproduce

./gradlew ':server:test' --tests "org.opensearch.index.codec.CodecTests.testCodecServiceWithNullMapperService" -Dtests.seed=3B9EE058DD15AB90 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=es-EC -Dtests.timezone=America/Matamoros -Druntime.java=17

Expected behavior
Test must always pass

Plugins
Standard

Screenshots
N/A

Host/Environment (please complete the following information):

  • CI

Additional context
https://build.ci.opensearch.org/job/gradle-check/19677/testReport/junit/org.opensearch.index.codec/CodecTests/testCodecServiceWithNullMapperService/

@reta reta added bug Something isn't working flaky-test Random test failure that succeeds on second run labels Jul 10, 2023
@sarthakaggarwal97
Copy link
Contributor

@reta I think we can close this?

@reta reta closed this as completed Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working distributed framework flaky-test Random test failure that succeeds on second run
Projects
None yet
Development

No branches or pull requests

4 participants