music_app.tests.test_music.TestMainWindow.test_next_previous failed on mako #91

Bug #1332570 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Fix Released
Medium
Victor Thompson

Bug Description

This test failed on mako image #91 with the following error:

Traceback (most recent call last):
  File "/home/phablet/autopilot/music_app/tests/test_music.py", line 216, in test_next_previous
    self.assertThat(title, Eventually(Equals(orgTitle)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: After 10.0 seconds test failed: 'Swansong' != 'TestMP3Title'

Link to the test case results:
http://ci.ubuntu.com/smokeng/utopic/touch/mako/91:20140620.1:20140530/8639/music_app/

Related branches

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Just run this on my device (mako) and it passed here is the output.

$ phablet-test-run music_app.tests.test_music.TestMainWindow.test_next_previous
Loading tests from: /home/phablet/autopilot

Tests running...
mediascanner-2.0 stop/waiting
mediascanner-2.0 start/running, process 3772

Ran 1 test in 76.269s
OK

$ sudo system-image-cli -i
current build number: 91
device name: mako
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/utopic-proposed
last update: 2014-06-20 18:15:45
version version: 91
version ubuntu: 20140620.1
version device: 20140530

$ click list | grep music
com.ubuntu.music 1.3.498

description: updated
Revision history for this message
Victor Thompson (vthompson) wrote :

I have a theory that this failed because the amount of time from hitting "Next" to pausing the track was over 5 seconds. Thus previous actually just restarted the track. I'll propose a fix.

Changed in music-app:
assignee: nobody → Victor Thompson (vthompson)
status: New → In Progress
importance: Undecided → Low
importance: Low → Medium
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

@Victor, if that's the case, while good to support it in the test, is qt 5.3 causing the ui to lag?

Revision history for this message
Victor Thompson (vthompson) wrote :

I don't see the same lag on my device running Qt 5.3. But, it's possible that it's Qt 5.3 related though and in this case the UI was laggy for one reason or another.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:music-app at revision None, scheduled for release in music-app, milestone 1.0

Changed in music-app:
status: In Progress → Fix Committed
Changed in music-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.