Bug 429485 - Many p2 test failures, on Mac only, in I20140302-2000
Summary: Many p2 test failures, on Mac only, in I20140302-2000
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 4.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.4 M6   Edit
Assignee: David Williams CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-03 11:34 EST by David Williams CLA
Modified: 2014-03-03 17:43 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2014-03-03 11:34:43 EST
This bug has already been discussed some in bug 428631. 

There, Tom has observed there is a problem with the "mac downloads" in general. 
To quote:
= = = = 
This is a problem if you download the build for Mac and run locally as well.  I see this link for the eclipse in the root folder:

eclipse -> Eclipse.app/Contents/MacOS/eclipse

But this is the file it links to:

ls -l Eclipse.app/Contents/MacOS/
total 312
-rw-r--r--@ 1 watson  staff  87296 Mar  2 21:12 Eclipse

Which uses uppercase Eclipse and is not executable.  I cannot launch eclipse with build I20140302-2000 until I change the executable bits for Eclipse.  I did not have not have to rename to lower case since MacOS will ignore case here.
= = = =
Comment 1 David Williams CLA 2014-03-03 11:41:09 EST
FYI, this bug is likely a "releng" bug ... and likely related to bug 429228, even if indirectly related.
Comment 2 David Williams CLA 2014-03-03 11:45:02 EST
I am curious ... if the failing tests in 

http://download.eclipse.org/eclipse/downloads/drops4/I20140302-2000/testresults/html/org.eclipse.equinox.p2.tests_macosx.cocoa.x86_5.0.html

literally use the "distributed mac product" or if they use "delta pack" to create new products ... not sure it matters too much ... will first focus on making sure "products" have executable bit set ... I honestly don't know if it should be lower or upper case, but will look at some older builds to see.
Comment 3 David Williams CLA 2014-03-03 11:48:50 EST
(In reply to David Williams from comment #2)
> I am curious ... if the failing tests in 
> 
> http://download.eclipse.org/eclipse/downloads/drops4/I20140302-2000/
> testresults/html/org.eclipse.equinox.p2.tests_macosx.cocoa.x86_5.0.html
> 
> literally use the "distributed mac product" or if they use "delta pack" to
> create new products ... not sure it matters too much ... will first focus on
> making sure "products" have executable bit set ... I honestly don't know if
> it should be lower or upper case, but will look at some older builds to see.

M5 had lower case 'eclipse' both in "root" and in Eclipse.app/Contents/MacOS/
Comment 4 David Williams CLA 2014-03-03 17:40:34 EST
This was releng bug. 

From visual inspection, appears correct in I20140303-1130. 

I believe fixed by the fix in bug 429228 comment 5 (though, ironically did not fix bug 4292228, I don't think). 

I did notice there is an extra file there, though, literally named 'launcher'. 

Opened bug 429518 for that.
Comment 5 David Williams CLA 2014-03-03 17:43:32 EST
Assumed will be fixed in I20140303-1130, based on visual inspection mentioned above, assuming those tests are using literally the "mac distribution" package. (If they are creating new "builds" using delta-pack, then less sure it will be fixed.)