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] CreateRemoteIndexIT/CreateRemoteIndexTranslogDisabledIT failures #7128

Closed
andrross opened this issue Apr 12, 2023 · 3 comments
Closed
Labels
bug Something isn't working distributed framework flaky-test Random test failure that succeeds on second run

Comments

@andrross
Copy link
Member

Multiple failures here (https://build.ci.opensearch.org/job/gradle-check/13937/) that succeeded on retry

      1 org.opensearch.remotestore.CreateRemoteIndexTranslogDisabledIT.classMethod
      1 org.opensearch.remotestore.CreateRemoteIndexIT.testRemoteStoreDisabledByUser
      1 org.opensearch.remotestore.CreateRemoteIndexIT.classMethod

/cc @linuxpi Looks like these are tests that you recently added. Can you take a look?

@andrross andrross added bug Something isn't working untriaged distributed framework flaky-test Random test failure that succeeds on second run labels Apr 12, 2023
@andrross
Copy link
Member Author

More failures here: #7125 (comment)

@linuxpi
Copy link
Collaborator

linuxpi commented Apr 13, 2023

Multiple failures here (https://build.ci.opensearch.org/job/gradle-check/13937/) that succeeded on retry

      1 org.opensearch.remotestore.CreateRemoteIndexTranslogDisabledIT.classMethod
      1 org.opensearch.remotestore.CreateRemoteIndexIT.testRemoteStoreDisabledByUser
      1 org.opensearch.remotestore.CreateRemoteIndexIT.classMethod

/cc @linuxpi Looks like these are tests that you recently added. Can you take a look?

Sure, let me check and fix

@linuxpi
Copy link
Collaborator

linuxpi commented Apr 13, 2023

The failure are because we are not cleaning up snapshot dir.

java.lang.AssertionError: [test-idx-1][2], node[vX6f0DTmRfC1il8YDrSIkQ], [P], s[STARTED], a[id=53rPm8H3SrepttaigUli0A] has unreleased snapshotted index commits

java.lang.RuntimeException: file handle leaks: [InputStream(/var/jenkins/workspace/gradle-check/search/server/build/testrun/internalClusterTest/temp/org.opensearch.remotestore.CreateRemoteIndexIT_58A3D614EB68203F-001/tempDir-008/repos/fgUzGkzgHm/qWmYzVJSTKeMhahfEsSuhw/0/segments/data/segment_infos_snapshot_filename__3__PXCpdocBnatMeQEWYB27)]

Constantly failing with following:

./gradlew ':server:internalClusterTest' --tests "org.opensearch.remotestore.CreateRemoteIndexIT" -Dtests.seed=58A3D614EB68203F -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=en -Dtests.timezone=Etc/UTC -Dtests.iters=20

./gradlew ':server:internalClusterTest' --tests "org.opensearch.remotestore.CreateRemoteIndexTranslogDisabledIT" -Dtests.seed=58A3D614EB68203F -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=en -Dtests.timezone=Etc/UTC -Dtests.iters=20


./gradlew ':server:internalClusterTest' --tests "org.opensearch.remotestore.CreateRemoteIndexClusterDefaultDocRep" -Dtests.seed=58A3D614EB68203F -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=en -Dtests.timezone=Etc/UTC -Dtests.iters=20

#7141 fixes this flakyness

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working distributed framework flaky-test Random test failure that succeeds on second run
Projects
None yet
Development

No branches or pull requests

4 participants