RPCError: Some unspecified error occurred.

106 views
Skip to first unread message

Phani Bhushan

unread,
Apr 14, 2015, 9:28:09 AM4/14/15
to robotframe...@googlegroups.com
Hi all,

I am very much new to robot framework and ride. i am trying to connect to a netconf server and edit some configuration through ride. connecting to the netconf server and getting the running configuration is fine. but when i am trying to edit the running or candidate configuration through ride, it is throwing an error message saying that "RPC Error. Some unspecified error occurred."

Below is the log message.

"
command: pybot --argumentfile /tmp/RIDEvfOyuV.d/argfile.txt --listener /usr/local/lib/python2.7/dist-packages/robotide/contrib/testrunner/TestRunnerAgent.py:57114:False /root/Netconf.robot
======================================================================================================================================================================================
Netconf                                                                                                                                                                              
======================================================================================================================================================================================
tc1                                                                                                                                                                           | FAIL |
RPCError: Some unspecified error occurred.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Netconf                                                                                                                    Starting test: Netconf.tc1
20150414 18:02:16.500 :  INFO : jks
20150414 18:02:16.976 :  INFO :
${config} = <?xml version="1.0" encoding="UTF-8"?><data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
    <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-...
20150414 18:02:17.100 :  FAIL : RPCError: Some unspecified error occurred.
Ending test:   Netconf.tc1
                                                   | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
======================================================================================================================================================================================
Output:  /tmp/RIDEvfOyuV.d/output.xml
Log:     /tmp/RIDEvfOyuV.d/log.html
Report:  /tmp/RIDEvfOyuV.d/report.html

test finished 20150414 18:02:17







Starting test: Netconf.tc1
20150414 18:02:16.500 :  INFO : jks
20150414 18:02:16.976 :  INFO :
${config} = <?xml version="1.0" encoding="UTF-8"?><data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
    <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-...
20150414 18:02:17.100 :  FAIL : RPCError: Some unspecified error occurred.
Ending test:   Netconf.tc1
"


can some one please help in resolving this issue.


Attached the .robot file with this mail.


Thanq in advance.


with Regards,
Phani Bhushan PV.




Netconf.robot

Tatu Aalto

unread,
Apr 14, 2015, 3:20:09 PM4/14/15
to phanibh...@gmail.com, robotframework-users

Ugh

Could you run the test case from command line, without using RIDE. Also if error occurs also from command line, could you run it with trace level (--loglevel trace).

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Phani Bhushan

unread,
Apr 14, 2015, 11:59:01 PM4/14/15
to Tatu Aalto, robotframework-users
Hi Tatu,

Thanq for your response. I could able to run this command with no failure from the command prompt of the netconf client. Below is the log of the command.


"netconf> edit-config running

  Type the edit configuration data (close editor by Ctrl-D):
<evcs xmlns="http://www.adtran.com/ns/yang/adtran-evcs"  xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0" xc:operation="merge"><evc><name>SomeSample99</name></evc></evcs>

  Result OK
netconf> 
"


With regards...
P.V.Phani Bhushan

amit roy

unread,
May 15, 2015, 2:35:26 PM5/15/15
to robotframe...@googlegroups.com, phanibh...@gmail.com
Hi 
Tatu Aalto /Phani,

I was also trying to edit-configuration with error option "rollback-on-error" . I am also getting same kind of error "Some unspecified error occurred
Without error-option it is working fine. I am usiing ncclient as Netconf client. and using Robot Frame work.

below is the api call
${Config}    Call Method  ${Session1}  edit_config  ${coe_config}  error_option=rollback-on-error
could some body pls help in this... 
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages