tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html | image comparison (==), max difference: 236, number of differing pixels: 1313

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
3 years ago
3 years ago

People

(Reporter: armenzg, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8687416 [details]
layout/reftests/forms/input/range/value-prop.html failure

What the rendering looks like under docker:
http://people.mozilla.org/~armenzg/sattap/ea9576a4.png
The slider looks very different than when rendered on my local host or directly on hg web:
http://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/forms/input/range/value-prop.html

Probably due to the lack of a real Window manager (I run compiz).

The reftest-analyzer shows both images being rendered but shifted down and to the right (attached output for reftest-analyzer).
Loading both layout/reftests/forms/input/range/value-prop.html and layout/reftests/forms/input/range/75pct-common-ref.html reveals the same shifting

The test was landed on 2013:
http://hg.mozilla.org/mozilla-central/rev/18bd842b2897

No filter indicated in the manifest:
http://hg.mozilla.org/mozilla-central/file/tip/layout/reftests/forms/input/range/reftest.list#l17

jmaher: the browser is missing the chrome (is that what is called?). I wonder why there is a shifting. Could it be related to the lack of a proper window manager?
(Reporter)

Comment 1

3 years ago
Using gnome-session seems to make this test pass.
I will build and publish. I should have them by tomorrow morning.


(venv)root@taskcluster-worker:~/workspace/build/tests/reftest# python -u /home/worker/workspace/build/tests/reftest/runreftest.py --appname=/home/worker/workspace/build/application/firefox/firefox --utility-path=tests/bin --extra-profile-file=tests/bin/plugins --symbols-path=https://queue.taskcluster.net/v1/task/CN0b2p9zQYq3A1iMaCmXiQ/artifacts/public/build/target.crashreporter-symbols.zip --suite=reftest -- tests/layout/reftests/forms/input/range/value-prop.html 
Checking for orphan ssltunnel processes...
Checking for orphan xpcshell processes...
WARNING | runreftest.py | Failed to copy /home/worker/workspace/build/tests/reftest/tests/bin/plugins to profile
REFTEST INFO | runreftest.py | Running tests: start.

REFTEST INFO | Failed to find the test-plugin.
REFTEST INFO | Failed to find the test-plugin.
REFTEST INFO | Could not get test plugin tags.
Reading manifest file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/reftest.list
REFTEST INFO | Dumping JSON representation of sandbox
REFTEST INFO | {"isDebugBuild":false,"xulRuntime":{"widgetToolkit":"gtk3","OS":"Linux","XPCOMABI":"x86_64-gcc3"},"smallScreen":false,"d2d":false,"azureQuartz":false,"azureSkia":false,"skiaContent":false,"azureSkiaGL":0,"contentSameGfxBackendAsCanvas":true,"layersGPUAccelerated":false,"d3d11":false,"layersOpenGL":false,"layersOMTC":true,"B2G":false,"B2GDT":false,"Android":false,"cocoaWidget":false,"gtkWidget":true,"qtWidget":false,"winWidget":false,"transparentScrollbars":true,"AddressSanitizer":false,"webrtc":true,"http":{"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0","appName":"Mozilla","appVersion":"5.0","platform":"X11","oscpu":"Linux x86_64","misc":"rv:45.0"},"haveTestPlugin":false,"windowsDefaultTheme":false,"nativeThemePref":true,"prefs":{},"browserIsRemote":false,"Mulet":false,"asyncPan":false,"asyncZoom":false}
REFTEST INFO | Discovered 1 tests, after filtering SKIP tests, we have 1
REFTEST TEST-START | file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html
REFTEST TEST-LOAD | file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html | 0 / 1 (0%)
REFTEST INFO | [CONTENT] Using browser remote=false

REFTEST INFO | drawWindow flags = DRAWWINDOW_DRAW_CARET | DRAWWINDOW_DRAW_VIEW | DRAWWINDOW_USE_WIDGET_LAYERS; window size = 800,1000; test browser size = 800,1000
REFTEST TEST-LOAD | file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/75pct-common-ref.html | 0 / 1 (0%)
REFTEST TEST-PASS | file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html | image comparison (==)
REFTEST INFO | Loading a blank page
REFTEST TEST-END | file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html
REFTEST FINISHED: Slowest test took 75ms (file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html)
REFTEST INFO | Result summary:
REFTEST INFO | Successful: 1 (1 pass, 0 load only)
REFTEST INFO | Unexpected: 0 (0 unexpected fail, 0 unexpected pass, 0 unexpected asserts, 0 unexpected fixed asserts, 0 failed load, 0 exception)
REFTEST INFO | Known problems: 0 (0 known fail, 0 known asserts, 0 random, 0 skipped, 0 slow)
REFTEST INFO | Total canvas count = 2
REFTEST TEST-START | Shutdown
JavaScript error: resource://gre/modules/PerformanceStats.jsm, line 208: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIPerformanceStatsService.isMonitoringJank]
REFTEST INFO | Failed to find the test-plugin.
REFTEST INFO | Failed to find the test-plugin.
REFTEST INFO | Failed to get test plugin tags.
JavaScript error: resource://gre/modules/PerformanceStats.jsm, line 492: Error: forget() called twice
JavaScript error: resource://gre/modules/BookmarkHTMLUtils.jsm, line 894: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsINavBookmarksService.removeFolderChildren]
WARNING | leakcheck | refcount logging is off, so leaks can't be detected!

REFTEST INFO | runreftest.py | Running tests: end.
(Reporter)

Comment 2

3 years ago
We should see if this failure still happens in here:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fbe188bab4b0
I don't see this on the later runs:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=65068da71181

I expect this was fixed with some window manager fixes.  could we close this as worksforme?
(Reporter)

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.