<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<font class="Apple-style-span" face="Tahoma">I changed my ssh-key, and they worked on the MCS machines because the authorized_keys file has not been updated yet on the CI Machines. </font><div><font class="Apple-style-span" face="Tahoma">I created a new ssh-key using:</font></div><div><font class="Apple-style-span" face="Tahoma">ssh-keygen -t rsa -b 2048</font></div><div><font class="Apple-style-span" face="Tahoma">exactly as the MCS site suggested,</font></div><div><font class="Apple-style-span" face="Tahoma">On the other hand, I still have a problem, I am getting the following error:</font></div><div style="font-size: 10pt; "><font class="Apple-style-span" face="Tahoma"><br></font></div><div><div><font class="Apple-style-span" face="Tahoma" size="2">Swift svn swift-r4978 cog-r3226</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2">RunID: 20110810-1819-1cdo2o62</font></div><div><font class="Apple-style-span" face="Tahoma" size="2">Progress: time: Wed, 10 Aug 2011 18:19:42 -0500</font></div><div><font class="Apple-style-span" face="Tahoma" size="2">Exception in cat:</font></div><div><font class="Apple-style-span" face="Tahoma" size="2">Arguments: [data.txt]</font></div><div><font class="Apple-style-span" face="Tahoma" size="2">Host: ssh</font></div><div><font class="Apple-style-span" face="Tahoma" size="2">Directory: 001-catsn-ssh-20110810-1819-1cdo2o62/jobs/9/cat-9jd0g9ek</font></div><div><font class="Apple-style-span" face="Tahoma" size="2">- - -</font></div><div><div style="font-family: Tahoma; font-size: small; ">Caused by: null</div><div style="font-family: Tahoma; font-size: small; ">Caused by: org.globus.cog.abstraction.impl.common.execution.JobException: Job failed with an exit code of 127</div><div style="font-family: Tahoma; font-size: small; ">Final status: time: Wed, 10 Aug 2011 18:20:00 -0500 Failed:10</div><div style="font-family: Tahoma; font-size: small; ">The following errors have occurred:</div><div style="font-family: Tahoma; font-size: small; ">1. Job failed with an exit code of 127 (10 times)</div><div style="font-family: Tahoma; font-size: small; "><br></div><div style="font-family: Tahoma; font-size: small; "><br></div><div style="font-family: Tahoma; ">These are the contents of the log:</div><div style="font-family: Tahoma; font-size: small; "><br></div><div style="font-family: Tahoma; font-size: small; "><div>Execution completed with errors</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div style="text-indent: 0px !important; ">2011-08-10 18:19:43,251-0500 INFO ConnectionProtocol Freeing channel 0 [Unnamed Channel]</div><div style="text-indent: 0px !important; ">2011-08-10 18:19:43,263-0500 INFO Exec Exit code 127</div><div style="text-indent: 0px !important; ">2011-08-10 18:19:43,269-0500 INFO ConnectionProtocol Freeing channel 0 [Unnamed Channel]</div><div style="text-indent: 0px !important; ">2011-08-10 18:19:43,277-0500 DEBUG vdl:execute2 APPLICATION_EXCEPTION jobid=cat-9jd0g9ek - Application exception: null</div><div style="text-indent: 0px !important; ">Caused by: org.globus.cog.abstraction.impl.common.execution.JobException: Job failed with an exit code of 127</div><div style="text-indent: 0px !important; ">2011-08-10 18:19:43,280-0500 INFO vdl:execute END_FAILURE thread=0-5-3-1 tr=cat</div><div style="text-indent: 0px !important; ">2011-08-10 18:19:43,281-0500 INFO vdl:execute Exception in cat:</div></div><div> at org.globus.cog.karajan.workflow.nodes.FlowNode.fail(FlowNode.java:250)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowNode.fail(FlowNode.java:254)</div><div> at org.globus.cog.karajan.workflow.nodes.GenerateErrorNode.post(GenerateErrorNode.java:27)</div><div> at org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:194)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)</div><div> at org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)</div><div> at org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)</div><div> at org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)</div><div> at org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)</div><div> at org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)</div><div> at org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)</div><div> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)</div><div> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)</div><div> at java.util.concurrent.FutureTask.run(FutureTask.java:166)</div><div> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)</div><div> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)</div><div> at java.lang.Thread.run(Thread.java:636)</div><div>2011-08-10 18:20:00,332-0500 INFO ExecutionContext Detailed exception:</div></div><div style="font-family: Tahoma; font-size: small; "><br></div><div style="font-family: Tahoma; font-size: small; "><div>Execution completed with errors</div><div><br></div><div> at org.globus.cog.karajan.workflow.nodes.FlowNode.fail(FlowNode.java:250)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowNode.fail(FlowNode.java:254)</div><div> at org.globus.cog.karajan.workflow.nodes.GenerateErrorNode.post(GenerateErrorNode.java:27)</div><div> at org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:194)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)</div><div> at org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)</div><div> at org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)</div><div> at org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)</div><div> at org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)</div><div> at org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)</div><div> at org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)</div><div> at org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)</div><div> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)</div><div> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)</div><div> at java.util.concurrent.FutureTask.run(FutureTask.java:166)</div><div> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)</div><div> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)</div><div> at java.lang.Thread.run(Thread.java:636)</div></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; "><br class="Apple-interchange-newline">I believe that the problem resides on the TC file because when I run a much simpler SwiftScript like:</div><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; "><br style="text-indent: 0px !important; "></div></div></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div><div style="text-indent: 0px !important; "><font class="Apple-style-span" size="2">int i = 9;</font></div></div></div></div><div><div><div><div style="text-indent: 0px !important; "><font class="Apple-style-span" size="2">trace(i);</font></div></div></div></div></blockquote><div><div><div><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; "><br style="text-indent: 0px !important; "></div><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; ">I get the following output:</div><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; "><br style="text-indent: 0px !important; "></div></div></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div><div style="text-indent: 0px !important; "><div style="text-indent: 0px !important; "><font class="Apple-style-span" size="2">swift traceme.swift -tc.file tc.template.data -sites.file sites.template.xml -config cf </font></div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; "><div style="text-indent: 0px !important; "><font class="Apple-style-span" size="2">Swift svn swift-r4978 cog-r3226</font></div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; "><div style="text-indent: 0px !important; "><font class="Apple-style-span" size="2"><br style="text-indent: 0px !important; "></font></div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; "><div style="text-indent: 0px !important; "><font class="Apple-style-span" size="2">RunID: 20110810-1832-buktjj3d</font></div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; "><div style="text-indent: 0px !important; "><font class="Apple-style-span" size="2">Progress: time: Wed, 10 Aug 2011 18:32:30 -0500</font></div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; "><div style="text-indent: 0px !important; "><font class="Apple-style-span" size="2">SwiftScript trace: 9.0</font></div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; "><div style="text-indent: 0px !important; "><font class="Apple-style-span" size="2">Final status: time: Wed, 10 Aug 2011 18:32:30 -0500</font></div></div></div></div></div></blockquote><div><div><div><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; "><br style="text-indent: 0px !important; "></div><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; ">but as soon as I start using the commands stated the TC file, I get the "exit code 127"</div><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; "><br style="text-indent: 0px !important; "></div><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; ">My tc file reads:</div><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; "><br style="text-indent: 0px !important; "></div></div></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div><div style="text-indent: 0px !important; font-size: medium; "><div style="text-indent: 0px !important; ">ssh echo /bin/echo null null</div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; font-size: medium; "><div style="text-indent: 0px !important; ">ssh cat /bin/cat null null</div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; font-size: medium; "><div style="text-indent: 0px !important; ">ssh ls /bin/ls null null</div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; font-size: medium; "><div style="text-indent: 0px !important; ">ssh grep /bin/grep null null</div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; font-size: medium; "><div style="text-indent: 0px !important; ">ssh sort /bin/sort null null</div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; font-size: medium; "><div style="text-indent: 0px !important; ">ssh paste /bin/paste null null</div></div></div></div></div><div><div><div><div style="text-indent: 0px !important; font-size: medium; "><div style="text-indent: 0px !important; ">ssh wc /usr/bin/wc null null</div></div></div></div></div></blockquote><div><div><div><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; "><br style="text-indent: 0px !important; "></div><div style="font-family: Tahoma; text-indent: 0px !important; font-size: medium; ">I am working on the login node of the MCS machine trying to ssh via Swift to steamroller.</div></div><div style="font-family: Tahoma; font-size: small; "><br></div></div></div><div><div style="font-family: Tahoma; font-size: 10pt; ">> Subject: Re: [Swift-devel] ssh test case on pads/beagle<br>> From: hategan@mcs.anl.gov<br>> To: alberto_chavez@live.com<br>> CC: swift-devel@ci.uchicago.edu<br>> Date: Tue, 9 Aug 2011 11:57:06 -0700<br>> <br>> Hmm: Unsupported passphrase algorithm: AES-128-CBC<br>> <br>> I'll try to see how that can be fixed. In the mean time, can you<br>> generate a new key pair with 3DES encryption instead and use that?<br>> <br>> On Tue, 2011-08-09 at 13:43 -0500, Alberto Chavez wrote:<br>> > Hello,<br>> > <br>> > <br>> > I am trying to run a simpler case than ssh-pbs-coaster test case, and<br>> > I'm still having the same error.<br>> > Now I am running only ssh test case<br>> > (/tests/providers/ssh/001-catsn-ssn.swift)<br>> > <br>> > <br>> > The command line is:<br>> > swift -config cf -tc.file tc.template.data -sites.file<br>> > sites.template.xml 001-catsn-ssh.swift<br>> > <br>> > <br>> > The output:<br>> > Swift svn swift-r4861 (swift modified locally) cog-r3183<br>> > <br>> > <br>> > RunID: 20110809-1336-ohte788a<br>> > Progress: time: Tue, 09 Aug 2011 13:36:42 -0500<br>> > Exception in cat:<br>> > Arguments: [data.txt]<br>> > Host: ssh<br>> > Directory: 001-catsn-ssh-20110809-1336-ohte788a/jobs/m/cat-mq74h7ek<br>> > - - -<br>> > <br>> > <br>> > Caused by: null<br>> > Caused by:<br>> > org.globus.cog.abstraction.impl.common.task.InvalidSecurityContextException: Invalid private key or passphrase<br>> > Caused by:<br>> > com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: Can't<br>> > read key due to cryptography problems:<br>> > java.security.NoSuchAlgorithmException: Unsupported passphrase<br>> > algorithm: AES-128-CBC<br>> > Progress: time: Tue, 09 Aug 2011 13:36:43 -0500 Selecting site:8<br>> > Submitting:1 Failed:1<br>> > Exception in cat:<br>> > Arguments: [data.txt]<br>> > Host: ssh<br>> > Directory: 001-catsn-ssh-20110809-1336-ohte788a/jobs/n/cat-nq74h7ek<br>> > - - -<br>> > <br>> > <br>> > Caused by: null<br>> > Caused by:<br>> > org.globus.cog.abstraction.impl.common.task.InvalidSecurityContextException: Invalid private key or passphrase<br>> > Caused by:<br>> > com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: Can't<br>> > read key due to cryptography problems:<br>> > java.security.NoSuchAlgorithmException: Unsupported passphrase<br>> > algorithm: AES-128-CBC<br>> > Progress: time: Tue, 09 Aug 2011 13:36:44 -0500 Selecting site:7<br>> > Submitting:1 Failed:2<br>> > Exception in cat:<br>> > Arguments: [data.txt]<br>> > Host: ssh<br>> > Directory: 001-catsn-ssh-20110809-1336-ohte788a/jobs/o/cat-oq74h7ek<br>> > - - -<br>> > <br>> > <br>> > Caused by: null<br>> > Caused by:<br>> > org.globus.cog.abstraction.impl.common.task.InvalidSecurityContextException: Invalid private key or passphrase<br>> > Caused by:<br>> > com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: Can't<br>> > read key due to cryptography problems:<br>> > java.security.NoSuchAlgorithmException: Unsupported passphrase<br>> > algorithm: AES-128-CBC<br>> > "error_log.log" 105L, 5770C<br>> > <br>> > <br>> > My auth.defaults reads:<br>> > <br>> > <br>> > login1.beagle.ci.uchicago.edu.type=key<br>> > login1.beagle.ci.uchicago.edu.username=achavez<br>> > login1.beagle.ci.uchicago.edu.key=/home/Alberto/.ssh/identity<br>> > <br>> > <br>> > login1.pads.ci.uchicago.edu.type=key<br>> > login1.pads.ci.uchicago.edu.username=achavez<br>> > login1.pads.ci.uchicago.edu.key=/home/Alberto/.ssh/identity<br>> > <br>> > <br>> > <br>> > <br>> > and it has been set to 600, I ommited the passphrase line, but it is<br>> > there, and the passphrase is right because I just verified it in two<br>> > ways:<br>> > 1) by logging to pads and beagle without providing a password<br>> > 2) "changed" the password. I the "new" password is the same as the<br>> > "old" one.<br>> > <br>> > sites.templates.xml:<br>> > <br>> > <config><br>> > <pool handle="ssh"><br>> > <execution provider="ssh" url="login1.pads.ci.uchicago.edu"<br>> > jobmanager="ssh"/><br>> > <filesystem provider="ssh" url="login1.pads.ci.uchicago.edu" /><br>> > <profile key="jobThrottle" namespace="karajan">0</profile><br>> > <workdirectory>/home/achavez/swiftwork</workdirectory><br>> > </pool><br>> > </config><br>> > <br>> > <br>> > config file:<br>> > <br>> > wrapperlog.always.transfer=true<br>> > sitedir.keep=true<br>> > execution.retries=0<br>> > lazy.errors=true<br>> > status.mode=provider<br>> > use.provider.staging=true<br>> > provider.staging.pin.swiftfiles=false<br>> > foreach.max.threads=10<br>> > provenance.log=true<br>> > <br>> > <br>> > <br>> > <br>> > <br>> > I also tried a simpler SwiftScript:<br>> > <br>> > <br>> > type filemsg;<br>> > <br>> > <br>> > app (filemsg output) hello(string s)<br>> > {<br>> > echo s stdout=@filename(output);<br>> > }<br>> > <br>> > <br>> > filemsg myfile<"dogcatdinosaur.out">;<br>> > myfile = hello("dog,cat,dinosaur");<br>> > <br>> > <br>> > and I get the following output:<br>> > <br>> > <br>> > Swift svn swift-r4861 (swift modified locally) cog-r3183<br>> > <br>> > <br>> > RunID: 20110809-1343-2es2hel2<br>> > Progress: time: Tue, 09 Aug 2011 13:43:25 -0500<br>> > Exception in echo:<br>> > Arguments: [dog,cat,dinosaur]<br>> > Host: ssh<br>> > Directory: hello_swift-20110809-1343-2es2hel2/jobs/0/echo-0oldh7ek<br>> > - - -<br>> > <br>> > <br>> > Caused by: null<br>> > Caused by:<br>> > org.globus.cog.abstraction.impl.common.task.InvalidSecurityContextException: Invalid private key or passphrase<br>> > Caused by:<br>> > com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: Can't<br>> > read key due to cryptography problems:<br>> > java.security.NoSuchAlgorithmException: Unsupported passphrase<br>> > algorithm: AES-128-CBC<br>> > Final status: time: Tue, 09 Aug 2011 13:43:26 -0500 Failed:1<br>> > The following errors have occurred:<br>> > 1. Can't read key due to cryptography problems:<br>> > java.security.NoSuchAlgorithmException: Unsupported passphrase<br>> > algorithm: AES-128-CBC<br>> > <br>> > <br>> > <br>> > <br>> > any thoughts on this? <br>> > _______________________________________________<br>> > Swift-devel mailing list<br>> > Swift-devel@ci.uchicago.edu<br>> > https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel<br>> <br>> <br></div></div> </div></body>
</html>