Open Bug 1413765 Opened 7 years ago Updated 1 year ago

Intermittent devtools/client/responsive.html/test/browser/browser_navigation.js | documentURI matches page 2 - Got chrome://devtools/content/responsive.html/index.xhtml, expected http://example.com/browser/

Categories

(DevTools :: Responsive Design Mode, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: intermittent-failure, leave-open, Whiteboard: [stockwell disabled])

Attachments

(1 file)

This bug was filed 2 days ago and has already failed 50 times in this time frame. It is mostly failing on Linux and has a few fails on OSX as well. Build types are mostly OPT and a few PGO.

Here is a recent log:
https://bugzilla.mozilla.org/show_bug.cgi?id=1412035

And here is a part of the log:

[task 2017-11-04T05:16:21.799Z] 05:16:21     INFO - Opening responsive design mode
[task 2017-11-04T05:16:22.039Z] 05:16:22     INFO - GECKO(2067) | JavaScript error: chrome://global/content/viewZoomOverlay.js, line 47: TypeError: zoom is undefined
[task 2017-11-04T05:16:22.041Z] 05:16:22     INFO - GECKO(2067) | JavaScript error: resource:///modules/ZoomUI.jsm, line 69: TypeError: win.gBrowser is undefined
[task 2017-11-04T05:16:22.136Z] 05:16:22     INFO - Console message: [JavaScript Error: "TypeError: zoom is undefined" {file: "chrome://global/content/viewZoomOverlay.js" line: 47}]
[task 2017-11-04T05:16:22.136Z] 05:16:22     INFO - Console message: [JavaScript Error: "TypeError: win.gBrowser is undefined" {file: "resource:///modules/ZoomUI.jsm" line: 69}]
[task 2017-11-04T05:16:22.138Z] 05:16:22     INFO - GECKO(2067) | JavaScript error: resource://gre/modules/RemoteAddonsParent.jsm, line 1111: TypeError: cannot use the given object as a weak map key
[task 2017-11-04T05:16:22.160Z] 05:16:22     INFO - Console message: [JavaScript Error: "TypeError: cannot use the given object as a weak map key" {file: "resource://gre/modules/RemoteAddonsParent.jsm" line: 1111}]
[task 2017-11-04T05:16:22.197Z] 05:16:22     INFO - Responsive design mode opened
[task 2017-11-04T05:16:22.202Z] 05:16:22     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | Going back is allowed - 
[task 2017-11-04T05:16:22.203Z] 05:16:22     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | Going forward is allowed - 
[task 2017-11-04T05:16:22.203Z] 05:16:22     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | documentURI matches page 1 - 
[task 2017-11-04T05:16:22.203Z] 05:16:22     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | contentTitle matches page 1 - 
[task 2017-11-04T05:16:22.839Z] 05:16:22     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | Going back is allowed - 
[task 2017-11-04T05:16:22.839Z] 05:16:22     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | Going forward is not allowed - 
[task 2017-11-04T05:16:22.844Z] 05:16:22     INFO - TEST-INFO | started process screentopng
[task 2017-11-04T05:16:23.413Z] 05:16:23     INFO - TEST-INFO | screentopng: exit 0
[task 2017-11-04T05:16:23.415Z] 05:16:23     INFO - TEST-UNEXPECTED-FAIL | devtools/client/responsive.html/test/browser/browser_navigation.js | documentURI matches page 2 - Got chrome://devtools/content/responsive.html/index.xhtml, expected http://example.com/browser/
[task 2017-11-04T05:16:23.416Z] 05:16:23     INFO - Stack trace:
[task 2017-11-04T05:16:23.417Z] 05:16:23     INFO -     chrome://mochikit/content/browser-test.js:test_is:1010
[task 2017-11-04T05:16:23.418Z] 05:16:23     INFO -     chrome://mochitests/content/browser/devtools/client/responsive.html/test/browser/browser_navigation.js:null:53
[task 2017-11-04T05:16:23.419Z] 05:16:23     INFO -     Tester_execTest@chrome://mochikit/content/browser-test.js:797:9
[task 2017-11-04T05:16:23.420Z] 05:16:23     INFO -     Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:697:9
[task 2017-11-04T05:16:23.421Z] 05:16:23     INFO -     SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:795:59
[task 2017-11-04T05:16:23.423Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | contentTitle matches page 2 - 
[task 2017-11-04T05:16:23.424Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | Going back is not allowed - 
[task 2017-11-04T05:16:23.425Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | Going forward is allowed - 
[task 2017-11-04T05:16:23.426Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | documentURI matches page 0 - 
[task 2017-11-04T05:16:23.427Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | contentTitle matches page 0 - 
[task 2017-11-04T05:16:23.428Z] 05:16:23     INFO - Looking up example.com…
[task 2017-11-04T05:16:23.430Z] 05:16:23     INFO - Transferring data from example.com…
[task 2017-11-04T05:16:23.431Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | 2 status changes while loading - 
[task 2017-11-04T05:16:23.434Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | Going back is allowed - 
[task 2017-11-04T05:16:23.443Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | Going forward is not allowed - 
[task 2017-11-04T05:16:23.446Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | documentURI matches page 3 - 
[task 2017-11-04T05:16:23.447Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | contentTitle matches page 3 - 
[task 2017-11-04T05:16:23.449Z] 05:16:23     INFO - Closing responsive design mode
[task 2017-11-04T05:16:23.452Z] 05:16:23     INFO - GECKO(2067) | JavaScript error: resource:///modules/ZoomUI.jsm, line 69: TypeError: win.gBrowser is undefined
[task 2017-11-04T05:16:23.454Z] 05:16:23     INFO - Responsive design mode closed
[task 2017-11-04T05:16:23.456Z] 05:16:23     INFO - Console message: [JavaScript Error: "TypeError: win.gBrowser is undefined" {file: "resource:///modules/ZoomUI.jsm" line: 69}]
[task 2017-11-04T05:16:23.458Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | At page 1 in history - 
[task 2017-11-04T05:16:23.460Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | 2 pages in history - 
[task 2017-11-04T05:16:23.465Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | Page 0 URL matches - 
[task 2017-11-04T05:16:23.466Z] 05:16:23     INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_navigation.js | Page 1 URL matches - 
[task 2017-11-04T05:16:23.466Z] 05:16:23     INFO - Removing tab.
[task 2017-11-04T05:16:23.467Z] 05:16:23     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2017-11-04T05:16:23.468Z] 05:16:23     INFO - Got event: 'TabClose' on [object XULElement].
[task 2017-11-04T05:16:23.469Z] 05:16:23     INFO - Tab removed and finished closing
[task 2017-11-04T05:16:23.470Z] 05:16:23     INFO - Leaving test bound 
[task 2017-11-04T05:16:23.472Z] 05:16:23     INFO - GECKO(2067) | MEMORY STAT | vsize 2563MB | residentFast 402MB | heapAllocated 163MB
[task 2017-11-04T05:16:23.473Z] 05:16:23     INFO - TEST-OK | devtools/client/responsive.html/test/browser/browser_navigation.js | took 2108ms
[task 2017-11-04T05:16:23.478Z] 05:16:23     INFO - checking window state
[task 2017-11-04T05:16:23.499Z] 05:16:23     INFO - TEST-START | devtools/client/responsive.html/test/browser/browser_network_throttling.js
[task 2017-11-04T05:16:23.509Z] 05:16:23     INFO - Entering test bound 
[task 2017-11-04T05:16:23.511Z] 05:16:23     INFO - Adding a new tab with URL: data:text/html;charset=utf-8,Network throttling test
[task 2017-11-04T05:16:23.630Z] 05:16:23     INFO - Tab added and finished loading

:jryans: Hi, This bug has failed a lot in the last 2 days. Can you please take a loot at it?
Flags: needinfo?(jryans)
Whiteboard: [stockwell needswork]
I'll disable it for now.  I hope to make the tests more reliable via bug 1414984.
Assignee: nobody → jryans
Status: NEW → ASSIGNED
Flags: needinfo?(jryans)
Keywords: leave-open
Comment on attachment 8925733 [details]
Bug 1413765 - Disable RDM browser_navigation.js test for intermittents.

https://reviewboard.mozilla.org/r/196848/#review202060
Attachment #8925733 - Flags: review+
Pushed by jryans@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c5417e806ad5
Disable RDM browser_navigation.js test for intermittents. r=jryans
Whiteboard: [stockwell needswork] → [stockwell disabled]
Pushed by jryans@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/e06545e41fdf
Skip RDM browser_permission_doorhanger.js for permafail. r=me
(It appears that browser_permission_doorhanger.js can be affected by having been run before it, so it started permafailing on Linux 64-bit ASAN runs when browser_navigation.js was skipped.)
Product: Firefox → DevTools
Assignee: jryans → nobody
Status: ASSIGNED → NEW
For what it's worth, this lack of test coverage almost led me to check in a patch that would have badly broken responsive design mode. I did a try run, and it was all green.  That surprised me enough (due to other parts of the patch, not this one) that I started asking around and found that the tests that should have caught the problems in the patch are all disabled.  :(
Depends on: 1414984
Blocks: rdm-ux
Blocks: rdm-test
No longer blocks: rdm-ux
Whiteboard: [stockwell disabled] → [stockwell disabled] [rdm-mvp]
Priority: P5 → P2
Whiteboard: [stockwell disabled] [rdm-mvp] → [stockwell disabled]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: