[jbosstools-issues] [JBoss JIRA] (JBIDE-10529) com.vladium.emma.EMMARuntimeException: [CLASS_STAMP_MISMATCH] runtime version of class [org.jboss.tools.common.util.****] in the coverage data is not consistent with the version of this class in the metadata, possibly because stale metadata

Mickael Istria (JIRA) jira-events at lists.jboss.org
Mon Apr 23 11:12:18 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-10529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12686686#comment-12686686 ] 

Mickael Istria commented on JBIDE-10529:
----------------------------------------

Most jobs have the "build" maven run using private repo (as specified in MAVEN_ARGS) *and* have the "Use private repo" option checked, whereas test execution does not have the "use private repo" option checked.
So are we sure they use the same repo?

We should probably get rid of the argument in MAVEN_ARGS and check the "private repository" option on all Maven executions.
                
> com.vladium.emma.EMMARuntimeException: [CLASS_STAMP_MISMATCH] runtime version  of class [org.jboss.tools.common.util.****] in the coverage data is  not consistent with the version of this class in the metadata, possibly because  stale metadata 
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-10529
>                 URL: https://issues.jboss.org/browse/JBIDE-10529
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Nick Boldt
>            Assignee: Mickael Istria
>             Fix For: 3.3.0.Beta3
>
>         Attachments: intermittent-coverage-problems.png
>
>
> After switching to newer target platform (JBIDE-10289), one test is failing:
> https://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_Trunk/job/jbosstools-3.3_trunk.component--common/606/console
> https://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_Trunk/job/jbosstools-3.3_trunk.component--common/ws/sources/tests/org.jboss.tools.common.verification.test/target/work/data/.metadata/.log/*view*/
> {code}
> [INFO] org.jboss.tools.common.verification.test .......... FAILURE [18.364s]
> !ENTRY org.eclipse.osgi 2 0 2011-12-18 15:43:22.037
> !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2011-12-18 15:43:22.037
> !MESSAGE Bundle initial at reference:file:../../../../../m2-repository/org/eclipse/tycho/org.eclipse.tycho.surefire.junit4/0.13.0/org.eclipse.tycho.surefire.junit4-0.13.0.jar/ was not resolved.
> !SUBENTRY 2 org.eclipse.tycho.surefire.junit4 2 0 2011-12-18 15:43:22.037
> !MESSAGE Missing imported package org.junit.runner.notification_4.0.0.
> !SUBENTRY 2 org.eclipse.tycho.surefire.junit4 2 0 2011-12-18 15:43:22.037
> !MESSAGE Missing imported package org.junit.runner_4.0.0.
> {code}
> Guessing the problem is that the test depends on junit4 but the manifest states only junit (not junit4).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list