Closed Bug 1178725 Opened 9 years ago Closed 9 years ago

[tv-epg] check and enable tv_epg_test.js

Categories

(Firefox OS Graveyard :: Gaia::TV, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox42 fixed)

RESOLVED FIXED
FxOS-S4 (07Aug)
Tracking Status
firefox42 --- fixed

People

(Reporter: johnhu, Assigned: daoshengmu)

References

Details

Attachments

(1 file, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #1178689 +++

TEST-UNEXPECTED-FAIL | tv_apps/tv-epg/test/marionette/tv_epg_test.js | Test Program Navigation "before each" hook

see https://s3-us-west-2.amazonaws.com/taskcluster-public-artifacts/CK_XPVxLQ-aNc9K2lfdtdw/4/public/logs/live_backing.log

==============

This issue can be reproduced at local. Once [1] are commented, the test pass and app doesn't crash while opening it at b2g desktop.

[1] https://github.com/mozilla-b2g/gaia/blob/15824036f5ce2d0ba62fada6e226b07649dff007/tv_apps/tv-epg/js/context_menu.js#L13-L25
This seems to be a gecko issue about IAC.
I found the tv-deck also crashed at this case. It may be a chained effect. We use IAC to connect to tv-deck from tv-epg. And tv-deck crashed at this case which makes b2g-desktop crashed.
If we comment [1], the whole test cases and scenario pass. My assumption at comment 2 is correct. The root issue is related to mediastream[1].

[1] https://github.com/mozilla-b2g/gaia/blob/fe01a479af3ff57ea5e0b07dad1cb1143edda4ca/tv_apps/tv-deck/js/tv_deck.js#L164-L169
According to the log [1], it seems we got this issue at June 19th, 2015.

[1] https://treeherder.mozilla.org/#/jobs?repo=gaia
I use different version of b2g-desktop with latest master to test and find:

0. 2015-06-17-01-02-05-mozilla-central [0]: passed
1. 2015-06-18-16-02-06-mozilla-central [1]: failed


[0] https://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/2015-06-17-01-02-05-mozilla-central/
[1] https://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/2015-06-18-16-02-06-mozilla-central/
(In reply to John Hu [:johnhu][:johu][:醬糊小弟] from comment #5)
> I use different version of b2g-desktop with latest master to test and find:
> 
> 0. 2015-06-17-01-02-05-mozilla-central [0]: passed
> 1. 2015-06-18-16-02-06-mozilla-central [1]: failed
> 

Sorry, I use the latest gaia master to test.
Sean,

The mediastream we got at[1] is a LocalMediaStream instance which is got from navigator.tv.getTuners(). While setting it to video element, it crashed. Would you mind to check it. I think this is a regression at 2015-06-18, see comment 5 and 6.

[1] https://github.com/mozilla-b2g/gaia/blob/fe01a479af3ff57ea5e0b07dad1cb1143edda4ca/tv_apps/tv-deck/js/tv_deck.js#L164
Flags: needinfo?(selin)
Hi Daosheng,

You've done some work to generate the tuner media stream and may know more details about it. Could you help look into this issue and share what you find?
Flags: needinfo?(selin) → needinfo?(dmu)
Assignee: nobody → dmu
Flags: needinfo?(dmu)
Fix the crash of DomHwMediastream on B2G desktop build. Please help me try this patch.
Flags: needinfo?(im)
I had tested this patch in my site. It looks good.
Flags: needinfo?(im)
I will file another bug to enable our test once this patch is landed.
Comment on attachment 8641696 [details] [diff] [review]
0001-Bug-1178725-Fix-create-videoFrameContainer-crash-on-.patch

Review of attachment 8641696 [details] [diff] [review]:
-----------------------------------------------------------------

roc, please help me review this bug.
Attachment #8641696 - Flags: review?(roc)
Integration tests passed while we run tests with this patch.
On B2G desktop, disable using OverlayImage

V2:
  - add r=roc on commit message.
Attachment #8641696 - Attachment is obsolete: true
Attachment #8644102 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/e377cd3e0784
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S4 (07Aug)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: