You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2013/08/28 21:10:52 UTC

[jira] [Commented] (LUCENE-5190) Consistent failure of TestCheckIndex.testLuceneConstantVersion in jenkins trunk clover build

    [ https://issues.apache.org/jira/browse/LUCENE-5190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752741#comment-13752741 ] 

Steve Rowe commented on LUCENE-5190:
------------------------------------

[~thetaphiā€¨], the assert following the one you changed in that test will also fail, won't it?

{code:java}
assertTrue(Constants.LUCENE_VERSION + " should start with: "+version,
               Constants.LUCENE_VERSION.startsWith(version));
{code}

{{Constants.LUCENE_VERSION}} in trunk will be "5.0-SNAPSHOT", and under clover {{version}} will be like "5.0-2013-08-11_15-22-48".  Maybe strip trailing stuff after "-" from {{version}} before making this comparison?
                
> Consistent failure of TestCheckIndex.testLuceneConstantVersion in jenkins trunk clover build
> --------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5190
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5190
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Assignee: Uwe Schindler
>         Attachments: LUCENE-5190.patch
>
>
> I'm out of the loop on how clover is run, and how the build system sets up th version params, but looking at the coverage reports i noticed that the trunk clover build seems to have been failing consistently for a while -- some sporadic test failures, but one consistent failure smells like it has to do with a build configuration problem...
> {noformat}
> java.lang.AssertionError: Invalid version: 5.0-2013-08-11_15-22-48
> 	at __randomizedtesting.SeedInfo.seed([648EC34D8642C547:A7103483A05D2588]:0)
> 	at org.junit.Assert.fail(Assert.java:93)
> 	at org.junit.Assert.assertTrue(Assert.java:43)
> 	at org.apache.lucene.index.TestCheckIndex.__CLR3_1_10l79zdz2ior(TestCheckIndex.java:132)
> 	at org.apache.lucene.index.TestCheckIndex.testLuceneConstantVersion(TestCheckIndex.java:118)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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