I'm unable to reproduce this. I can say that a lot of tests fail due to
bug #1511439. If I use 'sudo aa-disable /etc/apparmor.d/usr.bin
.webbrowser-app' I can work around this.

$ sudo ./test-apparmor.py 
...
test_easyprof (__main__.ApparmorTest)
Test aa-easyprof ... ok
...
test_python (__main__.ApparmorBindings)
Test python binding ... 
  python
  python3
ok
...

If I remove python3-libapparmor (which also remove apparmor-easyprof), I see 
the same issue:
...

======================================================================
FAIL: test_easyprof (__main__.ApparmorTest)
Test aa-easyprof
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test-apparmor.py", line 1190, in test_easyprof
    self.assertEquals(expected, rc, result + report)
AssertionError: Got exit code 127, expected 0
[Errno 2] No such file or directory

======================================================================
FAIL: test_python (__main__.ApparmorBindings)
Test python binding
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test-apparmor.py", line 2403, in test_python
    self.assertEquals(expected, rc, result + report)
AssertionError: Got exit code 1, expected 0
Traceback (most recent call last):
  File "/tmp/testlib707vau/test-script", line 20, in <module>
    import LibAppArmor
ImportError: No module named 'LibAppArmor'

It seems the kernel's team scripts aren't pulling in 'apparmor-
easyprof'.

$ sudo apt-get install apparmor-easyprof
...
$ sudo ./test-apparmor.py 
...
test_easyprof (__main__.ApparmorTest)
Test aa-easyprof ... ok
...
test_python (__main__.ApparmorBindings)
Test python binding ... 
  python
  python3
ok
...


** Changed in: linux (Ubuntu)
     Assignee: Jamie Strandboge (jdstrand) => (unassigned)

** Changed in: linux (Ubuntu)
       Status: Confirmed => Triaged

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

Title:
  [xenial] autopkgtest regression

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

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

Reply via email to