Hi Team,

We have automated few testcases and trying to execute the same testcases 
from jenkins and getting below error:

+ pybot -x junit.xml run.robot

==============================================================================

Run                                                                           

==============================================================================

sip-001                                                               | PASS |

------------------------------------------------------------------------------

sip-002                                                               | PASS |

------------------------------------------------------------------------------

Run                                                                   | PASS |

2 critical tests, 2 passed, 0 failed

2 tests total, 2 passed, 0 failed

 

 

Output:  
/opt/bitnami/apps/jenkins/jenkins_home/jobs/integration-test/workspace/output.xml

[ ERROR ] Reading XML source 
'/opt/bitnami/apps/jenkins/jenkins_home/jobs/integration-test/workspace/output.xml'
 
failed: ImportError: No module named expat; use SimpleXMLTreeBuilder instead


Here Testcases are passed but results *junit.xml* are not generating.


The same testcases if we execute from Ubuntu machine.. /path/run.robot. The 
Testcases passed and results are generating like junit.xml, output.xml 
etc.. 


Can anyone please guide me in resolving the above error which we got while 
executing from Jenkins.


Regards,

Sainath




 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/61338d95-8432-496f-9c54-9a721a1124f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to