You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2012/03/04 19:19:40 UTC

[JENKINS-MAVEN] Lucene-Solr-Maven-trunk #413: POMs out of sync

Build: https://builds.apache.org/job/Lucene-Solr-Maven-trunk/413/

1 tests failed.
REGRESSION:  org.apache.solr.cloud.BasicZkTest.testBasic

Error Message:
null

Stack Trace:
org.apache.solr.common.SolrException
	at org.apache.solr.util.TestHarness.update(TestHarness.java:257)
	at org.apache.solr.util.TestHarness.checkUpdateStatus(TestHarness.java:301)
	at org.apache.solr.util.TestHarness.validateUpdate(TestHarness.java:271)
	at org.apache.solr.SolrTestCaseJ4.checkUpdateU(SolrTestCaseJ4.java:421)
	at org.apache.solr.SolrTestCaseJ4.assertU(SolrTestCaseJ4.java:400)
	at org.apache.solr.cloud.BasicZkTest.testBasic(BasicZkTest.java:70)
	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:616)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate(LuceneTestCase.java:713)
	at org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate(LuceneTestCase.java:609)
	at org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(LuceneTestCase.java:509)
	at org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(LuceneTestCase.java:571)
	at org.junit.rules.RunRules.evaluate(RunRules.java:18)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165)
	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
	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:616)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
Caused by: java.lang.RuntimeException: No registered leader was found, collection:collection1 slice:shard2
	at org.apache.solr.common.cloud.ZkStateReader.getLeaderProps(ZkStateReader.java:408)
	at org.apache.solr.common.cloud.ZkStateReader.getLeaderProps(ZkStateReader.java:393)
	at org.apache.solr.update.processor.DistributedUpdateProcessor.setupRequest(DistributedUpdateProcessor.java:159)
	at org.apache.solr.update.processor.DistributedUpdateProcessor.processDelete(DistributedUpdateProcessor.java:474)
	at org.apache.solr.handler.XMLLoader.processDelete(XMLLoader.java:235)
	at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:166)
	at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79)
	at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:59)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1540)
	at org.apache.solr.servlet.DirectSolrConnection.request(DirectSolrConnection.java:131)
	at org.apache.solr.util.TestHarness.update(TestHarness.java:253)
	... 44 more




Build Log (for compile errors):
[...truncated 14519 lines...]



Re: [JENKINS-MAVEN] Lucene-Solr-Maven-trunk #413: POMs out of sync

Posted by Robert Muir <rc...@gmail.com>.
On Sun, Mar 4, 2012 at 1:53 PM, Mark Miller <ma...@gmail.com> wrote:
>
> On Mar 4, 2012, at 1:50 PM, Dawid Weiss wrote:
>
>>> This looks like another issue where a sys prop in a previous test was not cleared - auditing the clearing of props now.
>>
>> I think this should be an invariant -- sysprops before and after
>> should be identical. I'll make it part of the runner? This way we can
>> catch all potential problems of this nature in the future (and I like
>> this idea -- sysprops are tricky, never thought of this before).
>>
>> Dawid
>>
>
> +1 - I think that is a great idea - this can cause nasty weird hard to debug stuff when it slips in. It's also hard to ensure every contributor remembers that in all cases they must be sure to clear any prop they set. It's just super error prone. Test framework assistance would be awesome.
>

+1!


-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: [JENKINS-MAVEN] Lucene-Solr-Maven-trunk #413: POMs out of sync

Posted by Dawid Weiss <da...@cs.put.poznan.pl>.
I'll file an issue and take care of it. Should be a no-brainer.

Dawid

On Sun, Mar 4, 2012 at 7:53 PM, Mark Miller <ma...@gmail.com> wrote:
>
> On Mar 4, 2012, at 1:50 PM, Dawid Weiss wrote:
>
>>> This looks like another issue where a sys prop in a previous test was not cleared - auditing the clearing of props now.
>>
>> I think this should be an invariant -- sysprops before and after
>> should be identical. I'll make it part of the runner? This way we can
>> catch all potential problems of this nature in the future (and I like
>> this idea -- sysprops are tricky, never thought of this before).
>>
>> Dawid
>>
>
> +1 - I think that is a great idea - this can cause nasty weird hard to debug stuff when it slips in. It's also hard to ensure every contributor remembers that in all cases they must be sure to clear any prop they set. It's just super error prone. Test framework assistance would be awesome.
>
> - Mark Miller
> lucidimagination.com
>
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: [JENKINS-MAVEN] Lucene-Solr-Maven-trunk #413: POMs out of sync

Posted by Mark Miller <ma...@gmail.com>.
On Mar 4, 2012, at 1:50 PM, Dawid Weiss wrote:

>> This looks like another issue where a sys prop in a previous test was not cleared - auditing the clearing of props now.
> 
> I think this should be an invariant -- sysprops before and after
> should be identical. I'll make it part of the runner? This way we can
> catch all potential problems of this nature in the future (and I like
> this idea -- sysprops are tricky, never thought of this before).
> 
> Dawid
> 

+1 - I think that is a great idea - this can cause nasty weird hard to debug stuff when it slips in. It's also hard to ensure every contributor remembers that in all cases they must be sure to clear any prop they set. It's just super error prone. Test framework assistance would be awesome.

- Mark Miller
lucidimagination.com












---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: [JENKINS-MAVEN] Lucene-Solr-Maven-trunk #413: POMs out of sync

Posted by Dawid Weiss <da...@cs.put.poznan.pl>.
> This looks like another issue where a sys prop in a previous test was not cleared - auditing the clearing of props now.

I think this should be an invariant -- sysprops before and after
should be identical. I'll make it part of the runner? This way we can
catch all potential problems of this nature in the future (and I like
this idea -- sysprops are tricky, never thought of this before).

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: [JENKINS-MAVEN] Lucene-Solr-Maven-trunk #413: POMs out of sync

Posted by Mark Miller <ma...@gmail.com>.
This looks like another issue where a sys prop in a previous test was not cleared - auditing the clearing of props now.

On Mar 4, 2012, at 1:19 PM, Apache Jenkins Server wrote:

> Build: https://builds.apache.org/job/Lucene-Solr-Maven-trunk/413/
> 
> 1 tests failed.
> REGRESSION:  org.apache.solr.cloud.BasicZkTest.testBasic
> 
> Error Message:
> null
> 
> Stack Trace:
> org.apache.solr.common.SolrException
> 	at org.apache.solr.util.TestHarness.update(TestHarness.java:257)
> 	at org.apache.solr.util.TestHarness.checkUpdateStatus(TestHarness.java:301)
> 	at org.apache.solr.util.TestHarness.validateUpdate(TestHarness.java:271)
> 	at org.apache.solr.SolrTestCaseJ4.checkUpdateU(SolrTestCaseJ4.java:421)
> 	at org.apache.solr.SolrTestCaseJ4.assertU(SolrTestCaseJ4.java:400)
> 	at org.apache.solr.cloud.BasicZkTest.testBasic(BasicZkTest.java:70)
> 	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:616)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
> 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
> 	at org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate(LuceneTestCase.java:713)
> 	at org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate(LuceneTestCase.java:609)
> 	at org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(LuceneTestCase.java:509)
> 	at org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(LuceneTestCase.java:571)
> 	at org.junit.rules.RunRules.evaluate(RunRules.java:18)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
> 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165)
> 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
> 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
> 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
> 	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:616)
> 	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
> 	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
> 	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
> 	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
> Caused by: java.lang.RuntimeException: No registered leader was found, collection:collection1 slice:shard2
> 	at org.apache.solr.common.cloud.ZkStateReader.getLeaderProps(ZkStateReader.java:408)
> 	at org.apache.solr.common.cloud.ZkStateReader.getLeaderProps(ZkStateReader.java:393)
> 	at org.apache.solr.update.processor.DistributedUpdateProcessor.setupRequest(DistributedUpdateProcessor.java:159)
> 	at org.apache.solr.update.processor.DistributedUpdateProcessor.processDelete(DistributedUpdateProcessor.java:474)
> 	at org.apache.solr.handler.XMLLoader.processDelete(XMLLoader.java:235)
> 	at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:166)
> 	at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79)
> 	at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:59)
> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1540)
> 	at org.apache.solr.servlet.DirectSolrConnection.request(DirectSolrConnection.java:131)
> 	at org.apache.solr.util.TestHarness.update(TestHarness.java:253)
> 	... 44 more
> 
> 
> 
> 
> Build Log (for compile errors):
> [...truncated 14519 lines...]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org

- Mark Miller
lucidimagination.com












---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org