[jbosstools-issues] [JBoss JIRA] (JBIDE-23621) RedDeer build not working - cannot load its own repo

Martin Malina (JIRA) issues at jboss.org
Thu Dec 1 10:07:00 EST 2016


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

Martin Malina commented on JBIDE-23621:
---------------------------------------

I don't quite understand how volume migration could cause wrong path being used in the composite xml, but ok.

Anyway, our problem seems to be solved for now, so I'm fine to close this JIRA.

> RedDeer build not working - cannot load its own repo
> ----------------------------------------------------
>
>                 Key: JBIDE-23621
>                 URL: https://issues.jboss.org/browse/JBIDE-23621
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build, integration-tests
>    Affects Versions: 4.4.3.AM1
>            Reporter: Martin Malina
>            Assignee: Nick Boldt
>             Fix For: 4.4.3.AM1
>
>
> The main problem is that the repo is broken:
> http://download.jboss.org/jbosstools/neon/snapshots/builds/reddeer_master/
> compositeArtifacts.xml contains:
> child location="2016-11-30_16-31-45-B851/"
> But that directory does not contain the repo directly - for it to work, it would need to point to 2016-11-30_16-31-45-B851/all/repo/.
> And here are the consequences - broken build of RedDeer:
> Today, a build of RedDeer failed:
> https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/reddeer_master/852/
> {code}
> [INFO] Adding repository http://download.jboss.org/jbosstools/neon/snapshots/builds/reddeer_master
> [INFO] Fetching compositeContent.xml from http://download.jboss.org/jbosstools/neon/snapshots/builds/reddeer_master/ (0B of 472B at 0B/s)
> [ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'RedDeer' from location http://download.jboss.org/jbosstools/neon/snapshots/builds/reddeer_master/: Unable to read repository at http://download.jboss.org/jbosstools/neon/snapshots/builds/reddeer_master. No repository found at http://download.jboss.org/jbosstools/neon/snapshots/builds/reddeer_master/2016-11-30_16-31-45-B851. -> [Help 1]
> org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'RedDeer' from location http://download.jboss.org/jbosstools/neon/snapshots/builds/reddeer_master/
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.RuntimeException: Failed to load p2 repository with ID 'RedDeer' from location http://download.jboss.org/jbosstools/neon/snapshots/builds/reddeer_master/
> 	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:301)
> 	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.gatherExternalInstallableUnits(TargetPlatformFactoryImpl.java:269)
> 	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:174)
> 	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:126)
> 	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1)
> 	at org.eclipse.tycho.p2.manager.ReactorRepositoryManagerImpl.computePreliminaryTargetPlatform(ReactorRepositoryManagerImpl.java:82)
> 	at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:215)
> 	at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:99)
> 	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
> 	... 11 more
> Caused by: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.jboss.org/jbosstools/neon/snapshots/builds/reddeer_master.
> 	at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:185)
> 	at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.<init>(CompositeMetadataRepository.java:106)
> 	at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:122)
> 	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
> 	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768)
> 	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:668)
> 	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
> 	at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:59)
> 	at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:52)
> 	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:297)
> 	... 21 more
> Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://download.jboss.org/jbosstools/neon/snapshots/builds/reddeer_master/2016-11-30_16-31-45-B851.
> 	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:395)
> 	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:692)
> 	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
> 	at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:59)
> 	at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:52)
> 	at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:166)
> 	... 30 more
> {code}
> This was during the maven step which calls deploy on archetype/pom.xml:
> https://github.com/jboss-reddeer/reddeer/blob/master/archetype/pom.xml
> Inside the archetype test, we add the nightly RedDeer repo:
> https://github.com/jboss-reddeer/reddeer/blob/master/archetype/src/main/resources/archetype-resources/pom.xml#L21



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list