test_add_song_to_queue_from_albums_sheet fails with Qt 5.2

Bug #1291398 reported by Timo Jyrinki
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Fix Released
Critical
Victor Thompson

Bug Description

As part of automated runs, two tests were identified as failing with the music-app:

music_app.tests.test_music.TestMainWindow.test_add_song_to_queue_from_albums_sheet(with touch)
music_app.tests.test_music.TestMainWindow.test_create_playlist_from_songs_tab(with touch)

This is when used together with Qt 5.2, which is about to land soon.

Upgrade instructions on the device:
adb shell
apt-add-repository ppa:ci-train-ppa-service/landing-006
apt-get update
apt-get dist-upgrade
# in case of lxc-android-config or other failures:
# dpkg --configure -a
reboot

Edit:
music_app.tests.test_music.TestMainWindow.test_create_playlist_from_songs_tab(with touch) is not failing anymore.

Tags: qt5.2

Related branches

Changed in music-app:
assignee: nobody → Victor Thompson (vthompson)
Revision history for this message
Victor Thompson (vthompson) wrote :

I can get this to fail repeatedly: music_app.tests.test_music.TestMainWindow.test_add_song_to_queue_from_albums_sheet

I can't seem to get this one to fail, however: music_app.tests.test_music.TestMainWindow.test_create_playlist_from_songs_tab

Do you notice that the cover art is completely blank while the tests run? I have a simple fix for the first test mentioned.

Revision history for this message
Leo Arias (elopio) wrote :

music_app.tests.test_music.TestMainWindow.test_create_playlist_from_songs_tab passed on the last jenkins execution [1]. I ran it on my mako with the landing-006 ppa and it works here too.

[1] http://q-jenkins.ubuntu-ci:8080/job/autopilot-release-gatekeeper/72/label=mako-06/testReport/music_app.tests.test_music/TestMainWindow/test_create_playlist_from_songs_tab_with_touch_/?

Revision history for this message
Leo Arias (elopio) wrote :

I can reproduce the error running the test music_app.tests.test_music.TestMainWindow.test_add_song_to_queue_from_albums_sheet.

Now I'm trying to understand what the test does, to see if it's a problem in the autopilot test, or an application bug.

Changed in music-app:
status: New → Confirmed
summary: - Two music-app AP tests failing with Qt 5.2
+ test_add_song_to_queue_from_albums_sheet fails with Qt 5.2
Changed in music-app:
status: Confirmed → In Progress
Leo Arias (elopio)
description: updated
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.