AP test failure: test_playback_button_states
Bug #1297503 reported by
Jean-Baptiste Lallement
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediaplayer-app |
In Progress
|
Undecided
|
Unassigned |
Bug Description
mediaplayer_
http://
Related branches
lp://staging/~om26er/mediaplayer-app/fix_test_vid
Ready for review
for merging
into
lp://staging/mediaplayer-app
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 48 lines (+12/-2)2 files modifiedtests/autopilot/mediaplayer_app/tests/test_player_with_video.py (+11/-1)
tests/videos/CMakeLists.txt (+1/-1)
Changed in mediaplayer-app: | |
assignee: | nobody → Omer Akram (om26er) |
Changed in mediaplayer-app: | |
status: | New → In Progress |
Changed in mediaplayer-app: | |
assignee: | Omer Akram (om26er) → nobody |
To post a comment you must log in.
From ubuntu-phone ML "Re: [Ubuntu-phone] Landing team 25.03.14" sent on Tue, 25 Mar 2014 16:28:44 -0700 (PDT)
"""
Ok so I have done the investigation and proposed a solution.
There are two problems one is that the sample video for the tests is not really being played due to some missing codecs, the other is that the mediaplayer app seems to think its playing a video even if its not able to play the video due to missing codecs (or due to an invalid file, reported bug[2]).
I have proposed a branch[1] that encodes the sample video to a different file format that the mediaplayer is able to play and also adds a check to make sure if in future the video stops playing due to the same reason we fail the test gracefully and print that.
[1]https:/ /code.launchpad .net/~om26er/ mediaplayer- app/fix_ test_vid/ +merge/ 212731 /bugs.launchpad .net/ubuntu/ +source/ mediaplayer- app/+bug/ 1297543
[2]https:/
Thanks!
"""