Open Bug 1536528 Opened 6 years ago Updated 2 years ago

Intermittent browser/components/sessionstore/test/browser_async_flushes.js | still only one history entry - Got 2, expected 1

Categories

(Firefox :: Session Restore, defect, P5)

defect

Tracking

()

REOPENED
Tracking Status
firefox91 --- affected

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, regression, Whiteboard: [comment 45])

Attachments

(1 file)

#[markdown(off)]
Filed by: ccoroiu [at] mozilla.com

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

https://queue.taskcluster.net/v1/task/AL6FekrUTmuVFNAZodlBdw/runs/0/artifacts/public/logs/live_backing.log

17:06:45 INFO - TEST-PASS | browser/components/sessionstore/test/browser_async_flushes.js | there is a single history entry -
17:06:45 INFO - Buffered messages logged at 17:06:43
17:06:45 INFO - Console message: [JavaScript Error: "remote browser crashed while on http://example.com/browser/browser/components/sessionstore/test/file_async_flushes.html#
17:06:45 INFO - " {file: "chrome://mochikit/content/mochitest-e10s-utils.js" line: 8}]
17:06:45 INFO - e10s_init/<@chrome://mochikit/content/mochitest-e10s-utils.js:8:8
17:06:45 INFO - EventListener.handleEvent*e10s_init@chrome://mochikit/content/mochitest-e10s-utils.js:6:10
17:06:45 INFO - testInit@chrome://mochikit/content/browser-test.js:103:5
17:06:45 INFO - setTimeout handler*@chrome://mochikit/content/browser-test.js:21:1
17:06:45 INFO - loadChromeScripts@jar:file:///C:/Users/task_1553010928/AppData/Local/Temp/tmpe6lrgo.mozrunner/extensions/mochikit@mozilla.org.xpi!/api.js:13:25
17:06:45 INFO - loadMochitest@jar:file:///C:/Users/task_1553010928/AppData/Local/Temp/tmpe6lrgo.mozrunner/extensions/mochikit@mozilla.org.xpi!/api.js:112:3
17:06:45 INFO - @Z:\task_1553010928\build\tests\mochitest\runtests.py:1772:5
17:06:45 INFO - @Z:\task_1553010928\build\tests\mochitest\runtests.py:1773:8
17:06:45 INFO - evaluate.sandbox/promise<@chrome://marionette/content/evaluate.js:128:10
17:06:45 INFO - evaluate.sandbox@chrome://marionette/content/evaluate.js:106:17
17:06:45 INFO - GeckoDriver.prototype.execute_@chrome://marionette/content/driver.js:1029:28
17:06:45 INFO - async*GeckoDriver.prototype.executeScript@chrome://marionette/content/driver.js:911:29
17:06:45 INFO - despatch@chrome://marionette/content/server.js:289:40
17:06:45 INFO - execute@chrome://marionette/content/server.js:262:16
17:06:45 INFO - onPacket/<@chrome://marionette/content/server.js:235:20
17:06:45 INFO - onPacket@chrome://marionette/content/server.js:236:9
17:06:45 INFO - _onJSONObjectReady/<@chrome://marionette/content/transport.js:492:20
17:06:45 INFO -
17:06:45 INFO - Buffered messages finished
17:06:45 INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_async_flushes.js | still only one history entry - Got 2, expected 1
17:06:45 INFO - Stack trace:
17:06:45 INFO - chrome://mochikit/content/browser-test.js:test_is:1315
17:06:45 INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_async_flushes.js:test_crash:81
17:06:45 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1106
17:06:45 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1134
17:06:45 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
17:06:45 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
17:06:45 INFO - Leaving test bound test_crash
17:06:45 INFO - Entering test bound test_remove
17:06:45 INFO - Console message: SessionStore: [process-switch]: type (web) is compatible - ignoring
17:06:45 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: "http://example.com/browser/browser/components/sessionstore/test/file_async_flushes.html" line: 0}]

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago4 years ago
Resolution: --- → INCOMPLETE
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → INCOMPLETE
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → INCOMPLETE

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=328328682&repo=mozilla-central&lineNumber=3566

