+ pybot -x junit.xml run.robot==============================================================================Run ==============================================================================sip-001 | PASS |------------------------------------------------------------------------------sip-002 | PASS |------------------------------------------------------------------------------Run | PASS |2 critical tests, 2 passed, 0 failed2 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