Comment 0 for bug 1308280

When I try to setup autopilot for testing latest filemanager 0.3 from trunk I get a failure:-

alan@deep-thought:~/phablet/scripts$ adb shell rm -rf /home/phablet/autopilot
alan@deep-thought:~/phablet/scripts$ phablet-click-test-setup --click com.ubuntu.filemanager
Fetching python-mock - into /tmp/tmpoxNzPo
Downloading python-mock version 1.0.1-3
Moving /tmp/tmpoxNzPo/deb/usr/lib/python2.7/dist-packages/mock-1.0.1.egg-info to /tmp/tmp8NtZeh/legacy-py2
Moving /tmp/tmpoxNzPo/deb/usr/lib/python2.7/dist-packages/mock.py to /tmp/tmp8NtZeh/legacy-py2
Fetching python-dateutil - into /tmp/tmpUvCfwZ
Downloading python-dateutil version 1.5+dfsg-1ubuntu1
Moving /tmp/tmpUvCfwZ/deb/usr/lib/python2.7/dist-packages/python_dateutil-1.5.egg-info to /tmp/tmp8NtZeh/legacy-py2
Moving /tmp/tmpUvCfwZ/deb/usr/lib/python2.7/dist-packages/dateutil to /tmp/tmp8NtZeh/legacy-py2
Fetching python3-dateutil - into /tmp/tmpIh71Ni
Downloading python3-dateutil version 2.0+dfsg1-1
Moving /tmp/tmpIh71Ni/deb/usr/lib/python3/dist-packages/dateutil to /tmp/tmp8NtZeh
Moving /tmp/tmpIh71Ni/deb/usr/lib/python3/dist-packages/python_dateutil-2.0.egg-info to /tmp/tmp8NtZeh
Fetching unity8 - 7.85+14.04.20140410.1-0ubuntu1 into /tmp/tmpIC5Jwk
pull-lp-source: Downloading unity8 version 7.85+14.04.20140410.1-0ubuntu1
pull-lp-source: Downloading unity8_7.85+14.04.20140410.1.orig.tar.gz from archive.ubuntu.com (10.245 MiB)
pull-lp-source: Downloading unity8_7.85+14.04.20140410.1-0ubuntu1.diff.gz from archive.ubuntu.com (0.036 MiB)
gpgv: Signature made Thu 10 Apr 2014 11:08:36 BST using RSA key ID B879A3E9
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./unity8_7.85+14.04.20140410.1-0ubuntu1.dsc
dpkg-source: info: extracting unity8 in unity8-7.85+14.04.20140410.1
dpkg-source: info: unpacking unity8_7.85+14.04.20140410.1.orig.tar.gz
dpkg-source: info: applying unity8_7.85+14.04.20140410.1-0ubuntu1.diff.gz
Keeping tests from obtained package
Moving /tmp/tmpIC5Jwk/unity8-7.85+14.04.20140410.1/tests/autopilot/unity8 to /tmp/tmp8NtZeh
Fetching ubuntu-ui-toolkit - 0.1.46+14.04.20140408.1-0ubuntu1 into /tmp/tmpI5vPXv
pull-lp-source: Downloading ubuntu-ui-toolkit version 0.1.46+14.04.20140408.1-0ubuntu1
pull-lp-source: Downloading ubuntu-ui-toolkit_0.1.46+14.04.20140408.1.orig.tar.gz from archive.ubuntu.com (1.373 MiB)
pull-lp-source: Downloading ubuntu-ui-toolkit_0.1.46+14.04.20140408.1-0ubuntu1.diff.gz from archive.ubuntu.com (0.033 MiB)
gpgv: Signature made Tue 08 Apr 2014 15:52:00 BST using RSA key ID B879A3E9
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./ubuntu-ui-toolkit_0.1.46+14.04.20140408.1-0ubuntu1.dsc
dpkg-source: info: extracting ubuntu-ui-toolkit in ubuntu-ui-toolkit-0.1.46+14.04.20140408.1
dpkg-source: info: unpacking ubuntu-ui-toolkit_0.1.46+14.04.20140408.1.orig.tar.gz
dpkg-source: info: applying ubuntu-ui-toolkit_0.1.46+14.04.20140408.1-0ubuntu1.diff.gz
Keeping tests from obtained package
Moving /tmp/tmpI5vPXv/ubuntu-ui-toolkit-0.1.46+14.04.20140408.1/tests/autopilot/ubuntuuitoolkit to /tmp/tmp8NtZeh
Only setting up for com.ubuntu.filemanager
Only keeping entries with x-source
Checking out lp:ubuntu-filemanager-app to /tmp/tmpx5RGlN/work
bzr: ERROR: Requested revision: 'latest' does not exist in branch: bzr+ssh://bazaar.launchpad.net/+branch/ubuntu-filemanager-app/
Traceback (most recent call last):
  File "/usr/bin/phablet-click-test-setup", line 245, in <module>
    main()
  File "/usr/bin/phablet-click-test-setup", line 234, in main
    fetch_click_tests(adb, test_dir, args.user, args.click)
  File "/usr/bin/phablet-click-test-setup", line 219, in fetch_click_tests
    subdir)
  File "/usr/bin/phablet-click-test-setup", line 184, in get_bzr_tests
    'work'], cwd=tmp_dir)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['bzr', 'checkout', '--lightweight', u'lp:ubuntu-filemanager-app', '-r', u'latest', 'work']' returned non-zero exit status 3
Removing directory /tmp/tmpx5RGlN
Removing directory /tmp/tmpI5vPXv
Removing directory /tmp/tmpIC5Jwk
Removing directory /tmp/tmpIh71Ni
Removing directory /tmp/tmpUvCfwZ
Removing directory /tmp/tmpoxNzPo
Removing directory /tmp/tmp8NtZeh