Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] Inconsistent artifact error in IT Tests

Hi,

Does anybody know what's wrong when I get the following error, when executing the IT tests? I see this error not only at the given test, but also on others.

Thanks
Martin



-------------------------------------------------------------------------------
Test set: org.eclipse.tycho.test.MNGECLIPSE949jarDirectoryBundles.JarDirectoryBundlesTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.351 sec <<< FAILURE!
test(org.eclipse.tycho.test.MNGECLIPSE949jarDirectoryBundles.JarDirectoryBundlesTest)  Time elapsed: 3.347 sec  <<< ERROR!
org.apache.maven.it.VerificationException: Exit code was non-zero: 1; command line and log = 
U:\git\org.eclipse.tycho\tycho-its\target\apache-maven-3.0\bin\mvn -Dmaven.home=U:\git\org.eclipse.tycho\tycho-its\target/apache-maven-3.0 -Dtycho-version=0.22.0-SNAPSHOT -Dtycho.targetPlatform=D:\eclipse3.7WithDeltaPack -Dtycho.localArtifacts=ignore -X -s U:\git\org.eclipse.tycho\tycho-its\settings.xml -e --batch-mode -Dmaven.repo.local=C:\Users\schreibm\.m2\repository org.apache.maven.plugins:maven-clean-plugin:clean package
Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200)
Java version: 1.7.0_45
Java home: C:\Program Files\Java\jdk1.7.0_45\jre
Default locale: de_AT, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading user settings from U:\git\org.eclipse.tycho\tycho-its\settings.xml
[DEBUG] Reading global settings from U:\git\org.eclipse.tycho\tycho-its\target\apache-maven-3.0\conf\settings.xml
[DEBUG] Using local repository at C:\Users\schreibm\.m2\repository
[INFO] Scanning for projects...
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:jar:0.22.0-SNAPSHOT:
[DEBUG]    org.eclipse.tycho:tycho-core:jar:0.22.0-SNAPSHOT:compile
[DEBUG]       org.apache.maven:maven-core:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]          org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]             org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]                org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]          org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG]          org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]          org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]             org.sonatype.plexus:plexus-cipher:jar:1.7:compile (version managed from 1.4)
[DEBUG]       org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:3.0.7:compile
[DEBUG]       org.codehaus.plexus:plexus-archiver:jar:2.2:compile
[DEBUG]          org.codehaus.plexus:plexus-io:jar:2.0.5:compile (version managed from 2.0.4)
[DEBUG]       org.eclipse.tycho:org.eclipse.osgi.compatibility.state:jar:1.0.0.v20140403-1907:compile
[DEBUG]       org.eclipse.tycho:sisu-equinox-embedder:jar:0.22.0-SNAPSHOT:compile
[DEBUG]          org.eclipse.tycho:org.eclipse.osgi:jar:3.10.0.v20140606-1445:compile
[DEBUG]          org.eclipse.tycho:sisu-equinox-api:jar:0.22.0-SNAPSHOT:compile
[DEBUG]       org.eclipse.tycho:tycho-metadata-model:jar:0.22.0-SNAPSHOT:compile
[DEBUG]          de.pdark:decentxml:jar:1.3:compile
[DEBUG]       org.eclipse.tycho:tycho-embedder-api:jar:0.22.0-SNAPSHOT:compile
[DEBUG]          org.eclipse.tycho:org.eclipse.tycho.embedder.shared:jar:0.22.0-SNAPSHOT:compile
[DEBUG]       org.eclipse.tycho:org.eclipse.tycho.core.shared:jar:0.22.0-SNAPSHOT:compile
[DEBUG]    org.eclipse.tycho:tycho-p2-facade:jar:0.22.0-SNAPSHOT:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG]       org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared:jar:0.22.0-SNAPSHOT:compile
[DEBUG]       org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared:jar:0.22.0-SNAPSHOT:compile
[DEBUG] Created new class realm extension>org.eclipse.tycho:tycho-maven-plugin:0.22.0-SNAPSHOT
[DEBUG] Created new class realm maven.api
[DEBUG] Populating class realm extension>org.eclipse.tycho:tycho-maven-plugin:0.22.0-SNAPSHOT
[DEBUG]   Included: org.eclipse.tycho:tycho-maven-plugin:jar:0.22.0-SNAPSHOT
[DEBUG]   Included: org.eclipse.tycho:tycho-core:jar:0.22.0-SNAPSHOT
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.7
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:2.2
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:2.0.5
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.osgi.compatibility.state:jar:1.0.0.v20140403-1907
[DEBUG]   Included: org.eclipse.tycho:sisu-equinox-embedder:jar:0.22.0-SNAPSHOT
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.osgi:jar:3.10.0.v20140606-1445
[DEBUG]   Included: org.eclipse.tycho:sisu-equinox-api:jar:0.22.0-SNAPSHOT
[DEBUG]   Included: org.eclipse.tycho:tycho-metadata-model:jar:0.22.0-SNAPSHOT
[DEBUG]   Included: de.pdark:decentxml:jar:1.3
[DEBUG]   Included: org.eclipse.tycho:tycho-embedder-api:jar:0.22.0-SNAPSHOT
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.tycho.embedder.shared:jar:0.22.0-SNAPSHOT
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.tycho.core.shared:jar:0.22.0-SNAPSHOT
[DEBUG]   Included: org.eclipse.tycho:tycho-p2-facade:jar:0.22.0-SNAPSHOT
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared:jar:0.22.0-SNAPSHOT
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared:jar:0.22.0-SNAPSHOT
[DEBUG] Extension realms for project org.eclipse.tycho.tycho-its.MNGECLIPSE949:parent:pom:0.0.1-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:0.22.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[DEBUG] Created new class realm project>org.eclipse.tycho.tycho-its.MNGECLIPSE949:parent:0.0.1-SNAPSHOT
[DEBUG] Populating class realm project>org.eclipse.tycho.tycho-its.MNGECLIPSE949:parent:0.0.1-SNAPSHOT
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>org.eclipse.tycho.tycho-its.MNGECLIPSE949:parent:0.0.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project org.eclipse.tycho.tycho-its.MNGECLIPSE949:feature:eclipse-feature:1.0.0: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:0.22.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[DEBUG] Looking up lifecyle mappings for packaging eclipse-feature from ClassRealm[project>org.eclipse.tycho.tycho-its.MNGECLIPSE949:parent:0.0.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project org.eclipse.tycho.tycho-its.MNGECLIPSE949:site:eclipse-update-site:0.0.1-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:0.22.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[DEBUG] Looking up lifecyle mappings for packaging eclipse-update-site from ClassRealm[project>org.eclipse.tycho.tycho-its.MNGECLIPSE949:parent:0.0.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project org.eclipse.tycho.tycho-its.MNGECLIPSE949:product:eclipse-application:1.0.0: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:0.22.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[DEBUG] Looking up lifecyle mappings for packaging eclipse-application from ClassRealm[project>org.eclipse.tycho.tycho-its.MNGECLIPSE949:parent:0.0.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:0.22.0-SNAPSHOT configured in MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:feature:1.0.0 @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\feature\pom.xml
[DEBUG] org.eclipse.tycho:tycho-packaging-plugin:0.22.0-SNAPSHOT configured in MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:feature:1.0.0 @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\feature\pom.xml
[DEBUG] org.eclipse.tycho:tycho-p2-plugin:0.22.0-SNAPSHOT configured in MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:feature:1.0.0 @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\feature\pom.xml
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:0.22.0-SNAPSHOT configured in MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:site:0.0.1-SNAPSHOT @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\site\pom.xml
[DEBUG] org.eclipse.tycho:tycho-packaging-plugin:0.22.0-SNAPSHOT configured in MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:site:0.0.1-SNAPSHOT @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\site\pom.xml
[DEBUG] org.eclipse.tycho:tycho-p2-plugin:0.22.0-SNAPSHOT configured in MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:site:0.0.1-SNAPSHOT @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\site\pom.xml
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:0.22.0-SNAPSHOT configured in MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:product:1.0.0 @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\product\pom.xml
[DEBUG] org.eclipse.tycho:tycho-packaging-plugin:0.22.0-SNAPSHOT configured in MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:product:1.0.0 @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\product\pom.xml
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:0.22.0-SNAPSHOT configured in MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:parent:0.0.1-SNAPSHOT @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\pom.xml
[DEBUG] org.eclipse.tycho:tycho-packaging-plugin:0.22.0-SNAPSHOT configured in MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:parent:0.0.1-SNAPSHOT @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\pom.xml
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.
[INFO] Computing target platform for MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:feature:1.0.0 @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\feature\pom.xml
[INFO] Resolving dependencies of MavenProject: org.eclipse.tycho.tycho-its.MNGECLIPSE949:feature:1.0.0 @ U:\git\org.eclipse.tycho\tycho-its\target\projects\JarDirectoryBundlesTest\test\MNGECLIPSE949jarDirectoryBundles\feature\pom.xml
[ERROR] Internal error: java.lang.IllegalStateException: Inconsistent artifact with key eclipse-plugin:org.eclipse.equinox.security.win32.x86.source:1.0.200.v20100503 -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Inconsistent artifact with key eclipse-plugin:org.eclipse.equinox.security.win32.x86.source:1.0.200.v20100503
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:163)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
	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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.IllegalStateException: Inconsistent artifact with key eclipse-plugin:org.eclipse.equinox.security.win32.x86.source:1.0.200.v20100503
	at org.eclipse.tycho.core.osgitools.targetplatform.ArtifactCollection.addArtifact(ArtifactCollection.java:85)
	at org.eclipse.tycho.core.osgitools.targetplatform.ArtifactCollection.addArtifact(ArtifactCollection.java:64)
	at org.eclipse.tycho.core.osgitools.targetplatform.ArtifactCollection.addArtifactFile(ArtifactCollection.java:60)
	at org.eclipse.tycho.core.osgitools.targetplatform.LocalDependencyResolver.resolveDependencies(LocalDependencyResolver.java:121)
	at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:107)
	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:268)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
	... 11 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException

	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1397)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1240)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1234)
	at org.eclipse.tycho.test.MNGECLIPSE949jarDirectoryBundles.JarDirectoryBundlesTest.test(JarDirectoryBundlesTest.java:29)
	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 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	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:606)
	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)


Back to the top