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] LockServiceIT.testRenewLock test is intermittently failing #56

Open
peternied opened this issue Sep 2, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working flaky

Comments

@peternied
Copy link
Member

Describe the bug
During the distribution build of OpenSearch there was a failure that blocked the build. Note, there was no failure in the arm64 build making this look like a flaky code/test issue.

To Reproduce
Steps to reproduce the behavior:

REPRODUCE WITH: ./gradlew ':opensearch-job-scheduler-spi:integTest' --tests "org.opensearch.jobscheduler.spi.utils.LockServiceIT.testRenewLock" -Dtests.seed=C9B40C426EAB7723 -Dtests.security.manager=false -Dtests.locale=is -Dtests.timezone=Asia/Ulan_Bator -Druntime.java=14

org.opensearch.jobscheduler.spi.utils.LockServiceIT > testRenewLock FAILED
    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([C9B40C426EAB7723:6C64C21D3C59B692]:0)

        Caused by:
        java.lang.AssertionError: Failed to release lock.
            at __randomizedtesting.SeedInfo.seed([C9B40C426EAB7723]: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)

Expected behavior
If there is a defect in job scheduler it needs to be fixed, if there is an issue with the test it needs to be disabled or fixed.

Plugins
Please list all plugins currently enabled.

Host/Environment (please complete the following information):

  • OS: Linux Jenkins Build Node

Logs
Here is the full log of the failure https://gist.github.com/peternied/8e81a30e1288a3e7c00052c375c9b43c

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
Projects
Status: 📦 Backlog
Development

No branches or pull requests

3 participants