[Bug 1553797] Re: Provide a way to Update AppArmor rules for click tests only once

Omer Akram om26er at ubuntu.com
Fri Mar 11 12:16:21 UTC 2016


So I tried my patch and made relevant changes to our test suite (lp
:ubuntu-system-tests) and it does seem to be working fine.

My previous comment came as I had inspecting that aa-clickhook was
called after temporary debs were installed in /tmp/adt-run.XXXX
directory.  and this code[1], which added each directory path to the
click-ap.rules file. Since the above patch is working, we can blame my
understand of aa-clickhook here to be the issue.

Do you have comments about the diff ?

[1]
http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/tree/lib/adt_testbed.py#n786

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

Title:
  Provide a way to Update AppArmor rules for click tests only once

Status in autopkgtest package in Ubuntu:
  New

Bug description:
  We use autopkgtest in ubuntu-system-tests project to run those tests
  on the touch device. While developing the tests, it becomes a bit of a
  challenge to run the tests as it takes a few moment to update AppArmor
  rules for click.

  As part of profiling for ubuntu-system-tests, we found it takes more
  than a minute each time to update AppArmor rules. So we probably need
  some kind of parameter to adt-run to not delete the
  /var/cache/apparmor/click-ap.rules file after running tests.

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



More information about the foundations-bugs mailing list