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 test on job-scheduler-spi:integTest #121

Closed
amitgalitz opened this issue Jan 28, 2022 · 1 comment
Closed

[BUG] Flaky test on job-scheduler-spi:integTest #121

amitgalitz opened this issue Jan 28, 2022 · 1 comment
Assignees
Labels
bug Something isn't working untriaged

Comments

@amitgalitz
Copy link
Member

Describe the bug
Test failed on CI for PR merging to 1.2 branch: org.opensearch.jobscheduler.spi.utils.LockServiceIT.testRenewLock
https://github.com/opensearch-project/job-scheduler/pull/120/checks

REPRODUCE WITH: ./gradlew ':opensearch-job-scheduler-spi:integTest' --tests "org.opensearch.jobscheduler.spi.utils.LockServiceIT.testRenewLock" -Dtests.seed=15E91D15084D54B0 -Dtests.security.manager=false -Dtests.locale=no -Dtests.timezone=Etc/GMT+0 -Druntime.java=14
  2> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=29, name=opensearch[transport_client_external_0][listener][T#1], state=RUNNABLE, group=TGRP-LockServiceIT]
        at __randomizedtesting.SeedInfo.seed([15E91D15084D54B0:B039D34A5ABF9501]:0)

        Caused by:
        java.lang.AssertionError: Failed to release lock.
            at __randomizedtesting.SeedInfo.seed([15E91D15084D54B0]:0)
            at org.junit.Assert.fail(Assert.java:88)
            at org.junit.Assert.assertTrue(Assert.java:41)
            at org.opensearch.jobscheduler.spi.utils.LockServiceIT.lambda$testRenewLock$63(LockServiceIT.java:488)

Looks like something is flaky since I am not able to reproduce this failure locally with the same seed.

Expected behavior
Test should be passing and CI should complete.

@amitgalitz amitgalitz added Beta bug Something isn't working untriaged labels Jan 28, 2022
@amitgalitz
Copy link
Member Author

Duplicate of #56, closing this one as its newer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
Development

No branches or pull requests

2 participants