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

Bug 335097

Summary: fix test failures on hudson
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact: Frank Becker <eclipse>
Severity: normal    
Priority: P3 CC: eclipse, robert.elves
Version: unspecified   
Target Milestone: 3.5   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
fix
none
mylyn/context/zip none

Description Steffen Pingel CLA 2011-01-22 20:39:31 EST
The Eclipse.org Hudson instance is now running Mylyn builds and tests. Due to changes in the build system and test environment some tests are failing now and need to be fixed:

https://hudson.eclipse.org/hudson/job/mylyn-heartbeat/
https://hudson.eclipse.org/hudson/job/mylyn-integration-e3.7/

Things that changed:
* Bundles are no longer extracted and hence access to test resources may fail
* The Eclipse.org Hudson requires a proxy for network access
Comment 1 Steffen Pingel CLA 2011-01-22 20:40:36 EST
I'll take a look at the WebUtilTest failures and BugzillaConfigurationTest.testRepositoryConfigurationFromFile().

Frank, if you get a chance it would be great if you could investigate why BugzillaClientTest.testValidate() is failing (probably proxy issues).
Comment 2 Frank Becker CLA 2011-01-23 13:40:02 EST
(In reply to comment #1)
> Frank, if you get a chance it would be great if you could investigate why
> BugzillaClientTest.testValidate() is failing (probably proxy issues).

Steffen, I need some more information.

Is it possible that you tell me how I can connect to the hudson buildserver or if a proxy is installed?
Comment 3 Steffen Pingel CLA 2011-01-24 14:56:50 EST
Created attachment 187461 [details]
fix
Comment 4 Steffen Pingel CLA 2011-01-24 14:56:52 EST
Created attachment 187462 [details]
mylyn/context/zip
Comment 5 Steffen Pingel CLA 2011-01-24 14:59:31 EST
(In reply to comment #2)
> Is it possible that you tell me how I can connect to the hudson buildserver or
> if a proxy is installed?

No, it's not possible to access the build server directly. It's basically a Hudson instance that requires use of a proxy to connect to the internet: http://wiki.eclipse.org/Hudson

I have committed changes to the default test fixture to use the default proxy when none is specified. I'll kick of another build later today to check if that fixes the Bugzilla tests.
Comment 6 Steffen Pingel CLA 2011-01-25 23:28:19 EST
Closing. The standard test suite passes now. Remaining Bugzilla test failures are tracked on bug 321066.