Running AP tests fails

Bug #1308949 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Notes app
Invalid
Undecided
Unassigned

Bug Description

Running AP tests for reminders 0.5 on device running #301

To reproduce I install the click package from jenkins
Then run:-
phablet-config autopilot --dbus-probe enable
phablet-click-test-setup --click com.ubuntu.reminders

It fails here:-

alan@deep-thought:~/phablet/scripts$ phablet-click-test-setup --click com.ubuntu.reminders
Fetching python-mock - into /tmp/tmpJznnAJ
Downloading python-mock version 1.0.1-3
Moving /tmp/tmpJznnAJ/deb/usr/lib/python2.7/dist-packages/mock-1.0.1.egg-info to /tmp/tmpr3qzr9/legacy-py2
Moving /tmp/tmpJznnAJ/deb/usr/lib/python2.7/dist-packages/mock.py to /tmp/tmpr3qzr9/legacy-py2
Fetching python-dateutil - into /tmp/tmpqykr3y
Downloading python-dateutil version 1.5+dfsg-1ubuntu1
Moving /tmp/tmpqykr3y/deb/usr/lib/python2.7/dist-packages/python_dateutil-1.5.egg-info to /tmp/tmpr3qzr9/legacy-py2
Moving /tmp/tmpqykr3y/deb/usr/lib/python2.7/dist-packages/dateutil to /tmp/tmpr3qzr9/legacy-py2
Fetching python3-dateutil - into /tmp/tmp_kyAnT
Downloading python3-dateutil version 2.0+dfsg1-1
Moving /tmp/tmp_kyAnT/deb/usr/lib/python3/dist-packages/dateutil to /tmp/tmpr3qzr9
Moving /tmp/tmp_kyAnT/deb/usr/lib/python3/dist-packages/python_dateutil-2.0.egg-info to /tmp/tmpr3qzr9
Fetching unity8 - 7.85+14.04.20140416-0ubuntu1 into /tmp/tmp4vhtb9
pull-lp-source: Downloading unity8 version 7.85+14.04.20140416-0ubuntu1
pull-lp-source: Downloading unity8_7.85+14.04.20140416.orig.tar.gz from archive.ubuntu.com (10.528 MiB)
pull-lp-source: Downloading unity8_7.85+14.04.20140416-0ubuntu1.diff.gz from archive.ubuntu.com (0.037 MiB)
gpgv: Signature made Wed 16 Apr 2014 14:51:32 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.20140416-0ubuntu1.dsc
dpkg-source: info: extracting unity8 in unity8-7.85+14.04.20140416
dpkg-source: info: unpacking unity8_7.85+14.04.20140416.orig.tar.gz
dpkg-source: info: applying unity8_7.85+14.04.20140416-0ubuntu1.diff.gz
Keeping tests from obtained package
Moving /tmp/tmp4vhtb9/unity8-7.85+14.04.20140416/tests/autopilot/unity8 to /tmp/tmpr3qzr9
Fetching ubuntu-ui-toolkit - 0.1.46+14.04.20140408.1-0ubuntu1 into /tmp/tmpFraehU
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/tmpFraehU/ubuntu-ui-toolkit-0.1.46+14.04.20140408.1/tests/autopilot/ubuntuuitoolkit to /tmp/tmpr3qzr9
Only setting up for com.ubuntu.reminders
Only keeping entries with x-source
Checking out lp:reminders to /tmp/tmpv3nhg1/work
bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/+branch/reminders/".
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:reminders', '-r', u'latest', 'work']' returned non-zero exit status 3
Removing directory /tmp/tmpv3nhg1
Removing directory /tmp/tmpFraehU
Removing directory /tmp/tmp4vhtb9
Removing directory /tmp/tmp_kyAnT
Removing directory /tmp/tmpqykr3y
Removing directory /tmp/tmpJznnAJ
Removing directory /tmp/tmpr3qzr9

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Seems inconsistent naming. This works..

phablet-click-test-setup --click com.ubuntu.reminders-app

Changed in reminders-app:
status: New → Invalid
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.