[task 2021-01-30T17:25:47.139Z] 17:25:47 INFO - TEST-START | browser/components/sessionstore/test/browser_async_flushes.js
[task 2021-01-30T17:25:48.858Z] 17:25:48 INFO - GECKO(7336) | Et tu, Brute?
[task 2021-01-30T17:25:49.316Z] 17:25:49 INFO - GECKO(7336) | [Parent 11208, IPC I/O Parent] WARNING: file z:/build/build/src/ipc/chromium/src/base/process_util_win.cc:167
[task 2021-01-30T17:25:49.386Z] 17:25:49 INFO - GECKO(7336) | about:tabcrashed loaded and ready
[task 2021-01-30T17:25:55.553Z] 17:25:55 INFO - GECKO(7336) | Crash cleaned up
[task 2021-01-30T17:25:55.553Z] 17:25:55 INFO - TEST-INFO | started process screenshot
[task 2021-01-30T17:25:55.623Z] 17:25:55 INFO - TEST-INFO | screenshot: exit 0
[task 2021-01-30T17:25:55.623Z] 17:25:55 INFO - Buffered messages logged at 17:25:47
[task 2021-01-30T17:25:55.623Z] 17:25:55 INFO - Entering test bound test_flush
[task 2021-01-30T17:25:55.623Z] 17:25:55 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: "http://example.com/browser/browser/components/sessionstore/test/file_async_flushes.html" line: 0}]
[task 2021-01-30T17:25:55.624Z] 17:25:55 INFO - TEST-PASS | browser/components/sessionstore/test/browser_async_flushes.js | there is a single history entry -
[task 2021-01-30T17:25:55.624Z] 17:25:55 INFO - TEST-PASS | browser/components/sessionstore/test/browser_async_flushes.js | there are two shistory entries -
[task 2021-01-30T17:25:55.624Z] 17:25:55 INFO - Leaving test bound test_flush
[task 2021-01-30T17:25:55.624Z] 17:25:55 INFO - Entering test bound test_crash
[task 2021-01-30T17:25:55.624Z] 17:25:55 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: "http://example.com/browser/browser/components/sessionstore/test/file_async_flushes.html" line: 0}]
[task 2021-01-30T17:25:55.624Z] 17:25:55 INFO - TEST-PASS | browser/components/sessionstore/test/browser_async_flushes.js | there is a single history entry -
[task 2021-01-30T17:25:55.625Z] 17:25:55 INFO - Buffered messages logged at 17:25:49
[task 2021-01-30T17:25:55.625Z] 17:25:55 INFO - Console message: [JavaScript Error: "remote browser crashed while on http://example.com/browser/browser/components/sessionstore/test/file_async_flushes.html#
[task 2021-01-30T17:25:55.625Z] 17:25:55 INFO - " {file: "chrome://mochikit/content/mochitest-e10s-utils.js" line: 10}]
[task 2021-01-30T17:25:55.625Z] 17:25:55 INFO - e10s_init/<@chrome://mochikit/content/mochitest-e10s-utils.js:10:10
[task 2021-01-30T17:25:55.625Z] 17:25:55 INFO -
[task 2021-01-30T17:25:55.625Z] 17:25:55 INFO - Buffered messages finished
[task 2021-01-30T17:25:55.625Z] 17:25:55 INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_async_flushes.js | still only one history entry - Got 2, expected 1
[task 2021-01-30T17:25:55.626Z] 17:25:55 INFO - Stack trace:
[task 2021-01-30T17:25:55.626Z] 17:25:55 INFO - chrome://mochikit/content/browser-test.js:test_is:1351
[task 2021-01-30T17:25:55.626Z] 17:25:55 INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_async_flushes.js:test_crash:85
[task 2021-01-30T17:25:55.626Z] 17:25:55 INFO - Leaving test bound test_crash
[task 2021-01-30T17:25:55.626Z] 17:25:55 INFO - Entering test bound test_remove
[task 2021-01-30T17:25:55.716Z] 17:25:55 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: "http://example.com/browser/browser/components/sessionstore/test/file_async_flushes.html" line: 0}]
[task 2021-01-30T17:25:55.716Z] 17:25:55 INFO - TEST-PASS | browser/components/sessionstore/test/browser_async_flushes.js | there is a single history entry -
[task 2021-01-30T17:25:55.756Z] 17:25:55 INFO - Leaving test bound test_remove
[task 2021-01-30T17:25:55.857Z] 17:25:55 INFO - GECKO(7336) | MEMORY STAT | vsize 2105014MB | vsizeMaxContiguous 65363442MB | residentFast 548MB | heapAllocated 102MB
[task 2021-01-30T17:25:55.857Z] 17:25:55 INFO - TEST-OK | browser/components/sessionstore/test/browser_async_flushes.js | took 8715ms
[task 2021-01-30T17:25:55.887Z] 17:25:55 INFO - checking window state

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

Update:

There have been 40 failures within the last 7 days:

  • 12 failures on Linux 18.04 x64 shippable opt
  • 16 failures on Windows 10 x64 WebRender Shippable opt
  • 12 failures on Windows 10 x64 Shippable opt

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=341232142&repo=mozilla-central&lineNumber=7280

