Closed Bug 1315235 Opened 8 years ago Closed 8 years ago

Intermittent test_fallback_update.py TestFallbackUpdate.test_update | AttributeError: 'Preferences' object has no attribute 'restore_pref'

Categories

(Testing :: Firefox UI Tests, defect)

Version 3
defect
Not set
normal

Tracking

(firefox50 unaffected, firefox51 unaffected, firefox52 fixed)

RESOLVED FIXED
mozilla52
Tracking Status
firefox50 --- unaffected
firefox51 --- unaffected
firefox52 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: whimboo)

References

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

It looks like the patch was not complete and we missed at minimum a single call to restore_pref():

05:44:28     INFO -     download_via_update_wizard(window)
05:44:28     INFO -   File "c:\jenkins\workspace\mozilla-central_update\build\venv\lib\site-packages\firefox_ui_harness\testcases.py", line 265, in download_via_update_wizard
05:44:28     INFO -     prefs.restore_pref(self.PREF_APP_UPDATE_ALTWINDOWTYPE)

I will get this patched.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Keywords: regression
Attachment #8807529 - Flags: review?(james)
Comment on attachment 8807529 [details]
Bug 1315235 - Remove remaining call to restore_pref() from update tests.

https://reviewboard.mozilla.org/r/90676/#review90356
Attachment #8807529 - Flags: review?(james) → review+
Why was this not triggered during our tests before landing the patch?

Did throw the testing net too small?
Update tests cannot be run via try, and are also not getting run for checkins. This is a nightly and release build only test suite.
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5bd71ef29d81
Remove remaining call to restore_pref() from update tests. r=jgraham
https://hg.mozilla.org/mozilla-central/rev/5bd71ef29d81
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: