Since we dropped autopilot from the images, you *need* to specify your
sudo password (unless it's "0000" which the runner tries by default).
Without having root on the phone there is no way that we can adjust the
AppArmor policy for enabling autopilot to work.

But I fixed it up to the point that the test at least doesn't crash with
this error: The click now installs, and AppArmor rule adjustment is just
skipped, instead you get a warning

   adt-run: WARNING: Cannot adjust AppArmor rules without root/sudo
privileges; Autopilot tests will fail and test dependencies will not be
available!

http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=0180f8b0

** Changed in: autopkgtest (Ubuntu)
       Status: New => Fix Committed

** Changed in: autopkgtest (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

** Changed in: autopkgtest (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1384417

Title:
  Running adt-run without root installs the click for all users

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1384417/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to