Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316357 - ptp not in latest staging repo
Summary: ptp not in latest staging repo
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Cross-Project (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Cross-Project issues CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-09 14:57 EDT by David Williams CLA
Modified: 2010-06-09 20:24 EDT (History)
3 users (show)

See Also:


Attachments
screen shot showing the 'featureName' feature (56.45 KB, image/png)
2010-06-09 17:07 EDT, David Williams CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2010-06-09 14:57:35 EDT
I can see ptp.build file in log

https://build.eclipse.org/hudson/view/Repository%20Aggregation/job/helios.runAggregator/194/consoleFull 

but, do not see its features being mirrored. 

Perhaps a "silent failure" of some sort?
Comment 1 Greg Watson CLA 2010-06-09 15:10:41 EDT
Looks like we're in it now. Go figure...
Comment 2 David Williams CLA 2010-06-09 15:29:33 EDT
I see it too, in staging, using p2. 

Why don't I see it in log? Must be searching for wrong thing? Or browser search isn't working? I searched for things like 

org.eclipse.ptp

but will close since I guess original problem isn't a problem.
Comment 3 Greg Watson CLA 2010-06-09 15:42:56 EDT
It's not in the features/plugins directory though, so the install barfs.
Comment 4 David Williams CLA 2010-06-09 16:33:39 EDT
I have a hunch ... have you recently added a requirement on Java 1.6, specifically?
Comment 5 Greg Watson CLA 2010-06-09 16:36:21 EDT
Not that I'm aware of. All ptp components should be 1.5 only. I wonder if it was just a timing issue where the aggregator started after I uploaded to our repository? Unfortunately it looks like the last build failed, so we can't tell yet.
Comment 6 David Williams CLA 2010-06-09 17:06:01 EDT
Even if build fails as a whole due to "can not mirror" one artifact, but rest of the build continues, and I still don't see it in log of failed build. 

I look at the repo with normal p2 install, and do see one feature that has "featureName" as the name ... as if it is getting only the NL key, or something. 
Normally that should not be a fatal problem, but am wondering if that uncovers a bug in the builder, causing the silent failure? Similarly, it has key-only copyright, license, and description. It says the feature is 
org.eclipse.ptp.master.feature.group
(or, you'd probably know it as org.eclipse.ptp.master). 
Is it supposed to be in your repo? perhaps you could correct that, since we don't know what else to do?
Comment 7 David Williams CLA 2010-06-09 17:07:07 EDT
Created attachment 171578 [details]
screen shot showing the 'featureName' feature
Comment 8 Greg Watson CLA 2010-06-09 17:14:39 EDT
I think (hope) I fixed this in the latest build.
Comment 9 Greg Watson CLA 2010-06-09 17:15:10 EDT
But in any case, this would have been there for some time and other builds worked...
Comment 10 Greg Watson CLA 2010-06-09 17:17:27 EDT
I just checked and the master feature is still there. I'll remove it now.
Comment 11 David Williams CLA 2010-06-09 17:33:39 EDT
I do see this "1.6 jre" line in your content.xml file. Not sure how it can get there ... maybe a "product definition"? 

 <unit id='a.jre' version='1.6.0' singleton='false'>

And, not sure if it is related or not to this problem. But ... if somehow it is saying "1.6. jre is required" for things in this repo then that might be why builder fails silently ... the builder is just looking for "1.5 compatible features" (it will of course pick up 1.6 required bundles/fragments. 

I'm picking up on this, because I do not see this in other content.xml files I look in. 

Do you have some p2.inf file that could be contributing some "touchpoint"?
Comment 12 David Williams CLA 2010-06-09 17:35:21 EDT
And ... are you contributing a _product_? Or just collection of features? I seem to recall "products" take something special.
Comment 13 Greg Watson CLA 2010-06-09 17:48:49 EDT
I think it worked this time. I'm a bit hesitant to change anything at this late stage, but it seems like something we should definitely look into.
Comment 14 David Williams CLA 2010-06-09 18:07:27 EDT
Yes, even though overall build failed, at least I see it in log now ... 

How did you fix it? :) 



     [exec] Mirroring meta-data from from http://download.eclipse.org/tools/ptp/updates/helios
     [exec] - mirroring artifacts reference http://download.eclipse.org/tools/ptp/updates/helios
     [exec] - mirroring meta-data reference http://download.eclipse.org/tools/ptp/updates/helios
     [exec] Mirroring artifacts from from http://download.eclipse.org/tools/ptp/updates/helios
     [exec] - mirroring artifact osgi.bundle,org.eclipse.ptp.rm.pbs.core,4.0.0.201006091432
     [exec]     doing copy of canonical artifact
     [exec] - mirroring artifact osgi.bundle,org.eclipse.ptp.etfw.feedback,2.0.0.201006091432
     [exec]     doing copy of canonical artifact
     [exec] - mirroring artifact osgi.bundle,org.eclipse.ptp.pldt.help,4.0.0.201006091432
     [exec]     doing copy of canonical artifact
     [exec] - mirroring artifact osgi.bundle,org.eclipse.ptp.rdt.xlc,1.0.0.201006091432
[...]
Comment 15 Greg Watson CLA 2010-06-09 20:06:56 EDT
Left it alone and prayed :-)
Comment 16 David Williams CLA 2010-06-09 20:24:58 EDT
I've opened bug 316401 to document the "silent failure" ... even though not sure we can reproduce it.