Im currently facing some issue on my jenkins docker agent, trying to run the test cases there.
Im getting this error:
- Cache folder (/home/jenkins/.cache/selenium) cannot be created: Permission denied (os error 13)
- SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally.
- (session not created: DevToolsActivePort file doesn’t exist)
- (The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
- Stacktrace:
- #0 0x56173f4edee3
- #1 0x56173f1cb137
- #2 0x56173f1fcdad
- #3 0x56173f1f861b
- #4 0x56173f2396d2
- #5 0x56173f230663
- #6 0x56173f203a45
- #7 0x56173f204fb2
- #8 0x56173f4c2a17
- #9 0x56173f4c5b4d
- #10 0x56173f4c55f8
- #11 0x56173f4c6065
- #12 0x56173f4b4d3f
- #13 0x56173f4c63f2
- #14 0x56173f49ee46
- #15 0x56173f4dec65
- #16 0x56173f4dee4b
- #17 0x56173f4ed46f
- #18 0x7f24a388e044
Im installing the latest versions of these libraries:
robotframework
selenium
robotframework-seleniumlibrary
robotframework-robocop
robotframework-libtoc
robotframework-pabot
robotframework-browser
babel
requests
pycountry
xmltodict
names
Pillow
PyPDF2
pdfplumber
The failure appears in the Open Browser kwd from SeleniumLibrary trying to run cases in headless.
After I downgraded these libraries, it started working again:
robotframework==6.0.2
selenium==4.9.1
robotframework-seleniumlibrary==6.1.1
Could really use some support in this dept.
Thanks beforehand