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

Rerun failed tests using pabot, errors out with exit code 252 #576

Open
pushkarlm opened this issue Apr 4, 2024 · 0 comments
Open

Rerun failed tests using pabot, errors out with exit code 252 #576

pushkarlm opened this issue Apr 4, 2024 · 0 comments

Comments

@pushkarlm
Copy link

pushkarlm commented Apr 4, 2024

Following are the versions I am using:

  • Pabot 2.16.0
  • Robot Framework 6.1.1
  • Python 3.9.6 on win32

Command I ran:

  • pabot --verbose --processes 2 --rerunfailed original.xml --output rerun.xml .\Tests\

original.xml has two failed tests from previous runs, one from each test suite

Above command gave following error:

pabot --verbose --processes 2 --rerunfailed original.xml --output rerun.xml .\Tests
C:\Program Files\Python39\lib\site-packages\robotframework-6.1.1-py3.9.egg\robot\utils\argumentparser.py:80: UserWarning: ArgumentParser option 'auto_pythonpath' is deprecated since Robot Framework 5.0.
warnings.warn("ArgumentParser option 'auto_pythonpath' is deprecated "
C:\Program Files\Python39\lib\site-packages\robotframework-6.1.1-py3.9.egg\robot\running\builder\builders.py:112: UserWarning: 'TestSuiteBuilder' argument 'included_suites' is deprecated and has no effect. Use the new 'included_files' argument or filter the created suite instead.
warnings.warn("'TestSuiteBuilder' argument 'included_suites' is deprecated "
Storing .pabotsuitenames file
Suite names resolved in 0.042122602462768555 seconds
2024-04-04 13:32:58.847567 [PID:13692] [0] [ID:1] EXECUTING PARALLEL Tests.Test2 with command:
robot --suite Tests.Test2 --rerunfailed original.xml --variable CALLER_ID:1cc9b3ce6edd4aa68201034a57d929bf --variable PABOTLIBURI:127.0.0.1:8270 --variable PABOTEXECUTIONPOOLID:0 --variable PABOTISLASTEXECUTIONINPOOL:1 --variable PABOTNUMBEROFPROCESSES:2 --variable PABOTQUEUEINDEX:1 --variable PABOTLASTLEVEL: --output rerun.xml --listener RobotStackTracer --log NONE --report NONE --xunit NONE --outputdir ".\pabot_results\1" --consolecolors off --consolemarkers off ".\Tests"
2024-04-04 13:32:58.847567 [PID:3776] [1] [ID:0] EXECUTING PARALLEL Tests.Test1 with command:
robot --suite Tests.Test1 --rerunfailed original.xml --variable CALLER_ID:c86bcd3a7f4246e6882881f34dd4a5a2 --variable PABOTLIBURI:127.0.0.1:8270 --variable PABOTEXECUTIONPOOLID:1 --variable PABOTISLASTEXECUTIONINPOOL:0 --variable PABOTNUMBEROFPROCESSES:2 --variable PABOTQUEUEINDEX:0 --variable PABOTLASTLEVEL:Tests.Test1 --output rerun.xml --listener RobotStackTracer --log NONE --report NONE --xunit NONE --outputdir ".\pabot_results\0" --consolecolors off --consolemarkers off ".\Tests"
2024-04-04 13:32:59.640358 [PID:13692] [0] [ID:1] Execution failed in Tests.Test2 with 252 failing test(s)

[ ERROR ] Parsing 'C:\Users\someuser\robot_exp\Tests"' failed: File or directory to execute does not exist.

Try --help for usage information.

2024-04-04 13:32:59.657928 [PID:3776] [1] [ID:0] Execution failed in Tests.Test1 with 252 failing test(s)

[ ERROR ] Parsing 'C:\Users\someuser\robot_exp\Tests"' failed: File or directory to execute does not exist.

Try --help for usage information.

WARN: No output files in ".\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: 1.40 seconds
Elapsed time: 0.91 seconds

@pushkarlm pushkarlm changed the title Rerunfailed tests using pabot errors out with exit code 252 Rerun failed tests using pabot, errors out with exit code 252 Apr 4, 2024
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