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

Test failure: LocalTranslogTests.testWithRandomException #6625

Closed
andrross opened this issue Mar 11, 2023 · 1 comment · Fixed by #6748
Closed

Test failure: LocalTranslogTests.testWithRandomException #6625

andrross opened this issue Mar 11, 2023 · 1 comment · Fixed by #6748
Assignees
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run good first issue Good for newcomers

Comments

@andrross
Copy link
Member

This is reproducible with the seed below.

https://build.ci.opensearch.org/job/gradle-check/12272/consoleFull

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.index.translog.LocalTranslogTests.testWithRandomException" -Dtests.seed=4736E0CC7306EBDA -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=es-DO -Dtests.timezone=GMT -Druntime.java=19

org.opensearch.index.translog.LocalTranslogTests > testWithRandomException FAILED
    java.lang.AssertionError: expected:<null> but was:<java.lang.RuntimeException: simulated>
        at __randomizedtesting.SeedInfo.seed([4736E0CC7306EBDA:21EE8BD308E265CB]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:120)
        at org.junit.Assert.assertEquals(Assert.java:146)
        at org.opensearch.index.translog.LocalTranslogTests.testWithRandomException(LocalTranslogTests.java:3235)
@andrross andrross added bug Something isn't working untriaged good first issue Good for newcomers flaky-test Random test failure that succeeds on second run labels Mar 11, 2023
@mitrofmep
Copy link
Contributor

Can I take it?

mitrofmep added a commit to mitrofmep/OpenSearch that referenced this issue Mar 18, 2023
mitrofmep added a commit to mitrofmep/OpenSearch that referenced this issue Mar 18, 2023
mitrofmep added a commit to mitrofmep/OpenSearch that referenced this issue Mar 25, 2023
Signed-off-by: Valentin Mitrofanov <[email protected]>
mitrofmep added a commit to mitrofmep/OpenSearch that referenced this issue Apr 5, 2023
mitrofmep added a commit to mitrofmep/OpenSearch that referenced this issue Apr 5, 2023
Signed-off-by: Valentin Mitrofanov <[email protected]>
mitrofmep added a commit to mitrofmep/OpenSearch that referenced this issue Apr 5, 2023
mitrofmep added a commit to mitrofmep/OpenSearch that referenced this issue Apr 5, 2023
dblock pushed a commit that referenced this issue Apr 20, 2023
* fix #6625

Signed-off-by: Valentin Mitrofanov <[email protected]>

* fix #6625 - reverse assertEquals params

Signed-off-by: Valentin Mitrofanov <[email protected]>

---------

Signed-off-by: Valentin Mitrofanov <[email protected]>
opensearch-trigger-bot bot pushed a commit that referenced this issue Apr 20, 2023
* fix #6625

Signed-off-by: Valentin Mitrofanov <[email protected]>

* fix #6625 - reverse assertEquals params

Signed-off-by: Valentin Mitrofanov <[email protected]>

---------

Signed-off-by: Valentin Mitrofanov <[email protected]>
(cherry picked from commit 4afc914)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Rishikesh1159 pushed a commit that referenced this issue Apr 25, 2023
…7263)

* fix #6625



* fix #6625 - reverse assertEquals params



---------


(cherry picked from commit 4afc914)

Signed-off-by: Valentin Mitrofanov <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
austintlee pushed a commit to austintlee/OpenSearch that referenced this issue Apr 28, 2023
…rch-project#6748)

* fix opensearch-project#6625

Signed-off-by: Valentin Mitrofanov <[email protected]>

* fix opensearch-project#6625 - reverse assertEquals params

Signed-off-by: Valentin Mitrofanov <[email protected]>

---------

Signed-off-by: Valentin Mitrofanov <[email protected]>
@dbwiddis dbwiddis self-assigned this Aug 6, 2023
shiv0408 pushed a commit to Gaurav614/OpenSearch that referenced this issue Apr 25, 2024
…rch-project#6748)

* fix opensearch-project#6625

Signed-off-by: Valentin Mitrofanov <[email protected]>

* fix opensearch-project#6625 - reverse assertEquals params

Signed-off-by: Valentin Mitrofanov <[email protected]>

---------

Signed-off-by: Valentin Mitrofanov <[email protected]>
Signed-off-by: Shivansh Arora <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants