Hi Shai,

 

thats what I said. Jenkins does *not* run ant precommit, that’s a different 
task. We would not need additional tasks, it is just that “ant jenkins” should 
use <antcall/> and pass some ant properties that disable the failure. This is 
similar to “ant clover” where antcall is used to change the  number of JVMs 
while running tests and some memory settings to be able to run Clover testing.

 

Uwe

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

 <http://www.thetaphi.de/> http://www.thetaphi.de

eMail: [email protected]

 

From: Shai Erera [mailto:[email protected]] 
Sent: Friday, February 08, 2013 6:09 AM
To: [email protected]
Subject: Re: documentation-lint and IBM J9

 

Uwe, I think that having another ant task e.g. precommit-lenient/forgiving that 
Jenkins would use is a good idea too.
As long as for developers, precommit fails if it didn't run all tests.

Shai

 

On Fri, Feb 8, 2013 at 1:14 AM, Michael McCandless <[email protected]> 
wrote:

On Thu, Feb 7, 2013 at 5:20 PM, Uwe Schindler <[email protected]> wrote:
> Can we make it fail only for "precommit" but pass on "Jenkins". I don't want 
> extra -D overrides for Jenkins, the task "Jenkins" should trigger this 
> automatically. Its horrible to configure otherwise, especially when you have 
> lots of jobs.
>
> Just one question to Mike and Robert: May I re-enable IBM J9 1.6 and 1.7 on 
> Policeman Jenkins? If yes, which minimum version (SR number for 1.6 and SR 
> number for 1.7) pass the build?

A top-level "ant test" passed once for me on Linux with the latest 6.0
J9 (SR12), but with the latest 7.0 SR3 this Solr failure repros:

    ant test  -Dtestcase=TestJmxIntegration
-Dtests.method=testJmxUpdate -Dtests.seed=DC0CB18E606BDE6D
-Dtests.slow=true -Dtests.locale=ja_JP
-Dtests.timezone=Australia/Darwin -Dtests.file.encoding=UTF-8

[junit4:junit4]    > Throwable #1: java.lang.AssertionError: No mbean
found for SolrIndexSearcher
[junit4:junit4]    >    at
__randomizedtesting.SeedInfo.seed([DC0CB18E606BDE6D:CA6B83E4F0BD75C6]:0)
[junit4:junit4]    >    at org.junit.Assert.fail(Assert.java:93)
[junit4:junit4]    >    at org.junit.Assert.assertTrue(Assert.java:43)
[junit4:junit4]    >    at org.junit.Assert.assertFalse(Assert.java:68)
[junit4:junit4]    >    at
org.apache.solr.core.TestJmxIntegration.testJmxUpdate(TestJmxIntegration.java:99)
[junit4:junit4]    >    at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit4:junit4]    >    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[junit4:junit4]    >    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[junit4:junit4]    >    at java.lang.reflect.Method.invoke(Method.java:613)

...

Mike McCandless

http://blog.mikemccandless.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

 

Reply via email to