Closed
Bug 1238464
Opened 9 years ago
Closed 9 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 |
Updated•9 years ago
|
Component: Graphics: Layers → Panning and Zooming
Keywords: intermittent-failure
Comment 1•9 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•9 years ago
|
||
Jerry, please help to check apz failed on emulator-KK.
Flags: needinfo?(howareyou322) → needinfo?(hshih)
Comment 4•9 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•9 years ago
|
Assignee: nobody → hshih
Status: NEW → ASSIGNED
Updated•9 years ago
|
Priority: -- → P1
Comment 5•9 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•9 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•9 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•9 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•9 years ago
|
Attachment #8712019 -
Flags: review?(jgriffin)
Assignee | ||
Comment 9•9 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•9 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•9 years ago
|
Attachment #8712019 -
Flags: review?(jgriffin)
Assignee | ||
Comment 11•9 years ago
|
||
Attachment #8712650 -
Flags: review?(jgriffin)
Assignee | ||
Updated•9 years ago
|
Attachment #8712019 -
Attachment is obsolete: true
Assignee | ||
Comment 12•9 years ago
|
||
Attachment #8712654 -
Flags: review?(jgriffin)
Assignee | ||
Updated•9 years ago
|
Attachment #8712650 -
Attachment is obsolete: true
Attachment #8712650 -
Flags: review?(jgriffin)
Assignee | ||
Comment 13•9 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•9 years ago
|
||
try result:
https://treeherder.allizom.org/#/jobs?repo=try&revision=00494c387c84
The mochitest chunk 44 is green.
Assignee | ||
Updated•9 years ago
|
Attachment #8712654 -
Flags: review?(jgriffin) → review?(ahalberstadt)
Comment 15•9 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•9 years ago
|
Attachment #8712654 -
Attachment is obsolete: true
Assignee | ||
Comment 17•9 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•9 years ago
|
Component: Panning and Zooming → Mochitest
Product: Core → Testing
Assignee | ||
Updated•9 years ago
|
Attachment #8712991 -
Attachment description: turn on the display during testing. v4 → turn on the display during testing. v4, r=ahal
Comment 19•9 years ago
|
||
Keywords: checkin-needed
Comment 20•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 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
•