Mystery solved:

[13232.018182] type=1400 audit(1424844047.097:122): apparmor="DENIED"
operation="open" profile="com.ubuntu.camera_camera_3.0.0.484" name="/tmp
/adt-run.cXxSBr/deps/usr/lib/libqttestability.so.1.0.0" pid=31948 comm
="camera-app" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0

Christopher's original report specified  a --click explicity; for that,
autopkgtest will modify the apparmor profile to allow introspection and
loading stuff from the test deps temp dir. But  the ubuntu-sanity-tests
invocation does not involve any explicit --click, thus there is no
apparmor modification.

For this it seems we need to bite the bullet and modify the apparmor
profile for *all* installed clicks: i. e. if the test is running in a
touch+apparmor+click environment, but only a Debian package is specified
and no --click. This will add 3 minutes to the test run (one complete
apparmor profile update takes ~ 1.5 min, and we have to revert it at the
end of the test), but I guess we have to bite that bullet.

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

** Changed in: autopkgtest (Ubuntu)
       Status: New => In Progress

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

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

Title:
  Click app (Camera) cannot find qttestability library

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to