pabot icon indicating copy to clipboard operation
pabot copied to clipboard

Unable to read file io.TextIOWrapper - EXCEPTION RAISED DURING PABOT EXECUTION

Open hassineabd opened this issue 11 months ago • 0 comments

Encountering file permission issues (FileNotFoundError) when running Robot Framework tests with Pabot and BrowserStack SDK on Azure DevOps CI. The tests hang for extended periods (over 15 minutes) before failing. Logs cannot be written due to the file permission error.


2024-03-25 14:59:28.220237 [PID:28655] [2] [ID:45] still running Tests.8 InfoTrafic.infoTraficEnCoursEtAvenir after 840.0 seconds 2024-03-25 15:01:03.480255 [PID:28655] [2] [ID:45] still running Tests.8 InfoTrafic.infoTrafic after 935.0 seconds 2024-03-25 15:02:20.679365 [PID:28655] [2] [ID:45] Execution failed in Tests.8 InfoTrafic.infoTrafic with 6 failing test(s) Unable to read file <_io.TextIOWrapper name='Results/pabot_results/45/robot_stdout.out' mode='w' encoding='UTF-8'> Unable to read file <_io.TextIOWrapper name='Results/pabot_results/45/robot_stderr.out' mode='w' encoding='UTF-8'> [ERROR] EXCEPTION RAISED DURING PABOT EXECUTION [ERROR] PLEASE CONSIDER REPORTING THIS ISSUE TO https://github.com/mkorpela/pabot/issues Pabot: 2.16.0 Python: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] Robot Framework: 6.0.2 Total testing: 7 hours 15 minutes 48.20 seconds Elapsed time: 1 hour 33 minutes 26.88 seconds Traceback (most recent call last): File "/agent/_work/_tool/Python/3.10.14/x64/bin/browserstack-sdk", line 8, in File "/agent/_work/_tool/Python/3.10.14/x64/lib/python3.10/site-packages/browserstack_sdk/init.py", line 2523, in run_on_browserstack File "/agent/_work/_tool/Python/3.10.14/x64/lib/python3.10/site-packages/pabot/pabot.py", line 1876, in main File "/agent/_work/_tool/Python/3.10.14/x64/lib/python3.10/site-packages/pabot/pabot.py", line 1927, in main_program File "/agent/_work/tool/Python/3.10.14/x64/lib/python3.10/site-packages/browserstack_sdk/init.py", line 1568, in bstack1ll1l1ll_opy FileNotFoundError: [Errno 2] No such file or directory



hassineabd avatar Mar 25 '24 16:03 hassineabd