Closed Bug 1449061 Opened 4 years ago Closed 4 years ago

Intermittent browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 4 matched about:blank - Got about:blank, expected http://mochi.test:8888/#4

Categories

(Firefox :: Tabbed Browser, defect, P5)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell fixed:product])

Component: General → Tabbed Browser
Product: Core → Firefox
Since this bug was created, 2 days ago, there have been 35 failures.

Most of the failures are on Linux x64 platform, but a few of them on Linux, Windows 7 and windows10-64.
Affected build types: pgo, opt and one on asan.

An example of a recent log file:
https://treeherder.mozilla.org/logviewer.html#?job_id=170965420&repo=mozilla-inbound&lineNumber=2800

And the relevant part of the log:
[task 2018-03-29T05:19:04.786Z] 05:19:04     INFO - TEST-START | browser/base/content/test/tabs/browser_new_tab_insert_position.js
[task 2018-03-29T05:19:06.821Z] 05:19:06     INFO - TEST-INFO | started process screentopng
[task 2018-03-29T05:19:07.384Z] 05:19:07     INFO - TEST-INFO | screentopng: exit 0
[task 2018-03-29T05:19:07.385Z] 05:19:07     INFO - Buffered messages logged at 05:19:04
[task 2018-03-29T05:19:07.385Z] 05:19:07     INFO - Entering test bound test_settings_insertRelatedAfter
[task 2018-03-29T05:19:07.386Z] 05:19:07     INFO - Buffered messages logged at 05:19:05
[task 2018-03-29T05:19:07.387Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | Middle click should open site to correct url. - 
[task 2018-03-29T05:19:07.388Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | (aInsertRelatedAfterCurrent=true, aInsertAfterCurrent=false): Middle click should open site in a new tab immediately to the right - 
[task 2018-03-29T05:19:07.389Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab owner is set correctly - 
[task 2018-03-29T05:19:07.389Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | opener tab is set - 
[task 2018-03-29T05:19:07.390Z] 05:19:07     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 946}]
[task 2018-03-29T05:19:07.392Z] 05:19:07     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 946}]
[task 2018-03-29T05:19:07.393Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | (aInsertRelatedAfterCurrent=true, aInsertAfterCurrent=false):  http://example.com/#urlbar should be loaded in the current tab. - 
[task 2018-03-29T05:19:07.394Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | (aInsertRelatedAfterCurrent=true, aInsertAfterCurrent=false):  Alt+Enter in the URL bar should open page in a new tab at rightmost - 
[task 2018-03-29T05:19:07.395Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | owner tab is set correctly - 
[task 2018-03-29T05:19:07.397Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | no opener tab is set - 
[task 2018-03-29T05:19:07.398Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | (aInsertRelatedAfterCurrent=true, aInsertAfterCurrent=false): openerTab should be selected after closing unrelated tab - 
[task 2018-03-29T05:19:07.401Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | (aInsertRelatedAfterCurrent=true, aInsertAfterCurrent=false): openerTab should be selected after closing related tab - 
[task 2018-03-29T05:19:07.402Z] 05:19:07     INFO - Buffered messages logged at 05:19:06
[task 2018-03-29T05:19:07.403Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 0 matched http://mochi.test:8888/#0 - 
[task 2018-03-29T05:19:07.405Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 1 matched http://example.com/browser/browser/base/content/test/tabs/file_new_tab_page.html - 
[task 2018-03-29T05:19:07.406Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 2 matched http://mochi.test:8888/#1 - 
[task 2018-03-29T05:19:07.408Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 3 matched http://mochi.test:8888/#3 - 
[task 2018-03-29T05:19:07.409Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 4 matched http://mochi.test:8888/#4 - 
[task 2018-03-29T05:19:07.411Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 0 matched http://mochi.test:8888/#0 - 
[task 2018-03-29T05:19:07.412Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 1 matched http://example.com/browser/browser/base/content/test/tabs/file_new_tab_page.html - 
[task 2018-03-29T05:19:07.418Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 2 matched http://mochi.test:8888/#1 - 
[task 2018-03-29T05:19:07.419Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 3 matched http://mochi.test:8888/#3 - 
[task 2018-03-29T05:19:07.420Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 4 matched http://mochi.test:8888/#4 - 
[task 2018-03-29T05:19:07.422Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 0 matched http://mochi.test:8888/#0 - 
[task 2018-03-29T05:19:07.423Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 1 matched http://example.com/browser/browser/base/content/test/tabs/file_new_tab_page.html - 
[task 2018-03-29T05:19:07.424Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 2 matched http://mochi.test:8888/#1 - 
[task 2018-03-29T05:19:07.425Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 3 matched http://mochi.test:8888/#3 - 
[task 2018-03-29T05:19:07.426Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 4 matched http://mochi.test:8888/#4 - 
[task 2018-03-29T05:19:07.428Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 0 matched http://mochi.test:8888/#0 - 
[task 2018-03-29T05:19:07.429Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 1 matched http://example.com/browser/browser/base/content/test/tabs/file_new_tab_page.html - 
[task 2018-03-29T05:19:07.431Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 2 matched http://mochi.test:8888/#1 - 
[task 2018-03-29T05:19:07.432Z] 05:19:07     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 3 matched http://mochi.test:8888/#3 - 
[task 2018-03-29T05:19:07.433Z] 05:19:07     INFO - Buffered messages finished
[task 2018-03-29T05:19:07.434Z] 05:19:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_new_tab_insert_position.js | tab pos 4 matched about:blank - Got about:blank, expected http://mochi.test:8888/#4
[task 2018-03-29T05:19:07.435Z] 05:19:07     INFO - Stack trace:
[task 2018-03-29T05:19:07.436Z] 05:19:07     INFO - chrome://mochikit/content/browser-test.js:test_is:1280
[task 2018-03-29T05:19:07.436Z] 05:19:07     INFO - chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_new_tab_insert_position.js:verifyTabState:43
[task 2018-03-29T05:19:07.437Z] 05:19:07     INFO - chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_new_tab_insert_position.js:doTest:156
[task 2018-03-29T05:19:07.438Z] 05:19:07     INFO - Leaving test bound test_settings_insertRelatedAfter


:dao As you are the triage owner of this component, could you please take a look at this?
Thank you!
Flags: needinfo?(dao+bmo)
Whiteboard: [stockwell needswork]
thanks Noemi for working on this bug- you got a great start on it.  A few things to consider:
1) the job was being retriggered on bc6, but shifted from bc3- we needed to go back a bit further in time.
2) it is a good idea to show the treeherder view for a few failures and a few revisions that don't fail- so we can see the before/after pattern
3) lastly- it looks like a few revisions before the many bc3 failures, this test was freshly added in Bug 1344749

Lets ask :mixedpuppy to look at this bug as he appears to have written the patch.
Blocks: 1344749
Flags: needinfo?(jmaher) → needinfo?(mixedpuppy)
I have a followup patch in bug 1344749 that should address this.
Flags: needinfo?(mixedpuppy)
Looking at comment 12, no failures since the patch in comment 11 landed.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Whiteboard: [stockwell needswork][retriggered]
Whiteboard: [stockwell fixed:product]
You need to log in before you can comment on or make changes to this bug.