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

Bug 406054

Summary: ECF signing fails probably due to broken permissions
Product: Community Reporter: Markus Kuppe <bugs.eclipse.org>
Component: ServersAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Markus Kuppe CLA 2013-04-19 04:30:48 EDT
It seems yesterday's server switch [1] has broken signing for ECF.

[ant] Queueing site_1699818738.zip for signing
[ant] Waiting for signing to complete. This may take more then 20 minutes. (Expect to see several 'Remote command failed' messages)
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Obtaining signed file from server
ERROR: org.eclipse.core.runtime.CoreException: /opt/hudson/tools/Buckminster/Buckminster_3.6/buckminster/configuration/org.eclipse.osgi/bundles/21/2/.cp/org/eclipse/buckminster/jarprocessor/antscript/signing.ant:153: java.io.IOException: scp: /home/data/httpd/download-staging.priv/rt/ecf/out20130419074342/site_1699818738.zip: No such file or directory
org.eclipse.core.runtime.CoreException: /opt/hudson/tools/Buckminster/Buckminster_3.6/buckminster/configuration/org.eclipse.osgi/bundles/21/2/.cp/org/eclipse/buckminster/jarprocessor/antscript/signing.ant:153: java.io.IOException: scp: /home/data/httpd/download-staging.priv/rt/ecf/out20130419074342/site_1699818738.zip: No such file or directory
	at org.eclipse.buckminster.ant.AntRunner.handleInvocationTargetException(AntRunner.java:167)
	at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:322)
	at org.eclipse.buckminster.ant.actor.AntActor.internalPerform(AntActor.java:254)
	at org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:195)
	at org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305)
	at org.eclipse.buckminster.core.commands.Perform.internalRun(Perform.java:108)
	at org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:91)
	at org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
	at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:350)
	at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:145)
	at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:165)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: /opt/hudson/tools/Buckminster/Buckminster_3.6/buckminster/configuration/org.eclipse.osgi/bundles/21/2/.cp/org/eclipse/buckminster/jarprocessor/antscript/signing.ant:153: java.io.IOException: scp: /home/data/httpd/download-staging.priv/rt/ecf/out20130419074342/site_1699818738.zip: No such file or directory
	at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:245)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:672)
	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:498)
	at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:318)
	... 25 more
Caused by: java.io.IOException: scp: /home/data/httpd/download-staging.priv/rt/ecf/out20130419074342/site_1699818738.zip: No such file or directory
	at org.apache.tools.ant.taskdefs.optional.ssh.ScpFromMessage.startRemoteCpProtocol(ScpFromMessage.java:189)
	at org.apache.tools.ant.taskdefs.optional.ssh.ScpFromMessage.execute(ScpFromMessage.java:143)
	at org.apache.tools.ant.taskdefs.optional.ssh.Scp.download(Scp.java:276)
	at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:221)
	... 44 more

[1] http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg08872.html
Comment 1 Markus Kuppe CLA 2013-04-19 04:32:40 EDT
I assume the root cause is similar to bug #401506
Comment 2 Eclipse Webmaster CLA 2013-04-19 10:23:42 EDT
Indeed.  I've restored the ACLs so please try again and let me know if it's still broken.

-M.
Comment 3 Markus Kuppe CLA 2013-04-19 11:08:46 EDT
Yes!

[ant] Queueing site_643219699.zip for signing
[ant] Waiting for signing to complete. This may take more then 20 minutes. (Expect to see several 'Remote command failed' messages)
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Target 'assert.output.present.keyfile' failed with message 'Remote command failed with exit status 2'.
[ant] Signing host = build.eclipse.org, ls.result = /home/data/httpd/download-staging.priv/rt/ecf/out20130419143230/site_643219699.zip
[ant] Obtaining signed file from server
INFO:  [end org.eclipse.ecf.sdk:eclipse.feature$3.6.1.qualifier#site.signed]
Action org.eclipse.ecf.sdk:eclipse.feature$3.6.1.qualifier#site.packed using 'up to date' policy MAPPER: Rebuild needed: File count(0) < expected(233)
init actor: jarProcessor[org.eclipse.ecf.sdk:eclipse.feature$3.6.1.qualifier#site.packed]
INFO:  [start org.eclipse.ecf.sdk:eclipse.feature$3.6.1.qualifier#site.packed]