Hi, I have the feeling that this test is buggy. LUCENE_MAIN_VERSION must be in format "x.y" (2 digits!), but its somehow compares with the lucene version as passed in by sysproperty. I think this test should more or less only test that the MAIN_VERSION has 2 digits and starts with the correct prefix.
I hate this test, it is always not understandable what happens, have to debug again. I wonder how this has passed in 4.6.1 Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Policeman Jenkins Server [mailto:[email protected]] > Sent: Tuesday, March 18, 2014 7:49 AM > To: [email protected] > Subject: [JENKINS] Lucene-Solr-4.7-Linux (32bit/jdk1.8.0-fcs-b132) - Build # 1 > - Failure! > > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-4.7-Linux/1/ > Java: 32bit/jdk1.8.0-fcs-b132 -client -XX:+UseParallelGC > > 1 tests failed. > FAILED: > org.apache.lucene.index.TestCheckIndex.testLuceneConstantVersion > > Error Message: > Invalid version: 4.7.1 > > Stack Trace: > java.lang.AssertionError: Invalid version: 4.7.1 > at > __randomizedtesting.SeedInfo.seed([2652EE996AC62127:E5CC19574CD9C1E > 8]:0) > at org.junit.Assert.fail(Assert.java:93) > at org.junit.Assert.assertTrue(Assert.java:43) > at > org.apache.lucene.index.TestCheckIndex.testLuceneConstantVersion(TestC > heckIndex.java:134) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(Randomize > dRunner.java:1559) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(Rando > mizedRunner.java:79) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(Rando > mizedRunner.java:737) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(Rando > mizedRunner.java:773) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(Rando > mizedRunner.java:787) > at > org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRule > SetupTeardownChained.java:50) > at > org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCa > cheSanity.java:51) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeA > fterRule.java:46) > at > com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1 > .evaluate(SystemPropertiesInvariantRule.java:55) > at > org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleTh > readAndTestName.java:49) > at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRule > IgnoreAfterMaxFailures.java:70) > at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure > .java:48) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(Stat > ementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner. > run(ThreadLeakControl.java:358) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask > (ThreadLeakControl.java:782) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadL > eakControl.java:442) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(Ran > domizedRunner.java:746) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(Rando > mizedRunner.java:648) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(Rando > mizedRunner.java:682) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(Rando > mizedRunner.java:693) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeA > fterRule.java:46) > at > org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreCl > assName.java:42) > at > com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1 > .evaluate(SystemPropertiesInvariantRule.java:55) > at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMet > hodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) > at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMet > hodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(Stat > ementAdapter.java:36) > at > org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAss > ertionsRequired.java:43) > at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure > .java:48) > at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRule > IgnoreAfterMaxFailures.java:70) > at > org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnore > TestSuites.java:55) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(Stat > ementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner. > run(ThreadLeakControl.java:358) > at java.lang.Thread.run(Thread.java:744) > > > > > Build Log: > [...truncated 10211 lines...] > [junit4] Suite: org.apache.lucene.index.TestCheckIndex > [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestCheckIndex - > Dtests.method=testLuceneConstantVersion - > Dtests.seed=2652EE996AC62127 -Dtests.multiplier=3 -Dtests.slow=true - > Dtests.locale=es_GT -Dtests.timezone=Asia/Baghdad - > Dtests.file.encoding=UTF-8 > [junit4] FAILURE 0.01s J1 | TestCheckIndex.testLuceneConstantVersion <<< > [junit4] > Throwable #1: java.lang.AssertionError: Invalid version: > 4.7.1 > [junit4] > at > __randomizedtesting.SeedInfo.seed([2652EE996AC62127:E5CC19574CD9C1E > 8]:0) > [junit4] > at > org.apache.lucene.index.TestCheckIndex.testLuceneConstantVersion(TestC > heckIndex.java:134) > [junit4] > at java.lang.Thread.run(Thread.java:744) > [junit4] 2> NOTE: test params are: codec=Lucene42, sim=DefaultSimilarity, > locale=es_GT, timezone=Asia/Baghdad > [junit4] 2> NOTE: Linux 3.8.0-36-generic i386/Oracle Corporation 1.8.0 > (32- > bit)/cpus=8,threads=1,free=57612712,total=347602944 > [junit4] 2> NOTE: All tests run in this JVM: [TestTerm, TestOmitNorms, > TestPerFieldPostingsFormat2, TestDocValuesFormat, > TestConsistentFieldNumbers, TestSortDocValues, TestNumericTokenStream, > TestTermVectorsFormat, TestMixedCodecs, TestNot, > TestFileSwitchDirectory, TestSimilarityBase, TestEliasFanoDocIdSet, > NestedSetupChain, NestedTeardownChain, TestSpans, > TestIndexWriterWithThreads, TestMultiDocValues, Nested, > TestTermRangeFilter, TestToken, TestFSTs, TestLiveFieldValues, > TestPerFieldDocValuesFormat, TestCachingTokenFilter, > TestMockDirectoryWrapper, TestBinaryTerms, TestWorstCaseTestBehavior, > TestDoc, TestLazyProxSkipping, TestSpanExplanations, > TestCachingWrapperFilter, TestDocsAndPositions, > TestBackwardsCompatibility3x, TestCopyBytes, TestAddIndexes, > TestBagOfPostings, TestLevenshteinAutomata, TestCharsRef, > TestGraphTokenizers, TestIndexWriterUnicode, TestWeakIdentityMap, > TestMinimize, TestImpersonation, TestElevationComparator, > TestIndexWriterDelete, TestCodecHoldsOpenFiles, TestFlex, > TestPayloadSpans, TestLucene3xTermVectorsFormat, TestBooleanOr, > Test4GBStoredFields, TestTermScorer, TestSameTokenSamePosition, > TestIndexWriterOutOfFileDescriptors, TestBlockPostingsFormat, > TestBitVector, TestHugeRamFile, TestTermVectorsReader, > TestFilterDirectory, TestNGramPhraseQuery, TestRecyclingIntBlockAllocator, > TestIntBlockPool, TestBooleanQuery, TestIndexWriterMergePolicy, > TestMultiTermConstantScore, TestBooleanScorer, TestTermVectors, > TestFuzzyQuery, TestCollectionUtil, TestDirectory, > TestMultiThreadTermVectors, TestByteBlockPool, TestIdentityHashSet, > TestVersionComparator, TestPackedInts, TestFieldValueFilter, > TestIndexWriterExceptions, TestBroadWord, TestSizeBoundedForceMerge, > TestDateFilter, TestBoolean2, TestTransactions, TestOpenBitSet, > TestCheckIndex] > [junit4] Completed on J1 in 0.11s, 3 tests, 1 failure <<< FAILURES! > > [...truncated 667 lines...] > BUILD FAILED > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.7-Linux/build.xml:459: The > following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.7-Linux/build.xml:439: The > following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.7-Linux/build.xml:39: The > following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.7-Linux/extra-targets.xml:37: > The following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.7-Linux/lucene/build.xml:49: > The following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.7-Linux/lucene/common- > build.xml:1278: The following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.7-Linux/lucene/common- > build.xml:911: There were test failures: 383 suites, 2786 tests, 1 failure, 76 > ignored (63 assumptions) > > Total time: 21 minutes 2 seconds > Build step 'Invoke Ant' marked build as failure Description set: Java: > 32bit/jdk1.8.0-fcs-b132 -client -XX:+UseParallelGC Archiving artifacts > Recording test results Email was triggered for: Failure Sending email for > trigger: Failure > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
