Description
The following seed reproduces reliably for me on master...
(NOTE: the ERROR StatusLogger messages include the one about the AccessControlException occur even with other seeds when the test passes)
[mkdir] Created dir: /home/hossman/lucene/alt_dev/lucene/build/luke/test [junit4:pickseed] Seed property 'tests.seed' already defined: 9123DD19C50D658 [mkdir] Created dir: /home/hossman/lucene/alt_dev/lucene/build/luke/test/temp [junit4] <JUnit4> says cześć! Master seed: 9123DD19C50D658 [junit4] Executing 1 suite with 1 JVM. [junit4] [junit4] Started J0 PID(8576@localhost). [junit4] Suite: org.apache.lucene.luke.models.overview.OverviewImplTest [junit4] 2> ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2 [junit4] 2> ERROR StatusLogger Could not reconfigure JMX [junit4] 2> java.security.AccessControlException: access denied ("javax.management.MBeanServerPermission" "createMBeanServer") [junit4] 2> at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) [junit4] 2> at java.base/java.security.AccessController.checkPermission(AccessController.java:897) [junit4] 2> at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322) [junit4] 2> at java.management/java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:479) [junit4] 2> at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140) [junit4] 2> at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:559) [junit4] 2> at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:620) [junit4] 2> at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:637) [junit4] 2> at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:231) [junit4] 2> at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153) [junit4] 2> at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45) [junit4] 2> at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194) [junit4] 2> at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:581) [junit4] 2> at org.apache.lucene.luke.util.LoggerFactory.getLogger(LoggerFactory.java:70) [junit4] 2> at org.apache.lucene.luke.models.util.IndexUtils.<clinit>(IndexUtils.java:62) [junit4] 2> at org.apache.lucene.luke.models.LukeModel.<init>(LukeModel.java:60) [junit4] 2> at org.apache.lucene.luke.models.overview.OverviewImpl.<init>(OverviewImpl.java:50) [junit4] 2> at org.apache.lucene.luke.models.overview.OverviewImplTest.testIsOptimized(OverviewImplTest.java:77) [junit4] 2> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit4] 2> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit4] 2> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit4] 2> at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1750) [junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:938) [junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:974) [junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:988) [junit4] 2> at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49) [junit4] 2> at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) [junit4] 2> at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48) [junit4] 2> at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64) [junit4] 2> at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47) [junit4] 2> at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) [junit4] 2> at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368) [junit4] 2> at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817) [junit4] 2> at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468) [junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:947) [junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:832) [junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:883) [junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:894) [junit4] 2> at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) [junit4] 2> at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) [junit4] 2> at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41) [junit4] 2> at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40) [junit4] 2> at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40) [junit4] 2> at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) [junit4] 2> at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) [junit4] 2> at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53) [junit4] 2> at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47) [junit4] 2> at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64) [junit4] 2> at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54) [junit4] 2> at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) [junit4] 2> at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368) [junit4] 2> at java.base/java.lang.Thread.run(Thread.java:834) [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=OverviewImplTest -Dtests.method=testIsOptimized -Dtests.seed=9123DD19C50D658 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=hu-HU -Dtests.timezone=Pacific/Niue -Dtests.asserts=true -Dtests.file.encoding=UTF-8 [junit4] FAILURE 0.78s | OverviewImplTest.testIsOptimized <<< [junit4] > Throwable #1: java.lang.AssertionError [junit4] > at __randomizedtesting.SeedInfo.seed([9123DD19C50D658:5FD9BF1C4CF4DC8F]:0) [junit4] > at org.apache.lucene.luke.models.overview.OverviewImplTest.testIsOptimized(OverviewImplTest.java:78) [junit4] > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit4] > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit4] > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit4] > at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit4] > at java.base/java.lang.Thread.run(Thread.java:834) [junit4] 2> NOTE: leaving temporary files on disk at: /home/hossman/lucene/alt_dev/lucene/build/luke/test/J0/temp/lucene.luke.models.overview.OverviewImplTest_9123DD19C50D658-001 [junit4] 2> NOTE: test params are: codec=Asserting(Lucene80): {f1=PostingsFormat(name=Asserting), f2=BlockTreeOrds(blocksize=128)}, docValues:{}, maxPointsInLeafNode=167, maxMBSortInHeap=6.242768401518397, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@356d8ce), locale=hu-HU, timezone=Pacific/Niue [junit4] 2> NOTE: Linux 5.0.0-27-generic amd64/AdoptOpenJDK 11.0.4 (64-bit)/cpus=8,threads=1,free=488055648,total=522190848 [junit4] 2> NOTE: All tests run in this JVM: [OverviewImplTest] [junit4] Completed [1/1 (1!)] in 1.25s, 1 test, 1 failure <<< FAILURES! [junit4] [junit4] [junit4] Tests with failures [seed: 9123DD19C50D658]: [junit4] - org.apache.lucene.luke.models.overview.OverviewImplTest.testIsOptimized
This method fails on that seed regardless of wether tests.method is used, or if all methods in that class are run