Comment 6 for bug 1834052

Revision history for this message
Iain Lane (laney) wrote :

Still fails for me with the patch I'm afraid, sorry (autopkgtest w/qemu runner)

test_login (test_webapp.TestWebApp) ... ERROR

======================================================================
ERROR: test_login (test_webapp.TestWebApp)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.yhOtVy/build.wUU/src/debian/tests/test_webapp.py", line 29, in setUp
    service_args=['--verbose'])
  File "/usr/lib/python3/dist-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__
    desired_capabilities=desired_capabilities)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
    self.start_session(capabilities, browser_profile)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed
  (unknown error: unable to discover open pages)
  (The process started from chrome location /snap/chromium/772/usr/lib/chromium-browser/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

-------------------- >> begin captured logging << --------------------
selenium.webdriver.remote.remote_connection: DEBUG: POST http://127.0.0.1:35567/session {"capabilities": {"firstMatch": [{}], "alwaysMatch": {"browserName": "chrome", "platformName": "any", "goog:chromeOptions": {"extensions": [], "args": ["--headless", "--no-sandbox", "--window-size=1200x900"]}}}, "desiredCapabilities": {"browserName": "chrome", "version": "", "platform": "ANY", "goog:chromeOptions": {"extensions": [], "args": ["--headless", "--no-sandbox", "--window-size=1200x900"]}}}
urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): 127.0.0.1:35567
urllib3.connectionpool: DEBUG: http://127.0.0.1:35567 "POST /session HTTP/1.1" 500 952
selenium.webdriver.remote.remote_connection: DEBUG: Finished Request
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 1 test in 5.848s

FAILED (errors=1)
autopkgtest [17:05:32]: test smoke: -----------------------]
autopkgtest [17:05:33]: test smoke: - - - - - - - - - - results - - - - - - - - - -
smoke FAIL non-zero exit status 1