Open mikemccand opened 5 years ago
Test2BPostingsBytes is a Lucene test, not a Solr test. Which means this report is out of place in the SOLR project on Jira. The test mentioned in SOLR-13639 is also a Lucene test, not a Solr test. I will move both issues to the LUCENE project.
Java from IBM is known to have bugs when running Lucene. IBM enables several optimizations by default, some of which are not compatible with Lucene code. Using OpenJDK or a JDK from Oracle will likely produce better results.
[Legacy Jira: Shawn Heisey (@elyograg) on Jul 18 2019]
I tested the repro line (after adding -Dtests.monster=true
) at the tip of branch_8x (commit eb75a60857deb96c55a2d79cdb4cdabf4a0fda1b
) with openjdk version "1.8.0_171"
:
$ ant test -Dtestcase=Test2BPostingsBytes -Dtests.method=test -Dtests.seed=1C14F78FC0AF1835 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=fr -Dtests.timezone=SystemV/AST4ADT -Dtests.asserts=true -Dtests.file.encoding=UTF-8 -Dtests.monster=true
[...]
[junit4] Suite: org.apache.lucene.index.Test2BPostingsBytes
[junit4] HEARTBEAT J0 PID(16237@localhost): 2019-07-18T11:29:13, stalled for 71.2s at: Test2BPostingsBytes.test
[junit4] HEARTBEAT J0 PID(16237@localhost): 2019-07-18T11:30:13, stalled for 131s at: Test2BPostingsBytes.test
[junit4] HEARTBEAT J0 PID(16237@localhost): 2019-07-18T11:31:13, stalled for 191s at: Test2BPostingsBytes.test
[junit4] OK 222s | Test2BPostingsBytes.test
[junit4] Completed [1/1] in 222.41s, 1 test
[junit4]
[junit4] JVM J0: 0.77 .. 223.76 = 222.99s
[junit4] Execution time total: 3 minutes 43 seconds
[junit4] Tests summary: 1 suite, 1 test
[...]
BUILD SUCCESSFUL
Total time: 3 minutes 46 seconds
I also tested at the same commit as the OP (081e2ef2c05e017e87a2aef2a4f55067fbba5cb4
), with the same result: BUILD SUCCESSFUL
. (The first time I tried this resulted in OOM, but succeeded on the second try, after adding -Dtests.heapsize=30g
to the cmdline, which may be overkill here, but is what I use on my Jenkins jobs that run the monster tests once a week.)
[Legacy Jira: Steven Rowe on Jul 18 2019]
Thanks for the tips and the retest. Passed this test twice in the RHEL openjdk 1.8.0_212-b04. I don't think I always saw this error but will continue to test more fully on OpenJDK.
Cheers
[Legacy Jira: Daniel Black on Jul 19 2019]
8x branch at commit 081e2ef2c05e017e87a2aef2a4f55067fbba5cb4
while running
ant -Dtests.filter=(
@monsteror
@slow) and not(
@awaitsfix) -Dtests.heapsize=4G -Dtests.jvms=64 test
Legacy Jira details
LUCENE-8925 by Daniel Black on Jul 18 2019, updated Jul 19 2019 Environment: