Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-releng-dev] 4.6M2 S-build: Download failure for org.eclipse.core.jobs on Hudson only

wget 
http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6M2-201509162
000/plugins/org.eclipse.core.jobs_3.8.0.v20150911-1658.jar.pack.gz

unpack200 with JDK 6 or JDK 7 fails:
$ 
/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/unpack2
00 org.eclipse.core.jobs_3.8.0.v20150911-1658.jar.pack.gz  test.jar
Corrupted pack file: magic/ver = CAFED00D/171.0 should be CAFED00D/150.7
OR CAFED00D/160.1



unpack200 with JDK 8 succeeds:
$ 
/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/bin/unpack2
00 org.eclipse.core.jobs_3.8.0.v20150911-1658.jar.pack.gz  test.jar

signature of unpacked jar is verified:
$ 
/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/bin/jarsign
er -verify test.jar
jar verified.


Any chance the build is running with JDK 7 or older (this is regardless of
BREE setting as the maven JDK is the one in which p2 runs and does the
unpack200)?

Not sure IIRC but I had the impression p2 should fall back to plain jar if
packed version of the artifact is not available...

Jan

On 30/09/15 11:43, "platform-releng-dev-bounces@xxxxxxxxxxx on behalf of
Andreas Sewe" <platform-releng-dev-bounces@xxxxxxxxxxx on behalf of
andreas.sewe@xxxxxxxxxxxxxx> wrote:

>Hi platform release engineers,
>
>I am currently switching our target platform to use the 4.6M2 S-build at
><http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6M2-2015091
>62000/>.
>
>While this builds locally, our Hudson instance has problems fetching
>JARs from it [1]:
>
>> [INFO] Unpacking org.eclipse.core.jobs_3.8.0.v20150911-1658...
>> [ERROR] The following artifacts could not be downloaded:
>> [ERROR]   osgi.bundle,org.eclipse.core.jobs,3.8.0.v20150911-1658
>> [INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with
>>exception(s)
>> [INFO] o.h.m.e.h.MavenExecutionResultHandler - [1]
>>org.apache.maven.InternalErrorException: Internal error:
>>java.lang.RuntimeException: Some required artifacts could not be
>>downloaded. See log output for details.
>> [DEBUG] Closing connection to remote
>> [ERROR] Internal error: java.lang.RuntimeException: Some required
>>artifacts could not be downloaded. See log output for details. -> [Help
>>1]
>> org.apache.maven.InternalErrorException: Internal error:
>>java.lang.RuntimeException: Some required artifacts could not be
>>downloaded. See log output for details.
>> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121)
>> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
>> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
>> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at 
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>:57)
>> 	at 
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
>>mpl.java:43)
>> 	at java.lang.reflect.Method.invoke(Method.java:606)
>> 	at 
>>org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher
>>.java:289)
>> 	at 
>>org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:22
>>9)
>> 	at 
>>org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launch
>>er.java:415)
>> 	at 
>>org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>> Caused by: java.lang.RuntimeException: Some required artifacts could
>>not be downloaded. See log output for details.
>> 	at 
>>org.eclipse.tycho.p2.resolver.P2ResolverImpl.failIfArtifactsMissing(P2Res
>>olverImpl.java:271)
>> 	at 
>>org.eclipse.tycho.p2.resolver.P2ResolverImpl.toResolutionResult(P2Resolve
>>rImpl.java:225)
>> 	at 
>>org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2Resolv
>>erImpl.java:209)
>> 	at 
>>org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2Resolv
>>erImpl.java:116)
>> 	at 
>>org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies(
>>P2DependencyResolver.java:367)
>> 	at 
>>org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies(P2
>>DependencyResolver.java:335)
>> 	at 
>>org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(Defau
>>ltTychoResolver.java:117)
>> 	at 
>>org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjects
>>Read(TychoMavenLifecycleParticipant.java:95)
>> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
>> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>> 	... 11 more
>> [ERROR] 
>
>Does anyone know what the reason might be? I tried with both
>-Dtycho.disableP2Mirrors=true and without, but that apparently makes no
>difference.
>
>Locally the build runs with Maven 3.3.3 and Java 1.8, on Hudson with
>Maven 3.3.1 and Java 1.7. In both cases, I cleared the local Maven
>repository beforehand.
>
>Best wishes,
>
>Andreas
>
>[1]
><https://hudson.eclipse.org/recommenders/job/org.eclipse.recommenders-gerr
>it/simrel=neon/1264/console>
>
>-- 
>Codetrails GmbH
>The knowledge transfer company
>
>Robert-Bosch-Str. 7, 64293 Darmstadt
>Phone: +49-6151-276-7092
>Mobile: +49-170-811-3791
>http://www.codetrails.com/
>
>Managing Director: Dr. Marcel Bruch
>Handelsregister: Darmstadt HRB 91940
>_______________________________________________
>platform-releng-dev mailing list
>platform-releng-dev@xxxxxxxxxxx
>To change your delivery options, retrieve your password, or unsubscribe
>from this list, visit
>https://dev.eclipse.org/mailman/listinfo/platform-releng-dev



Back to the top