Intermittent REFTEST TEST-UNEXPECTED-FAIL | layout/reftests/svg/as-image/svg-image-script-2.svg | image comparison (==)

RESOLVED FIXED in mozilla12

Status

()

Core
SVG
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: mbrubeck, Assigned: dholbert)

Tracking

({intermittent-failure})

Trunk
mozilla12
x86
Windows 7
intermittent-failure
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
The test image shows a black square; the reference image is a green square.

https://tbpl.mozilla.org/php/getParsedLog.php?id=6928257&tree=Firefox
Rev3 WINNT 6.1 mozilla-central debug test reftest on 2011-10-19 02:19:47 PDT for push 9fa62f76f1cf

builder: mozilla-central_win7-debug_test-reftest
slave: talos-r3-w7-061
starttime: 1319015987.8
results: warnings (1)
buildid: 20111019004254
builduid: 4a78091513394ace80d068fa511051a1
revision: 9fa62f76f1cf

REFTEST INFO | Loading a blank page
++DOMWINDOW == 112 (0AED4608) [serial = 15495] [outer = 081C1F00]
REFTEST TEST-START | file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/svg/as-image/svg-image-script-1.svg | 5289 / 7124 (74%)
++DOMWINDOW == 113 (27665780) [serial = 15496] [outer = 081C1F00]
REFTEST TEST-PASS | file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/svg/as-image/svg-image-script-1.svg | image comparison (==)
REFTEST INFO | Loading a blank page
++DOMWINDOW == 114 (13B39CD0) [serial = 15497] [outer = 081C1F00]
REFTEST TEST-START | file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/svg/as-image/svg-image-script-2.svg | 5290 / 7124 (74%)
++DOMWINDOW == 115 (13758838) [serial = 15498] [outer = 081C1F00]
REFTEST TEST-UNEXPECTED-FAIL | file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/svg/as-image/svg-image-script-2.svg | image comparison (==)


REFTEST number of differing pixels: 10000
REFTEST INFO | Saved log: START file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/svg/as-image/svg-image-script-2.svg
REFTEST INFO | Saved log: [CONTENT] OnDocumentLoad triggering WaitForTestEnd
REFTEST INFO | Saved log: [CONTENT] WaitForTestEnd: Adding listeners
REFTEST INFO | Saved log: Initializing canvas snapshot
REFTEST INFO | Saved log: DoDrawWindow 0,0,800,1000
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
REFTEST INFO | Saved log: [CONTENT] MakeProgress: dispatching MozReftestInvalidate
REFTEST INFO | Saved log: [CONTENT] AttrModifiedListener fired
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_FOR_REFTEST_WAIT_REMOVAL
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FINISH
REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/svg/as-image/svg-image-script-2.svg
REFTEST INFO | Saved log: Updating canvas for invalidation
REFTEST INFO | Saved log: DoDrawWindow 0,0,100,100
REFTEST INFO | Saved log: [CONTENT] WaitForTestEnd: Adding listeners
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
REFTEST INFO | Saved log: [CONTENT] MakeProgress: dispatching MozReftestInvalidate
REFTEST INFO | Saved log: [CONTENT] AttrModifiedListener fired
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_FOR_REFTEST_WAIT_REMOVAL
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FINISH
REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/svg/as-image/svg-image-script-2.svg
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FINISH
REFTEST INFO | Saved log: [CONTENT] MakeProgress: Completed
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_COMPLETED
REFTEST INFO | Saved log: [CONTENT] RecordResult fired
REFTEST INFO | Saved log: RecordResult fired
REFTEST INFO | Saved log: RecordResult fired
REFTEST INFO | Loading a blank page
++DOMWINDOW == 116 (0B1E6980) [serial = 15499] [outer = 081C1F00]
REFTEST TEST-START | file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/svg/as-image/svg-image-datauri-1.html | 5291 / 7124 (74%)
++DOMWINDOW == 117 (0AED26B0) [serial = 15500] [outer = 081C1F00]
REFTEST TEST-PASS | file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/svg/as-image/svg-image-datauri-1.html | image comparison (==)
I think the testcase just needs a <use> element pointing to its external-resource file, to force it to load before onload fires.
Blocks: 652442
Version: 10 Branch → Trunk
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Created attachment 584886 [details] [diff] [review]
fix

This should fix it, with the <use xlink:href="resources_file.svg#empty>" trick for getting resources files to load before onload fires (as noted in comment 1).
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #584886 - Flags: review?

Comment 10

6 years ago
Try run for 1843b6cb1f20 is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=1843b6cb1f20
Results (out of 37 total builds):
    exception: 1
    success: 32
    warnings: 4
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/dholbert@mozilla.com-1843b6cb1f20
Attachment #584886 - Flags: review? → review?(longsonr)

Updated

6 years ago
Attachment #584886 - Flags: review?(longsonr) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/aee26fea635f
Target Milestone: --- → mozilla12
https://hg.mozilla.org/mozilla-central/rev/aee26fea635f
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Keywords: intermittent-failure
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.