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] TranslogTests.testStats() Failure #66092

Closed
martijnvg opened this issue Dec 9, 2020 · 1 comment · Fixed by #66227
Closed

[CI] TranslogTests.testStats() Failure #66092

martijnvg opened this issue Dec 9, 2020 · 1 comment · Fixed by #66227
Assignees
Labels
:Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test-failure Triaged test failures from CI

Comments

@martijnvg
Copy link
Member

Build scan: https://gradle-enterprise.elastic.co/s/yqjupuaexvuaq

Repro line: ./gradlew ':server:test' --tests "org.elasticsearch.index.translog.TranslogTests.testStats" -Dtests.seed=EE716E3D0A4D7ACE -Dtests.security.manager=true -Dtests.locale=bg -Dtests.timezone=Eire -Druntime.java=11

Reproduces locally?: No (but haven't tried to reproduce it on windows)

Applicable branches: master

Failure history: Failed once in last 7 days

https://gradle-enterprise.elastic.co/scans/tests?search.relativeStartTime=P7D&search.timeZoneId=Europe/Amsterdam&tests.container=org.elasticsearch.index.translog.TranslogTests&tests.sortField=FAILED&tests.test=testStats&tests.unstableOnly=true

Failure excerpt:


java.lang.AssertionError: |  
-- | --
  | Expected: a value greater than <0L> |  
  | but: <0L> was equal to <0L> |  

at __randomizedtesting.SeedInfo.seed([EE716E3D0A4D7ACE:74F037826291B4ED]:0) |  
-- | --
  |   | at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18) |  
  |   | at org.junit.Assert.assertThat(Assert.java:956) |  
  |   | at org.junit.Assert.assertThat(Assert.java:923) |  
  |   | at org.elasticsearch.index.translog.TranslogTests.testStats(TranslogTests.java:491)

@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 9, 2020
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Dec 9, 2020
@elasticmachine
Copy link
Collaborator

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

@dnhatn dnhatn self-assigned this Dec 9, 2020
dnhatn added a commit that referenced this issue Dec 13, 2020
If creating the latest translog file and retrieving a translog stats 
happen within the same millisecond, then the earliestLastModifiedAge
will be zero.

Closes #66092
dnhatn added a commit that referenced this issue Dec 13, 2020
If creating the latest translog file and retrieving a translog stats 
happen within the same millisecond, then the earliestLastModifiedAge
will be zero.

Closes #66092
dnhatn added a commit that referenced this issue Dec 13, 2020
If creating the latest translog file and retrieving a translog stats 
happen within the same millisecond, then the earliestLastModifiedAge
will be zero.

Closes #66092
dnhatn added a commit that referenced this issue Dec 13, 2020
If creating the latest translog file and retrieving a translog stats
happen within the same millisecond, then the earliestLastModifiedAge
will be zero.

Closes #66092
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. Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants