Community
Participate
Working Groups
I thought we had resolved the hudson proxy problems connecting to hudson.eclipse.org for cvs tests but I still seem to be having problems. Example on Linux slave See https://hudson.eclipse.org/hudson/view/Eclipse%20and%20Equinox/job/eclipse-JUnit-Linux/lastCompletedBuild/testReport/org.eclipse.team.tests.ccvs.core/CVSTestSetup/unknown/ :pserver:hudsontest@hudson.eclipse.org:/cvs/org.eclipse.tests: Cannot connect to host: Connection refused Example on Windows slave Could not connect to :pserver:hudsontest@hudson.eclipse.org:/cvs/org.eclipse.tests: I/O exception occurred: ProxyHTTP: java.io.IOException: proxy error: Forbidden https://hudson.eclipse.org/hudson/view/Eclipse%20and%20Equinox/job/eclipse-JUnit-windows/lastCompletedBuild/testReport/org.eclipse.team.tests.ccvs.core/CVSTestSetup/unknown/ These proxy settings should be set globally on all the hudson slaves, correct? I don't have to set a proxy in my tests as described in this bug? https://bugs.eclipse.org/bugs/show_bug.cgi?id=328831#c19
I don't think it's the proxy. Looks like the cvs server failed to restart after the maintenance around christmas. Fixed. -M.
Thanks! So another question: We have p2 tests than connect to repositories on download.eclipse.org and also bogus web sites (www.example.com/foo) to ensure appropriate responses to repository locations. Do the slaves have any restrictions from accessing these sites via http?
They should have the same restrictions as the master. So as long as your tests use http for the requests I expect they should be fine. -M.
Okay, thanks. We'll investigate further. As an aside, I noticed that you started a Linux test build. They Linux test builds can't be run on their own, they depend on artifacts from the upstream build, that's why they fail if you just run then on their own.
Still having issues running cvs tests on Hudson. org.eclipse.team.internal.ccvs.core.connection.CVSCommunicationException: Could not connect to :pserver:hudsontest@hudson.eclipse.org:/cvs/org.eclipse.tests: I/O exception occurred: ProxyHTTP: java.io.IOException: proxy error: Forbidden See https://hudson.eclipse.org/hudson/view/Eclipse%20and%20Equinox/job/eclipse-JUnit-windows/158/testReport/org.eclipse.team.tests.ccvs.core/CVSUITestSetup/unknown/ Do you see anything errors in the logs on the cvs server? These tests were run at 9:18pm last night.
I don't see anything in the logs on either the server or the Windows slave(where this seems to have run). As far as I can tell from the command line all of the slaves can talk to the hudson test cvs server. -M.
Szymon, I'm having problems running the CVS tests on Hudson at eclipse.org. There is a proxy setting on these servers as follows no_proxy=localhost,dev.eclipse.org,hudson.eclipse.org Do the CVS tests use any proxy settings that could interfere with these settings?
(In reply to comment #7) > Szymon, I'm having problems running the CVS tests on Hudson at eclipse.org. > There is a proxy setting on these servers as follows > > no_proxy=localhost,dev.eclipse.org,hudson.eclipse.org > > Do the CVS tests use any proxy settings that could interfere with these > settings? What's the machine OS? Windows or Linux? If it is Windows, does it have Proxy set in the Internet Settings?
(In reply to comment #8) > What's the machine OS? Windows or Linux? If it is Windows, does it have Proxy > set in the Internet Settings? Well our windows slave does set have the proxy set in it's internet settings. -M.
This must be a configuration issue because the test runs fine on Linux. https://hudson.eclipse.org/hudson/view/Eclipse%20and%20Equinox/job/eclipse-JUnit-Linux/lastCompletedBuild/testReport/ Matt, what local proxy settings does the windows machine have?
> Well our windows slave does set have the proxy set in it's internet settings. Matt, it looks like the internet settings are per-user. I logged in as Kim and couldn't access the Internet. I've fixed that, but I can't seem to be able to log in as the Hudson build account to ensure it can access the Internet. Also, the Windows and Mac slaves did not have the typical values for ANT_ARGS and JAVA_OPTS and all that. -Dhttp.proxyHost=proxy.eclipse.org -Dhttp.proxyPort=9898 -Dhttps.proxyHost=proxy.eclipse.org -Dhttps.proxyPort=9898 -Dhttp.nonProxyHosts="*.eclipse.org" -Dhttps.nonProxyHosts="*.eclipse.org" -Dftp.proxyHost=proxy.eclipse.org -Dftp.proxyPort=9898 -Dftp.nonProxyHosts="*.eclipse.org"
> Matt, what local proxy settings does the windows machine have? The Hudson Build user's account has all the proxy information it needs -- but I'm not sure if each application needs to be aware of it. You have the proxy details in the previous comment -- I've added the JAVA/JVM/ANT options for the proxy, so you should be good. If you use tools that don't inherit either the Windows or the JVM proxy settings, you'll need to define them manually.
So the windows slave machine had the ip address range for the test cvs user excluded from using the proxy, but not the fqdn for that same machine. I added the fqdn of the test cvs server to be excluded from using the proxy server on the windows machine and the tests run successfully now :-) Could you make the corresponding change on the mac slave :-) I can't access it now via vnc.
I've restarted the Mac and updated the proxy settings. Can you login and make sure the settings are correct? -M.
I can't login to vnc on the mac with the hudson user to verify. I've sent Denis and email asking him to send me the info.
I ran a test build yesterday and verified that the proxy issues are fixed on the mac. Thanks!