You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Pulkitg64 (via GitHub)" <gi...@apache.org> on 2026/01/15 15:29:18 UTC

[I] TestLucene104ScalarQuantizedVectorsFormat.testReadQuantizedVectorWithEmptyRawVectors failures [lucene]

Pulkitg64 opened a new issue, #15576:
URL: https://github.com/apache/lucene/issues/15576

   ### Description
   
   Test: org.apache.lucene.codecs.lucene104.TestLucene104ScalarQuantizedVectorsFormat.testReadQuantizedVectorWithEmptyRawVectors failing
   
   https://lists.apache.org/thread/vqfz8ny0d36rld09p8c6kq99jbhyks24
   
   Build: https://jenkins.thetaphi.de/job/Lucene-10.x-Linux/11569/
   Java: 64bit/hotspot/jdk-24 -XX:+UseCompressedOops -XX:+UseSerialGC
   
   ```
   1 tests failed.
   FAILED:  org.apache.lucene.codecs.lucene104.TestLucene104ScalarQuantizedVectorsFormat.testReadQuantizedVectorWithEmptyRawVectors
   
   Error Message:
   java.lang.AssertionError: bits: 2 mae: 0.2881638 > eps: 0.25
   
   Stack Trace:
   java.lang.AssertionError: bits: 2 mae: 0.2881638 > eps: 0.25
   	at __randomizedtesting.SeedInfo.seed([95F350A8C87C6318:4909EF9A7CFDC7FB]:0)
   	at org.junit.Assert.fail(Assert.java:89)
   	at org.junit.Assert.assertTrue(Assert.java:42)
   	at org.apache.lucene.codecs.lucene104.TestLucene104ScalarQuantizedVectorsFormat.testReadQuantizedVectorWithEmptyRawVectors(TestLucene104ScalarQuantizedVectorsFormat.java:292)
   	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
   	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1758)
   	at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:946)
   	at com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:982)
   	at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:996)
   	at org.apache.lucene.tests.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:48)
   	at org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
   	at org.apache.lucene.tests.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:45)
   	at org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
   	at org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
   	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
   	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
   	at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
   	at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:843)
   	at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:490)
   	at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:955)
   	at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:840)
   	at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:891)
   	at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:902)
   	at org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
   	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
   	at org.apache.lucene.tests.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
   	at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
   	at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
   	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
   	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
   	at org.apache.lucene.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
   	at org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
   	at org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
   	at org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
   ```
   	at org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
   	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
   	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
   	at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
   	at com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
   	at java.base/java.lang.Thread.run(Thread.java:1447)
   
   ### Gradle command to reproduce
   
   The test failure can be reproduced with below command on JDK24:
   
   ```
   ./gradlew test --tests TestLucene104ScalarQuantizedVectorsFormat.testReadQuantizedVectorWithEmptyRawVectors -Dtests.seed=95F350A8C87C6318 -Dtests.multiplier=3 -Dtests.locale=it-IT -Dtests.timezone=Africa/Lagos -Dtests.asserts=true -Dtests.file.encoding=UTF-8
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [I] TestLucene104ScalarQuantizedVectorsFormat.testReadQuantizedVectorWithEmptyRawVectors failures [lucene]

Posted by "benwtrent (via GitHub)" <gi...@apache.org>.
benwtrent commented on issue #15576:
URL: https://github.com/apache/lucene/issues/15576#issuecomment-3756202579

   LOL, claude had a bug I didn't catch 🤦 
   
   Wrote a new test and immediately got it figured out. 
   
   This is a GREAT test :D


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [I] TestLucene104ScalarQuantizedVectorsFormat.testReadQuantizedVectorWithEmptyRawVectors failures [lucene]

Posted by "benwtrent (via GitHub)" <gi...@apache.org>.
benwtrent closed issue #15576: TestLucene104ScalarQuantizedVectorsFormat.testReadQuantizedVectorWithEmptyRawVectors failures
URL: https://github.com/apache/lucene/issues/15576


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [I] TestLucene104ScalarQuantizedVectorsFormat.testReadQuantizedVectorWithEmptyRawVectors failures [lucene]

Posted by "Pulkitg64 (via GitHub)" <gi...@apache.org>.
Pulkitg64 commented on issue #15576:
URL: https://github.com/apache/lucene/issues/15576#issuecomment-3755439065

   The failure is about large error in dequantization of 2 bit quantized vector back to float vector.
   
   The failure started after [this change](https://github.com/apache/lucene/pull/15564) where we implemented 2 bit quantization.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [I] TestLucene104ScalarQuantizedVectorsFormat.testReadQuantizedVectorWithEmptyRawVectors failures [lucene]

Posted by "Pulkitg64 (via GitHub)" <gi...@apache.org>.
Pulkitg64 commented on issue #15576:
URL: https://github.com/apache/lucene/issues/15576#issuecomment-3758275322

   Thank you @benwtrent for helping with this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [I] TestLucene104ScalarQuantizedVectorsFormat.testReadQuantizedVectorWithEmptyRawVectors failures [lucene]

Posted by "benwtrent (via GitHub)" <gi...@apache.org>.
benwtrent commented on issue #15576:
URL: https://github.com/apache/lucene/issues/15576#issuecomment-3755602953

   Yeah, I can dig into this


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org