[task 2021-05-30T23:32:13.379Z] 23:32:13 INFO - TEST-PASS | browser/components/sessionstore/test/browser_async_flushes.js | there is a single history entry -
[task 2021-05-30T23:32:13.381Z] 23:32:13 INFO - Console message: [JavaScript Error: "remote browser crashed while on http://example.com/browser/browser/components/sessionstore/test/file_async_flushes.html#
[task 2021-05-30T23:32:13.381Z] 23:32:13 INFO - " {file: "chrome://mochikit/content/mochitest-e10s-utils.js" line: 10}]
[task 2021-05-30T23:32:13.381Z] 23:32:13 INFO - e10s_init/<@chrome://mochikit/content/mochitest-e10s-utils.js:10:10
[task 2021-05-30T23:32:13.382Z] 23:32:13 INFO -
[task 2021-05-30T23:32:13.382Z] 23:32:13 INFO - Buffered messages finished
[task 2021-05-30T23:32:13.383Z] 23:32:13 INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_async_flushes.js | still only one history entry - Got 2, expected 1
[task 2021-05-30T23:32:13.384Z] 23:32:13 INFO - Stack trace:
[task 2021-05-30T23:32:13.384Z] 23:32:13 INFO - chrome://mochikit/content/browser-test.js:test_is:1362
[task 2021-05-30T23:32:13.385Z] 23:32:13 INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_async_flushes.js:test_crash:85
[task 2021-05-30T23:32:13.385Z] 23:32:13 INFO - Leaving test bound test_crash
[task 2021-05-30T23:32:13.385Z] 23:32:13 INFO - Entering test bound test_remove
[task 2021-05-30T23:32:13.589Z] 23:32:13 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: "http://example.com/browser/browser/components/sessionstore/test/file_async_flushes.html" line: 0}]
[task 2021-05-30T23:32:13.591Z] 23:32:13 INFO - TEST-PASS | browser/components/sessionstore/test/browser_async_flushes.js | there is a single history entry -

Mike, could you help us assign this to someone?
Thank you.

Flags: needinfo?(mdeboer)
Whiteboard: [stockwell needswork:owner]

This is permafailing on Linux 18.04 x64 Shippable.
Chris, will the annotation be further updated on Bug 1713900, or should it be done individually on this one?

Flags: needinfo?(mdeboer) → needinfo?(cpeterson)

(In reply to Alexandru Michis [:malexandru] from comment #40)

Chris, will the annotation be further updated on Bug 1713900, or should it be done individually on this one?

I don't know how soon bug 1713900 will fix the root cause of these test failures. If you can update this test's annotations to skip Linux in this bug (changing fission && (os != "linux" || asan) to simply fission), that would be helpful.

Fission Milestone: --- → M7a
Flags: needinfo?(cpeterson) → needinfo?(malexandru)
Assignee: nobody → malexandru
Attachment #9225765 - Attachment description: WIP: Bug 1536528 - Disable browser_async_flushes.js on fission for frequent failures. =cpeterson → Bug 1536528 - Disable browser_async_flushes.js on fission for frequent failures. r=cpeterson
Flags: needinfo?(malexandru)
Assignee: malexandru → nobody
Status: REOPENED → NEW
Blocks: 1715264
Assignee: nobody → malexandru
Status: NEW → ASSIGNED

The SHIP permafail will be fixed in bug 1715264. We should keep this open as the intermittent happens without Fission as well.

Assignee: malexandru → nobody
Status: ASSIGNED → NEW
Whiteboard: [stockwell disable-recommended] → [comment 45]

Andreas, this browser-chrome test for Session Store is failing a lot (30–40 failures per week, enough to warrant a [stockwell disable-recommended] whiteboard tag) for Fission on Linux. Can you (or Kashav?) take a look before the test sheriffs disable the test?

Flags: needinfo?(afarre)

The test was fixed in bug 1715264, which landed earlier today!

Flags: needinfo?(afarre)

(In reply to :kashav from comment #49)

The test was fixed in bug 1715264, which landed earlier today!

Awesome! I'll optimistically close this bug as fixed by bug 1715264.

Status: NEW → RESOLVED
Closed: 4 years ago3 years ago
Resolution: --- → FIXED

(In reply to Intermittent Failures Robot from comment #51)

21 failures in 621 pushes (0.034 failures/push) were associated with this bug yesterday.

That's a lot of failures for one day! We're hoping bug 1715264, which landed yesterday, will fix them. Let's wait to see if there are any more failures with today's build.

Assignee: nobody → malexandru
Assignee: malexandru → nobody
Whiteboard: [comment 45][stockwell disable-recommended] → [comment 45]
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Appears to be without Fission. See comment #45.

(In reply to :kashav from comment #56)

Appears to be without Fission. See comment #45.

In that case, I will clear this bug's Fission Milestone so it doesn't block Fission MVP.

Fission Milestone: M7a → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: