Closed
Bug 1283193
Opened 10 years ago
Closed 8 years ago
Intermittent dom/tests/mochitest/gamepad/test_gamepad_frame_state_sync.html | Test timed out.
Categories
(Core :: DOM: Device Interfaces, defect, P5)
Core
DOM: Device Interfaces
Tracking
()
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file, 2 obsolete files)
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 10•10 years ago
|
||
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 17•10 years ago
|
||
Michael, can you please look into these ongoing failures?
status-firefox50:
--- → affected
status-firefox51:
--- → affected
status-firefox52:
--- → affected
Flags: needinfo?(cleu)
Updated•10 years ago
|
Assignee: nobody → cleu
Flags: needinfo?(cleu)
Comment 18•10 years ago
|
||
I think the timeout is caused by a racing condition between AddEventListener and the actual test events but I cannot reproduce it on my local machine.
This patch add logs in critical areas, I'll push it to try and see whether it is a racing condition or not.
Comment 19•10 years ago
|
||
OK, I reproduced the mochitest failure on tryserver with my log patch.
It turns out that the Gamepad events were never reach DOM side at all.
It seems that there are possibility that we synthesize test events before GamepadEventChannel when er are performing Mochitest.
This patch adds buffer mechanism which ensures all events can be dispatched.
Updated•10 years ago
|
Attachment #8803253 -
Flags: review?(kyle)
Updated•10 years ago
|
Attachment #8803253 -
Flags: review?(ted)
Comment 20•10 years ago
|
||
Comment on attachment 8803253 [details] [diff] [review]
Add buffer mechanism in GamepadPlatformService to prevent dispatch failure in Mochitest.
Review of attachment 8803253 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/gamepad/GamepadPlatformService.cpp
@@ +172,5 @@
> + FlushPendingEvents();
> +}
> +
> +void
> +GamepadPlatformService::FlushPendingEvents()
You might want to note that this should only be called with the mutext held. You're only calling it in one place right now, which is fine, but just in case someone refactors in the future.
(Would be nice if this was all Rust and we could enforce that!)
Attachment #8803253 -
Flags: review?(ted)
Attachment #8803253 -
Flags: review?(kyle)
Attachment #8803253 -
Flags: review+
| Comment hidden (Intermittent Failures Robot) |
Comment 22•10 years ago
|
||
Add comment to note that FlushPendingEvents must be called with Mutex held.
Attachment #8803253 -
Attachment is obsolete: true
Attachment #8803750 -
Flags: review+
Comment 23•10 years ago
|
||
Updated•10 years ago
|
Attachment #8802398 -
Attachment is obsolete: true
Updated•10 years ago
|
Keywords: checkin-needed
Comment 24•10 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/dbedfec33396
Add buffer mechanism in GamepadPlatformService to prevent dispatch failure in Mochitest. r=ted
Keywords: checkin-needed
Comment 25•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Comment 26•10 years ago
|
||
OrangeFactor is looking good! Please request Aurora approval on this when you get a chance.
Flags: needinfo?(cleu)
Comment 29•10 years ago
|
||
Comment on attachment 8803750 [details] [diff] [review]
Add buffer mechanism in GamepadPlatformService to prevent dispatch failure in Mochitest v2. r=ted
Review of attachment 8803750 [details] [diff] [review]:
-----------------------------------------------------------------
[Feature/regressing bug #] Bug 1283193: Intermittent dom/tests/mochitest/gamepad/test_gamepad_frame_state_sync.html | Test timed out. - Treeherder Bug Filer <intermittent-bug-filer@mozilla.bugs>
[User impact if declined] There will be intermittent Mochitest failure about gamepad.
[Describe test coverage new/current, TBPL] Mochitest abbout gamepad
[Risks and why] Low - This patch is dedicated for Mochitest, only mochitest have chances executing this codes.
[String/UUID change made/needed] none
Attachment #8803750 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Flags: needinfo?(cleu)
Comment 30•10 years ago
|
||
This hit on m-c again today :(
https://treeherder.mozilla.org/logviewer.html#?job_id=5398747&repo=mozilla-central
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla52 → ---
Updated•10 years ago
|
Attachment #8803750 -
Flags: approval-mozilla-aurora?
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 39•9 years ago
|
||
Michael, can you please take another look here? These failures continue to persist :(
Comment 40•9 years ago
|
||
Hi Ryan,
I suspect it is caused by a potential race condition in Gamepad's test backend, but I cannot reproduce it.
Now add logs and try to reproduce it on tryserver but no luck yet.
I'll continue trying to reproduce it with my logs.
By the way, it seems that the last appearance of this failure only occur on aurora and beta, maybe some other patch make it happens less frequently or just mitigate it?
Flags: needinfo?(cleu)
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 43•9 years ago
|
||
Mass wontfix for bugs affecting firefox 52.
Updated•9 years ago
|
Assignee: cleu → nobody
| Comment hidden (Intermittent Failures Robot) |
Updated•9 years ago
|
Priority: P3 → P5
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Updated•8 years ago
|
Component: DOM → DOM: Device Interfaces
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 93•8 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 10 years ago → 8 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•