phablet-click-test-setup tries to download unity8 and ui-toolkit from main archives, failing when those are being tested

Bug #1280279 reported by Timo Jyrinki on 2014-02-14
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
phablet-tools (Ubuntu)
Critical
Unassigned

Bug Description

The phablet-click-test-setup fails when a PPA is enabled that carries a newer version of unity8 or ubuntu-ui-toolkit than what's in the archives. It should be possible to skip downloading those without editing /usr/bin/phablet-click-test-setup manually.
ubuntu-ui-toolkit-autopilot.

The workaround for the problem is to edit the lines ~63-64 ("basic_packages") and remove the ones not wanted to be tried to be downloaded. After that click-phablet-test-setup succeeds otherwise, ie downloads the actual click package autopilot tests that are wanted to be executed.

Edit: removed the "UITK installs tests from -autopilot packages" since it doesn't work in RO mode. but the tool should know how to download the packages from PPA when the PPA is being tested

description: updated
description: updated
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in phablet-tools (Ubuntu):
status: New → Confirmed
description: updated
Christian Dywan (kalikiana) wrote :

Just ran into this again - this still breaks the test plan of the UI Toolkit.

Work-around:
Edit /usr/bin/phablet-click-test-setup
Uncomment fetch_test_base(adb, test_dir, arch, args.depends)

Changed in phablet-tools (Ubuntu):
importance: Undecided → Critical
Christian Dywan (kalikiana) wrote :

Correction:

Work-around:
Edit /usr/bin/phablet-click-test-setup
Comment out fetch_test_base in main() like so
# fetch_test_base(adb, test_dir, arch, args.depends)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers