Closed Bug 1019572 Opened 10 years ago Closed 8 years ago

Intermittent test_permission_gum_remember.html | Test timed out

Categories

(Core :: WebRTC, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox30 --- unaffected
firefox31 --- unaffected
firefox32 --- disabled
firefox33 --- disabled
firefox-esr24 --- unaffected
b2g-v1.4 --- unaffected
b2g-v2.0 --- disabled
b2g-v2.1 --- disabled

People

(Reporter: cbook, Assigned: schien)

References

()

Details

(Keywords: intermittent-failure, Whiteboard: [test disabled][leave open])

Attachments

(1 file, 3 obsolete files)

b2g_emulator_vm fx-team debug test mochitest-debug-1 on 2014-06-03 02:39:24 PDT for push 5271561d7ea6

slave: tst-linux64-spot-405

https://tbpl.mozilla.org/php/getParsedLog.php?id=40945273&tree=Fx-Team



53 INFO TEST-UNEXPECTED-FAIL | /tests/b2g/components/test/mochitest/test_permission_gum_remember.html | Test timed out
Attached patch manually stop media stream (obsolete) — Splinter Review
According to bug 984274 comment #228, camera HAL on b2g ICS emulator is unstable and causing test case timeout. I try to destroy camera handle as soon as possible and TBPL looks much stable after applying this patch.

https://tbpl.mozilla.org/?tree=Try&rev=c84f9c7e4412
Assignee: nobody → schien
Attachment #8434919 - Flags: review?(amarchesini)
Attachment #8434919 - Flags: review?(amarchesini) → review+
> According to bug 984274 comment #228, camera HAL on b2g ICS emulator is
> unstable and causing test case timeout. I try to destroy camera handle as
> soon as possible and TBPL looks much stable after applying this patch.


Do we have any plan to make camera HAL on b2g ICS emulator more stable?
(In reply to Andrea Marchesini (:baku) from comment #7)
> > According to bug 984274 comment #228, camera HAL on b2g ICS emulator is
> > unstable and causing test case timeout. I try to destroy camera handle as
> > soon as possible and TBPL looks much stable after applying this patch.
> 
> 
> Do we have any plan to make camera HAL on b2g ICS emulator more stable?
Unfortunately no, but I'll file a bug for it. Hope that I or other people have time to resolve it once and for all.
I've filed Bug 1021429 for the camera HAL issue.
Depends on: 984274
Blocks: 984274
No longer depends on: 984274
https://hg.mozilla.org/mozilla-central/rev/3a3b6d6a8f2e
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Definitely not fixed :(
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla32 → ---
Attached patch disable-video-gum.patch (obsolete) — Splinter Review
It's sad to see my trick doesn't work. Try disabling video gUM success case in test_permission_gum_remember.html.

https://tbpl.mozilla.org/?tree=Try&rev=98fcaeeb314c
Attachment #8434919 - Attachment is obsolete: true
Attached patch disable-gum-video-success.patch (obsolete) — Splinter Review
Disable gum success case in test_permission_gum_remember.html and re-enable test_sandbox_permission.html.

Try result looks promising but still found one test_permission_gum_remember.html fail out of 42 trials. Need further investigation...
https://tbpl.mozilla.org/?tree=Try&rev=64fd9cc2f177
Attachment #8436520 - Attachment is obsolete: true
Bug 1022705 has landed the patch for the Camera HAL. Let's see if it can also fix this intermittent failure.
(In reply to Shih-Chiang Chien [:schien] (UTC+8) from comment #61)
> Bug 1022705 has landed the patch for the Camera HAL. Let's see if it can
> also fix this intermittent failure.

Hi SC -- It looks like the fix for Bug 1022705 didn't fix this intermittent.  Have you had a chance to re-look at this in the last week?
Flags: needinfo?(schien)
(In reply to Maire Reavy [:mreavy] (Plz needinfo me, PTO on Jun 23) from comment #129)
> Hi SC -- It looks like the fix for Bug 1022705 didn't fix this intermittent.
> Have you had a chance to re-look at this in the last week?

Bug 984274 comment #440 is the solution for bug 984274, bug 1019572, and bug 1023357. After disabling webapp auto update on TBPL we saw a real stable green. @alfredo will wrap up the patch we have in hand.
Flags: needinfo?(schien)
Hi SC -- Do you and Alfredo still believe the solution to Bug 984274 will solve this one?
Flags: needinfo?(schien)
Yes, disabling webapp update on test harness will definitely fix these bugs. We are still trying other ways to disable webapp update because @fabrice doesn't agree to introduce "webapps.update.enabled" pref.
Flags: needinfo?(schien)
FWIW, my Try pushes for bug 984274 are still hitting problems in this test:
https://tbpl.mozilla.org/?tree=Try&rev=9c5d6e8a91df

I don't think we're out of the woods yet :(.
Flags: needinfo?(schien)
Comparing to the success log, the failed logs all have huge amount of gralloc error after initializing camera. Not sure if timeout caused by error or by the flood of log message. Will take a look at it.
>07-12 03:55:18.448   751   753 E gralloc_goldfish: gralloc_lock usage mismatch usage=0xf cb->usage=0x130
>07-12 03:55:18.448   751   753 W GraphicBufferMapper: lock(...) failed -22 (Invalid argument)
Flags: needinfo?(schien)
Attachment #8436896 - Attachment is obsolete: true
Attachment #8457709 - Flags: review?(ryanvm)
(In reply to Shih-Chiang Chien [:schien] (UTC+8) from comment #282)
> Created attachment 8457709 [details] [diff] [review]
> disable-gum-remember-on-b2g-debug.patch
It should be a emulator only issue so I would like to disable this test one emulator debug build for now. We can take time to fix this issue without keep showing orange on TBPL.

try: https://tbpl.mozilla.org/?tree=Try&rev=b318d1d2120f
Attachment #8457709 - Flags: review?(ryanvm) → review+
Keywords: checkin-needed
Whiteboard: [leave open]
We should have disabled this on opt too.
Flags: needinfo?(schien)
backlog: --- → webRTC+
Rank: 35
Priority: -- → P3
close as WONTFIX based on the current status of B2G.
Status: REOPENED → RESOLVED
Closed: 10 years ago8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: