I fixed it by creating RAM directories explicitly rather than random directories that could be fs directories.
Le ven. 19 mai 2017 à 02:16, Apache Jenkins Server < [email protected]> a écrit : > Build: https://builds.apache.org/job/Lucene-Tests-MMAP-master/341/ > > 1 tests failed. > FAILED: > org.apache.lucene.misc.SweetSpotSimilarityTest.testSweetSpotComputeNorm > > Error Message: > Failed to get a temporary name too many times, check your temp directory > and consider manually cleaning it: > /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/build/misc/test/J0/temp/lucene.misc.SweetSpotSimilarityTest_BFC4EA2F0AF85F8B-001 > > Stack Trace: > java.lang.RuntimeException: Failed to get a temporary name too many times, > check your temp directory and consider manually cleaning it: > /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/build/misc/test/J0/temp/lucene.misc.SweetSpotSimilarityTest_BFC4EA2F0AF85F8B-001 > at > __randomizedtesting.SeedInfo.seed([BFC4EA2F0AF85F8B:AB52C8531F79D586]:0) > at > org.apache.lucene.util.TestRuleTemporaryFilesCleanup.createTempDir(TestRuleTemporaryFilesCleanup.java:281) > at > org.apache.lucene.util.LuceneTestCase.createTempDir(LuceneTestCase.java:2755) > at > org.apache.lucene.util.LuceneTestCase.newDirectoryImpl(LuceneTestCase.java:1629) > at > org.apache.lucene.util.LuceneTestCase.newDirectoryImpl(LuceneTestCase.java:1613) > at > org.apache.lucene.util.LuceneTestCase.newDirectory(LuceneTestCase.java:1326) > at > org.apache.lucene.util.LuceneTestCase.newDirectory(LuceneTestCase.java:1308) > at > org.apache.lucene.misc.SweetSpotSimilarityTest.computeNorm(SweetSpotSimilarityTest.java:45) > at > org.apache.lucene.misc.SweetSpotSimilarityTest.testSweetSpotComputeNorm(SweetSpotSimilarityTest.java:192) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1713) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:907) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:943) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:957) > at > org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) > at > org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48) > at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64) > at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:916) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:802) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:852) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41) > 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 > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53) > at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47) > at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64) > at > org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368) > at java.lang.Thread.run(Thread.java:745) > > > > > Build Log: > [...truncated 7866 lines...] > [junit4] Suite: org.apache.lucene.misc.SweetSpotSimilarityTest > [junit4] 2> NOTE: reproduce with: ant test > -Dtestcase=SweetSpotSimilarityTest -Dtests.method=testSweetSpotComputeNorm > -Dtests.seed=BFC4EA2F0AF85F8B -Dtests.multiplier=2 -Dtests.slow=true > -Dtests.directory=MMapDirectory -Dtests.locale=es-GT > -Dtests.timezone=Etc/GMT+7 -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1 > [junit4] ERROR 3797s J0 | > SweetSpotSimilarityTest.testSweetSpotComputeNorm <<< > [junit4] > Throwable #1: java.lang.RuntimeException: Failed to get a > temporary name too many times, check your temp directory and consider > manually cleaning it: > /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/build/misc/test/J0/temp/lucene.misc.SweetSpotSimilarityTest_BFC4EA2F0AF85F8B-001 > [junit4] > at > __randomizedtesting.SeedInfo.seed([BFC4EA2F0AF85F8B:AB52C8531F79D586]:0) > [junit4] > at > org.apache.lucene.util.LuceneTestCase.createTempDir(LuceneTestCase.java:2755) > [junit4] > at > org.apache.lucene.util.LuceneTestCase.newDirectoryImpl(LuceneTestCase.java:1629) > [junit4] > at > org.apache.lucene.util.LuceneTestCase.newDirectoryImpl(LuceneTestCase.java:1613) > [junit4] > at > org.apache.lucene.util.LuceneTestCase.newDirectory(LuceneTestCase.java:1326) > [junit4] > at > org.apache.lucene.util.LuceneTestCase.newDirectory(LuceneTestCase.java:1308) > [junit4] > at > org.apache.lucene.misc.SweetSpotSimilarityTest.computeNorm(SweetSpotSimilarityTest.java:45) > [junit4] > at > org.apache.lucene.misc.SweetSpotSimilarityTest.testSweetSpotComputeNorm(SweetSpotSimilarityTest.java:192) > [junit4] > at java.lang.Thread.run(Thread.java:745) > [junit4] 2> NOTE: leaving temporary files on disk at: > /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/build/misc/test/J0/temp/lucene.misc.SweetSpotSimilarityTest_BFC4EA2F0AF85F8B-001 > [junit4] 2> NOTE: test params are: codec=Asserting(Lucene70), > sim=RandomSimilarity(queryNorm=true): {}, locale=es-GT, timezone=Etc/GMT+7 > [junit4] 2> NOTE: Linux 3.13.0-88-generic amd64/Oracle Corporation > 1.8.0_121 (64-bit)/cpus=4,threads=1,free=90353160,total=215482368 > [junit4] 2> NOTE: All tests run in this JVM: [SweetSpotSimilarityTest] > [junit4] Completed [11/13 (1!)] on J0 in 3798.04s, 3 tests, 1 error <<< > FAILURES! > > [...truncated 17 lines...] > BUILD FAILED > /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/build.xml:482: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/common-build.xml:2179: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/module-build.xml:58: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/common-build.xml:1455: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/common-build.xml:985: > There were test failures: 13 suites, 128 tests, 1 error, 3 ignored (3 > assumptions) [seed: BFC4EA2F0AF85F8B] > > Total time: 92 minutes 20 seconds > Build step 'Invoke Ant' marked build as failure > Archiving artifacts > Recording test results > Email was triggered for: Failure - Any > Sending email for trigger: Failure - Any > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
