Intermittent dom/tests/browser/browser_autofocus_background.js | The background tab's focused element should be INPUT - Got BODY, expected INPUT
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: emilio)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [retriggered][stockwell unknown])
Attachments
(1 file)
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=258158579&repo=autoland&lineNumber=9139
task 2019-07-24T19:10:53.223Z] 19:10:53 INFO - TEST-START | dom/tests/browser/browser_autofocus_background.js
[task 2019-07-24T19:10:53.223Z] 19:10:53 INFO - GECKO(1808) | Chrome file doesn't exist: /Users/cltbld/tasks/task_1563995020/build/tests/mochitest/browser/dom/tests/browser/head.js
[task 2019-07-24T19:10:53.247Z] 19:10:53 INFO - GECKO(1808) | ++DOCSHELL 0x11eae4800 == 2 [pid = 1811] [id = {0f171775-edd5-8541-80bc-e9faca04cbd7}]
[task 2019-07-24T19:10:53.247Z] 19:10:53 INFO - GECKO(1808) | ++DOMWINDOW == 4 (0x124649200) [pid = 1811] [serial = 4] [outer = 0x0]
[task 2019-07-24T19:10:53.327Z] 19:10:53 INFO - GECKO(1808) | ++DOMWINDOW == 5 (0x1246c0800) [pid = 1811] [serial = 5] [outer = 0x124649200]
[task 2019-07-24T19:10:53.328Z] 19:10:53 INFO - GECKO(1808) | ++DOMWINDOW == 6 (0x1248da800) [pid = 1811] [serial = 6] [outer = 0x124649200]
[task 2019-07-24T19:10:53.328Z] 19:10:53 INFO - GECKO(1808) | [Child 1811, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
[task 2019-07-24T19:10:53.328Z] 19:10:53 INFO - GECKO(1808) | ++DOMWINDOW == 7 (0x1248e2800) [pid = 1811] [serial = 7] [outer = 0x124649200]
[task 2019-07-24T19:10:53.328Z] 19:10:53 INFO - GECKO(1808) | [Child 1811, Main Thread] WARNING: NS_ENSURE_SUCCESS(mStatus, *this) failed with result 0x80004005: file /builds/worker/workspace/build/src/obj-firefox/dist/include/nsIURIMutator.h, line 489
[task 2019-07-24T19:10:53.360Z] 19:10:53 INFO - TEST-INFO | started process screencapture
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - TEST-INFO | screencapture: exit 0
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - Buffered messages logged at 19:10:53
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - Entering test bound
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - Console message: [JavaScript Error: "uncaught exception: Object" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 112}]
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - Buffered messages finished
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - TEST-UNEXPECTED-FAIL | dom/tests/browser/browser_autofocus_background.js | The background tab's focused element should be INPUT - Got BODY, expected INPUT
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - Stack trace:
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - chrome://mochikit/content/browser-test.js:test_is:1591
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - chrome://mochitests/content/browser/dom/tests/browser/browser_autofocus_background.js:null:32
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1346
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1381
[task 2019-07-24T19:10:53.605Z] 19:10:53 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1209
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 20•5 years ago
|
||
Hi Honza, can the spikes here be from bug 1569044?
Comment hidden (Intermittent Failures Robot) |
Comment 22•5 years ago
|
||
It's mostly on macos 10.14. Guessing if widget is a better component to get right experts input ...
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 25•5 years ago
|
||
(In reply to Andreea Pavel [:apavel] from comment #20)
Hi Honza, can the spikes here be from bug 1569044?
Sorry for the delay!
I don't see any relation to this test. The bug 1569044 is related to the Network panel (in DevTools toolbox), which is not even initialized during this test.
Honza
Comment 26•5 years ago
|
||
No problem. Failure rate decreased, we'll continue monitoring.
Thank you.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 33•5 years ago
|
||
There are 27 total failures in the last 7 days.
- debug: macosx1014-64
- opt: macosx1014-64-shippable
Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=277173864&repo=autoland&lineNumber=8896
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 36•5 years ago
|
||
There are 31 total failures in the last 7 days.
- debug: macosx1014-64
- opt: macosx1014-64-shippable
Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=279503659&repo=autoland&lineNumber=5428
Comment 37•5 years ago
|
||
Stephen can you assign someone to take a look at this?
Updated•5 years ago
|
Comment 38•5 years ago
|
||
I've added it to our backlog.
Comment hidden (Intermittent Failures Robot) |
Comment 40•5 years ago
|
||
There are 45 total failures in the last 7 days on macosx1014-64-shippable opt and macosx1014-64 debug.
Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=280364734&repo=autoland&lineNumber=5430
[task 2019-12-09T21:46:50.798Z] 21:46:50 INFO - TEST-START | dom/tests/browser/browser_autofocus_background.js
[task 2019-12-09T21:46:50.876Z] 21:46:50 INFO - TEST-INFO | started process screencapture
[task 2019-12-09T21:46:50.993Z] 21:46:50 INFO - TEST-INFO | screencapture: exit 0
[task 2019-12-09T21:46:50.993Z] 21:46:50 INFO - Buffered messages logged at 21:46:50
[task 2019-12-09T21:46:50.996Z] 21:46:50 INFO - Entering test bound
[task 2019-12-09T21:46:50.996Z] 21:46:50 INFO - Buffered messages finished
[task 2019-12-09T21:46:50.997Z] 21:46:50 INFO - TEST-UNEXPECTED-FAIL | dom/tests/browser/browser_autofocus_background.js | The background tab's focused element should be INPUT - Got BODY, expected INPUT
[task 2019-12-09T21:46:50.997Z] 21:46:50 INFO - Stack trace:
[task 2019-12-09T21:46:50.997Z] 21:46:50 INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2019-12-09T21:46:50.997Z] 21:46:50 INFO - chrome://mochitests/content/browser/dom/tests/browser/browser_autofocus_background.js:null:32
[task 2019-12-09T21:46:50.997Z] 21:46:50 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2019-12-09T21:46:50.997Z] 21:46:50 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2019-12-09T21:46:50.997Z] 21:46:50 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:925
[task 2019-12-09T21:46:50.997Z] 21:46:50 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:808
[task 2019-12-09T21:46:50.997Z] 21:46:50 INFO - TEST-PASS | dom/tests/browser/browser_autofocus_background.js | The background tab's focused element should not cause the tab to be focused -
[task 2019-12-09T21:46:50.997Z] 21:46:50 INFO - Leaving test bound
[task 2019-12-09T21:46:50.998Z] 21:46:50 INFO - GECKO(2194) | MEMORY STAT | vsize 7046MB | residentFast 329MB | heapAllocated 145MB
[task 2019-12-09T21:46:50.998Z] 21:46:50 INFO - TEST-OK | dom/tests/browser/browser_autofocus_background.js | took 47ms
This will soon reach disable-recommended.
Comment 41•5 years ago
|
||
Reassigning this to Layout: Form Controls, the same component where bug 546995 was first implemented and this test was added. This may get the attention of someone who might know why the behavior has changed on macOS.
Comment hidden (Intermittent Failures Robot) |
Comment 44•5 years ago
|
||
Over the last 7 days there are 49 failures present on this bug. These happen on: linux64-shippable, macosx1014-64, macosx1014-64-shippable.
Here is the most recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=281638012&repo=autoland&lineNumber=5689
[task 2019-12-17T22:53:15.826Z] 22:53:15 INFO - runtests.py | Waiting for browser...
[task 2019-12-17T22:53:15.841Z] 22:53:15 INFO - GECKO(2224) | 1576623195815 Marionette DEBUG 1 -> [0,7,"Marionette:SetContext",{"value":"content"}]
[task 2019-12-17T22:53:15.841Z] 22:53:15 INFO - GECKO(2224) | 1576623195816 Marionette DEBUG 1 <- [1,7,null,{"value":null}]
[task 2019-12-17T22:53:15.841Z] 22:53:15 INFO - GECKO(2224) | 1576623195821 Marionette DEBUG 1 -> [0,8,"WebDriver:DeleteSession",{}]
[task 2019-12-17T22:53:15.841Z] 22:53:15 INFO - GECKO(2224) | 1576623195823 Marionette DEBUG 1 <- [1,8,null,{"value":null}]
[task 2019-12-17T22:53:15.841Z] 22:53:15 INFO - GECKO(2224) | 1576623195825 Marionette DEBUG Closed connection 1
[task 2019-12-17T22:53:15.989Z] 22:53:15 INFO - *** Start BrowserChrome Test Results ***
[task 2019-12-17T22:53:16.050Z] 22:53:16 INFO - checking window state
[task 2019-12-17T22:53:16.051Z] 22:53:16 INFO - TEST-START | dom/tests/browser/browser_ConsoleAPI_originAttributes.js
[task 2019-12-17T22:53:16.099Z] 22:53:16 INFO - GECKO(2224) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2019-12-17T22:53:16.099Z] 22:53:16 INFO - GECKO(2224) | MEMORY STAT | vsize 6974MB | residentFast 321MB | heapAllocated 141MB
[task 2019-12-17T22:53:16.099Z] 22:53:16 INFO - TEST-OK | dom/tests/browser/browser_ConsoleAPI_originAttributes.js | took 42ms
[task 2019-12-17T22:53:16.180Z] 22:53:16 INFO - checking window state
[task 2019-12-17T22:53:16.180Z] 22:53:16 INFO - TEST-START | dom/tests/browser/browser_ConsoleStorageAPITests.js
[task 2019-12-17T22:53:17.054Z] 22:53:17 INFO - GECKO(2224) | console.log: "this" "is" "a" "log message"
[task 2019-12-17T22:53:17.055Z] 22:53:17 INFO - GECKO(2224) | console.info: "this" "is" "a" "info message"
[task 2019-12-17T22:53:17.055Z] 22:53:17 INFO - GECKO(2224) | console.warn: "this" "is" "a" "warn message"
[task 2019-12-17T22:53:17.055Z] 22:53:17 INFO - GECKO(2224) | console.error: "this" "is" "a" "error message"
[task 2019-12-17T22:53:17.055Z] 22:53:17 INFO - GECKO(2224) | console.log: "adding a new event"
[task 2019-12-17T22:53:17.201Z] 22:53:17 INFO - GECKO(2224) | MEMORY STAT | vsize 6999MB | residentFast 338MB | heapAllocated 130MB
[task 2019-12-17T22:53:17.201Z] 22:53:17 INFO - TEST-OK | dom/tests/browser/browser_ConsoleStorageAPITests.js | took 1025ms
[task 2019-12-17T22:53:17.329Z] 22:53:17 INFO - checking window state
[task 2019-12-17T22:53:17.330Z] 22:53:17 INFO - TEST-START | dom/tests/browser/browser_ConsoleStoragePBTest_perwindowpb.js
[task 2019-12-17T22:53:18.003Z] 22:53:18 INFO - GECKO(2224) | console.log: "foo bar baz (private: false)"
[task 2019-12-17T22:53:18.709Z] 22:53:18 INFO - GECKO(2224) | console.log: "foo bar baz (private: true)"
[task 2019-12-17T22:53:18.814Z] 22:53:18 INFO - GECKO(2224) | MEMORY STAT | vsize 7053MB | residentFast 346MB | heapAllocated 150MB
Comment hidden (Intermittent Failures Robot) |
Comment 46•5 years ago
|
||
Hi Sean, can you assign someone to take a look at this?
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 48•5 years ago
|
||
There are 24 total failures in the last 7 days on macosx1014-64-shippable opt, and macosx1014-64 debug.
Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=283411243&repo=mozilla-central&lineNumber=8496
[task 2020-01-04T00:10:19.599Z] 00:10:19 INFO - TEST-START | dom/tests/browser/browser_autofocus_background.js
[task 2020-01-04T00:10:19.653Z] 00:10:19 INFO - TEST-INFO | started process screencapture
[task 2020-01-04T00:10:19.809Z] 00:10:19 INFO - TEST-INFO | screencapture: exit 0
[task 2020-01-04T00:10:19.809Z] 00:10:19 INFO - Buffered messages logged at 00:10:19
[task 2020-01-04T00:10:19.809Z] 00:10:19 INFO - Entering test bound
[task 2020-01-04T00:10:19.810Z] 00:10:19 INFO - Buffered messages finished
[task 2020-01-04T00:10:19.810Z] 00:10:19 INFO - TEST-UNEXPECTED-FAIL | dom/tests/browser/browser_autofocus_background.js | The background tab's focused element should be INPUT - Got BODY, expected INPUT
[task 2020-01-04T00:10:19.810Z] 00:10:19 INFO - Stack trace:
[task 2020-01-04T00:10:19.810Z] 00:10:19 INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2020-01-04T00:10:19.810Z] 00:10:19 INFO - chrome://mochitests/content/browser/dom/tests/browser/browser_autofocus_background.js:null:32
[task 2020-01-04T00:10:19.810Z] 00:10:19 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2020-01-04T00:10:19.810Z] 00:10:19 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2020-01-04T00:10:19.810Z] 00:10:19 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:925
[task 2020-01-04T00:10:19.810Z] 00:10:19 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:808
[task 2020-01-04T00:10:19.810Z] 00:10:19 INFO - TEST-PASS | dom/tests/browser/browser_autofocus_background.js | The background tab's focused element should not cause the tab to be focused -
[task 2020-01-04T00:10:19.811Z] 00:10:19 INFO - Leaving test bound
[task 2020-01-04T00:10:19.811Z] 00:10:19 INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "data:text/html,<!DOCTYPE html><html><body><input autofocus id='target'></body></html>" line: 0}]
[task 2020-01-04T00:10:19.811Z] 00:10:19 INFO - GECKO(2293) | MEMORY STAT | vsize 7050MB | residentFast 352MB | heapAllocated 151MB
[task 2020-01-04T00:10:19.811Z] 00:10:19 INFO - TEST-OK | dom/tests/browser/browser_autofocus_background.js | took 84ms
Sean have you had the time to look?
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 53•5 years ago
|
||
There are 54 total failures in the last 7 days on macosx1014-64-shippable opt, and macosx1014-64 debug.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 56•5 years ago
|
||
In the last 7 days there have been 38 occurrences on macosx1014-64 (most on macosx1014-64-shippable) build type opt.
Assignee | ||
Comment 58•5 years ago
|
||
Well, probably, but probably not this week... Do we have any approximate regression range / has this spiked recently due to any recent change?
Comment 59•5 years ago
|
||
Emilio: when searching for the test file Bug 1596918 shows up and that would match some increases from December:
Joel , this is intermittent with a "normal" frequency rate per week/30 days, however, if you look at a longer history, looks like something that should be disabled until there is a fix? Can you please take a look and let us know what you think?
There are 138 total failures in the last 30 days and this is how the entire history looks like so far: https://treeherder.mozilla.org/intermittent-failures.html#/bugdetails?startday=2019-09-25&endday=2020-01-23&tree=trunk&bug=1484213
Comment 60•5 years ago
|
||
:apavel, thanks for asking, this does have 171 failures in the last 30 days, but I see :emilio as being responsive and probably will fix this up within the next few weeks.
With that said, this is right at our limit for disable, and we could disable on osx shippable (os == 'mac' && !debug), this keeps it running on OSX and other platforms.
I am happy to wait it out a bit, or we disable this and keep the needinfo's around so we can ensure it gets followed up on.
Comment 61•5 years ago
|
||
Emilio, based on the above, do we wait for your fix or disable it and keep tabs on this?
Updated•5 years ago
|
Assignee | ||
Comment 62•5 years ago
|
||
So I don't think this was particularly related to bug 1596918, so I take that back... I think the test could be a bit more reliable, will give a shot at fixing it.
Comment 63•5 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #62)
So I don't think this was particularly related to bug 1596918, so I take that back... I think the test could be a bit more reliable, will give a shot at fixing it.
Thank you. Based on that I understand that we can hold off disabling it.
Assignee | ||
Comment 64•5 years ago
|
||
I think the focus shenanigans instead of waiting for tab-switching or what not
may be tripping this tests and causing the background tab to be blurred, but I
didn't spend too much time trying to reproduce the failure.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 67•5 years ago
|
||
Comment 68•5 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Description
•