Closed Bug 1216739 Opened 9 years ago Closed 8 years ago

TEST-UNEXPECTED-FAIL | test_fallback_update.py TestFallbackUpdate.test_update | AssertionError: DownloadingPanel != CheckForUpdatesPanel

Categories

(Testing :: Firefox UI Tests, defect)

42 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1216738

People

(Reporter: whimboo, Unassigned)

References

Details

(Keywords: intermittent-failure)

Reason is that an update is already getting downloaded in the background. Most likely caused by not correctly cleaning up the system of a previous update test. See also bug 1216738 for the direct update test.

05:26:56 Traceback (most recent call last):
05:26:56   File "c:\jenkins\workspace\mozilla-aurora_update\venv\lib\site-packages\marionette\marionette_test.py", line 296, in run
05:26:56     testMethod()
05:26:56   File "c:\jenkins\workspace\mozilla-aurora_update\venv\lib\site-packages\firefox_ui_tests\update\fallback\test_fallback_update.py", line 28, in test_update
05:26:56     self._test_update()
05:26:56   File "c:\jenkins\workspace\mozilla-aurora_update\venv\lib\site-packages\firefox_ui_tests\update\fallback\test_fallback_update.py", line 20, in _test_update
05:26:56     self.download_and_apply_available_update(force_fallback=True)
05:26:56   File "c:\jenkins\workspace\mozilla-aurora_update\venv\lib\site-packages\firefox_ui_harness\testcases\update.py", line 154, in download_and_apply_available_update
05:26:56     update_available = about_window.check_for_updates()
05:26:56   File "c:\jenkins\workspace\mozilla-aurora_update\venv\lib\site-packages\firefox_puppeteer\ui\about_window\window.py", line 62, in check_for_updates
05:26:56     'Panel "Check for updates" is selected'
05:26:56 AssertionError: Panel "Check for updates" is selected
I think something we have to do here is to ensure that update tests are removing the folder with possible already downloaded update MAR files (or parts of it) before the test actually get started. If we don't do this we could always run into that trouble especially if a former test on that machine was aborted i.e due to a crash.
Depends on: 1232331
With the landing of bug 1232331 we now have a clearer failure message and it confirms my suspicion what's going on. In some cases Firefox directly starts to download the update and skips the check for updates pane. This happens most likely due a partially downloaded update file already been present. I will file or update an existing bug to get this fixed.
Summary: TEST-UNEXPECTED-FAIL | test_fallback_update.py TestFallbackUpdate.test_update | AssertionError: Panel "Check for updates" is selected → TEST-UNEXPECTED-FAIL | test_fallback_update.py TestFallbackUpdate.test_update | AssertionError: DownloadingPanel != CheckForUpdatesPanel
Depends on: 1233679
Product: Mozilla QA → Testing
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.