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] InternalEngineTests.testIndexWriterInfoStream failure #50315

Closed
martijnvg opened this issue Dec 18, 2019 · 1 comment · Fixed by #50390
Closed

[CI] InternalEngineTests.testIndexWriterInfoStream failure #50315

martijnvg opened this issue Dec 18, 2019 · 1 comment · Fixed by #50390
Assignees
Labels
:Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. >test-failure Triaged test failures from CI

Comments

@martijnvg
Copy link
Member

Reproduce line:

./gradlew ':server:unitTest' -Dtests.seed=23A79BFD76C74CE -Dtests.class=org.elasticsearch.index.engine.InternalEngineTests -Dtests.method="testIndexWriterInfoStream" -Dtests.security.manager=true -Dtests.locale=zh-Hans-CN -Dtests.timezone=Atlantic/Stanley -Dcompiler.java=12 -Druntime.java=12

I was unable to reproduce it locally

Failure:

FAILURE 0.36s J13 | InternalEngineTests.testIndexWriterInfoStream <<< FAILURES!
13:55:36    > Throwable #1: java.lang.AssertionError: 
13:55:36    > Expected: an empty collection
13:55:36    >      but: <[Attempted to append to non-started appender testIndexWriterInfoStream]>
13:55:36    > 	at __randomizedtesting.SeedInfo.seed([23A79BFD76C74CE:303742EE3F4AC155]:0)
13:55:36    > 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
13:55:36    > 	at org.elasticsearch.test.ESTestCase.checkStaticState(ESTestCase.java:516)
13:55:36    > 	at org.elasticsearch.test.ESTestCase.after(ESTestCase.java:365)
13:55:36    > 	at jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
13:55:36    > 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
13:55:36    > 	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
13:55:36    > 	at java.base/java.lang.Thread.run(Thread.java:835)

Branch: 6.8

Failure happens when running tear down validation in ESTestCase.checkStaticState(...)

Build url: https://gradle-enterprise.elastic.co/s/csltgh2b5h22w

@martijnvg martijnvg added >test-failure Triaged test failures from CI :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. labels Dec 18, 2019
@elasticmachine
Copy link
Collaborator

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

@dnhatn dnhatn self-assigned this Dec 18, 2019
dnhatn added a commit that referenced this issue Dec 20, 2019
Merge threads can run and access the mock appender after we have stopped it.

Closes #50315
dnhatn added a commit that referenced this issue Dec 20, 2019
Merge threads can run and access the mock appender after we have stopped it.

Closes #50315
dnhatn added a commit that referenced this issue Dec 20, 2019
Merge threads can run and access the mock appender after we have stopped it.

Closes #50315
dnhatn added a commit that referenced this issue Dec 20, 2019
Merge threads can run and access the mock appender after we have stopped it.

Closes #50315
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this issue Jan 23, 2020
Merge threads can run and access the mock appender after we have stopped it.

Closes elastic#50315
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants