Closed
Bug 932233
Opened 11 years ago
Closed 10 years ago
Android reftest intermittent TEST-UNEXPECTED-FAIL | [reftest-name] | load failed: timed out waiting for pending paint count to reach zero (waiting for MozAfterPaint), on Android
Categories
(Testing :: Reftest, defect, P3)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: cbook, Unassigned)
References
()
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 file, 1 obsolete file)
7.23 KB,
text/plain
|
Details |
Android 2.2 Armv6 Tegra mozilla-inbound opt test plain-reftest-3 on 2013-10-29 02:40:34 PDT for push e09fa7cac06b
slave: tegra-146
https://tbpl.mozilla.org/php/getParsedLog.php?id=29829175&tree=Mozilla-Inbound
REFTEST TEST-UNEXPECTED-FAIL | http://10.250.49.167:30146/tests/layout/reftests/svg/as-image/background-resize-1.html | load failed: timed out waiting for pending paint count to reach zero (waiting for MozAfterPaint)
REFTEST TEST-UNEXPECTED-FAIL | http://10.250.49.167:30146/tests/layout/reftests/svg/as-image/background-resize-2.html | load failed: timed out waiting for pending paint count to reach zero (waiting for MozAfterPaint)
REFTEST TEST-UNEXPECTED-FAIL | http://10.250.49.167:30146/tests/layout/reftests/svg/as-image/background-resize-3.html | load failed: timed out waiting for pending paint count to reach zero (waiting for MozAfterPaint)
REFTEST TEST-UNEXPECTED-FAIL | http://10.250.49.167:30146/tests/layout/reftests/svg/as-image/background-resize-4.html | load failed: timed out waiting for pending paint count to reach zero (waiting for MozAfterPaint)
REFTEST TEST-UNEXPECTED-FAIL | http://10.250.49.167:30146/tests/layout/reftests/svg/as-image/canvas-drawImage-simple-1b.html | load failed: timed out waiting for pending paint count to reach zero (waiting for MozAfterPaint)
REFTEST TEST-UNEXPECTED-FAIL | http://10.250.49.167:30146/tests/layout/reftests/svg/as-image/canvas-drawImage-scale-1a.html | load failed: timed out waiting for pending paint count to reach zero (waiting for MozAfterPaint)
REFTEST TEST-UNEXPECTED-FAIL | http://10.250.49.167:30146/tests/layout/reftests/svg/as-image/canvas-drawImage-scale-1b.html | load failed: timed out waiting for pending paint count to reach zero (waiting for MozAfterPaint)
TEST-UNEXPECTED-FAIL | http://10.250.49.167:30146/tests/layout/reftests/svg/as-image/canvas-drawImage-scale-1c.html | application ran for longer than allowed maximum time
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
http://mxr.mozilla.org/mozilla-central/source/layout/reftests/svg/as-image/background-resize-1.html?force=1
Looks like a fairly simple reftest to me...
Why would we not get a MozReftestInvalidate event?
Flags: needinfo?(dbaron)
Priority: -- → P5
Seth might know more about this than I do.
Flags: needinfo?(seth)
Comment 4•11 years ago
|
||
Hmmm... very odd. AFAIK MozReftestInvalidate fires when the initial paint is finished and snapshotted, so this bug indicates that the initial paint never finishes. I'm not actually entirely sure how that could happen without a crash or nontermination. Any idea how this is even possible?
Flags: needinfo?(seth)
Comment 5•11 years ago
|
||
(In reply to Seth Fowler [:seth] from comment #4)
> Hmmm... very odd. AFAIK MozReftestInvalidate fires when the initial paint is
> finished and snapshotted, so this bug indicates that the initial paint never
> finishes
Not quite -- we don't fire MozReftestInvalidate firing until "we have no pending paints". (So if we do the first paint, and we already have more stuff to paint, then we won't fire MozReftestInvalidate.)
See e.g. bug 781362 comment 8 for (a bit) more.
Comment 6•11 years ago
|
||
It's also odd that all the following tests also times out waiting for paint events:
background-resize-1.html | timed out waiting for pending paint...
background-resize-2.html | timed out waiting for pending paint...
background-resize-3.html | timed out waiting for pending paint...
background-resize-4.html | timed out waiting for pending paint...
canvas-drawImage-simple-1b.html | timed out waiting for pending paint...
canvas-drawImage-scale-1a.html | timed out waiting for pending paint...
canvas-drawImage-scale-1b.html | timed out waiting for pending paint...
before the test framework gives up and kills it:
canvas-drawImage-scale-1c.html | application ran for longer than allowed maximum time
The logic that fires these events lives in nsPresContext, so it seems it should
be "reset" when a new document loads? which would point to the error being in
reftest-content.js maybe?
Given that this test is a simple text book use of MozReftestInvalidate:
http://mxr.mozilla.org/mozilla-central/source/layout/tools/reftest/README.txt#424
it seems rather worrisome if such tests fails intermittently...
We currently have 18 open bugs on "waiting for pending paint count to reach zero".
The earliest of those is bug 922996, filed on 2013-10-02, so the root cause
might be some change(s) around that time.
Comment 7•11 years ago
|
||
BTW, all of these 18 bugs are intermittent-failures on Android.
Comment 8•11 years ago
|
||
This reftest framework change landed 2013-09-19, only affecting Android AFAICT --
could it be what triggered these failures?
https://hg.mozilla.org/integration/mozilla-inbound/rev/8445294582d1
Flags: needinfo?(dminor)
Comment 9•11 years ago
|
||
FYI, here's a list of changes for end of September:
http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2013-09-20&enddate=2013-10-03
Comment 10•11 years ago
|
||
That change was made to disable using skiaGL due to it being slow for the reftest use case of creating many canvases. SkiaGL was only enabled around 20 August (or so) so if these intermittents did not occur between 20 August and 19 September, but happened prior and after, then re-enabling skiaGL might be a fix. Depending upon how often the intermittent occurs, this might be testable on Try. If you have further questions on this, :snorp is probably the person to ask.
Flags: needinfo?(dminor)
Comment 11•11 years ago
|
||
It's pretty bad when even the very first reftest-sanity/ test fails with this error (bug 935481).
Priority: P5 → P3
Comment 12•11 years ago
|
||
Given the large amount of "waiting for pending paint count to reach zero" intermittent
failures on Android recently, I see no other explanation than a bug in the reftest
framework, or in the parts of Gecko that is expected to deliver the MozAfterPaint
event. It seems unlikely that all these tests are at fault.
Comment 13•11 years ago
|
||
Going off the theory that this got way worse around late-October, I will attempt to bisect on Try. However, given that this happens on Tegras mainly, I expect it's going to be very slow-going.
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Comment 16•11 years ago
|
||
Comment 17•11 years ago
|
||
Comment 18•11 years ago
|
||
Comment 19•11 years ago
|
||
Comment 20•11 years ago
|
||
Comment 21•11 years ago
|
||
Comment 22•11 years ago
|
||
Comment 23•11 years ago
|
||
Comment 24•11 years ago
|
||
Comment 25•11 years ago
|
||
Comment 26•11 years ago
|
||
Comment 27•11 years ago
|
||
Comment 28•11 years ago
|
||
Comment 29•11 years ago
|
||
Comment 30•11 years ago
|
||
Comment 31•11 years ago
|
||
Comment 32•11 years ago
|
||
Comment 33•11 years ago
|
||
Comment 34•11 years ago
|
||
Comment 35•11 years ago
|
||
Comment 36•11 years ago
|
||
Comment 37•11 years ago
|
||
Comment 38•11 years ago
|
||
Comment 39•11 years ago
|
||
Comment 40•11 years ago
|
||
Comment 41•11 years ago
|
||
Comment 42•11 years ago
|
||
Comment 43•11 years ago
|
||
Comment 44•11 years ago
|
||
Comment 45•11 years ago
|
||
Comment 46•11 years ago
|
||
Comment 47•11 years ago
|
||
Comment 48•11 years ago
|
||
Comment 49•11 years ago
|
||
Comment 50•11 years ago
|
||
Comment 51•11 years ago
|
||
Comment 52•11 years ago
|
||
Comment 53•11 years ago
|
||
Comment 54•11 years ago
|
||
Comment 55•11 years ago
|
||
Comment 56•11 years ago
|
||
Comment 57•11 years ago
|
||
Comment 58•11 years ago
|
||
Comment 59•11 years ago
|
||
Reporter | ||
Comment 60•11 years ago
|
||
Comment 61•11 years ago
|
||
Comment 62•11 years ago
|
||
Comment 63•11 years ago
|
||
Reporter | ||
Comment 64•11 years ago
|
||
Reporter | ||
Comment 65•11 years ago
|
||
Comment 66•11 years ago
|
||
Comment 67•11 years ago
|
||
Reporter | ||
Comment 68•11 years ago
|
||
Reporter | ||
Comment 69•11 years ago
|
||
Reporter | ||
Comment 70•11 years ago
|
||
Reporter | ||
Comment 71•11 years ago
|
||
Comment 72•11 years ago
|
||
Reporter | ||
Comment 73•11 years ago
|
||
Reporter | ||
Comment 74•11 years ago
|
||
Reporter | ||
Comment 75•11 years ago
|
||
Comment 76•11 years ago
|
||
Comment 77•11 years ago
|
||
Comment 78•11 years ago
|
||
Comment 79•11 years ago
|
||
Comment 80•11 years ago
|
||
Comment 81•11 years ago
|
||
Reporter | ||
Comment 82•11 years ago
|
||
Reporter | ||
Comment 83•11 years ago
|
||
Comment 84•11 years ago
|
||
Comment 85•11 years ago
|
||
Comment 86•11 years ago
|
||
Comment 87•11 years ago
|
||
Comment 88•11 years ago
|
||
Reporter | ||
Comment 89•11 years ago
|
||
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 91•11 years ago
|
||
Comment 92•11 years ago
|
||
Comment 93•11 years ago
|
||
Reporter | ||
Comment 94•11 years ago
|
||
Comment 95•11 years ago
|
||
Comment 96•11 years ago
|
||
Comment 97•11 years ago
|
||
Comment 98•11 years ago
|
||
Comment 99•11 years ago
|
||
Comment 100•11 years ago
|
||
Comment 101•11 years ago
|
||
Reporter | ||
Comment 102•11 years ago
|
||
Comment 103•11 years ago
|
||
Comment 104•11 years ago
|
||
Comment 105•11 years ago
|
||
Comment 106•11 years ago
|
||
Comment 107•11 years ago
|
||
Comment 108•11 years ago
|
||
Comment 109•11 years ago
|
||
Comment 110•11 years ago
|
||
Comment 111•11 years ago
|
||
Comment 112•11 years ago
|
||
Comment 113•11 years ago
|
||
This has been hard to narrow down because it started in early October at a low frequency and got a lot worse in late October (and has been bad ever since).
I *think* I've got the initial cause narrowed down to this push, though:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=51b36c5fd45f&tochange=33be4ad3a720
The pushes from Cameron certainly look like they might be related. Will continue bisecting within this push.
Comment 114•11 years ago
|
||
Nevermind, I managed to reproduce in an earlier push, so comment 113 is out. I have a changeset from October 1 that is consistently green (after 300+ runs), so I do have a lower bound on this. Like I said before, the problem is that this first started as an infrequent (and therefore hard to reproduce) failure early in October before turning into the frequent failure it now is in late October.
Right now I'm only trying to find the initial cause of this failure, not what made it worse later. Once we know that, we can decide if it's worth trying to bisect that or not.
Flags: needinfo?(dbaron)
Reporter | ||
Comment 115•11 years ago
|
||
Comment 116•11 years ago
|
||
Reporter | ||
Comment 117•11 years ago
|
||
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 119•11 years ago
|
||
Comment 120•11 years ago
|
||
Comment 121•11 years ago
|
||
Comment 122•11 years ago
|
||
Comment 123•11 years ago
|
||
Reporter | ||
Comment 124•11 years ago
|
||
Reporter | ||
Comment 125•11 years ago
|
||
Comment 126•11 years ago
|
||
Comment 127•11 years ago
|
||
A hopefully better range:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=4fe6e345e0b0&tochange=e3c84e9f2490
Comment 128•11 years ago
|
||
Is it just me, or does bug 878935 stand out like a sore thumb in that range?
Flags: needinfo?(matspal)
Flags: needinfo?(jaywir3)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 130•11 years ago
|
||
Comment 131•11 years ago
|
||
Comment 132•11 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #128)
> Is it just me, or does bug 878935 stand out like a sore thumb in that range?
That would be my first guess too, but it was backed out the day after:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d1382e5fe60f
and never relanded AFAICT.
Flags: needinfo?(matspal)
Flags: needinfo?(jaywir3)
Comment 133•11 years ago
|
||
Damn. Given the Tegra wait time situation, I won't be surprised if I don't get this narrowed down until the weekend. As before, don't wait on my behalf! ;)
Comment 134•11 years ago
|
||
Reporter | ||
Comment 135•11 years ago
|
||
Reporter | ||
Comment 136•11 years ago
|
||
Reporter | ||
Comment 137•11 years ago
|
||
Comment 138•11 years ago
|
||
(In reply to Mats Palmgren (:mats) from comment #132)
> That would be my first guess too, but it was backed out the day after:
> https://hg.mozilla.org/integration/mozilla-inbound/rev/d1382e5fe60f
> and never relanded AFAICT.
As expected, green.
Comment 139•11 years ago
|
||
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 141•11 years ago
|
||
Reporter | ||
Comment 142•11 years ago
|
||
Comment 143•11 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #138)
> As expected, green.
I'm having a hard time getting this to reproduce at this point. Mats, I'm not sure I'm going to be able to take this any farther :(
Flags: needinfo?(matspal)
Comment 144•11 years ago
|
||
Comment 145•11 years ago
|
||
Yeah, I'm not sure there even is one particular range that made it more frequent.
It might just be the overall volume of tests that is the problem.
I think we need to add more logging to at least figure out which part of the system
that fails. I know next to nothing about how reftests are run on Android though,
so I'm of little use there.
Flags: needinfo?(matspal)
Comment 146•11 years ago
|
||
(In reply to Mats Palmgren (:mats) from comment #145)
> Yeah, I'm not sure there even is one particular range that made it more
> frequent.
> It might just be the overall volume of tests that is the problem.
>
> I think we need to add more logging to at least figure out which part of the
> system
> that fails. I know next to nothing about how reftests are run on Android
> though,
> so I'm of little use there.
Jet, I think we're at a point in this bug where we need some help from the Platform team on this. Can you please help?
Flags: needinfo?(bugs)
Comment 147•11 years ago
|
||
Comment 148•11 years ago
|
||
Comment 149•11 years ago
|
||
Comment 150•11 years ago
|
||
Reporter | ||
Comment 151•11 years ago
|
||
Comment 152•11 years ago
|
||
[dropping the test name from the summary, since this isn't about any one particular test anymore, per comment 12]
Summary: Intermittent TEST-UNEXPECTED-FAIL | tests/layout/reftests/svg/as-image/background-resize-1.html | load failed: timed out waiting for pending paint count to reach zero (waiting for MozAfterPaint) → Android reftest intermittent TEST-UNEXPECTED-FAIL | [reftest-name] | load failed: timed out waiting for pending paint count to reach zero (waiting for MozAfterPaint), on Android
Comment 153•11 years ago
|
||
(In reply to Carsten Book [:Tomcat] from comment #0)
> Android 2.2 Armv6 Tegra mozilla-inbound opt test plain-reftest-3 on
> 2013-10-29 02:40:34 PDT for push e09fa7cac06b
>
> slave: tegra-146
On all the logs I've seen, only Android 2.2 Armv6 is affected. That is, only ARMv6 and no other devices. Is that true?
Flags: needinfo?(bugs) → needinfo?(ryanvm)
Comment 155•11 years ago
|
||
Comment 156•11 years ago
|
||
Comment 157•11 years ago
|
||
Comment 158•11 years ago
|
||
Reporter | ||
Comment 159•11 years ago
|
||
Comment 160•11 years ago
|
||
Comment 161•11 years ago
|
||
Comment 162•11 years ago
|
||
Comment 163•11 years ago
|
||
Reporter | ||
Comment 164•11 years ago
|
||
Reporter | ||
Comment 165•11 years ago
|
||
Reporter | ||
Comment 166•11 years ago
|
||
Comment 167•11 years ago
|
||
Comment 168•11 years ago
|
||
Comment 169•11 years ago
|
||
Comment 170•11 years ago
|
||
Comment 171•11 years ago
|
||
Comment 172•11 years ago
|
||
Comment 173•11 years ago
|
||
Comment 174•11 years ago
|
||
Comment 175•11 years ago
|
||
Comment 176•11 years ago
|
||
Comment 177•11 years ago
|
||
Comment 178•11 years ago
|
||
Reporter | ||
Comment 179•11 years ago
|
||
Comment 180•11 years ago
|
||
Reporter | ||
Comment 181•11 years ago
|
||
Reporter | ||
Comment 182•11 years ago
|
||
Comment 183•11 years ago
|
||
Comment 184•11 years ago
|
||
Reporter | ||
Comment 185•11 years ago
|
||
Comment 186•11 years ago
|
||
Comment 187•11 years ago
|
||
Reporter | ||
Comment 188•11 years ago
|
||
Comment 189•11 years ago
|
||
Comment 190•11 years ago
|
||
Comment 191•11 years ago
|
||
Comment 192•11 years ago
|
||
Comment 193•11 years ago
|
||
Reporter | ||
Comment 194•11 years ago
|
||
Comment 195•11 years ago
|
||
Comment 196•11 years ago
|
||
Comment 197•11 years ago
|
||
Comment 198•11 years ago
|
||
Comment 199•11 years ago
|
||
Comment 200•11 years ago
|
||
Comment 201•11 years ago
|
||
Comment 202•11 years ago
|
||
Comment 203•11 years ago
|
||
Reporter | ||
Comment 204•11 years ago
|
||
Comment 205•11 years ago
|
||
Reporter | ||
Comment 206•11 years ago
|
||
Reporter | ||
Comment 207•11 years ago
|
||
Reporter | ||
Comment 208•11 years ago
|
||
Reporter | ||
Comment 209•11 years ago
|
||
Comment 210•11 years ago
|
||
Comment 211•11 years ago
|
||
Comment 212•11 years ago
|
||
Comment 213•11 years ago
|
||
Reporter | ||
Comment 214•11 years ago
|
||
Reporter | ||
Comment 215•11 years ago
|
||
Comment 216•11 years ago
|
||
Comment 217•11 years ago
|
||
Comment 218•11 years ago
|
||
Comment 219•11 years ago
|
||
Comment 220•11 years ago
|
||
Reporter | ||
Comment 221•11 years ago
|
||
Comment 222•11 years ago
|
||
Comment 223•11 years ago
|
||
Comment 224•11 years ago
|
||
Comment 225•11 years ago
|
||
Reporter | ||
Comment 226•11 years ago
|
||
Reporter | ||
Comment 227•11 years ago
|
||
Reporter | ||
Comment 228•11 years ago
|
||
Comment 229•11 years ago
|
||
Comment 230•11 years ago
|
||
Reporter | ||
Comment 231•11 years ago
|
||
Comment 232•11 years ago
|
||
Comment 233•11 years ago
|
||
Comment 234•11 years ago
|
||
Comment 235•11 years ago
|
||
Comment 236•11 years ago
|
||
Comment 237•11 years ago
|
||
Reporter | ||
Comment 238•11 years ago
|
||
Comment 239•11 years ago
|
||
Reporter | ||
Comment 240•11 years ago
|
||
Comment 241•11 years ago
|
||
Comment 242•11 years ago
|
||
Comment 243•11 years ago
|
||
Comment 244•11 years ago
|
||
Comment 245•11 years ago
|
||
Comment 246•11 years ago
|
||
Comment 247•11 years ago
|
||
Comment 248•11 years ago
|
||
Comment 249•11 years ago
|
||
Reporter | ||
Comment 250•11 years ago
|
||
Comment 251•11 years ago
|
||
Comment 252•11 years ago
|
||
Comment 253•11 years ago
|
||
Comment 254•11 years ago
|
||
Comment 255•11 years ago
|
||
Comment 256•11 years ago
|
||
Reporter | ||
Comment 257•11 years ago
|
||
Comment 258•11 years ago
|
||
Comment 259•11 years ago
|
||
Comment 260•11 years ago
|
||
Comment 261•11 years ago
|
||
Comment 262•11 years ago
|
||
Comment 263•11 years ago
|
||
Comment 264•11 years ago
|
||
Comment 265•11 years ago
|
||
(In reply to Jet Villegas (:jet) from comment #153)
Any news here? We continue to hit this across all supported branches where Android tests run.
Flags: needinfo?(bugs)
Comment 266•11 years ago
|
||
(In reply to Mats Palmgren (:mats) from comment #9)
> FYI, here's a list of changes for end of September:
> http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2013-09-
> 20&enddate=2013-10-03
If we believe that the above range is our regression window, the sore thumb I see is bug 922007.
Can we launch a few Android runs with these prefs set?
"layers.offmainthreadcomposition.enabled" == false
"layers.use-deprecated-textures" == true
I wouldn't be too surprised if the new textures and multi-threaded compositing introduced reftest timing changes for us.
Flags: needinfo?(bugs) → needinfo?(ryanvm)
Reporter | ||
Comment 267•11 years ago
|
||
Comment 268•11 years ago
|
||
(In reply to Jet Villegas (:jet) from comment #266)
> (In reply to Mats Palmgren (:mats) from comment #9)
> > FYI, here's a list of changes for end of September:
> > http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2013-09-
> > 20&enddate=2013-10-03
>
> If we believe that the above range is our regression window, the sore thumb
> I see is bug 922007.
>
> Can we launch a few Android runs with these prefs set?
> "layers.offmainthreadcomposition.enabled" == false
At some point we only supported opengl compositing on android but I can't find the code that enforces that so maybe we have some support for basic layers now but I am not sure.
> "layers.use-deprecated-textures" == true
This pref is ignored everywhere except on windows now. The only behavior is to use new textures. windows will follow soon.
Comment 269•11 years ago
|
||
Reporter | ||
Comment 270•11 years ago
|
||
Reporter | ||
Comment 271•11 years ago
|
||
Comment 272•11 years ago
|
||
Comment 273•11 years ago
|
||
Comment 274•11 years ago
|
||
Comment 275•11 years ago
|
||
Comment 276•11 years ago
|
||
Reporter | ||
Comment 277•11 years ago
|
||
Comment 278•11 years ago
|
||
(In reply to Jet Villegas (:jet) from comment #266)
> Can we launch a few Android runs with these prefs set?
> "layers.offmainthreadcomposition.enabled" == false
https://tbpl.mozilla.org/?tree=Try&rev=976a986ce77f
I'm not triggering a run with "layers.use-deprecated-textures" == true based on comment 268. Let me know if you want me to anyway. Note that Tegras are generally always backlogged and Try is very low on the totem pole priority-wise, so it's probably going to take awhile to get enough retriggers to run to draw any conclusions.
Flags: needinfo?(ryanvm)
Comment 279•11 years ago
|
||
That didn't go so well:
https://tbpl.mozilla.org/php/getParsedLog.php?id=35280232&tree=Try
Comment 280•11 years ago
|
||
Comment 281•11 years ago
|
||
Comment 282•11 years ago
|
||
Comment 283•11 years ago
|
||
Comment 284•11 years ago
|
||
Comment 285•11 years ago
|
||
Comment 286•11 years ago
|
||
Comment 287•11 years ago
|
||
Comment 288•11 years ago
|
||
Comment 289•11 years ago
|
||
Comment 290•11 years ago
|
||
Comment 291•11 years ago
|
||
Comment 292•11 years ago
|
||
Comment 293•11 years ago
|
||
Comment 294•11 years ago
|
||
Comment 295•11 years ago
|
||
Comment 296•11 years ago
|
||
Comment 297•11 years ago
|
||
Comment 298•11 years ago
|
||
Reporter | ||
Comment 299•11 years ago
|
||
Reporter | ||
Comment 300•11 years ago
|
||
Comment 301•11 years ago
|
||
Comment 302•11 years ago
|
||
Comment 303•11 years ago
|
||
Comment 304•11 years ago
|
||
Comment 305•11 years ago
|
||
Reporter | ||
Comment 306•11 years ago
|
||
Reporter | ||
Comment 307•11 years ago
|
||
Comment 308•11 years ago
|
||
Reporter | ||
Comment 309•11 years ago
|
||
Reporter | ||
Comment 310•11 years ago
|
||
Comment 311•11 years ago
|
||
Comment 312•11 years ago
|
||
Reporter | ||
Comment 313•11 years ago
|
||
Comment 314•11 years ago
|
||
Comment 315•11 years ago
|
||
Comment 316•11 years ago
|
||
Comment 317•11 years ago
|
||
Comment 318•11 years ago
|
||
Comment 319•11 years ago
|
||
Comment 320•11 years ago
|
||
Reporter | ||
Comment 321•11 years ago
|
||
Comment 322•11 years ago
|
||
Comment 323•11 years ago
|
||
Comment 324•11 years ago
|
||
Comment 325•11 years ago
|
||
Comment 326•11 years ago
|
||
Comment 327•11 years ago
|
||
Comment 328•11 years ago
|
||
Comment 329•11 years ago
|
||
Comment 330•11 years ago
|
||
Comment 331•11 years ago
|
||
Any thoughts on what we should do here.
Flags: needinfo?(roc)
Comment 333•11 years ago
|
||
We get into a loop of endless whole-canvas invalidation. With some logging it shouldn't be that hard to figure out what causes that.
This code doesn't look right:
http://dxr.mozilla.org/mozilla-central/source/layout/tools/reftest/reftest-content.js#918
if (shouldSnapshotWholePage) {
I think we should actually be calling that function instead of testing whether it's defined :-)
Flags: needinfo?(roc)
That was added in bug 876626 by Matt. Matt, see previous comment ... are you interested in fixing that? :-)
With that fixed, we'll probably still have an infinite invalidation loop, but we'd be able to see which rects are being invalidated which would help narrow the problem down.
Flags: needinfo?(matt.woodrow)
Comment 336•11 years ago
|
||
Comment 337•11 years ago
|
||
Comment 338•11 years ago
|
||
Attachment #8405505 -
Flags: review?(roc)
Comment on attachment 8405505 [details] [diff] [review]
part 1 - Call shouldSnapshotWholePage rather than testing for its existence
This is going to need its own bug.
Attachment #8405505 -
Attachment is obsolete: true
Attachment #8405505 -
Flags: review?(roc)
Moved to bug 995410.
bug 995410 is now landed on inbound. So the next (or maybe slightly after, depending on merges) failure should have more useful logging info.
Comment 344•11 years ago
|
||
Comment 345•11 years ago
|
||
Comment 346•11 years ago
|
||
Comment 347•11 years ago
|
||
Comment 348•11 years ago
|
||
Comment 349•11 years ago
|
||
Comment 350•11 years ago
|
||
Comment 351•11 years ago
|
||
Comment 352•11 years ago
|
||
Comment 353•11 years ago
|
||
Comment 354•11 years ago
|
||
Comment 355•11 years ago
|
||
Comment 356•11 years ago
|
||
(In reply to Phil Ringnalda (:philor) from comment #354)
> https://tbpl.mozilla.org/php/getParsedLog.php?id=38150498&tree=Mozilla-
> Inbound
So this log contains (after the first failure):
REFTEST TEST-UNEXPECTED-FAIL | http://10.26.84.3:30251/tests/layout/reftests/bugs/413292-1.html | load failed: timed out waiting for pending paint count to reach zero (waiting for MozAfterPaint)
REFTEST INFO | Saved log: START http://10.26.84.3:30251/tests/layout/reftests/bugs/413292-1.html
REFTEST INFO | Saved log: [CONTENT] OnDocumentLoad triggering WaitForTestEnd
REFTEST INFO | Saved log: [CONTENT] WaitForTestEnd: Adding listeners
After the second test failure the log looks similar to the second half there:
REFTEST INFO | Saved log: START http://10.26.84.3:30251/tests/layout/reftests/bugs/418766-1a.html
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: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in http://10.26.84.3:30251/tests/layout/reftests/bugs/418766-1a.html
REFTEST INFO | Saved log: [CONTENT] SendUpdateCanvasForEvent with 1 rects
REFTEST INFO | Saved log: [CONTENT] Rect: 0 0 800 743
REFTEST INFO | Saved log: Updating canvas for invalidation
REFTEST INFO | Saved log: DoDrawWindow 0,0,800,743
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in http://10.26.84.3:30251/tests/layout/reftests/bugs/418766-1a.html
REFTEST INFO | Saved log: [CONTENT] SendUpdateCanvasForEvent with 0 rects
REFTEST INFO | Saved log: Updating canvas for invalidation
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in http://10.26.84.3:30251/tests/layout/reftests/bugs/418766-1a.html
REFTEST INFO | Saved log: [CONTENT] SendUpdateCanvasForEvent with 0 rects
That repeats a number of times.
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: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] AttrModifiedListener fired
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in http://10.26.84.3:30251/tests/layout/reftests/bugs/413292-1.html
REFTEST INFO | Saved log: [CONTENT] SendUpdateCanvasForEvent with 1 rects
REFTEST INFO | Saved log: [CONTENT] Rect: 0 0 800 743
REFTEST INFO | Saved log: Updating canvas for invalidation
REFTEST INFO | Saved log: DoDrawWindow 0,0,800,743
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in about:blank
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] AttrModifiedListener fired
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in http://10.26.84.3:30251/tests/layout/reftests/bugs/413292-1.html
REFTEST INFO | Saved log: [CONTENT] SendUpdateCanvasForEvent with 1 rects
REFTEST INFO | Saved log: [CONTENT] Rect: 8 8 312 162
REFTEST INFO | Saved log: Updating canvas for invalidation
REFTEST INFO | Saved log: DoDrawWindow 8,8,304,154
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in about:blank
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] AttrModifiedListener fired
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in http://10.26.84.3:30251/tests/layout/reftests/bugs/413292-1.html
REFTEST INFO | Saved log: [CONTENT] SendUpdateCanvasForEvent with 0 rects
REFTEST INFO | Saved log: Updating canvas for invalidation
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in data:text/html,iframe%201%20<iframe%20width='100'%20height='100'%20src='data:text/html,iframe%202'>
REFTEST INFO | Saved log: [CONTENT] flushWindow failed: TypeError: win.document.documentElement is null
Then that last section (the last 11 lines or so) are repeated a number of times, it looks like about 15 times total. Then the log contains these lines repeated ad infinitum:
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] AttrModifiedListener fired
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in http://10.26.84.3:30251/tests/layout/reftests/bugs/413292-1.html
REFTEST INFO | Saved log: [CONTENT] SendUpdateCanvasForEvent with 0 rects
REFTEST INFO | Saved log: Updating canvas for invalidation
After the second test failure the log contains:
REFTEST INFO | Saved log: START http://10.26.84.3:30251/tests/layout/reftests/bugs/418766-1a.html
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: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in http://10.26.84.3:30251/tests/layout/reftests/bugs/418766-1a.html
REFTEST INFO | Saved log: [CONTENT] SendUpdateCanvasForEvent with 1 rects
REFTEST INFO | Saved log: [CONTENT] Rect: 0 0 800 743
REFTEST INFO | Saved log: Updating canvas for invalidation
REFTEST INFO | Saved log: DoDrawWindow 0,0,800,743
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in http://10.26.84.3:30251/tests/layout/reftests/bugs/418766-1a.html
REFTEST INFO | Saved log: [CONTENT] SendUpdateCanvasForEvent with 0 rects
REFTEST INFO | Saved log: Updating canvas for invalidation
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in http://10.26.84.3:30251/tests/layout/reftests/bugs/418766-1a.html
REFTEST INFO | Saved log: [CONTENT] SendUpdateCanvasForEvent with 0 rects
repeated many times.
dbaron: is that useful log spew?
Flags: needinfo?(matt.woodrow) → needinfo?(dbaron)
The cycle seems to be these 5 lines repeating:
> REFTEST INFO | Saved log: [CONTENT] MakeProgress: STATE_WAITING_TO_FIRE_INVALIDATE_EVENT
> REFTEST INFO | Saved log: [CONTENT] MakeProgress: waiting for MozAfterPaint
> REFTEST INFO | Saved log: [CONTENT] AfterPaintListener in http://10.26.84.3:30251/tests/layout/reftests/bugs/413292-1.html
> REFTEST INFO | Saved log: [CONTENT] SendUpdateCanvasForEvent with 0 rects
> REFTEST INFO | Saved log: Updating canvas for invalidation
Flags: needinfo?(dbaron) → needinfo?(matt.woodrow)
Comment 358•11 years ago
|
||
I'm not sure why this would happen.
When we check to see if a MozAfterPaint is pending (nsPresContext::IsDOMPaintEventPending) we insert an 'empty' (0 rect) invalidation if we're waiting on a refresh driver tick. This is because the tick might not actually invalidate anything, and we're promising a MozAfterPaint event will happen.
If for some reason the refresh driver is always pending (nsRefreshDriver::ViewManagerFlushIsPending), but we clear that, then we'd see this behaviour.
Either the refresh driver is ticking and something is causing it to re-set that state after each paint, or it's stopped with the state set.
In the latter case we'd fire MozAfterPaint anyway (nsPresContext::EnsureEventualDidPaint), but we'd then detect the refresh driver still being pending and leave IsDOMPaintEventPending returning true (and schedule the next eventual did paint).
Flags: needinfo?(matt.woodrow)
Comment 359•11 years ago
|
||
Comment 360•11 years ago
|
||
Comment 361•11 years ago
|
||
Comment 362•11 years ago
|
||
Comment 363•11 years ago
|
||
Comment 364•11 years ago
|
||
Comment 365•11 years ago
|
||
Comment 366•11 years ago
|
||
Comment 367•11 years ago
|
||
Comment 368•11 years ago
|
||
Comment 369•11 years ago
|
||
Comment 370•11 years ago
|
||
Comment 371•11 years ago
|
||
Reporter | ||
Comment 372•11 years ago
|
||
Comment 373•11 years ago
|
||
Comment 374•11 years ago
|
||
Comment 375•11 years ago
|
||
Comment 376•11 years ago
|
||
Comment 377•11 years ago
|
||
Reporter | ||
Comment 378•11 years ago
|
||
Comment 379•11 years ago
|
||
Comment 380•11 years ago
|
||
Comment 381•11 years ago
|
||
Reporter | ||
Comment 382•11 years ago
|
||
Reporter | ||
Comment 383•11 years ago
|
||
Comment 384•11 years ago
|
||
Comment 385•11 years ago
|
||
Comment 386•11 years ago
|
||
Comment 388•11 years ago
|
||
Comment 389•11 years ago
|
||
Comment 390•11 years ago
|
||
Comment 391•11 years ago
|
||
Comment 392•11 years ago
|
||
Comment 393•11 years ago
|
||
Reporter | ||
Comment 394•11 years ago
|
||
Comment 395•11 years ago
|
||
Comment 396•11 years ago
|
||
Reporter | ||
Comment 398•11 years ago
|
||
Reporter | ||
Comment 399•11 years ago
|
||
Comment 400•11 years ago
|
||
Comment 401•11 years ago
|
||
Comment 402•11 years ago
|
||
Comment 403•11 years ago
|
||
Reporter | ||
Comment 404•11 years ago
|
||
Reporter | ||
Comment 405•11 years ago
|
||
Reporter | ||
Comment 406•11 years ago
|
||
Reporter | ||
Comment 407•11 years ago
|
||
Comment 408•11 years ago
|
||
Comment 409•11 years ago
|
||
Comment 410•11 years ago
|
||
Comment 411•11 years ago
|
||
Reporter | ||
Comment 412•11 years ago
|
||
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 417•10 years ago
|
||
Inactive; closing (see bug 1180138).
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•