Closed
Bug 1238464
Opened 8 years ago
Closed 8 years ago
[emulator-x86-kk][mochitest] TEST-UNEXPECTED-FAIL | gfx/layers/apz/test/mochitest/test_basic_pan.html | Test timed out.
Categories
(Testing :: Mochitest, defect, P1)
Testing
Mochitest
Tracking
(firefox47 fixed)
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: hsinyi, Assigned: jerry)
References
Details
(Keywords: intermittent-failure, Whiteboard: [gfx-noted])
Attachments
(1 file, 3 obsolete files)
5.94 KB,
patch
|
jerry
:
review+
|
Details | Diff | Splinter Review |
See mochitest chunk 44 https://treeherder.mozilla.org/#/jobs?repo=b2g-inbound&revision=048b60ee7fdd&exclusion_profile=false&selectedJob=3719233 log: https://treeherder.mozilla.org/logviewer.html#?job_id=3719233&repo=b2g-inbound
Updated•8 years ago
|
Component: Graphics: Layers → Panning and Zooming
Keywords: intermittent-failure
Comment 1•8 years ago
|
||
Blanket gfx-noted on APZ intermittent failures so they can be found more easily on https://brasstacks.mozilla.com/orangefactor/
Whiteboard: [gfx-noted]
Comment 3•8 years ago
|
||
Jerry, please help to check apz failed on emulator-KK.
Flags: needinfo?(howareyou322) → needinfo?(hshih)
Comment 4•8 years ago
|
||
(In reply to peter chang[:pchang][:peter] from comment #3) > Jerry, please help to check apz failed on emulator-KK. Correct the testing platform, please check apz test case on emulator-x86-kk.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → hshih
Status: NEW → ASSIGNED
Updated•8 years ago
|
Priority: -- → P1
Comment 5•8 years ago
|
||
Jerry, assign this to me if you'd like me to look into this. I can reproduce it locally and it should be easy for me to track down.
Assignee | ||
Comment 6•8 years ago
|
||
Hi kats, I would like to trace this problem at next Monday. If I have any problem, I will tell you soon. For my first look, the problem is that, the test doesn't receive the "APZ:TransformEnd" and then we get timeout. So I will have some log to check this event passing.
Assignee | ||
Comment 7•8 years ago
|
||
I think I find the test failed reason. When the mochitest start, we turn the display and start the tests. Then the display is turned off due to the display-off timeout. The compositor will skip all task when the display off. So, the "APZ:TransformEnd" event is never sent. I'm trying to change the display-off timeout value and test again.
Flags: needinfo?(hshih)
Assignee | ||
Comment 8•8 years ago
|
||
System app has 10s timeout setting for display. When the display off, all composition tasks will be skip. Then, apz test becomes failed.
Assignee | ||
Updated•8 years ago
|
Attachment #8712019 -
Flags: review?(jgriffin)
Assignee | ||
Comment 9•8 years ago
|
||
oops, the test still have timeout, but I can pass the test with attachment 8712019 [details] [diff] [review] locally. try: https://treeherder.allizom.org/#/jobs?repo=try&revision=963efe12f751&selectedJob=16485893 I will check the compositor status again tomorrow.
Assignee | ||
Comment 10•8 years ago
|
||
There is no waiting for setting ready in attachment 8712019 [details] [diff] [review], so the apz test might still test with display off. Will have another try for this problem.
Assignee | ||
Updated•8 years ago
|
Attachment #8712019 -
Flags: review?(jgriffin)
Assignee | ||
Comment 11•8 years ago
|
||
Attachment #8712650 -
Flags: review?(jgriffin)
Assignee | ||
Updated•8 years ago
|
Attachment #8712019 -
Attachment is obsolete: true
Assignee | ||
Comment 12•8 years ago
|
||
Attachment #8712654 -
Flags: review?(jgriffin)
Assignee | ||
Updated•8 years ago
|
Attachment #8712650 -
Attachment is obsolete: true
Attachment #8712650 -
Flags: review?(jgriffin)
Assignee | ||
Comment 13•8 years ago
|
||
Comment on attachment 8712654 [details] [diff] [review] turn on the display during testing. v3 Review of attachment 8712654 [details] [diff] [review]: ----------------------------------------------------------------- When the device up, we turn on the display and start the tests. Then the display is turned off because of the display-off timeout. The compositor will skip all task when the display off, then some tests will failed. ::: testing/mochitest/b2g_start_script.js @@ +81,5 @@ > container.setVisible(true); > } > }); > > +function StartTest() { Put all code into a StartTest() function @@ +172,5 @@ > +} > +settingResult.onerror = function () { > + dump("Change screen.time failed"); > + StartTest(); > +} Turn on the display using "navigator.mozPower.screenEnabled" and update the timeout setting. After after setting was done, start the test.
Assignee | ||
Comment 14•8 years ago
|
||
try result: https://treeherder.allizom.org/#/jobs?repo=try&revision=00494c387c84 The mochitest chunk 44 is green.
Assignee | ||
Updated•8 years ago
|
Attachment #8712654 -
Flags: review?(jgriffin) → review?(ahalberstadt)
Comment 15•8 years ago
|
||
Comment on attachment 8712654 [details] [diff] [review] turn on the display during testing. v3 Review of attachment 8712654 [details] [diff] [review]: ----------------------------------------------------------------- Looks good with the comment addressed. ::: testing/mochitest/b2g_start_script.js @@ +166,5 @@ > +var settingResult = settingLock.set({ > + 'screen.timeout': 0 > +}); > +settingResult.onsuccess = function () { > + dump("Set screen.time to 0"); These dumps need a newline at the end.
Attachment #8712654 -
Flags: review?(ahalberstadt) → review+
Assignee | ||
Updated•8 years ago
|
Attachment #8712654 -
Attachment is obsolete: true
Assignee | ||
Comment 17•8 years ago
|
||
Please land the attachment 8712991 [details] [diff] [review] to m-c try result: https://treeherder.allizom.org/#/jobs?repo=try&revision=00494c387c84
Keywords: checkin-needed
Assignee | ||
Updated•8 years ago
|
Component: Panning and Zooming → Mochitest
Product: Core → Testing
Assignee | ||
Updated•8 years ago
|
Attachment #8712991 -
Attachment description: turn on the display during testing. v4 → turn on the display during testing. v4, r=ahal
Comment 19•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/364cbb21094e
Keywords: checkin-needed
Comment 20•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/364cbb21094e
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•