Closed Bug 1268087 Opened 8 years ago Closed 6 years ago

[tier3] TEST-UNEXPECTED-ERROR | test_direct_update.py TestDirectUpdate.test_update, test_fallback_update.py TestFallbackUpdate.test_update | MarionetteException: win.document.documentElement is null

Categories

(Testing :: Firefox UI Tests, defect)

47 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: FlorinMezei, Unassigned)

References

Details

(Keywords: intermittent-failure)

Seen once while running ondemand update tests for 47.0b1 (https://treeherder.mozilla.org/#/jobs?repo=mozilla-beta&revision=5bbf2e7c2fc6&group_state=expanded&filter-tier=3&filter-searchStr=Fxup-beta(&selectedJob=1025489).

Traceback (most recent call last):
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\marionette\marionette_test.py", line 351, in run
    testMethod()
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\firefox_ui_tests\update\direct\test_direct_update.py", line 20, in test_update
    self.download_and_apply_available_update(force_fallback=False)
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\firefox_puppeteer\testcases\update.py", line 293, in download_and_apply_available_update
    about_window = self.browser.open_about_window()
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\firefox_puppeteer\ui\browser\window.py", line 182, in open_about_window
    return BaseWindow.open_window(self, callback, AboutWindow)
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\firefox_puppeteer\ui\windows.py", line 376, in open_window
    window = self._windows.create_window_instance(new_handle, expected_window_class)
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\firefox_puppeteer\ui\windows.py", line 108, in create_window_instance
    self.switch_to(handle)
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\firefox_puppeteer\ui\windows.py", line 202, in switch_to
    return self.create_window_instance(target_handle)
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\firefox_puppeteer\ui\windows.py", line 112, in create_window_instance
    message='Cannot get window type for chrome window handle "%s"' % handle
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\marionette_driver\wait.py", line 122, in until
    rv = condition(self.marionette)
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\firefox_puppeteer\ui\windows.py", line 111, in <lambda>
    lambda mn: mn.get_window_type(),
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1462, in get_window_type
    return self._send_message("getWindowType", key="value")
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\marionette_driver\decorators.py", line 36, in _
    return func(*args, **kwargs)
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\marionette_driver\marionette.py", line 757, in _send_message
    self._handle_error(err)
  File "c:\jenkins\workspace\ondemand_update\build\venv\lib\site-packages\marionette_driver\marionette.py", line 818, in _handle_error
    raise errors.lookup(error)(message, stacktrace=stacktrace)
MarionetteException: MarionetteException: win.document.documentElement is null
Hm, looks like a reincarnation of bug 1169180. Lets see how often it happens. Right now its not worth fixing.
Also got: 
TEST-UNEXPECTED-ERROR | test_fallback_update.py TestFallbackUpdate.test_update | MarionetteException: MarionetteException: win.document.documentElement is null 
in 
https://treeherder.mozilla.org/#/jobs?repo=mozilla-beta&revision=2991f214d4f4&group_state=expanded&filter-tier=3&filter-searchStr=Fxup-beta-cdntest&selectedJob=1073761.

I'm guessing it's the same issue. Let me know if you think this should be filed separately.
Summary: TEST-UNEXPECTED-ERROR | test_direct_update.py TestDirectUpdate.test_update | MarionetteException: MarionetteException: win.document.documentElement is null → TEST-UNEXPECTED-ERROR | test_direct_update.py TestDirectUpdate.test_update, test_fallback_update.py TestFallbackUpdate.test_update, test_page_info_window.py TestPageInfoWindow.test_close_window | MarionetteException: win.document.documentElement is null
The PageInfoWindow part is covered on bug 1319692.
Summary: TEST-UNEXPECTED-ERROR | test_direct_update.py TestDirectUpdate.test_update, test_fallback_update.py TestFallbackUpdate.test_update, test_page_info_window.py TestPageInfoWindow.test_close_window | MarionetteException: win.document.documentElement is null → TEST-UNEXPECTED-ERROR | test_direct_update.py TestDirectUpdate.test_update, test_fallback_update.py TestFallbackUpdate.test_update | MarionetteException: win.document.documentElement is null
Summary: TEST-UNEXPECTED-ERROR | test_direct_update.py TestDirectUpdate.test_update, test_fallback_update.py TestFallbackUpdate.test_update | MarionetteException: win.document.documentElement is null → [tier3] TEST-UNEXPECTED-ERROR | test_direct_update.py TestDirectUpdate.test_update, test_fallback_update.py TestFallbackUpdate.test_update | MarionetteException: win.document.documentElement is null
We are not going to fix/update anything especially not for old ESR releases.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.