multiple threads, maybe it consumes the random differently. This test is forcibly determinizing randomly-generated automata... it seems bound to explode, if you try enough, you're going to get one that requires intense resources?
I wonder if we can start taking steps to avoid doing that in general? There's a new NFA algorithm in place, it would be good to eventually exercise both cases too, ideally we'd just remove the "determinize()" call here... but might open up new cans of worms in the tests! On Thu, Jan 2, 2025 at 2:50 AM Dawid Weiss <dawid.we...@gmail.com> wrote: > > > This doesn't reproduce for me (which is interesting on its own). > > D. > > On Wed, Jan 1, 2025 at 9:33 PM Policeman Jenkins Server <jenk...@thetaphi.de> > wrote: >> >> Build: https://jenkins.thetaphi.de/job/Lucene-main-Linux/52129/ >> Java: 64bit/hotspot/jdk-23 -XX:-UseCompressedOops -XX:+UseG1GC >> >> 1 tests failed. >> FAILED: >> org.apache.lucene.codecs.blockterms.TestVarGapDocFreqIntervalPostingsFormat.testDocsAndFreqsAndPositionsAndOffsetsAndPayloads >> >> Error Message: >> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an >> uncaught exception in thread: Thread[id=60, name=Thread-15, state=RUNNABLE, >> group=TGRP-TestVarGapDocFreqIntervalPostingsFormat] >> >> Stack Trace: >> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an >> uncaught exception in thread: Thread[id=60, name=Thread-15, state=RUNNABLE, >> group=TGRP-TestVarGapDocFreqIntervalPostingsFormat] >> at >> __randomizedtesting.SeedInfo.seed([5C31305B1BA9F825:B21429A3A35E642B]:0) >> Caused by: java.lang.RuntimeException: >> org.apache.lucene.util.automaton.TooComplexToDeterminizeException: >> Determinizing automaton with 151 states and 741 transitions would require >> more than 10000 effort. >> at __randomizedtesting.SeedInfo.seed([5C31305B1BA9F825]:0) >> at >> org.apache.lucene.tests.index.RandomPostingsTester$TestThread.run(RandomPostingsTester.java:1454) >> Caused by: >> org.apache.lucene.util.automaton.TooComplexToDeterminizeException: >> Determinizing automaton with 151 states and 741 transitions would require >> more than 10000 effort. >> at >> app//org.apache.lucene.util.automaton.Operations.determinize(Operations.java:719) >> at >> app//org.apache.lucene.tests.index.RandomPostingsTester.testTermsOneThread(RandomPostingsTester.java:1658) >> at >> app//org.apache.lucene.tests.index.RandomPostingsTester$TestThread.run(RandomPostingsTester.java:1451) >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: builds-unsubscr...@lucene.apache.org >> For additional commands, e-mail: builds-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org