You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/09/06 15:01:32 UTC
[GitHub] [lucene] rmuir opened a new issue, #11754: TestBoolean2.testRandomQueries fails in CI due to eating up heap space
rmuir opened a new issue, #11754:
URL: https://github.com/apache/lucene/issues/11754
### Description
Jenkins failure (sorry I don't have full build log, but the failure is reproducible, see below):
```
[JENKINS] Lucene-main-Linux (64bit/jdk-17.0.3) - Build # 36812 - Unstable!
Build: https://jenkins.thetaphi.de/job/Lucene-main-Linux/36812/
Java: 64bit/jdk-17.0.3 -XX:-UseCompressedOops -XX:+UseParallelGC
1 tests failed.
FAILED: org.apache.lucene.search.TestBoolean2.testRandomQueries
Error Message:
java.lang.OutOfMemoryError: Java heap space
Stack Trace:
java.lang.OutOfMemoryError: Java heap space
at __randomizedtesting.SeedInfo.seed([A0883CC08C1C22AB:FEA38C2CB4C60F35]:0)
at org.apache.lucene.util.PriorityQueue.<init>(PriorityQueue.java:96)
at org.apache.lucene.util.PriorityQueue.<init>(PriorityQueue.java:43)
at org.apache.lucene.search.FieldValueHitQueue.<init>(FieldValueHitQueue.java:123)
at org.apache.lucene.search.FieldValueHitQueue$OneComparatorFieldValueHitQueue.<init>(FieldValueHitQueue.java:59)
at org.apache.lucene.search.FieldValueHitQueue.create(FieldValueHitQueue.java:159)
at org.apache.lucene.search.TopFieldCollector.create(TopFieldCollector.java:454)
at org.apache.lucene.search.TopFieldCollector$1.newCollector(TopFieldCollector.java:501)
at org.apache.lucene.search.TopFieldCollector$1.newCollector(TopFieldCollector.java:493)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:669)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:656)
at org.apache.lucene.search.TestBoolean2.testRandomQueries(TestBoolean2.java:406)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
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:44)
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)
```
### Gradle command to reproduce
Reproduce with:
`./gradlew -p lucene/core -Ptests.seed=A0883CC08C1C22AB -Ptests.heapsize=256m -Ptests.minheapsize=256m -Ptests.multiplier=3 test --tests TestBoolean2.testRandomQueries`
The test is well-behaved without the `multiplier=3` so this may be related to the 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.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
[GitHub] [lucene] cbismuth commented on issue #11754: TestBoolean2.testRandomQueries fails in CI due to eating up heap space
Posted by "cbismuth (via GitHub)" <gi...@apache.org>.
cbismuth commented on issue #11754:
URL: https://github.com/apache/lucene/issues/11754#issuecomment-1613312521
Can't reproduce against `main` branch, maybe not relevant anymore?
```
MAC-0320:lucene cbismuth$ ./gradlew -p lucene/core -Ptests.seed=A0883CC08C1C22AB -Ptests.heapsize=256m -Ptests.minheapsize=256m -Ptests.multiplier=3 test --tests TestBoolean2.testRandomQueries
> Task :errorProneSkipped
WARNING: errorprone disabled (skipped on builds not running inside CI environments, pass -Pvalidation.errorprone=true to enable)
> Task :randomizationInfo
Running tests with randomization seed: tests.seed=A0883CC08C1C22AB
> Task :lucene:core:test
WARNING: A command line option has enabled the Security Manager
WARNING: The Security Manager is deprecated and will be removed in a future release
:lucene:core:test (SUCCESS): 1 test(s)
The slowest tests (exceeding 500 ms) during this run:
4.16s TestBoolean2.testRandomQueries (:lucene:core)
The slowest suites (exceeding 1s) during this run:
8.04s TestBoolean2 (:lucene:core)
BUILD SUCCESSFUL in 11s
21 actionable tasks: 5 executed, 16 up-to-date
```
--
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