Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading XML source 'test/pabot_results/<test_no>/output.xml' failed: ParseError: no element found: line 1, column 0 #573

Open
salman-khalidi opened this issue Mar 4, 2024 · 0 comments

Comments

@salman-khalidi
Copy link

Hi. I've been using Pabot with the --testlevelsplit option recently to run test cases in the test suite in parallel, but intermittently receive an error/bug as per the title, for some tests. This usually happens on the first run. After the first run, the error/bug seems not re-produceable anymore. But if you made changes to the Robot Framework files, the chances for it to happen again is high. This error causes the log file to be incomplete and only contain logs for unaffected tests. Executing tests without --testlevelsplit seems fine. Am not sure how to troubleshoot as the content of output.xml, robot_stderr.out and robot_stdout.out files in pabot_results/<test_no> for the afffected tests will be empty. My Pabot command:

pabot --testlevelsplit -v env:dev --outputdir test --name WebCommonLogin FunctionalTesting/Login.robot

Attaching screenshots for reference.
Screenshot 2024-03-04 at 2 35 21 PM
Screenshot 2024-03-04 at 2 34 49 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant