| Summary: | [releng] specify different user for signing than initiating build id | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Kim Moir <kim.moir> | ||||||||||||||
| Component: | UI | Assignee: | Kim Moir <kim.moir> | ||||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||||
| Severity: | normal | ||||||||||||||||
| Priority: | P3 | CC: | bokowski, cgold, john.arthorne, pwebster | ||||||||||||||
| Version: | unspecified | ||||||||||||||||
| Target Milestone: | 1.0 RC3 | ||||||||||||||||
| Hardware: | PC | ||||||||||||||||
| OS: | Windows XP | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Kim Moir
Created attachment 173563 [details]
patch
Patch to specify signing user. Alternatively, we could specify the user in startup script and extract it to pass to the signing task.
Paul, I've applied the patch. I don't know if you need me to tag the builder or if you just run it from the R4_HEAD branch. (In reply to comment #2) > Paul, I've applied the patch. I don't know if you need me to tag the builder or > if you just run it from the R4_HEAD branch. Thanx Kim. I just run eclipsebuilder from R4_HEAD PW Kim, I get part way and then it stops asking for password:, because I don't specify hudson. Is it trying to check out something from CVS as someone other than anonymous if I don't specify hudson? I realize I'm the worst case scenario :-) Running on build.eclipse.org so that I can use local as much as possible, as e4Build, but he can take advantage of ssh to pwebster for anything that needs a committer id. PW [CVS - org.eclipse.sdk.examples] cvs export: Updating org.eclipse.sdk.examples
[CVS - org.eclipse.sdk.examples] cvs export: Updating org.eclipse.sdk.examples/META-INF
[cvs] cvs [export aborted]: received termination signal
This was as far as it got.
PW
Yes, if you don't specify hudson, the build assumes that you are using extssh to check out code. Right now it's <property name="cvsuser" value="kmoir" /> I can change this to pwebster in R4_HEAD. Are the ssh keys set up for this? Yes, e4Build has pwebster setup. If you commit the change I can continue to use bootstrapHudsone4.sh Thanx, PW Created attachment 174024 [details]
patch
patch applied to change cvsuser to pwebster Hi Kim, could we try and break up the running on build.eclipse.org from the userid used for signing? without -hudson, I get I201007121100/src/fetch_master-ecf.xml:50: Error occurred while transforming repository: Unknown Host: http://fullmoon.ottawa.ibm.com/tools/orbit/downloads/drops/R20100519200754/repository/artifacts.xml but with -hudson it won't use ssh/scp for signing. PW Created attachment 174050 [details]
patch
Patch to avoid fetching from ibm mirror when running as a non-hudson build has been applied.
I get a lot of:
[echo] original: ${originalAttribs}
[echo] polled: Error: Can't open display: :0.0
[echo] Error: Can't open display: :0.0
[echo] Error: Can't open display: :0.0
[echo] Error: Can't open display: :0.0
[echo] Permission denied, please try again.
[echo] Error: Can't open display: :0.0
[echo] Permission denied, please try again.
[echo] Error: Can't open display: :0.0
[echo] Received disconnect from 206.191.52.34: 2: Too many authentication failures for e4Build
[exec] Result: 255
Kim, could you please check out my build:
http://build.eclipse.org/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/I201007121521/
Console log:
http://build.eclipse.org/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/sdk1521.txt
Technically e4Build has :8.0 available, if that will make it run better.
PW
I'm running my own command line build to try to determine the source of the problem. Not sure why this is happening. Created attachment 174164 [details]
patch
A patch to remove setting xhost and display and removing \ in front of @ sign for signing user. I tested this with my userid on build.eclipse.org and it seems to work. The patch has been applied to R4_HEAD.
This stopped again, asking for a password:
[exec] zip warning: name not matched: hpux**
[exec] zip warning: name not matched: macosx**
[exec] zip warning: name not matched: qnx**
[exec] zip warning: eclipse-master-I20100714-0926.zip not found or empty
[exec]
[exec] zip error: Nothing to do! (eclipse-master-I20100714-0926.zip)
[exec] Result: 12
Duplicated project name in import. Project Build specific targets and properties defined first in /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007140926/src/plugins/org.eclipse.pde.doc.user/customBuildCallbacks.xml and again in /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007140926/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.0.v20100603/templates/plugins/customBuildCallbacks.xml
Duplicated project name in import. Project Build specific targets and properties defined first in /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007140926/src/plugins/org.eclipse.pde.doc.user/customBuildCallbacks.xml and again in /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007140926/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.0.v20100603/templates/plugins/customBuildCallbacks.xml
[echo] push drop to staging directory
Password:
Build directory http://build.eclipse.org/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007140926
PW
it looks like it was run with builderTag=r4_v20100712 which doesn't include your buildAll.xml changes. PW Sorry Paul, I have tagged it. Today's test failed with: /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007150750/src/fetch_master-ecf.xml:10: The following error occurred while executing this line: /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007150750/src/fetch_master-ecf.xml:27: Can't get http://www.eclipse.org/external/rt/ecf/integration/platform/v2010-05-29_00-32-38/plugins/org.eclipse.ecf_3.1.0.v20100529-0735.jar to /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007150750/src/plugins/org.eclipse.ecf_3.1.0.v20100529-0735.jar Is it because ECF has cleaned up something? PW I can fetch that ECF jar now. I find that sometimes eclipse.org times out and then I can't fetch the jars. The only solution is to restart the build where it failed.... I re-ran /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007151054
It got up to the signing step again, but then failed.
[exec] zip error: Nothing to do! (eclipse-master-I20100715-1054.zip)
[exec] Result: 12
Duplicated project name in import. Project Build specific targets and properties defined first in /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007151054/src/plugins/org.eclipse.pde.doc.user/customBuildCallbacks.xml and again in /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007151054/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.0.v20100603/templates/plugins/customBuildCallbacks.xml
Duplicated project name in import. Project Build specific targets and properties defined first in /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007151054/src/plugins/org.eclipse.pde.doc.user/customBuildCallbacks.xml and again in /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007151054/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.0.v20100603/templates/plugins/customBuildCallbacks.xml
[echo] push drop to staging directory
[exec] Result: 1
[exec] Result: 1
[echo] invoke sign script and wait
Password:
PW
Where will it try and place the zips for signing? /home/data/httpd/download-staging.priv/eclipse ? I don't have write permission for that directory (neither pwebster nor e4Build) but I do for /home/data/httpd/download-staging.priv/eclipse/e4 PW I think we need to update stagingDirectoryOutput to point to this directory. I'll do that and attach a patch. You can just hack the existing buildAll.xml to point to call to the signing task so you don't have to recompile everything. Then run command.txt again. Created attachment 174609 [details]
patch
patch released and tagged
The zip has been signed in :
/home/data/httpd/download-staging.priv/eclipse/e4/I20100719-1400-out
But my build is busy compiling tests and complaining about:
[exec] Result: 255
[echo] original: ${originalAttribs}
[echo] polled: Permission denied, please try again.
[echo] Permission denied, please try again.
[echo] Received disconnect from 206.191.52.34: 2: Too many authentication failures for e4Build
Build directory:
/opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/workspace/builds/I201007191400
This is in the sign call:
${signUser}${signhost}
Does that have to be in the signpolline as well?
PW
I ran the eclipsebuilder 4.0 last night, and it appears http://download.eclipse.org/e4/sdk/drops/I20100722-2038/index.php is signed. But the zips are about 27M light. For some reason org.eclipse.platform.doc.isv 35315809 org.eclipse.platform.doc.isv 6434627 PW Chris, when we ship doc have we pre-processed or pre-indexed it? PW (In reply to comment #27) > Chris, when we ship doc have we pre-processed or pre-indexed it? > > PW The docs are preindexed at build time and there is a JUnit test in org.eclipse.ua.tests.doc which verifies that the index is build to it is easy to verify if that step has happened. It looks like the new platform.doc.isv bundles are missing the reference/api directory. Created attachment 175230 [details]
patch
The path to the javadoc binary the 4.0 build's bootstrap script was incorrect. I've fixed this and tagged it for the next build.
It's all good. PW |