Closed Bug 1166631 Opened 10 years ago Closed 10 years ago

[v2.2][Gaia::UI Tests]test_music_artist_mp3.py: "TimeoutException: TimeoutException: Timed out after 30.0 seconds"

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 affected)

RESOLVED FIXED
Tracking Status
b2g-v2.2 --- affected

People

(Reporter: liuke, Assigned: cynthiatang)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
martijn.martijn
: review+
Details | Review
[Description] test_music_artist_mp3.py fails [Steps to Reproduce] Run the test_music_artist_mp3.py [Reproduction Frequency] Always, 5/5 [Reproducible manually] NO Traceback (most recent call last): File "/var/lib/jenkins/workspace/B2G.v2.2.pvt.flame.gaiatest.smoketest/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g37_v2_2-0.1-py2.7.egg/marionette/marionette_test.py", line 268, in run testMethod() File "/var/lib/jenkins/workspace/B2G.v2.2.pvt.flame.gaiatest.smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/music/test_music_artist_mp3.py", line 28, in test_select_artist_play list_view = music_app.tap_artists_tab() File "/var/lib/jenkins/workspace/B2G.v2.2.pvt.flame.gaiatest.smoketest/tests/python/gaia-ui-tests/gaiatest/apps/music/app.py", line 75, in tap_artists_tab return ListView(self.marionette) File "/var/lib/jenkins/workspace/B2G.v2.2.pvt.flame.gaiatest.smoketest/tests/python/gaia-ui-tests/gaiatest/apps/music/regions/list_view.py", line 23, in __init__ lambda m: self.marionette.find_element(*self._view_locator).get_attribute('class') == 'scrolling') File "/var/lib/jenkins/workspace/B2G.v2.2.pvt.flame.gaiatest.smoketest/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g37_v2_2-0.1-py2.7.egg/marionette/wait.py", line 143, in until cause=last_exc) TimeoutException: TimeoutException: Timed out after 30.0 seconds [Build info] Device firmware (base) L1TC000118D0 Device firmware (date) 20 May 2015 08:08:18 Device firmware (incremental) eng.cltbld.20150519.200807 Device firmware (release) 4.4.2 Device identifier flame Gaia date 20 May 2015 01:52:15 Gaia revision 63e9eeec3032 Gecko build 20150519162501 Gecko revision 4e078e1364d3 Gecko version 37.0 [Attachments] http://mozilla-twqa.github.io/Gaiatest-Reports/2015/05/20150519002500-v2.2-flame/smoketest.html
Delete those codes in gaiatest/apps/music/regions/list_view.py Wait(self.marionette).until( lambda m: self.marionette.find_element(*self._view_locator).get_attribute('class') == 'scrolling') Wait(self.marionette).until( lambda m: self.marionette.find_element(*self._view_locator).get_attribute('class') != 'scrolling')
So you want to backport the first pull request from bug 1126080, basically. You might want to backport the second one as well, if that's applicable.
Depends on: 1126080
Attached file [Gaia PR]
Hi Martijn, I uplifted the patch. Could you please review it? Thanks a lot. Running tests: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=ddb72f9e19715d08a27d0c82a8bfca4233e0e34b Reference: Bug 1126080 - Intermittent test_music_change_rating.py TestSetMusicRating.test_music_change_rating (Merged in master at: https://github.com/mozilla-b2g/gaia/commit/9f8d5e7aff99f52fba455a4ce0580f3112b5f37f) ============================================== UITE-START | Running 5 tests TEST-START | test_music_album_mp3.py TestMusic.test_select_album_play TEST-PASS | test_music_album_mp3.py TestMusic.test_select_album_play | took 67250ms TEST-START | test_music_artist_mp3.py TestMusic.test_select_artist_play TEST-PASS | test_music_artist_mp3.py TestMusic.test_select_artist_play | took 67899ms TEST-START | test_music_change_rating.py TestSetMusicRating.test_music_change_rating TEST-PASS | test_music_change_rating.py TestSetMusicRating.test_music_change_rating | took 65286ms TEST-START | test_music_songs_3gp.py TestPlay3GPMusic.test_select_songs_play_3gp_file TEST-PASS | test_music_songs_3gp.py TestPlay3GPMusic.test_select_songs_play_3gp_file | took 65444ms TEST-START | test_music_empty.py TestMusicEmpty.test_empty_music TEST-PASS | test_music_empty.py TestMusicEmpty.test_empty_music | took 57786ms SUMMARY ------- passed: 5 failed: 0 todo: 0
Attachment #8614578 - Flags: review?(martijn.martijn)
Assignee: nobody → ctang
Attachment #8614578 - Flags: review?(martijn.martijn) → review+
Merged: https://github.com/mozilla-b2g/gaia/commit/b3f2aad223cad88a62ba2f32ede92cb66b103398 You don't want/need to backport the second pull request from bug 1126080 as well?
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: