Closed Bug 569238 Opened 14 years ago Closed 14 years ago

Intermittent timeout in test_flush_on_paint.html

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 585286

People

(Reporter: ehsan.akhgari, Assigned: karlt)

References

Details

(Keywords: intermittent-failure, Whiteboard: [screensaver])

Attachments

(1 file)

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1275321900.1275323693.6179.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-4/5 on 2010/05/31 09:05:00
Attached patch Add some debugging information (deleted) — — Splinter Review
To try to see what's going on here.
Attachment #449214 - Flags: review?(roc)
Comment on attachment 449214 [details] [diff] [review]
Add some debugging information

Landed as: http://hg.mozilla.org/mozilla-central/rev/9624407a729c.

dholbert reminded me that we don't print the values passed to is if the test is
successful, so I moved them to the log message itself.
Attachment #449214 - Flags: review?(roc)
So, based on the logs, getPaintCount always returns 0, which, if I'm reading the code correctly, means that pluginDrawWindow <http://mxr.mozilla.org/mozilla-central/source/modules/plugin/test/testplugin/nptest_gtk2.cpp#158> returns early.
But drawmode="solid" so we can't return from pluginDrawWindow without calling notifyDidPaint, which increments the paint count.

I don't see how the paint count can always be 0. That means the plugin is never being painted at all. I don't understand how that could happen.
(In reply to comment #31)
> But drawmode="solid" so we can't return from pluginDrawWindow without calling
> notifyDidPaint, which increments the paint count.
> 
> I don't see how the paint count can always be 0. That means the plugin is never
> being painted at all. I don't understand how that could happen.

Isn't there some other code being involved before pluginDrawWindow even gets a chance to execute?  Maybe that's what's broken, because I think you're right; if pluginDrawWindow is called, I don't think there is any way that the plugin paint count would not get incremented.
OS: Mac OS X → Linux
Depends on: 569237
philringnalda%gmail.com
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1276143548.1276148173.28538.gz
Rev3 Fedora 12x64 mozilla-central opt test mochitests-4/5 on 2010/06/09 21:19:08

s: talos-r3-fed64-043
10888 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_flush_on_paint.html | Test timed out.
39546 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_mozPaintCount.html | Test timed out.
philringnalda%gmail.com
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1276230992.1276232917.3066.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-4/5 on 2010/06/10 21:36:32

s: talos-r3-fed-035
10929 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_flush_on_paint.html | Test timed out.
39558 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_mozPaintCount.html | Test timed out.
philringnalda%gmail.com
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1276232643.1276236305.13424.gz
Rev3 Fedora 12 mozilla-central debug test mochitests-4/5 on 2010/06/10 22:04:03

s: talos-r3-fed-038
10567 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_flush_on_paint.html | Test timed out.
37865 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_mozPaintCount.html | Test timed out.
philringnalda%gmail.com
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1278637075.1278641453.29437.gz
Rev3 Fedora 12 mozilla-central debug test mochitests-4/5 on 2010/07/08 17:57:55

s: talos-r3-fed-023
10480 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_flush_on_paint.html | Test timed out.
37280 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_mozPaintCount.html | Test timed out.
117397 ERROR TEST-UNEXPECTED-FAIL | /tests/modules/plugin/test/test_painting.html | Test timed out.
PROCESS-CRASH | Main app process exited normally | application crashed (minidump found)
Thread 0 (crashed)
PROCESS-CRASH | Main app process exited normally | application crashed (minidump found)
Thread 0 (crashed)
PROCESS-CRASH | Main app process exited normally | application crashed (minidump found)
Thread 0 (crashed)
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1279741916.1279745780.14077.gz
Rev3 Fedora 12x64 mozilla-central debug test mochitests-4/5 on 2010/07/21 12:51:56
Assignee: nobody → karlt
Depends on: 585286
No longer depends on: 569237
Whiteboard: [orange] → [orange][screensaver]
philringnalda%gmail.com
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1281236359.1281240657.8165.gz
Rev3 Fedora 12 mozilla-central debug test mochitests-4/5 on 2010/08/07 19:59:19

:  file_get_contents() [
]: SSL: connection timeout in
on line
:  file_get_contents() [
]: Failed to enable crypto in
on line
:  file_get_contents(https://api-dev.bugzilla.mozilla.org/latest/bug?whiteboard=orange&summary=test_flush_on_paint.html) [
]: failed to open stream: operation failed in
on line
s: talos-r3-fed-027
10485 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_flush_on_paint.html | Test timed out.
37672 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_mozPaintCount.html | Test timed out.
39063 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/generic/test/test_invalidate_during_plugin_paint.html | Test timed out.
118162 ERROR TEST-UNEXPECTED-FAIL | /tests/modules/plugin/test/test_painting.html | Test timed out.
118163 ERROR TEST-UNEXPECTED-FAIL | (SimpleTest/TestRunner.js) | 4 test timeouts, giving up.
118164 ERROR TEST-UNEXPECTED-FAIL | (SimpleTest/TestRunner.js) | Skipping 15 remaining tests.
PROCESS-CRASH | Main app process exited normally | application crashed (minidump found)
Thread 0 (crashed)
PROCESS-CRASH | Main app process exited normally | application crashed (minidump found)
Thread 0 (crashed)
PROCESS-CRASH | Main app process exited normally | application crashed (minidump found)
Thread 0 (crashed)
philringnalda%gmail.com
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1281266328.1281268115.6648.gz
Rev3 Fedora 12x64 mozilla-central opt test mochitests-4/5 on 2010/08/08 04:18:48

s: talos-r3-fed64-018
10880 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_flush_on_paint.html | Test timed out.
39772 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_mozPaintCount.html | Test timed out.
41155 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/generic/test/test_invalidate_during_plugin_paint.html | Test timed out.
120254 ERROR TEST-UNEXPECTED-FAIL | /tests/modules/plugin/test/test_painting.html | Test timed out.
120255 ERROR TEST-UNEXPECTED-FAIL | (SimpleTest/TestRunner.js) | 4 test timeouts, giving up.
120256 ERROR TEST-UNEXPECTED-FAIL | (SimpleTest/TestRunner.js) | Skipping 15 remaining tests.
PROCESS-CRASH | Main app process exited normally | application crashed (minidump found)
Thread 0 (crashed)
PROCESS-CRASH | Main app process exited normally | application crashed (minidump found)
Thread 0 (crashed)
PROCESS-CRASH | Main app process exited normally | application crashed (minidump found)
Thread 0 (crashed)
Bug 585286 was fixed today, which should help this (given that it is marked [scrensaver]).
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
No longer depends on: 585286
Whiteboard: [orange][screensaver] → [screensaver]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: