touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #90009
[Bug 1304950] Re: Autopilot test flakyness in test_add_photo
** Changed in: gallery-app
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gallery-app in Ubuntu.
https://bugs.launchpad.net/bugs/1304950
Title:
Autopilot test flakyness in test_add_photo
Status in gallery-app:
Fix Released
Status in gallery-app package in Ubuntu:
Fix Released
Bug description:
There seems to be a test flakyness in one of the gallery_app tests. In
smoketesting [1] we noticed in 2 images failures in the same test:
gallery_app.tests.test_album_view.TestAlbumView.test_add_photo. After
a re-run, the test passed fine. The same failure was not reproducible
on my local device.
From the logs it seems that maybe the MediaSelector doesn't appear -
maybe the toolbar didn't get unhidden properly and the button click
wasn't registered? Hard to say without reproducing it locally.
Traceback (most recent call last):
File "/home/phablet/autopilot/legacy-py2/gallery_app/tests/test_album_view.py", line 83, in test_add_photo
self.ensure_media_selector_is_fully_open()
File "/home/phablet/autopilot/legacy-py2/gallery_app/tests/test_album_view.py", line 46, in ensure_media_selector_is_fully_open
media_selector = self.media_selector.get_media_selector()
File "/home/phablet/autopilot/legacy-py2/gallery_app/emulators/media_selector.py", line 19, in get_media_selector
return self.app.wait_select_single("MediaSelector")
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 375, in wait_select_single
return self.select_single(type_name, **kwargs)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 324, in select_single
raise StateNotFoundError(type_name, **kwargs)
StateNotFoundError: Object not found with name 'MediaSelector'.
[1]
http://ci.ubuntu.com/smokeng/trusty/touch/mako/282:20140408.1:20140331/7634/gallery_app/994652/
<- the same failure was present in the next image, 283, but the re-run
passed fine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gallery-app/+bug/1304950/+subscriptions