Testcase: test_add_photo_to_new_album

Build #:238:20140314.1:20140304
Arch:flo (Nexus 7 2013)
Release:trusty
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_add_photo_to_new_album
testsuite
gallery_app.tests.test_album_view.TestAlbumView
returncode
1
command
autopilot
stderr
_StringException: Empty attachments:
  /var/log/syslog

test-log: {{{
01:10:33.385 INFO globals:57 - ************************************************************
01:10:33.385 INFO globals:58 - Starting test gallery_app.tests.test_album_view.TestAlbumView.test_add_photo_to_new_album
01:10:33.386 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
01:10:33.389 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
01:10:33.400 DEBUG runtest:172 - Restoring backed up pics to /home/phablet/Pictures
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/gallery_app/tests/test_album_view.py", line 42, in setUp
    super(TestAlbumView, self).setUp()
  File "/home/phablet/autopilot/gallery_app/tests/__init__.py", line 147, in setUp
    self.configure_sample_files(env_type)
  File "/home/phablet/autopilot/gallery_app/tests/__init__.py", line 133, in configure_sample_files
    self.configure_db()
  File "/home/phablet/autopilot/gallery_app/tests/__init__.py", line 97, in configure_db
    shutil.move(db, db + '.apbak')
  File "/usr/lib/python2.7/shutil.py", line 302, in move
    copy2(src, real_dst)
  File "/usr/lib/python2.7/shutil.py", line 130, in copy2
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/phablet/.local/share/com.ubuntu.gallery/gallery-app/database/gallery.sqlite'

command_type
testcase_test