It's all about the answers!

Ask a question

Cannot run program "/tmp/test.sh": error=2, No such file or directory


Eric Dolce (44113) | asked Apr 04 '17, 3:11 p.m.

Hi All,


I am using RQM 6.01 and the CLA adapter still 6.01, everything works fine but times to times the testscript fails with the error below:

Cannot run program "/tmp/test.sh": error=2, No such file or directory

What can be the reason that sometimes the file is not found? Is it a bug in RQM that has been fixed in the last version?

Thanks fro your help!

Eric


Comments
Donald Nong commented Apr 04 '17, 9:44 p.m.

Is this supposed to be an answer or just providing further information? If that latter, please make it a comment. Also, what does the RQM CLA supposed to run? /home/rafat/test.sh or /tmp/test.sh?


Eric Dolce commented Apr 05 '17, 9:28 a.m.

 More info

12:23:16,128 [Thread-8] ERROR com.ibm.rqm.adapter.commandline                    - Cannot run program "/tmp/test.sh": error=2, No such file or directory
java.io.IOException: Cannot run program "/tmp/test.sh": error=2, No such file or directory
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:1059)
 com.ibm.rqm.adapter.commandline.CommandLineAdapter.startProcess(CommandLineAdapter.java:401)
 com.ibm.rqm.adapter.commandline.CommandLineAdapter.runTest(CommandLineAdapter.java:196)


Eric Dolce commented Apr 05 '17, 9:30 a.m.

 Thanks Don, yes I moved in the comment part. Answering your question the script is in /tmp/test.sh.

One answer



permanent link
Eric Dolce (44113) | answered Apr 06 '17, 8:34 p.m.

 Removing the test case and recreating it seems to fix this issue.

Your answer


Register or to post your answer.