Closed Bug 1581206 Opened 5 years ago Closed 5 years ago

Intermittent editor/libeditor/tests/browser_bug629172.js | reftest comparison: == Textarea after switching the direction from ltr Reference rtl textarea - false == true -

Categories

(Core :: DOM: Editor, defect, P3)

Desktop
Windows
defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- fixed
firefox69 --- unaffected
firefox70 --- fixed
firefox71 --- fixed

People

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

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=266593258&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/U_8B0h4GQ0uVSaKqwvP1fw/runs/0/artifacts/public/logs/live_backing.log


[task 2019-09-13T19:19:56.507Z] 19:19:56 INFO - GECKO(7380) | 1568402396505 Marionette DEBUG 3 <- [1,8,null,{"value":null}]
[task 2019-09-13T19:19:56.508Z] 19:19:56 INFO - runtests.py | Waiting for browser...
[task 2019-09-13T19:19:56.513Z] 19:19:56 INFO - GECKO(7380) | 1568402396508 Marionette DEBUG Closed connection 3
[task 2019-09-13T19:19:56.640Z] 19:19:56 INFO - *** Start BrowserChrome Test Results ***
[task 2019-09-13T19:19:56.659Z] 19:19:56 INFO - checking window state
[task 2019-09-13T19:19:56.678Z] 19:19:56 INFO - TEST-START | editor/libeditor/tests/browser_bug527935.js
[task 2019-09-13T19:19:57.692Z] 19:19:57 INFO - GECKO(7380) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object
[task 2019-09-13T19:19:57.730Z] 19:19:57 INFO - GECKO(7380) | MEMORY STAT | vsize 2104107MB | vsizeMaxContiguous 65646996MB | residentFast 258MB | heapAllocated 121MB
[task 2019-09-13T19:19:57.730Z] 19:19:57 INFO - TEST-OK | editor/libeditor/tests/browser_bug527935.js | took 1058ms
[task 2019-09-13T19:19:57.755Z] 19:19:57 INFO - checking window state
[task 2019-09-13T19:19:57.760Z] 19:19:57 INFO - TEST-START | editor/libeditor/tests/browser_bug629172.js
[task 2019-09-13T19:19:58.255Z] 19:19:58 INFO - TEST-INFO | started process screenshot
[task 2019-09-13T19:19:58.339Z] 19:19:58 INFO - TEST-INFO | screenshot: exit 0
[task 2019-09-13T19:19:58.339Z] 19:19:58 INFO - Buffered messages logged at 19:19:57
[task 2019-09-13T19:19:58.340Z] 19:19:58 INFO - Entering test bound
[task 2019-09-13T19:19:58.340Z] 19:19:58 INFO - Buffered messages logged at 19:19:58
[task 2019-09-13T19:19:58.341Z] 19:19:58 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.org/browser/editor/libeditor/tests/bug629172.html" line: 0}]
[task 2019-09-13T19:19:58.341Z] 19:19:58 INFO - TEST-PASS | editor/libeditor/tests/browser_bug629172.js | reftest comparison: == Textarea before switching the direction from ltr Reference ltr textarea - true == true -
[task 2019-09-13T19:19:58.341Z] 19:19:58 INFO - TEST-PASS | editor/libeditor/tests/browser_bug629172.js | input event count must be 0 before - 0 == 0 -
[task 2019-09-13T19:19:58.342Z] 19:19:58 INFO - TEST-PASS | editor/libeditor/tests/browser_bug629172.js | The dir attribute must be correctly updated - "rtl" == "rtl" -
[task 2019-09-13T19:19:58.342Z] 19:19:58 INFO - TEST-PASS | editor/libeditor/tests/browser_bug629172.js | input event count must be 1 after - 1 == 1 -
[task 2019-09-13T19:19:58.342Z] 19:19:58 INFO - Buffered messages finished
[task 2019-09-13T19:19:58.343Z] 19:19:58 INFO - TEST-UNEXPECTED-FAIL | editor/libeditor/tests/browser_bug629172.js | reftest comparison: == Textarea after switching the direction from ltr Reference rtl textarea - false == true -
[task 2019-09-13T19:19:58.343Z] 19:19:58 INFO - Stack trace:
[task 2019-09-13T19:19:58.343Z] 19:19:58 INFO - http://example.org/tests/SimpleTest/WindowSnapshot.js:assertSnapshots:63
[task 2019-09-13T19:19:58.343Z] 19:19:58 INFO - resource://testing-common/content-task.js line 62 > eval:null:17
[task 2019-09-13T19:19:58.343Z] 19:19:58 INFO - resource://testing-common/content-task.js:null:63
[task 2019-09-13T19:19:58.344Z] 19:19:58 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-09-13T19:19:58.344Z] 19:19:58 INFO - TEST-UNEXPECTED-FAIL | editor/libeditor/tests/browser_bug629172.js | Uncaught exception - ReferenceError: usesFailurePatterns is not defined
[task 2019-09-13T19:19:58.344Z] 19:19:58 INFO - Leaving test bound
[task 2019-09-13T19:19:58.344Z] 19:19:58 INFO - GECKO(7380) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object
[task 2019-09-13T19:19:58.344Z] 19:19:58 INFO - Console message: [JavaScript Error: "uncaught exception: Object" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 112}]
[task 2019-09-13T19:19:58.344Z] 19:19:58 INFO - GECKO(7380) | MEMORY STAT | vsize 2104113MB | vsizeMaxContiguous 65646996MB | residentFast 264MB | heapAllocated 125MB
[task 2019-09-13T19:19:58.345Z] 19:19:58 INFO - TEST-OK | editor/libeditor/tests/browser_bug629172.js | took 523ms
[task 2019-09-13T19:19:58.345Z] 19:19:58 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-09-13T19:19:58.345Z] 19:19:58 INFO - TEST-UNEXPECTED-FAIL | editor/libeditor/tests/browser_bug629172.js | Found an unexpected tab at the end of test run: http://example.org/browser/editor/libeditor/tests/bug629172.html -
[task 2019-09-13T19:19:58.345Z] 19:19:58 INFO - checking window state
[task 2019-09-13T19:19:59.753Z] 19:19:59 INFO - GECKO(7380) | Completed ShutdownLeaks collections in process 10888
[task 2019-09-13T19:19:59.771Z] 19:19:59 INFO - GECKO(7380) | Completed ShutdownLeaks collections in process 8732
[task 2019-09-13T19:19:59.771Z] 19:19:59 INFO - GECKO(7380) | Completed ShutdownLeaks collections in process 2272
[task 2019-09-13T19:19:59.790Z] 19:19:59 INFO - GECKO(7380) | Completed ShutdownLeaks collections in process 6484
[task 2019-09-13T19:19:59.790Z] 19:19:59 INFO - GECKO(7380) | Completed ShutdownLeaks collections in process 10640
[task 2019-09-13T19:19:59.792Z] 19:19:59 INFO - GECKO(7380) | Completed ShutdownLeaks collections in process 11096
[task 2019-09-13T19:19:59.802Z] 19:19:59 INFO - GECKO(7380) | Completed ShutdownLeaks collections in process 2500
[task 2019-09-13T19:20:00.558Z] 19:20:00 INFO - GECKO(7380) | Completed ShutdownLeaks collections in process 10612
[task 2019-09-13T19:20:00.558Z] 19:20:00 INFO - TEST-START | Shutdown

Since this unstable test blocks fixing bug 1578337 and not running on a lot of platforms, we should convert it back to mochitest. I'm currently struggling with timing issue of resizer rendering on macOS.

Assignee: nobody → masayuki
Blocks: 1578337, 1255919
Status: NEW → ASSIGNED
OS: Unspecified → Windows
Priority: P5 → P3
Hardware: Unspecified → Desktop
Version: unspecified → Trunk

Currently, we can use chrome process's shortcut key with
EventUtils.synthesizeKey() with enabling "test.events.async.enabled" pref.
So, we should reconvert it to a mochitest for making it more stable.

Oddly, when I try to run this test as test-verify on macOS, it permanently
fails rendering resizer of <textarea> elements immediately after creation.
Therefore, this patch disables this test in test-verify on macOS.

Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/41c6beca5dc8
Reconvert browser_bug629172.js to mochitest r=Ehsan
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: