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

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

Open
hassineabd opened this issue Mar 25, 2024 · 0 comments

Comments

@hassineabd
Copy link

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



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