|
Re: Unable to unpack artifact when building [message #991240 is a reply to message #989623] |
Tue, 18 December 2012 00:36 |
David Williams Messages: 722 Registered: July 2009 |
Senior Member |
|
|
On 12/06/2012 09:06 PM, David Coley wrote:
> Help would be appreciated.
A wild guess might be that you are getting "bad files" from some mirror.
I know there are certain safe guards built-in to p2 to avoid bad mirrors
and retry if a bad file is found, but, not sure its perfect. Especially
if the mirror has just some files that have been damaged.
The wiki page at
http://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL
has instructions on
"Confirm_your_p2.mirrorsURL_works_with_p2_operations". In your case, you
are not trying to confirm that, but if you turn on debugging, you can
collect the extra output and see if the times you get one of those zero
length files its always from the same mirror? It'd be lot of output, but
if interested the brief instructions are to add these properties to your
..options file:
org.eclipse.equinox.p2.core/debug=true
org.eclipse.equinox.p2.core/artifacts/mirrors=true
If you found a mirror consistently serving bad files, you could open a bug (probably on Eclipse Foundation, community, Servers).
HTH
|
|
|
|
Re: Unable to unpack artifact when building [message #991246 is a reply to message #989623] |
Tue, 18 December 2012 02:00 |
Henrik Lindberg Messages: 2509 Registered: July 2009 |
Senior Member |
|
|
Perhaps a longshot, but I seem to remember that there were issues with
certain java versions and reading certain types of jar files - so, just
out of curiosity which OS and which Java are you running on?
- henrik
On 2012-07-12 3:06, David Coley wrote:
> B3 0.2.0.v20120330-1440
>
> I am having a problem where the B3 Aggregator is regularly having errors
> related to:
>
> "Unpacking fails because intermediate file is empty"
>
> The file listed is always located in my Temp Folder. I have plenty of
> space, and the original files are local mirrors that have proper size.
>
> The file being unpacked could easily be one that was properly dealt with
> minutes earlier.
>
> This is ground to a halt my attempt to merge the 3.8.1 release into a
> 3.8.1 compatible Juno Release. I have tried for over 4 weeks or
> "repeating" (sign of insanity?) the build through out the day over 1000
> times now and always end up with at least 1 file with the "Unpacking
> fails" error. I have tried multiple machines to see if it was memory
> related as well.
>
> The files are not always the same, though the eclipse.pde and eclipse.ui
> do appear regularly. as does the Apache ant files.
>
> !ENTRY org.eclipse.b3.util 4 -364274674 2012-12-06 12:49:48.502
> !MESSAGE Unable to unpack artifact
> osgi.bundle,org.eclipse.ui.workbench,3.103.1.v20120906-120042 in
> repostory file <path to file>
>
> at org.eclipse.core.runtime.CoreException: Unable to unpack artifact
> osgi.bundle,org.eclipse.ui.workbench,3.103.1.v20120906-120042 ....
>
> org.eclipse.b3.util.ExceptionUtils.fromMessage(ExceptionUtils.java:53)
> org.eclipse.b3.aggregator.engine.MirrorGenerator.unpacktoSibling(MirrorGenerator.java:396)
>
> org.eclipse.b3.aggregator.engine.MirrorGenerator.mirror(MirrorGenerator.java:302)
>
> org.eclipse.b3.aggregator.engine.MirrorGenerator.run(MirrorGenerator.java:467)
>
> org.eclipse.b3.aggregator.engine.Builder.runMirroring(Builder.java:1695)
> org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1645)
> org.eclipse.b3.aggregator.presentation.AggregatorActionBarContributor$BuildAggregationAction$1.run(AggregatorActionBarContributor.java:292)
>
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> Help would be appreciated.
|
|
|
Re: Unable to unpack artifact when building [message #991350 is a reply to message #989623] |
Tue, 18 December 2012 16:24 |
|
Hi Dave,
This is difficult to help out with given that it's different files that
fail. I think the only way to really see what's wrong is to debug the
unpackToSibling method and trap the original CoreException and then
trace that back further.
Is the aggregation in it self sensitive or could you send it to me so
that can give it a try?
- thomas
On 2012-12-07 03:06, David Coley wrote:
> B3 0.2.0.v20120330-1440
>
> I am having a problem where the B3 Aggregator is regularly having errors
> related to:
>
> "Unpacking fails because intermediate file is empty"
>
> The file listed is always located in my Temp Folder. I have plenty of
> space, and the original files are local mirrors that have proper size.
>
> The file being unpacked could easily be one that was properly dealt with
> minutes earlier.
>
> This is ground to a halt my attempt to merge the 3.8.1 release into a
> 3.8.1 compatible Juno Release. I have tried for over 4 weeks or
> "repeating" (sign of insanity?) the build through out the day over 1000
> times now and always end up with at least 1 file with the "Unpacking
> fails" error. I have tried multiple machines to see if it was memory
> related as well.
>
> The files are not always the same, though the eclipse.pde and eclipse.ui
> do appear regularly. as does the Apache ant files.
>
> !ENTRY org.eclipse.b3.util 4 -364274674 2012-12-06 12:49:48.502
> !MESSAGE Unable to unpack artifact
> osgi.bundle,org.eclipse.ui.workbench,3.103.1.v20120906-120042 in
> repostory file <path to file>
>
> at org.eclipse.core.runtime.CoreException: Unable to unpack artifact
> osgi.bundle,org.eclipse.ui.workbench,3.103.1.v20120906-120042 ....
>
> org.eclipse.b3.util.ExceptionUtils.fromMessage(ExceptionUtils.java:53)
> org.eclipse.b3.aggregator.engine.MirrorGenerator.unpacktoSibling(MirrorGenerator.java:396)
>
> org.eclipse.b3.aggregator.engine.MirrorGenerator.mirror(MirrorGenerator.java:302)
>
> org.eclipse.b3.aggregator.engine.MirrorGenerator.run(MirrorGenerator.java:467)
>
> org.eclipse.b3.aggregator.engine.Builder.runMirroring(Builder.java:1695)
> org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1645)
> org.eclipse.b3.aggregator.presentation.AggregatorActionBarContributor$BuildAggregationAction$1.run(AggregatorActionBarContributor.java:292)
>
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> Help would be appreciated.
|
|
|
Powered by
FUDForum. Page generated in 0.05033 seconds