Hi,

I've been trying for 2 days to get a mirror of the Kepler SR1 repo in /releases/maintenance to our internal filesystem (we do like to mirror everything we use in our products). To do so, I'm using the following Ant script: https://github.com/jbosstools/jbosstools-download.jboss.org/blob/master/jbosstools/updates/requirements/kepler/build.xml#L24 which basically invoke the p2.mirror task on the repository. This script is the same we've used for mirroring the Kepler R repo, and many other p2 repositories at Eclipse.org.

I've made 4 attempts trying various small changes, but in all cases, the mirroring fails with the same following messages:

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [...]
    at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: 
/qa/home/mistria/jbosstools-download.jboss.org/jbosstools/updates/requirements/kepler/build.xml:24:
 The following error occurred while executing this line:
/qa/home/mistria/jbosstools-download.jboss.org/jbosstools/updates/requirements/generic/build.xml:18:
 Messages while mirroring artifact descriptors.
Failed to transfer artifact packed: 
osgi.bundle,org.eclipse.stardust.ide.wst.facet.reporting.content,1.0.1.v20130918-0714.
Retry another mirror
Unable to read repository at 
http://download.eclipse.org/releases/maintenance/plugins/org.eclipse.stardust.ide.wst.facet.reporting.content_1.0.1.v20130918-0714.jar.pack.gz.
Retry another mirror
Unable to read repository at 
http://download.eclipse.org/releases/maintenance/plugins/org.eclipse.stardust.ide.wst.facet.reporting.content_1.0.1.v20130918-0714.jar.pack.gz.
[... repeated 3 more times ...]
Retry another mirror
Unable to read repository at 
http://download.eclipse.org/releases/maintenance/plugins/org.eclipse.stardust.ide.wst.facet.reporting.content_1.0.1.v20130918-0714.jar.pack.gz.
Error closing the output stream for 
osgi.bundle,org.eclipse.stardust.ide.wst.facet.reporting.content,1.0.1.v20130918-0714
 on repository 
file:/qa/home/mistria/jbosstools-download.jboss.org/jbosstools/updates/requirements/kepler/201309200900-SR1.
    at 
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [...]
    at 
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:537)
    ... 19 more
Caused by: 
/qa/home/mistria/jbosstools-download.jboss.org/jbosstools/updates/requirements/generic/build.xml:18:
 Messages while mirroring artifact descriptors.
Failed to transfer artifact packed: 
osgi.bundle,org.eclipse.stardust.ide.wst.facet.reporting.content,1.0.1.v20130918-0714.
Retry another mirror
Unable to read repository at 
http://download.eclipse.org/releases/maintenance/plugins/org.eclipse.stardust.ide.wst.facet.reporting.content_1.0.1.v20130918-0714.jar.pack.gz.
[... Repeated 5 more times ...]
Retry another mirror
Unable to read repository at 
http://download.eclipse.org/releases/maintenance/plugins/org.eclipse.stardust.ide.wst.facet.reporting.content_1.0.1.v20130918-0714.jar.pack.gz.
Error closing the output stream for 
osgi.bundle,org.eclipse.stardust.ide.wst.facet.reporting.content,1.0.1.v20130918-0714
 on repository 
file:/qa/home/mistria/jbosstools-download.jboss.org/jbosstools/updates/requirements/kepler/201309200900-SR1.
    at 
org.eclipse.equinox.p2.internal.repository.tools.tasks.MirrorTask.execute(MirrorTask.java:64)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [...]
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    ... 35 more
Root exception:
/qa/home/mistria/jbosstools-download.jboss.org/jbosstools/updates/requirements/kepler/build.xml:24:
 The following error occurred while executing this line:
/qa/home/mistria/jbosstools-download.jboss.org/jbosstools/updates/requirements/generic/build.xml:18:
 Messages while mirroring artifact descriptors.
Failed to transfer artifact packed: 
osgi.bundle,org.eclipse.stardust.ide.wst.facet.reporting.content,1.0.1.v20130918-0714.
Retry another mirror
Unable to read repository at 
http://download.eclipse.org/releases/maintenance/plugins/org.eclipse.stardust.ide.wst.facet.reporting.content_1.0.1.v20130918-0714.jar.pack.gz.
[... Repeated 5 more times ...]
Retry another mirror
Unable to read repository at 
http://download.eclipse.org/releases/maintenance/plugins/org.eclipse.stardust.ide.wst.facet.reporting.content_1.0.1.v20130918-0714.jar.pack.gz.
Error closing the output stream for 
osgi.bundle,org.eclipse.stardust.ide.wst.facet.reporting.content,1.0.1.v20130918-0714
 on repository 
file:/qa/home/mistria/jbosstools-download.jboss.org/jbosstools/updates/requirements/kepler/201309200900-SR1.
    at 
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [...]
    at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: 
/qa/home/mistria/jbosstools-download.jboss.org/jbosstools/updates/requirements/generic/build.xml:18:
 Messages while mirroring artifact descriptors.
Failed to transfer artifact packed: 
osgi.bundle,org.eclipse.stardust.ide.wst.facet.reporting.content,1.0.1.v20130918-0714.
Retry another mirror
Unable to read repository at 
http://download.eclipse.org/releases/maintenance/plugins/org.eclipse.stardust.ide.wst.facet.reporting.content_1.0.1.v20130918-0714.jar.pack.gz.
[... Repeated 5 more times ...]
Retry another mirror
Unable to read repository at 
http://download.eclipse.org/releases/maintenance/plugins/org.eclipse.stardust.ide.wst.facet.reporting.content_1.0.1.v20130918-0714.jar.pack.gz.
Error closing the output stream for 
osgi.bundle,org.eclipse.stardust.ide.wst.facet.reporting.content,1.0.1.v20130918-0714
 on repository 
file:/qa/home/mistria/jbosstools-download.jboss.org/jbosstools/updates/requirements/kepler/201309200900-SR1.
    at 
org.eclipse.equinox.p2.internal.repository.tools.tasks.MirrorTask.execute(MirrorTask.java:64)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [...]
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    ... 35 more


And of course, this is a failure, and I don't get a usable p2 mirror for the repo. Does anyone has an idea of what could be wrong? It seems to be related to the org.eclipse.stardust.ide.wst.facet.reporting.content_1.0.1.v20130918-0714.jar.pack.gz being erroneous, however I didn't get any issue to download it directly with a web browser. Maybe it's an issue in signature or something else?
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets <http://twitter.com/mickaelistria>
_______________________________________________
cross-project-issues-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to