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

Bug 254205

Summary: Signing should fail more gracefully
Product: z_Archived Reporter: Nick Boldt <nboldt>
Component: Dash AthenaAssignee: Common Build Inbox <dash.commonbuilder-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mtaal
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 282593    
Bug Blocks: 238626, 280642    

Description Nick Boldt CLA 2008-11-05 18:54:18 EST
In the event of a network problem (permissions, ssh disconnect, whatever) the build should be able to recover and keep going, instead of falling over dead when it can't get its signed Master zip back.
Comment 1 Nick Boldt CLA 2008-11-05 18:56:05 EST
Some console log to try to avoid:

---

signMasterZip:
Trying to override old definition of task echo-timestamp

-timestamp:
     [echo] 06:46:39
    [mkdir] Created dir: /opt/public/cbi/build/gef/gef/downloads/drops/3.4.0/I200811051844/eclipse/packtmp
     [move] Moving 1 file to /opt/public/cbi/build/gef/gef/downloads/drops/3.4.0/I200811051844/eclipse/packtmp
     [exec]   adding: pack.properties (deflated 7%)

-timestamp:
     [echo] 06:46:39
     [echo] push drop to staging directory
     [exec] Result: 1
     [exec] Result: 255

-timestamp:
     [echo] 06:46:39
     [echo] invoke sign script and wait
     [exec] Result: 255

waitForChangedAttribs:

-timestamp:
     [echo] 06:46:39

compareAttribs:
     [exec] Result: 255
     [echo] original:  ${originalAttribs}
     [echo] polled:  ssh: dashBuild: Name or service not known

writeDiffResult:

waitForChangedAttribs:
     [echo] copy zip back to build machine
     [exec] Result: 1
     [echo] delete temp files on build.eclipse.org
     [exec] Result: 255

unpackUpdateJarsAndRepack:
    [mkdir] Created dir: /opt/public/cbi/build/gef/gef/downloads/drops/3.4.0/I200811051844/eclipse/unpacktmp/new/eclipse/features
    [mkdir] Created dir: /opt/public/cbi/build/gef/gef/downloads/drops/3.4.0/I200811051844/eclipse/unpacktmp/new/eclipse/plugins
    [unzip] Expanding: /opt/public/cbi/build/gef/gef/downloads/drops/3.4.0/I200811051844/eclipse/I200811051844/GEF-Master-I200811051844.zip into /opt/public/cbi/build/gef/gef/downloads/drops/3.4.0/I200811051844/eclipse/unpacktmp

BUILD FAILED
/opt/public/cbi/build/gef/gef/downloads/drops/3.4.0/I200811051844/org.eclipse.dash.common.releng/buildAll.xml:163: The following error occurred while executing this line:
/opt/public/cbi/build/gef/gef/downloads/drops/3.4.0/I200811051844/org.eclipse.dash.common.releng/buildAll.xml:96: The following error occurred while executing this line:
/opt/public/cbi/build/gef/gef/downloads/drops/3.4.0/I200811051844/org.eclipse.dash.common.releng/tools/scripts/buildAllHelper.xml:34: Error while expanding /opt/public/cbi/build/gef/gef/downloads/drops/3.4.0/I200811051844/eclipse/I200811051844/GEF-Master-I200811051844.zip

---
Comment 2 Nick Boldt CLA 2009-07-15 00:14:03 EDT
Better failure recovery too re: ssh problems. Improved console out when Bad Things Happen. Closing.