Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Missing webtools p2 update sites break tycho builds

Fred,

First, issues like these are better discussed on wtp-releng, or better yet, by opening a bug against WTP Releng.  Having said that, I went through and cleaned up all of the references to milestone builds in our repository.  Can you please retry your build and see if it is working properly now?
For everyone's information, at some point after the release, we delete the milestone builds from download.eclipse.org, in order to reduce WTP's footprint there.  Older released builds are also moved to archive.eclipse.org.  (And smoke tests are archived and all of that.)  I haven't been removing those references from the repository, but that may be something that needs to be done now.

FWIW,

- Carl Anderson
WTP Build guy

Inactive hide details for Fred Bricon ---11/07/2012 09:15:14 AM---Hi, the m2e-wtp buildFred Bricon ---11/07/2012 09:15:14 AM---Hi, the m2e-wtp build


    From:

Fred Bricon <fbricon@xxxxxxxxx>

    To:

"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>

    Date:

11/07/2012 09:15 AM

    Subject:

[wtp-dev] Missing webtools p2 update sites break tycho builds

    Sent by:

wtp-dev-bounces@xxxxxxxxxxx




Hi, 

the m2e-wtp build (based on tycho 0.16.0) is currently broken because of the following :




08:39:53  [INFO] Adding repository http://download.eclipse.org/webtools/repository/juno

08:39:56  [ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.eclipse.org/webtools/repository/juno. No repository found at http://download.eclipse.org/webtools/downloads/drops/R3.4.0/S-3.4.0M1-20110812160550/repository. -> [Help 1]
08:39:56  org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.eclipse.org/webtools/repository/juno.
08:39:56  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
08:39:56  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
08:39:56  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
08:39:56  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
08:39:56  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:39:56  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
08:39:56  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08:39:56  at java.lang.reflect.Method.invoke(Method.java:597)
08:39:56  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
08:39:56  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
08:39:56  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
08:39:56  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
08:39:56  Caused by: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.eclipse.org/webtools/repository/juno.
08:39:56  at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addP2Repository(TargetPlatformBuilderImpl.java:247)
08:39:56  at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addEntireP2RepositoryToTargetPlatform(P2TargetPlatformResolver.java:314)
08:39:56  at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:203)
08:39:56  at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:94)
08:39:56  at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
08:39:56  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
08:39:56  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
08:39:56  ... 11 more
08:39:56  Caused by: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.eclipse.org/webtools/repository/juno.
08:39:56  at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:186)
08:39:56  at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.<init>(CompositeMetadataRepository.java:107)
08:39:56  at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:122)
08:39:56  at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
08:39:56  at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:758)
08:39:56  at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
08:39:56  at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
08:39:56  at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
08:39:56  at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:82)
08:39:56  at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addP2Repository(TargetPlatformBuilderImpl.java:234)
08:39:56  ... 17 more
08:39:56  Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://download.eclipse.org/webtools/downloads/drops/R3.4.0/S-3.4.0M1-20110812160550/repository.
08:39:56  at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:393)
08:39:56  at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:675)
08:39:56  at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
08:39:56  at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
08:39:56  at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:82)
08:39:56  at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:167)

The graphical P2 browser from https://github.com/ifedorenko/p2-browser confirms the canonical webtools repo references several missing repos. I don't know yet if we can make tycho not fail in cases like this, but in any case, the aggregate update site at http://download.eclipse.org/webtools/repository/juno (and possibly helios/indigo/...) should be cleansed.



Regards,
Fred Bricon

--
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev


GIF image

GIF image


Back to the top