Bug #2438
Firefox no longer works
Status:
Closed
Priority:
Normal
Assignee:
Category:
Input: Browser Renderer
Target version:
Start date:
06/13/2019
Due date:
% Done:
100%
Related issues
Associated revisions
Updating geckodriver
Reference #2438
History
#1 Updated by Luke Murphey over 5 years ago
Updating geckodriver to v0.24.0 (https://github.com/mozilla/geckodriver/releases/tag/v0.24.0)
#2 Updated by Luke Murphey over 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
#3 Updated by Luke Murphey over 5 years ago
- Status changed from Closed to In Progress
#4 Updated by Luke Murphey over 5 years ago
This now works on my mac and passes on the build server.
However, the Linux host does not work.
Questions:- Is geckodriver anywhere else on the host?
- None found
- What version of Firefox is being used?
- Mozilla Firefox 67.0
- Is the geckodriver updated on the official install?
- The newest of the app was indeed installed. The binaries look new too.
- Are any logs present?
- Yes: "WebDriverException: Message: invalid argument: can't kill an exited process"
- Is this version of Geckodriver and Firefox compatible?
- yes: https://firefox-source-docs.mozilla.org/testing/geckodriver/Support.html
- But needs Selenium 3.11; I'm using 3.4.1 and thus should be ok
- Is the issue because I am running Firefox as root?
- Does this work if I change the owner to root?
- Is the problem perms on the geckodriver log?
- No
- What could be the difference between the CI environment and the Splunk install?
- User (root versus non-root)
Observations:
#5 Updated by Luke Murphey over 5 years ago
2019-06-14 20:06:13,251 ERROR Exception generated when attempting to test the browser Traceback (most recent call last): File "<string>", line 450, in test_browser File "/opt/splunk/etc/apps/website_input/bin/website_input_app/web_scraper.py", line 745, in scrape_page additional_fields=additional_fields, **kw) File "/opt/splunk/etc/apps/website_input/bin/website_input_app/web_scraper.py", line 437, in get_result_single content = web_client.get_url(url.geturl()) File "/opt/splunk/etc/apps/website_input/bin/website_input_app/web_driver_client.py", line 248, in get_url self.driver = self.get_driver() File "/opt/splunk/etc/apps/website_input/bin/website_input_app/web_driver_client.py", line 328, in get_driver driver = webdriver.Firefox(profile, log_path=make_splunkhome_path(['var', 'log', 'splunk', 'geckodriver.log'])) File "/opt/splunk/etc/apps/website_input/bin/selenium/webdriver/firefox/webdriver.py", line 152, in __init__ keep_alive=True) File "/opt/splunk/etc/apps/website_input/bin/selenium/webdriver/remote/webdriver.py", line 98, in __init__ self.start_session(desired_capabilities, browser_profile) File "/opt/splunk/etc/apps/website_input/bin/selenium/webdriver/remote/webdriver.py", line 188, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/opt/splunk/etc/apps/website_input/bin/selenium/webdriver/remote/webdriver.py", line 252, in execute self.error_handler.check_response(response) File "/opt/splunk/etc/apps/website_input/bin/selenium/webdriver/remote/errorhandler.py", line 194, in check_response raise exception_class(message, screen, stacktrace) WebDriverException: Message: invalid argument: can't kill an exited process
#6 Updated by Luke Murphey over 5 years ago
- Copied to Bug #2440: Firefox doesn't work on Linux web-server but tests run successfully added
#7 Updated by Luke Murphey over 5 years ago
- Status changed from In Progress to Closed