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

Bug 352055

Summary: Wrong test failure in M20110713-0800 due to wrong version of test plug-in
Product: [Eclipse Project] Platform Reporter: Markus Keller <markus.kell.r>
Component: RelengAssignee: Kim Moir <kim.moir>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: aniefer, daniel_megert, john.arthorne, kim.moir, pwebster
Version: 3.7   
Target Milestone: 3.7.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch none

Description Markus Keller CLA 2011-07-14 03:35:28 EDT
M20110713-0800 

The test failure in org.eclipse.ltk.core.refactoring.tests occurred because a wrong version of the plug-in was used.

The failing test org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringTests.testDeleteRefactoring2_bug343584 has only been released to HEAD.
http://download.eclipse.org/eclipse/downloads/drops/M20110713-0800/directory.txt contains "plugin@org.eclipse.ltk.core.refactoring.tests=v20110505-0800,
kmoir@dev.eclipse.org:/cvsroot/eclipse,", which is correct.

Something must be be wrong in the build setup. This test should not be present in R3_7_maintenance builds.
Comment 1 Kim Moir CLA 2011-07-14 09:18:08 EDT
Created attachment 199658 [details]
patch

This problem is a side effect of the changes to consume git repos in bug 350627.  Sorry about that, I'll start another build.
Comment 2 Dani Megert CLA 2011-07-14 09:20:05 EDT
I suggest to delete the build - it might be in a very weird state.
Comment 3 Kim Moir CLA 2011-07-17 22:07:15 EDT
Hi Andrew

I'm set the 

fetchTag=CVS=HEAD,GIT=master

in the build.properties for the builder for the sdk.tests in HEAD.  I had it set to 
fetchTag=CVS=R3_7_maintenance,GIT=master for the R3_7_maintenance branch builder for 3.7 builds but this seemed to cause them to fail, unable to checkout the sdk.tests features since it hasn't been branched. What should it be set for 3.7.x builds?
Comment 4 Paul Webster CLA 2011-07-18 06:59:07 EDT
(In reply to comment #3)
> fetchTag=CVS=HEAD,GIT=master
> 
> in the build.properties for the builder for the sdk.tests in HEAD.  I had it
> set to 
> fetchTag=CVS=R3_7_maintenance,GIT=master for the R3_7_maintenance branch
> builder for 3.7 builds but this seemed to cause them to fail, unable to
> checkout the sdk.tests features since it hasn't been branched. What should it
> be set for 3.7.x builds?

Wouldn't the M build tests just come from the map files (so no fetchTags)?

When using fetchTags with the new git repos, at least this entry should be: GIT=R3_7_maintenance.

PW
Comment 5 Kim Moir CLA 2011-08-16 09:52:16 EDT
There is bug 354404 to add the fetchTag overrides support to the build.  

Closing this bug as I believe it has been resolved.