RESOLVED FIXED in Firefox 65

Status

defect
P5
normal
RESOLVED FIXED
7 months ago
6 months ago

People

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

Tracking

({intermittent-failure})

unspecified
mozilla66
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox65 fixed, firefox66 fixed)

Details

Attachments

(1 attachment)

Reporter

Description

7 months ago
treeherder
Filed by: btara [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=215284910&repo=mozilla-central

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

https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/XC6p1mL9S3Or7Cz_tA-jaQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

[task 2018-12-03T15:20:40.173Z] 15:20:40     INFO - PID 5392 | 1543850440165	Marionette	INFO	Testing http://web-platform.test:8000/css/css-flexbox/Flexible-order.html == http://web-platform.test:8000/css/css-flexbox/reference/Flexible-order-ref.html
[task 2018-12-03T15:20:40.190Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: site security information will not be persisted: file /builds/worker/workspace/build/src/security/manager/ssl/nsSiteSecurityService.cpp, line 506
[task 2018-12-03T15:20:40.268Z] 15:20:40     INFO - PID 5392 | ++DOMWINDOW == 4 (0x7fc5cde1f400) [pid = 5534] [serial = 4] [outer = 0x7fc5cde12000]
[task 2018-12-03T15:20:40.365Z] 15:20:40     INFO - PID 5392 | ++DOMWINDOW == 5 (0x7fc5ce62cc00) [pid = 5534] [serial = 5] [outer = 0x7fc5cde12000]
[task 2018-12-03T15:20:40.401Z] 15:20:40     INFO - PID 5392 | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2018-12-03T15:20:40.430Z] 15:20:40     INFO - PID 5392 | 1543850440422	Marionette	INFO	No differences allowed
[task 2018-12-03T15:20:40.430Z] 15:20:40     INFO - PID 5392 | 1543850440423	Marionette	INFO	Found 5900 pixels different, maximum difference per channel 85
[task 2018-12-03T15:20:40.529Z] 15:20:40     INFO - TEST-UNEXPECTED-FAIL | /css/css-flexbox/Flexible-order.html | Testing http://web-platform.test:8000/css/css-flexbox/Flexible-order.html == http://web-platform.test:8000/css/css-flexbox/reference/Flexible-order-ref.html
[task 2018-12-03T15:20:40.529Z] 15:20:40     INFO - REFTEST   IMAGE 1 (TEST): data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAJYCAYAAAC+ZpjcAAAMX
[task 2018-12-03T15:20:40.530Z] 15:20:40     INFO - REFTEST   IMAGE 2 (REFERENCE): data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAJYCAYAAAC+ZpjcAAAMU0lEQVR4nO3cQU4jSRRF0dj/lpjirbAN96QKVakxxtmX/NH4HOlJkGYQUsqKO2JdAQBIrekDAAD8NAILACAmsAAAYgILACAmsAAAYgILACAmsAAAYncDay0zu7XxA5htvGX2zBNYZsc3fgCzjTd+wZlNTmCZHd/4Acw23vgFZzY5gbXzPnt502eztXxBdtrv78b0Oezf78Rmd/t+nz/bj57A2n3rxrOPntvZGz+Ave/9MrFtNn7B2c2QElknTGDtvvXgcztz4wew63X9ujDWH5eHbbHxC+7Jdy+gBNY3T2DtvvXgcztz4wew63X9uiw++Nnm34vNTDxtMIG1+9aNZx89t7M3fgC7vl8of/w+fSb7+93Y+RNYG0xg7b5bL2/6XLaWL8gOW198ZjPvxmYmsDaYwNp968HndubGD2DX9cVnNvNubGYCa4MJrN23Dn5mZ2z8AE++9eBzO//92MwE1gYTWLtvHfzMztj4AZ58dy8Z2/r92PdNYG0wgbX71sHP7IyNH+DJtw5+Zue9H5vbvcgSYd88gbX71ifPb31mZ238AE+8Ff2Nfe87stndiihxdcIE1s777OVNn83W8gWZ2l8XxX/4GzvvPdncPr7b58/14yewzI5v/ABmG2/8gjObnMAyO77xA5htvPELzmxyAsvs+MYPYLbxx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ICSwAgJjAAgCICSwAgJjAAgCICSwAgJjAAgCICSwAgJjAAgCICSwAgNh6fX29vry8mJmZmdknu1wu17e3ty9tTR/WzMzM7P8ygWVmZmYWT2CZmZmZxRNYZmZmZvEElpmZmVk8gWVmZmYWT2CZmZmZxRNYZmZmZvG+HFiXy2X8sGZmZma775F/NPoPTpcVDXGOsn4AAAAASUVORK5CYII=
[task 2018-12-03T15:20:40.530Z] 15:20:40     INFO - TEST-INFO took 696ms
[task 2018-12-03T15:20:40.570Z] 15:20:40     INFO - PID 5392 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2018-12-03T15:20:40.571Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: NS_ENSURE_TRUE(maybeContext) failed: file /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp, line 870
[task 2018-12-03T15:20:40.611Z] 15:20:40     INFO - PID 5392 | 1543850440604	Marionette	INFO	Stopped listening on port 2828
[task 2018-12-03T15:20:40.653Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: '!gThread', file /builds/worker/workspace/build/src/xpcom/threads/nsTimerImpl.cpp, line 299
[task 2018-12-03T15:20:40.653Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: '!gThread', file /builds/worker/workspace/build/src/xpcom/threads/nsTimerImpl.cpp, line 299
[task 2018-12-03T15:20:40.715Z] 15:20:40     INFO - PID 5392 | --DOCSHELL 0x7fc5cdecd000 == 0 [pid = 5534] [id = {ab0fe1b0-75bb-45cd-986e-3646c9805d8d}]
[task 2018-12-03T15:20:40.715Z] 15:20:40     INFO - PID 5392 | --DOMWINDOW == 4 (0x7fc5cde12000) [pid = 5534] [serial = 1] [outer = (nil)] [url = http://web-platform.test:8000/css/css-flexbox/Flexible-order.html]
[task 2018-12-03T15:20:40.717Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2018-12-03T15:20:40.718Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2018-12-03T15:20:40.719Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2018-12-03T15:20:40.721Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2018-12-03T15:20:40.722Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2018-12-03T15:20:40.722Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2018-12-03T15:20:40.722Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2018-12-03T15:20:40.723Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2018-12-03T15:20:40.725Z] 15:20:40     INFO - PID 5392 | [Child 5534, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2018-12-03T15:20:40.725Z] 15:20:40     INFO - PID 5392 | --DOMWINDOW == 3 (0x7fc5cde17800) [pid = 5534] [serial = 2] [outer = (nil)] [url = about:blank]
The reftest-analyzer link shows that this is just a difference in window-focus, as revealed by the coloring of the scrollbar (the only pixels that differ).

The scrollbar is orange in the testcase (indicating the window has focus) but gray in the reference case (indicating the window does not have focus).

I think this is something we've hit elsewhere, too... jgraham, do you know if this is a specific instance of a more general bug?
Flags: needinfo?(james)
Component: CSS Parsing and Computation → web-platform-tests
Product: Core → Testing
(reclassifying since I'm pretty sure this is a bug in the harness, or in how we run it)
Hmm. I expect this is a more general bug but I don't have a specific bug number in mind to dupe it against. It looks like we try to give the browser window focus right before taking the screenshot [1], but I guess that isn't working reliably.

[1] https://searchfox.org/mozilla-central/source/testing/marionette/reftest.js#469
Seems like we should apply the same logic as is being added in https://bugzilla.mozilla.org/show_bug.cgi?id=1335085 to the focus command.
Depends on: 1335085
Flags: needinfo?(james)
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
This probably isn't a complete solution, but if we aren't the active
window try to use the focusManager to set us as the active window. A
more complete solution will be easier once
https://bugzilla.mozilla.org/show_bug.cgi?id=1335085 lands.

Comment 9

6 months ago
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/5b5648fde791
Improve the attempt to set window focus in reftests, r=ato

Comment 10

6 months ago
bugherder
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Assignee: nobody → james
You need to log in before you can comment on or make changes to this bug.