Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339321

Summary: Buckminster is unable to update itself when running on hudson-slave1
Product: Community Reporter: Thomas Hallgren <thomas>
Component: CI-JenkinsAssignee: Eclipse Webmaster <webmaster>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: david_williams, denis.roy, frederic.gurr
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Thomas Hallgren CLA 2011-03-09 01:49:25 EST
When running the 'Buckminster 3.6 Integration' builder, an attempt is made to upgrade Buckminster to the latest available version. This is done using the director and one of the update sites that are contacted resides outside of Eclipse.org

When running on master, this call always succeeds. When running on slave1, it always fails [1]. The failure is always that the feature that resides on a remote server (our subclipse feature) cannot be found.

Since this works on the master but not on the slave, I'm suspecting that the proxy settings are somehow different.

[1] Sample output:

[Buckminster_3.6_Integration] $ /opt/users/hudsonbuild/tools/Buckminster_3.6_Integration/director/director -vm /opt/users/hudsonbuild/tools/Auto_Install_JDK_6_on_Slave/bin/java -d /opt/users/hudsonbuild/tools/Buckminster_3.6_Integration/buckminster -p Buckminster -r "http://download.eclipse.org/tools/buckminster/headless-3.6, http://download.eclipse.org/tools/buckminster/headless-3.6/, http://download.cloudsmith.com/buckminster/external-3.6" -installIU "org.eclipse.equinox.p2.director.feature.feature.group, org.eclipse.buckminster.emma.headless.feature.feature.group, org.eclipse.buckminster.pde.headless.feature.feature.group, org.eclipse.buckminster.subclipse.headless.feature.feature.group, org.eclipse.buckminster.maven.headless.feature.feature.group, org.eclipse.buckminster.cmdline.product, org.eclipse.buckminster.core.headless.feature.feature.group, org.eclipse.buckminster.git.headless.feature.feature.group, org.eclipse.buckminster.cvs.headless.feature.feature.group"
Installation failed.
The installable unit org.eclipse.buckminster.subclipse.headless.feature.feature.group has not been found.
Application failed, log file location: /opt/users/hudsonbuild/tools/Buckminster_3.6_Integration/director/configuration/1299619417912.log
Comment 1 Denis Roy CLA 2011-03-09 13:09:25 EST
What is the URL you're trying to fetch?
Comment 2 Denis Roy CLA 2011-03-09 13:09:56 EST
n/m I see it in the output.
Comment 3 Thomas Hallgren CLA 2011-04-10 02:53:13 EDT
Did you find the cause?
Comment 4 Eclipse Webmaster CLA 2011-04-18 13:48:36 EDT
Using the Cloudsmith url I get the same results across all of our hudson machines via wget:  

>wget http://download.cloudsmith.com/buckminster/external-3.6
--2011-04-18 13:32:17--  http://download.cloudsmith.com/buckminster/external-3.6
Resolving proxy.eclipse.org... 
Connecting to proxy.eclipse.org... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: http://download.cloudsmith.com/buckminster/external-3.6/ [following]
--2011-04-18 13:32:17--  http://download.cloudsmith.com/buckminster/external-3.6/
Connecting to proxy.eclipse.org... connected.
Proxy request sent, awaiting response... 403 Forbidden

Thomas, can you tell me(either here or in a private message to Webmaster) what options I need  to add to a test job so I can try and replicate this?

-M.
Comment 5 Thomas Hallgren CLA 2011-04-19 01:44:11 EDT
The URL http://download.cloudsmith.com/buckminster/external-3.6/ is not supposed to be browsable so I'm not surprised. It's a p2 repository. Try this URL:

http://download.cloudsmith.com/buckminster/external-3.6/content.jar
Comment 6 Thomas Hallgren CLA 2011-04-19 01:45:59 EDT
To clarify, p2 will never attempt to access the URL's sent as arguments to the director application. p2 will use those URL's as prefix when it tries to find various files. The URL's themselves denote the folders where those files reside and in most cases you cannot browse them.
Comment 7 Eclipse Webmaster CLA 2011-04-19 10:40:35 EDT
Hmm, well I have no issues in retrieving the Jar file from Cloudsmith on any of the Hudson nodes(via the hudson user shell).

I've added you to the matt-test3 job so we can setup a job to have hudson run.

-M.
Comment 8 Denis Roy CLA 2015-02-12 10:42:38 EST
Thomas, is this still an issue?
Comment 9 Eclipse Genie CLA 2017-02-02 20:04:48 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 10 Frederic Gurr CLA 2017-02-07 11:01:24 EST
Please re-open if this is still relevant.