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] Test Failure org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT#testLuceneVersionConstant #3565

Closed
Bukhtawar opened this issue Jun 13, 2022 · 1 comment · Fixed by #3574
Labels
bug Something isn't working >test-failure Test failure from CI, local build, etc.

Comments

@Bukhtawar
Copy link
Collaborator

REPRODUCE WITH: ./gradlew ':qa:verify-version-constants:v2.1.0#integTest' --tests "org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT.testLuceneVersionConstant" -Dtests.seed=C273360AD153BA9B -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ar-BH -Dtests.timezone=Australia/Eucla -Druntime.java=17

org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT > testLuceneVersionConstant FAILED
    java.lang.AssertionError: 
    Expected: <9.3.0>
         but: was <9.2.0>
        at __randomizedtesting.SeedInfo.seed([C273360AD153BA9B:4F160B56F65B79D2]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.junit.Assert.assertThat(Assert.java:964)
        at org.junit.Assert.assertThat(Assert.java:930)
        at org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT.testLuceneVersionConstant(VerifyVersionConstantsIT.java:56)


Suite: Test class org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT
  1> [2022-06-13T12:50:10,071][INFO ][o.o.q.v.VerifyVersionConstantsIT] [testLuceneVersionConstant] before test
  1> [2022-06-13T12:50:10,202][INFO ][o.o.q.v.VerifyVersionConstantsIT] [testLuceneVersionConstant] initializing REST clients against [http://[::1]:46351, http://127.0.0.1:38677]
  1> [2022-06-13T12:50:10,482][INFO ][o.o.q.v.VerifyVersionConstantsIT] [testLuceneVersionConstant] after test
  2> REPRODUCE WITH: ./gradlew ':qa:verify-version-constants:v2.1.0#integTest' --tests "org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT.testLuceneVersionConstant" -Dtests.seed=C273360AD153BA9B -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ar-BH -Dtests.timezone=Australia/Eucla -Druntime.java=17
  2> java.lang.AssertionError: 
    Expected: <9.3.0>
         but: was <9.2.0>
        at __randomizedtesting.SeedInfo.seed([C273360AD153BA9B:4F160B56F65B79D2]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.junit.Assert.assertThat(Assert.java:964)
WARNING: A terminally deprecated method in java.lang.System has been called
        at org.junit.Assert.assertThat(Assert.java:930)
WARNING: System::setSecurityManager has been called by         at org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT.testLuceneVersionConstant(VerifyVersionConstantsIT.java:56)
org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/home/ubuntu/.gradle/wrapper/dists/gradle-7.4.2-all/9uukhhbclvbegdvsww0j0cr3p/gradle-7.4.2/lib/plugins/gradle-testing-base-7.4.2.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release
  2> NOTE: leaving temporary files on disk at: /var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/qa/verify-version-constants/build/testrun/v2.1.0#integTest/temp/org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT_C273360AD153BA9B-004
  2> NOTE: test params are: codec=Asserting(Lucene92): {}, docValues:{}, maxPointsInLeafNode=1235, maxMBSortInHeap=5.8963441188103864, sim=Asserting(RandomSimilarity(queryNorm=false): {}), locale=ar-BH, timezone=Australia/Eucla
  2> NOTE: Linux 5.13.0-1014-aws amd64/Eclipse Adoptium 17.0.3 (64-bit)/cpus=72,threads=1,free=484429776,total=536870912
  2> NOTE: All tests run in this JVM: [VerifyVersionConstantsIT]

Tests with failures:
 - org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT.testLuceneVersionConstant
@Bukhtawar Bukhtawar added bug Something isn't working flaky-test Random test failure that succeeds on second run labels Jun 13, 2022
@Bukhtawar
Copy link
Collaborator Author

Bukhtawar commented Jun 13, 2022

Possibly relates to #3537 and backport PR #3555. Seems to have a discrepancy of Lucene version for 2.1 across major versions
/cc @nknize

@Bukhtawar Bukhtawar added >test-failure Test failure from CI, local build, etc. and removed flaky-test Random test failure that succeeds on second run labels Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working >test-failure Test failure from CI, local build, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant