Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326498 - MAT build errors - not possible to download file per FTP from a remote location
Summary: MAT build errors - not possible to download file per FTP from a remote location
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Servers (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 05:00 EDT by Krum Tsvetkov CLA
Modified: 2010-09-29 10:28 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krum Tsvetkov CLA 2010-09-29 05:00:56 EDT
Hi,
During the build of Memory Analyzer we try to download a bundle per FTP from ibmworks (workswith dependency described in CQ 3794).
This used to work from the old hudson server, but afrer we got our jobs migrated I get the exception pasted below. The file is still there. Do I need to get some special permissions, or set a proxy for the process fetching the file? Can you help me please?

Here the part from the log which has the complete URL and the exception:

downloadDTFJ:
      [get] Getting: ftp://ftp.software.ibm.com/software/java/support/tools/dtfj/dtfj-updatesite.zip
      [get] To: /opt/public/jobs/tycho-mat-nightly/workspace/p2tool/dtfj-updatesite.zip
      [get] Error getting ftp://ftp.software.ibm.com/software/java/support/tools/dtfj/dtfj-updatesite.zip to /opt/public/jobs/tycho-mat-nightly/workspace/p2tool/dtfj-updatesite.zip

BUILD FAILED
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 java.net.Socket.connect(Socket.java:478)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
	at sun.net.NetworkClient.openServer(NetworkClient.java:118)
	at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
	at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)
	at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)
	at org.apache.tools.ant.taskdefs.Get.doGet(Get.java:145)
	at org.apache.tools.ant.taskdefs.Get.execute(Get.java:78)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
	at org.apache.tools.ant.Main.runBuild(Main.java:758)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Regards,
Krum
Comment 1 Eclipse Webmaster CLA 2010-09-29 10:28:19 EDT
I've added the ftp proxy data to the Hudson setup, the changes will appear after the upgrade (see bug 326283 ).

-M.