Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tcf-dev] [dash-dev] Tycho build with eclipse-parent-pom cannot download external lib ?

Hi all,

 

Many thanks for your answers to our question – we’ve been able to solve the issue, in fact it turned

out to be network problems on the slave where the build was running.

 

Fine-tuning the node selection in Hudson fixed the issue.

 

I’m also cross-posting the answer to cross-project since others might be interested too.

 

Martin

 

From: dash-dev-bounces@xxxxxxxxxxx [mailto:dash-dev-bounces@xxxxxxxxxxx] On Behalf Of Oberhuber, Martin
Sent: Sunday, May 06, 2012 8:53 AM
To: cbi-dev@xxxxxxxxxxx; dash-dev@xxxxxxxxxxx; alex.blewitt@xxxxxxxxx
Cc: Stieber, Uwe; TCF Development (tcf-dev@xxxxxxxxxxx)
Subject: [dash-dev] Tycho build with eclipse-parent-pom cannot download external lib ?
Importance: High

 

Hi all,

 

We recently switched the TCF build to use the eclipse-parent-pom, and since that change the

    http://rxtx.qbang.org/eclipse

p2 repo can not be accessed any more from Hudson.eclipse.org (see build log excerpt below).

 

I seem to remember that there was some sort of caching / firewalling in place at Hudson.eclipse.org,

driven by the parent-pom, which might cause that issue. Can you guys fill me in how we can solve this?

The request is a bit urgent since we want to release TCF M7 on Monday, and we need the eclipse-parent-pom

For signing and packing.

 

http://wiki.eclipse.org/Maven talks about "proxying" some things and "pre-approved" things which may

be related, but I don't think I understand all ramifications and what to do now.

 

RXTX is an LGPL "works-with" dependency for TCF which I just disclosed via CQ, but we need it at build time.

 

Many thanks,

Martin

 

-----Original Message-----
From: hudsonbuild@xxxxxxxxxxx [mailto:hudsonbuild@xxxxxxxxxxx]
Sent: Saturday, May 05, 2012 3:08 PM
To: Oberhuber, Martin
Subject: Build failed in Hudson: tcf-nightly #224

 

See <https://hudson.eclipse.org/hudson/job/tcf-nightly/224/changes>

 

Changes:

 

[Uwe Stieber] Releng: Added maven.eclipse.org repository to the list of plugin repositories

 

[Uwe Stieber] Target Explorer: Streamline TE feature structure

 

[Uwe Stieber] Target Explorer: Fix tests module list

 

[Uwe Stieber] Target Explorer: Fix module references in pom-tests.xml

 

------------------------------------------

Started by an SCM change

Building remotely on hudson-slave1

Checkout:tcf-nightly / <https://hudson.eclipse.org/hudson/job/tcf-nightly/ws/> - hudson.remoting.Channel@4e318ff7:hudson-slave1

Using strategy: Default

Last Built Revision: Revision d6ca88165d6b329279774aa46da8ce6ea7056895 (origin/master) Checkout:tcf-nightly / <https://hudson.eclipse.org/hudson/job/tcf-nightly/ws/> - hudson.remoting.LocalChannel@4c2184e

Fetching changes from the remote Git repository Fetching upstream changes from git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.git

Commencing build of Revision b76274bf36685a60480f1366ad286893d8dda0e0 (origin/master) Checking out Revision b76274bf36685a60480f1366ad286893d8dda0e0 (origin/master) [tcf-nightly] $ /shared/common/apache-maven-3.0.3/bin/mvn -Dmaven.repo.local=<https://hudson.eclipse.org/hudson/job/tcf-nightly/ws/.repository> -P production clean install -s admin/settings.xml [INFO] Scanning for projects...

[WARNING]

[WARNING] Some problems were encountered while building the effective model for org.eclipse.tcf:tcf-parent:pom:1.0.0-SNAPSHOT

