Just fyi: the difference in clustering result is caused by a fix to this bug:
http://issues.carrot2.org/browse/CARROT-1008 So the test had to be updated, the new result it correct. D. On Tue, Mar 25, 2014 at 4:59 PM, Chris Hostetter <[email protected]> wrote: > > Looks like a problem with SOLR-5909, upgrading carrot... > > https://issues.apache.org/jira/browse/SOLR-5909?focusedCommentId=13946711&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13946711 > > > : Date: Tue, 25 Mar 2014 15:34:56 +0000 (UTC) > : From: Policeman Jenkins Server <[email protected]> > : Reply-To: [email protected] > : To: [email protected], [email protected], [email protected] > : Subject: [JENKINS] Lucene-Solr-4.x-Linux (64bit/jdk1.7.0_60-ea-b10) - Build > # > : 9796 - Failure! > : > : Build: http://jenkins.thetaphi.de/job/Lucene-Solr-4.x-Linux/9796/ > : Java: 64bit/jdk1.7.0_60-ea-b10 -XX:+UseCompressedOops -XX:+UseParallelGC > : > : 1 tests failed. > : REGRESSION: > org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngineTest.testCarrotStc > : > : Error Message: > : number of clusters: [{labels=[Data Mining],score=45.67992401123047,docs=[0, > 1, 2, 3, 4, 5, 7, 8, 9, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, > 27, 28, 29]}, {labels=[Other Topics],score=0.0,other-topics=true,docs=[6, 10, > 11, 22, 26, 30, 31, 32, 33, 34]}] expected:<3> but was:<2> > : > : Stack Trace: > : java.lang.AssertionError: number of clusters: [{labels=[Data > Mining],score=45.67992401123047,docs=[0, 1, 2, 3, 4, 5, 7, 8, 9, 12, 13, 14, > 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 27, 28, 29]}, {labels=[Other > Topics],score=0.0,other-topics=true,docs=[6, 10, 11, 22, 26, 30, 31, 32, 33, > 34]}] expected:<3> but was:<2> > : at > __randomizedtesting.SeedInfo.seed([D3392E53EF2F365C:D5C0A413F5D2F44F]:0) > : at org.junit.Assert.fail(Assert.java:93) > : at org.junit.Assert.failNotEquals(Assert.java:647) > : at org.junit.Assert.assertEquals(Assert.java:128) > : at org.junit.Assert.assertEquals(Assert.java:472) > : at > org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngineTest.checkEngine(CarrotClusteringEngineTest.java:481) > : at > org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngineTest.checkEngine(CarrotClusteringEngineTest.java:449) > : at > org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngineTest.testCarrotStc(CarrotClusteringEngineTest.java:123) > : at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > : at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > : at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > : at java.lang.reflect.Method.invoke(Method.java:606) > : at > com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1617) > : at > com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:826) > : at > com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:862) > : at > com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:876) > : at > com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) > : at > org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) > : at > org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51) > : at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) > : at > com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) > : at > org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) > : at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) > : at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) > : at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > : at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:359) > : at > com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:783) > : at > com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:443) > : at > com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:835) > : at > com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:737) > : at > com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:771) > : at > com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:782) > : at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > : at > com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) > : at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) > : at > org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) > : at > com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) > : at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) > : at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) > : at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > : at > org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43) > : at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) > : at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) > : at > org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) > : at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > : at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:359) > : at java.lang.Thread.run(Thread.java:744) > : > : > : > : > : Build Log: > : [...truncated 12821 lines...] > : [junit4] Suite: > org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngineTest > : [junit4] 2> Creating dataDir: > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/solr/build/contrib/solr-clustering/test/J1/./solrtest-CarrotClusteringEngineTest-1395761688376 > : [junit4] 2> NOTE: reproduce with: ant test > -Dtestcase=CarrotClusteringEngineTest -Dtests.method=testCarrotStc > -Dtests.seed=D3392E53EF2F365C -Dtests.multiplier=3 -Dtests.slow=true > -Dtests.locale=pt -Dtests.timezone=Asia/Istanbul > -Dtests.file.encoding=US-ASCII > : [junit4] FAILURE 0.28s J1 | CarrotClusteringEngineTest.testCarrotStc <<< > : [junit4] > Throwable #1: java.lang.AssertionError: number of > clusters: [{labels=[Data Mining],score=45.67992401123047,docs=[0, 1, 2, 3, 4, > 5, 7, 8, 9, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 27, 28, 29]}, > {labels=[Other Topics],score=0.0,other-topics=true,docs=[6, 10, 11, 22, 26, > 30, 31, 32, 33, 34]}] expected:<3> but was:<2> > : [junit4] > at > __randomizedtesting.SeedInfo.seed([D3392E53EF2F365C:D5C0A413F5D2F44F]:0) > : [junit4] > at > org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngineTest.checkEngine(CarrotClusteringEngineTest.java:481) > : [junit4] > at > org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngineTest.checkEngine(CarrotClusteringEngineTest.java:449) > : [junit4] > at > org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngineTest.testCarrotStc(CarrotClusteringEngineTest.java:123) > : [junit4] > at java.lang.Thread.run(Thread.java:744) > : [junit4] 2> NOTE: test params are: codec=Lucene46: > {snippet=PostingsFormat(name=FSTOrdPulsing41), > text=PostingsFormat(name=FSTOrdPulsing41), > id=PostingsFormat(name=FSTPulsing41), url=PostingsFormat(name=FSTPulsing41), > title=Pulsing41(freqCutoff=20 minBlockSize=81 maxBlockSize=251), > intfield_i=PostingsFormat(name=FSTOrdPulsing41), > heading=PostingsFormat(name=Asserting), lang=PostingsFormat(name=Asserting), > floatfield_f=PostingsFormat(name=FSTOrdPulsing41), > body=PostingsFormat(name=Asserting)}, docValues:{}, sim=DefaultSimilarity, > locale=pt, timezone=Asia/Istanbul > : [junit4] 2> NOTE: Linux 3.8.0-37-generic amd64/Oracle Corporation > 1.7.0_60-ea (64-bit)/cpus=8,threads=1,free=81343880,total=258998272 > : [junit4] 2> NOTE: All tests run in this JVM: [ClusteringComponentTest, > CarrotClusteringEngineTest] > : [junit4] Completed on J1 in 3.00s, 28 tests, 1 failure <<< FAILURES! > : > : [...truncated 13 lines...] > : BUILD FAILED > : /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/build.xml:467: The > following error occurred while executing this line: > : /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/build.xml:447: The > following error occurred while executing this line: > : /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/build.xml:45: The > following error occurred while executing this line: > : /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/extra-targets.xml:37: The > following error occurred while executing this line: > : /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/solr/build.xml:209: The > following error occurred while executing this line: > : /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/solr/common-build.xml:440: > The following error occurred while executing this line: > : /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/solr/common-build.xml:490: > The following error occurred while executing this line: > : > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/lucene/common-build.xml:1276: > The following error occurred while executing this line: > : > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/lucene/common-build.xml:908: > There were test failures: 3 suites, 30 tests, 1 failure > : > : Total time: 54 minutes 27 seconds > : Build step 'Invoke Ant' marked build as failure > : Description set: Java: 64bit/jdk1.7.0_60-ea-b10 -XX:+UseCompressedOops > -XX:+UseParallelGC > : Archiving artifacts > : Recording test results > : Email was triggered for: Failure > : Sending email for trigger: Failure > : > : > : > > -Hoss > http://www.lucidworks.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
