SainsburyWellcomeCentre / WAZP

Wasp Animal-tracking Zoo project with Pose estimation
https://sainsburywellcomecentre.github.io/WAZP/
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Intermittent `WebDriverException: chrome not reachable` error on Windows runners. #65

Closed samcunliffe closed 9 months ago

samcunliffe commented 1 year ago

Stupid fix:

For the moment, one can simply rerun the windows (and any other cancelled) job(s). 🔨

Error message:

See, for example, this log.

 selenium.common.exceptions.WebDriverException: Message: chrome not reachable

Investigation:

Googling around it could be caused by:

Debugging thoughts dump:

niksirbi commented 1 year ago

I ran into a similar error while running pytest locally on my (silicon) Mac:

ERROR tests/test_integration/test_smoke.py::test_start_server_no_errors - selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home
samcunliffe commented 1 year ago

@niksirbi that is just a missing chromedriver (unrelated to Mac silicon) ... but It's not in the dev docs so my bad.

samcunliffe commented 1 year ago

Just for keeping the paper trail together: @niksirbi saw this which is a WebDriverException followed by some working tests with the chromedriver.

So it's really a timeout or startup problem (seems not likely to be related to versions of things).

samcunliffe commented 9 months ago

Looks like this was solved by #96. Closing this for housekeeping reasons.