[WARNING] 'parent.relativePath' of POM org.eclipse.tcf:org.eclipse.tcf.maven-config:1.0.0-SNAPSHOT (<https://hudson.eclipse.org/hudson/job/tcf-nightly/ws/admin/pom-config.xml)> points at org.eclipse.tcf:tcf-parent instead of org.eclipse:eclipse-parent, please verify your project structure @ org.eclipse.tcf:org.eclipse.tcf.maven-config:1.0.0-SNAPSHOT, <https://hudson.eclipse.org/hudson/job/tcf-nightly/ws/admin/pom-config.xml,> line 11, column 10 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

[WARNING]

[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

[WARNING]

[INFO] Computing target platform for MavenProject: org.eclipse.tcf:org.eclipse.tcf:1.0.0-SNAPSHOT @ <https://hudson.eclipse.org/hudson/job/tcf-nightly/ws/plugins/org.eclipse.tcf/pom.xml>

[INFO] Adding repository http://download.eclipse.org/eclipse/updates/3.8milestones

[INFO] Adding repository http://download.eclipse.org/eclipse/updates/3.8milestones

[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/S20120428190502/repository/

[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/S20120428190502/repository/

[INFO] Adding repository http://download.eclipse.org/tools/cdt/builds/juno/nightly

[INFO] Fetching content.jar (0B of 49.67kB at 0B/s) from http://download.eclipse.org/tools/cdt/builds/juno/nightly/

[INFO] Fetching content.jar (4kB of 49.67kB at 0B/s) from http://download.eclipse.org/tools/cdt/builds/juno/nightly/

[INFO] 1 operation remaining.

[INFO] Adding repository http://download.eclipse.org/tools/cdt/builds/juno/nightly

[INFO] Fetching artifacts.jar (0B of 7.74kB at 0B/s) from http://download.eclipse.org/tools/cdt/builds/juno/nightly/

[INFO] 1 operation remaining.

[INFO] Fetching artifacts.jar (4kB of 7.74kB at 0B/s) from http://download.eclipse.org/tools/cdt/builds/juno/nightly/

[INFO] Adding repository http://download.eclipse.org/tm/updates/3.3

[INFO] Adding repository http://download.eclipse.org/tm/updates/3.3

May 5, 2012 9:02:21 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:02:21 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

May 5, 2012 9:02:42 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:02:42 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

May 5, 2012 9:03:03 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:03:03 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

May 5, 2012 9:03:45 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:03:45 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

May 5, 2012 9:04:06 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:04:06 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

May 5, 2012 9:04:27 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:04:27 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

[INFO] Adding repository http://rxtx.qbang.org/eclipse May 5, 2012 9:05:09 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:05:09 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

May 5, 2012 9:05:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:05:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

May 5, 2012 9:05:51 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:05:51 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

May 5, 2012 9:06:33 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:06:33 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

May 5, 2012 9:06:54 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:06:54 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

May 5, 2012 9:07:15 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out May 5, 2012 9:07:15 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

INFO: Retrying request

[ERROR] Internal error: java.lang.RuntimeException: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository http://rxtx.qbang.org/eclipse/content.xml: Connection timed out -> [Help 1]

org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository http://rxtx.qbang.org/eclipse/content.xml

                at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)

                at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)

                at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)

                at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

                at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

                at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository http://rxtx.qbang.org/eclipse/content.xml

                at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addEntireP2RepositoryToTargetPlatform(P2TargetPlatformResolver.java:344)

                at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:216)

                at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:89)

                at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:61)

                at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)

                at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

                ... 11 more

Caused by: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository http://rxtx.qbang.org/eclipse/content.xml

                at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addP2Repository(TargetPlatformBuilderImpl.java:276)

                at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addEntireP2RepositoryToTargetPlatform(P2TargetPlatformResolver.java:340)

                ... 16 more

Caused by: org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository http://rxtx.qbang.org/eclipse/content.xml

                at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:189)

                at org.eclipse.tycho.p2.impl.resolver.TychoP2RepositoryCacheManager.createCache(TychoP2RepositoryCacheManager.java:54)

                at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66)

                at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88)

                at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)

                at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:749)

                at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)

                at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)

                at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)

                at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addP2Repository(TargetPlatformBuilderImpl.java:259)

                ... 17 more

Caused by: java.net.ConnectException: Connection timed out

                at java.net.PlainSocketImpl.socketConnect(Native Method)

                at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

                at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

                at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

                at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

                at java.net.Socket.connect(Socket.java:529)

                at org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.createSocket(SocketEventCreateUtil.java:43)

                at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:81)

                at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:73)

                at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:65)

                at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)

                at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)

                at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)

                at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)

                at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)

                at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)

                at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:232)

                at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)

                at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException

Archiving artifacts

 


Back to the top