Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357528 - package build fails to sign
Summary: package build fails to sign
Status: RESOLVED FIXED
Alias: None
Product: EPP
Classification: Technology
Component: Packager (show other bugs)
Version: 1.4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.4.0   Edit
Assignee: David Williams CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 13:41 EDT by David Williams CLA
Modified: 2011-09-13 21:50 EDT (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 2011-09-13 13:41:24 EDT
Due to recent infrastructure changes, the EPP Package builds fails, due to signing problems.
Comment 1 David Williams CLA 2011-09-13 13:45:59 EDT
The repository builds were failing with messages such as ... 

[java] [ant] Queueing site_295493214.zip for signing
     [java] ERROR: org.eclipse.core.runtime.CoreException: /opt/public/technology/epp/epp_repo/indigo/epp.build/tools/buckminster/configuration/org.eclipse.osgi/bundles/18/1/.cp/org/eclipse/buckminster/jarprocessor/antscript/signing.ant:141: com.jcraft.jsch.JSchException: Auth fail
     [java] org.eclipse.core.runtime.CoreException: /opt/public/technology/epp/epp_repo/indigo/epp.build/tools/buckminster/configuration/org.eclipse.osgi/bundles/18/1/.cp/org/eclipse/buckminster/jarprocessor/antscript/signing.ant:141: com.jcraft.jsch.JSchException: Auth fail
Comment 2 David Williams CLA 2011-09-13 13:50:18 EDT
With help from Thomas Hallgren, figured out, in Markus's absence, that there is a buckminster property that controls signing

<jvmarg value="-Dsigning.type=eclipse.remote" />

when building _on_ eclipse, it should be 

<jvmarg value="-Dsigning.type=eclipse.local" />

I was able to changed the build.xml file in INDIGO branch of 
org.eclipse.epp.allpackages.indigo.feature

I'll close as "fixed" ... the build at least continued, and did seem to sign from following signing log. 

But ... in future, may want to make "signing.type" more of a property that could be passed in, or something.
Comment 3 Markus Knauer CLA 2011-09-13 16:55:58 EDT
Glad to see that this is resolved. Thanks!
Comment 4 David Williams CLA 2011-09-13 21:50:39 EDT
And you just couldn't leave well enough alone, eh? :) 

https://hudson.eclipse.org/hudson/view/Repository%20Aggregation/job/indigo.epp-repository-build/275/ 

I'll add back the "staging area" parameter and keep my fingers crossed.