Closed Bug 1511267 Opened 5 years ago Closed 5 years ago

Intermittent browser/components/preferences/in-content/tests/browser_cloud_storage.js | Save to Dropbox option is visible -

Categories

(Firefox :: Settings UI, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Firefox 66
Tracking Status
firefox65 --- fixed
firefox66 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered][stockwell disable-recommended])

Attachments

(1 file)

Filed by: apavel [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=214764396&repo=autoland

https://queue.taskcluster.net/v1/task/bv05mqU-TyOwARuWzFe-Qw/runs/0/artifacts/public/logs/live_backing.log

19:56:56     INFO - TEST-START | browser/components/preferences/in-content/tests/browser_cloud_storage.js
19:56:56     INFO - GECKO(2193) | console.log: /var/folders/md/rtd22clj3kqfm9bcmrc3c89h00000x/T/tmpV0Zzfg.mozrunner/CloudStorage/.dropbox/info.json
19:56:56     INFO - GECKO(2193) | console.log: /var/folders/md/rtd22clj3kqfm9bcmrc3c89h00000x/T/tmpV0Zzfg.mozrunner/CloudStorage/Dropbox/Downloads
19:56:57     INFO - TEST-INFO | started process screencapture
19:56:57     INFO - TEST-INFO | screencapture: exit 0
19:56:57     INFO - Buffered messages logged at 19:56:56
19:56:57     INFO - Entering test bound setup
19:56:57     INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Cloud Storage: dropbox mockup should be created successfully. status: 0 - 
19:56:57     INFO - Leaving test bound setup
19:56:57     INFO - Entering test bound 
19:56:57     INFO - Console message: [JavaScript Error: "this.mm.content is null; can't access its "devicePixelRatio" property" {file: "resource:///modules/FaviconLoader.jsm" line: 447}]
19:56:57     INFO - loadIcons@resource:///modules/FaviconLoader.jsm:447:9
19:56:57     INFO - FaviconLoader/this.iconTask<@resource:///modules/FaviconLoader.jsm:443:44
19:56:57     INFO - idleDispatch/</<@resource://gre/modules/PromiseUtils.jsm:40:21
19:56:57     INFO - 
19:56:57     INFO - Buffered messages logged at 19:56:57
19:56:57     INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Radio options count - 
19:56:57     INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Element should not be null, when checking visibility - 
19:56:57     INFO - Buffered messages finished
19:56:57     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Save to Dropbox option is visible - 
19:56:57     INFO - Stack trace:
19:56:57     INFO - chrome://mochikit/content/browser-test.js:test_ok:1292
19:56:57     INFO - chrome://mochitests/content/browser/browser/components/preferences/in-content/tests/head.js:is_element_visible:10
19:56:57     INFO - chrome://mochitests/content/browser/browser/components/preferences/in-content/tests/browser_cloud_storage.js:null:124
19:56:57     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1093
19:56:57     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1084
19:56:57     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:982
19:56:57     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
19:56:57     INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Ensure first option is selected by default -
(In reply to Andreea Pavel [:apavel] from comment #1)
> This got triggered by Bug 1510015:

No, it wasn't *triggered* by bug 1510015 at all.  The reason is that this bug added code which does not run at all when the tests in this directory are running.

Rather it was triggered by bug 1446073, which was the bug that landed the test itself and is sitting just ~30 pushes above the push that got unlucky and uncovered this bug in the test.  Note that there is another bug inside it which prevents it from running in --verify mode (bug 1511216).
Blocks: 1446073
Flags: needinfo?(ehsan)
Over the last 7 days there are 34 failures on this bug. These happen on linux32, linux64, osx-10-10, windows10-64, windows10-64-ccov, windows7-32

Here is the most recent log example: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=216333338&repo=mozilla-central&lineNumber=25475
This bug has failed 41 times in the last 7 days, occurs on most platforms except android on opt, debug and pgo build types.

Recent log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=217251552&repo=mozilla-central&lineNumber=3381

jaws: can you please take a look at this bug?
Flags: needinfo?(jaws)
Redirecting to Punam.
Flags: needinfo?(jaws) → needinfo?(pdahiya)
It seems in this intermittent failure dropbox option is not visible even after dropbox mockup is created successfully. Assigning to myself to debug the issue.
Flags: needinfo?(pdahiya)
Assignee: nobody → pdahiya
There are 23 total failures in the last 7 days on linux, osx and windows. 

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=219228309&repo=autoland&lineNumber=3804

16:09:41     INFO - TEST-START | browser/components/preferences/in-content/tests/browser_cloud_storage.js
16:09:41     INFO - GECKO(2080) | console.log: C:\Users\task_1546098309\AppData\Local\Temp\tmpmpvj3d.mozrunner\CloudStorage\Dropbox\info.json
16:09:41     INFO - GECKO(2080) | console.log: C:\Users\task_1546098309\AppData\Local\Temp\tmpmpvj3d.mozrunner\CloudStorage\Dropbox\Downloads
16:09:43     INFO - TEST-INFO | started process screenshot
16:09:43     INFO - TEST-INFO | screenshot: exit 0
16:09:43     INFO - Buffered messages logged at 16:09:41
16:09:43     INFO - Entering test bound setup
16:09:43     INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Cloud Storage: dropbox mockup should be created successfully. status: 0 - 
16:09:43     INFO - Leaving test bound setup
16:09:43     INFO - Entering test bound 
16:09:43     INFO - Buffered messages logged at 16:09:43
16:09:43     INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Radio options count - 
16:09:43     INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Element should not be null, when checking visibility - 
16:09:43     INFO - Buffered messages finished
16:09:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Save to Dropbox option is visible - 
16:09:43     INFO - Stack trace:
16:09:43     INFO - chrome://mochikit/content/browser-test.js:test_ok:1305
16:09:43     INFO - chrome://mochitests/content/browser/browser/components/preferences/in-content/tests/head.js:is_element_visible:10
16:09:43     INFO - chrome://mochitests/content/browser/browser/components/preferences/in-content/tests/browser_cloud_storage.js:null:125
16:09:43     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1106
16:09:43     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
16:09:43     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
16:09:43     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
16:09:43     INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Ensure first option is selected by default - 
16:09:43     INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Set to system downloadsfolder as the default download location - 
16:09:43     INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_cloud_storage.js | downloadFolder filefield is enabled - 
16:09:43     INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_cloud_storage.js | chooseFolder button is enabled - 
16:09:43     INFO - Not taking screenshot here: see the one that was previously logged
16:09:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/in-content/tests/browser_cloud_storage.js | Default download location is elsewhere as specified by cloud storage API - Got 1, expected 3
Whiteboard: [retriggered] → [retriggered][stockwell needswork:owner]
In the last 7 days there have been 30 occurrences on Windows, Linux and OS X, build types Asan, Debug, Pgo, Opt.
Cloud Storage initialize provider test to help fix intermittent test failures
Pushed by pdahiya@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d94c4b92b44b
Cloud Storage init provider test and intermittent failure fix r=jaws
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
You need to log in before you can comment on or make changes to this bug.