pabot icon indicating copy to clipboard operation
pabot copied to clipboard

[ERROR] EXCEPTION RAISED DURING PABOT EXECUTION

Open praweenkumargit opened this issue 3 years ago • 1 comments

  • python3 -m pabot.pabot --processes 2 scripts/Test_ORDER_API_No_Inventory.robot scripts/Test_ORDER_API_No_Resource.robot [ERROR] EXCEPTION RAISED DURING PABOT EXECUTION [ERROR] PLEASE CONSIDER REPORTING THIS ISSUE TO https://github.com/mkorpela/pabot/issues Total testing: 0.0 seconds Elapsed time: 0.0 seconds Traceback (most recent call last): File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.6/site-packages/pabot/pabot.py", line 1825, in main() File "/usr/local/lib/python3.6/site-packages/pabot/pabot.py", line 1775, in main outs_dir = _output_dir(options) File "/usr/local/lib/python3.6/site-packages/pabot/pabot.py", line 1230, in _output_dir shutil.rmtree(outpath) File "/usr/lib64/python3.6/shutil.py", line 486, in rmtree _rmtree_safe_fd(fd, path, onerror) File "/usr/lib64/python3.6/shutil.py", line 424, in _rmtree_safe_fd _rmtree_safe_fd(dirfd, fullname, onerror) File "/usr/lib64/python3.6/shutil.py", line 444, in _rmtree_safe_fd onerror(os.unlink, fullname, sys.exc_info()) File "/usr/lib64/python3.6/shutil.py", line 442, in _rmtree_safe_fd os.unlink(name, dir_fd=topfd) PermissionError: [Errno 13] Permission denied: 'robot_stdout.out'

praweenkumargit avatar May 12 '21 21:05 praweenkumargit

The file robot_stdout.out could not be deleted during cleanup of _output_dir (a final step of pabot). For me it looks like the file robot_stdout.out was opened manually during pabot execution (or by antivirus) and thus this file could not be deleted.

Please retry and do not open any pabot working folder or file...

DirkRichter avatar Jul 14 '21 12:07 DirkRichter