Bug #1931
Bug #1929: Unit tests fail on CI server with Geckodriver 0.18.0
Fix issue where FireFox fails to work
0%
Associated revisions
Improving logging of WebDriver issues
Reference #1931
History
#1 Updated by Luke Murphey over 7 years ago
Tried with 0.17.0 Geckodriver: it passed
Server is running Mozilla Firefox 53.0.3
#2 Updated by Luke Murphey over 7 years ago
My mac is running 54.0.1 (64-bit).
0.18.0 says "geckodriver now recommends Firefox 53 and greater"; I would have expected this to work.
#3 Updated by Luke Murphey over 7 years ago
[Child 13436] WARNING: pipe error (3): Connection reset by peer: file /build/firefox-IKSm1A/firefox-53.0.3+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 346
This happened at: Tuesday, July 11, 2017 4:02:04.723 PM GMT
#4 Updated by Luke Murphey over 7 years ago
This is running from /var/opt/ci/splunk/6.2.12
#5 Updated by Luke Murphey over 7 years ago
This is being thrown from driver.quit(). Not quite sure why, it seems like it ought to work.
#6 Updated by Luke Murphey over 7 years ago
Minimal repro attempts (from /var/lib/go-agent/pipelines/web-input/src/bin):
from web_input import WebScraper import urlparse web_scraper = WebScraper(timeout=5) content = web_scraper.get_result_browser(urlparse.urlparse("http://google.com"), "firefox")
That repros the error.
This just returns a message saying "selenium.common.exceptions.WebDriverException: Message: connection refused":
from selenium import webdriver import os os.environ["PATH"] += ":" + os.path.join(os.getcwd(), "browser_drivers" ,"linux64") driver = webdriver.Firefox() driver.get("http://google.com") content = driver.execute_script("return document.documentElement.outerHTML")
#7 Updated by Luke Murphey over 7 years ago
I wonder if an exception is being swallowed.
#8 Updated by Luke Murphey over 7 years ago
It doesn't appear to be.
#9 Updated by Luke Murphey over 7 years ago
Next to try: deploy latest on the server and confirm Firefox works from Splunk.
#10 Updated by Luke Murphey over 7 years ago
Didn't work after being deployed.
#11 Updated by Luke Murphey over 7 years ago
Ok, it doesn't work on the server. Go was installing the older version of the app, the last one that succeeded in testing.
#12 Updated by Luke Murphey over 7 years ago
- Target version changed from 4.3.0 to 4.4
#13 Updated by Luke Murphey over 7 years ago
- Target version deleted (
4.4)