Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] https repository could not be resolved in Hudson HIPP job

Maven needs to be aware of our proxy servers, and this is defined in HIPP's ~/.m2/settings.xml.

I've verified your settings, and they are correct.

I was able to fetch content.jar locally; could this have been a transient issue?

Denis




On 18/11/14 01:47 AM, Gunnar Wagenknecht wrote:
Hi,

AFAIK access to outside is only possible by using a proxy. But you’r project build shouldn’t depend on stuff that is hosted outside Eclipse.org. Every dependency needs to go through the IP process and then consumed via Orbit or other means.

-Gunnar

Am 17.11.2014 um 22:15 schrieb Ma Yue <mayue.mail@xxxxxxxxx>:

Dear all,
  
  I met some problem during the Eclipse Hudson HIPP build. Could you please help?

It seems that the https repository (https://www.artop.org/containers/artop-eel-update-site-1.0) could not be resolved in Hudson HIPP job, so that the target definition could not be resolved. (However, the target is resolved in local without any problem, but only failed in Hudson.) I'm sure that this repository could be accessed. Does anyone ever meet such problem?

This problem is detected when I created a new Mars build job. The https repository could not be resolved for Hudson Mars build job. Then I checked the Luna build job, and found that the Luna target (with the same https repository) could be resolved before, but failed now and the cache is used instead. The (Mars and Luna ) console output is as below: 

Mars build job:

[INFO] Adding repository https://www.artop.org/containers/artop-eel-update-site-1.0
[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: Failed to resolve target definition /jobs/genie.modeling.eatop/eatop-0.5-mars/workspace/tools/org.eclipse.eatop.targets/mars/mars.target
[DEBUG] Closing connection to remote
[ERROR] Internal error: java.lang.RuntimeException: Failed to resolve target definition /jobs/genie.modeling.eatop/eatop-0.5-mars/workspace/tools/org.eclipse.eatop.targets/mars/mars.target: Failed to load p2 metadata repository from location https://www.artop.org/containers/artop-eel-update-site-1.0: Unable to read repository at https://www.artop.org/containers/artop-eel-update-site-1.0/content.xml. Connect to www.artop.org:443 timed out -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to resolve target definition /jobs/genie.modeling.eatop/eatop-0.5-mars/workspace/tools/org.eclipse.eatop.targets/mars/mars.target
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)


Hudson Luna build:

[INFO] Adding repository https://www.artop.org/containers/artop-eel-update-site-1.0
[WARNING] Failed to access p2 repository https://www.artop.org/containers/artop-eel-update-site-1.0, use local cache.
org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at https://www.artop.org/containers/artop-eel-update-site-1.0/content.xml.
	at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:192)
	at org.eclipse.tycho.p2.remote.RemoteRepositoryCacheManager.createCache(RemoteRepositoryCacheManager.java:66)

                    
Do you have any idea how to resolve this problem? Thank you in advance,

                    
Kind regards,

                    
Yue



Back to the top