Error while executing RQM Copy Utility
I download the RQM Copy Utility version 6.0.3 and install RQM 6.0.3. I used the following command to to copy RQM artifacts from resrqm01 "SVT_GreenHat" project to a local RQM 6.0.3 server.
java -jar -Xmx3524m RQMCopyUtility.jar -s="https://resrqm01.rtp.raleigh.ibm.com/jazz/com.ibm.rqm.integration.service.IIntegrationService/resources/SVT_GreenHat" -us=sanaie33@us.ibm.com -pws=xxxxxxx -d="https://ritwin12r2.rtp.raleigh.ibm.com:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/SVT_RIT" -ud=admin -pwd=admin -l=importlog.txt -pl=progress.txt -f -a=builddefinition,buildrecord,configuration,channel,datapool,executionresult,executionsequence,executionsequenceresult,executionworkitem,keyword,labresource,objective,remotescript,request,reservation,resourcegroup,suiteexecutionrecord,template,testcase,testcell,testphase,testplan,testscript,testsuite,testsuitelog
Looking at the import log while copying artifacts
25 Mar 2017 07:41:21,164-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: java.net.SocketException: Unrecognized Windows Sockets error: 0: socket write error
25 Mar 2017 07:41:21,210-0400 [main] ERROR com.ibm.rqm.ct.CopyUtil: Internal error: java.lang.NullPointerException
25 Mar 2017 07:41:21,210-0400 [main] ERROR com.ibm.rqm.ct.CopyUtil: FAILURE!
25 Mar 2017 07:41:21,210-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the source IBM Rational Quality Manager server.
25 Mar 2017 07:41:21,897-0400 [main] INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the destination IBM Rational Quality Manager server.
Execution completed , the tool only copied 142 testcases out of 249 testcases from “SVT_GreenHat” project area and not copied any test plans as defined in the command by -a option.
Why execution completed without copying all artifacts and received error. I used the -f option that suppose to continue on failure.
One answer
The error is "java.net.SocketException: Unrecognized Windows Sockets error: 0: socket write error" which is an OS level issue. I doubt that you can resolve it within the RQM Copy Utility.
The error apparently appears half way through the copying process, so it may be caused by resource exhaustion or some sort.
Maybe you can try again on a Linux machine?
P.S. If you just add further information, make it as a comment, not an answer, otherwise others will not pay attention to your post as it has been "answered".
Comments
Ramin Sanaie
JAZZ DEVELOPER Mar 31 '17, 12:56 a.m.Ramin Sanaie
JAZZ DEVELOPER Mar 31 '17, 12:56 a.m.