mkorpela / pabot

Parallel executor for Robot Framework test cases.
https://pabot.org
Apache License 2.0
476 stars 152 forks source link

[ ERROR ] Reading XML source '' failed: No such file or directory - After Python upgrade #587

Closed HApolonio closed 5 months ago

HApolonio commented 5 months ago

I have a suite of tests successfully executing from a GitHub Workflow every day. Today I tried do bump the Python version from 3.10 to 3.12 and started getting the error: [ ERROR ] Reading XML source '' failed: No such file or directory

Right afterwards, I downgraded Python using the previous instalation folder on the PATH (c:\python_3-10_embed), and the tests started working again.

The commands I have:

pip install -U robotframework-pabot
pabot --processes 4 --processtimeout 5400 --outputdir reports --console verbose --exclude ignore TestCases/Regression

The command output:

Storing .pabotsuitenames file
2024-06-11 19:34:44.485047 [PID:768] [0] [ID:0] EXECUTING Web Testing 01.01
2024-06-11 19:34:44.707260 [PID:768] [0] [ID:0] Execution failed in Web Testing Disp 01.01 with 1 failing test(s)

WARN: No output files in "reports\pabot_results"
0 tests, 0 passed, 0 failed, 0 skipped.
===================================================
Output:  
[ ERROR ] Reading XML source '' failed: No such file or directory

Try --help for usage information.
Total testing: 0.20 seconds
Elapsed time:  0.34 seconds
Error: Process completed with exit code 1.

Robot Framework version = 7.0.1

HApolonio commented 5 months ago

After some more testing Pabot finally worked with Python 3.12.4 - closing this bug since it does not make sense anymore,

raghuveer-equbot commented 2 months ago

After some more testing Pabot finally worked with Python 3.12.4 - closing this bug since it does not make sense anymore,

may i know what is the complete pabot command to run in Jenkins

HApolonio commented 2 months ago

After some more testing Pabot finally worked with Python 3.12.4 - closing this bug since it does not make sense anymore,

may i know what is the complete pabot command to run in Jenkins

Hi. Like I said on the previous message: pabot --processes 4 --processtimeout 5400 --outputdir reports --console verbose --exclude ignore TestCases/Regression