[xenial] autopkgtest regression
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | linux (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
On Xenial, linux' autopkgtests now consistently fail (http://
=======
FAIL: test_easyprof (__main_
Test aa-easyprof
-----
Traceback (most recent call last):
File "./test-
self.
AssertionError: Got exit code 127, expected 0
[Errno 2] No such file or directory
=====
FAIL: test_python (__main_
Test python binding
-----
Traceback (most recent call last):
File "./test-
self.
AssertionError: Got exit code 1, expected 0
Traceback (most recent call last):
File "/tmp/testlibZ6
import LibAppArmor
ImportError: No module named LibAppArmor
This could just be a missing test dependency (easyprof/the lib), or maybe also related to the "switch to Python 3.5 by default" transition in xenial-proposed.
| Changed in linux (Ubuntu): | |
| status: | New → Incomplete |
| tags: | added: bot-stop-nagging |
| Changed in linux (Ubuntu): | |
| status: | Incomplete → Confirmed |
| Jamie Strandboge (jdstrand) wrote : | #2 |
I think this may just need a no change rebuild for apparmor so that python 3.5 bindings are built.
| Changed in linux (Ubuntu): | |
| assignee: | nobody → Jamie Strandboge (jdstrand) |
| Martin Pitt (pitti) wrote : | #3 |
> I think this may just need a no change rebuild for apparmor so that python 3.5 bindings are built.
This was already done in wily; python3-
| Jamie Strandboge (jdstrand) wrote : | #4 |
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.
$ sudo ./test-apparmor.py
...
test_easyprof (__main_
Test aa-easyprof ... ok
...
test_python (__main_
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_
Test aa-easyprof
-------
Traceback (most recent call last):
File "./test-
self.
AssertionError: Got exit code 127, expected 0
[Errno 2] No such file or directory
=======
FAIL: test_python (__main_
Test python binding
-------
Traceback (most recent call last):
File "./test-
self.
AssertionError: Got exit code 1, expected 0
Traceback (most recent call last):
File "/tmp/testlib70
import LibAppArmor
ImportError: No module named 'LibAppArmor'
It seems the kernel's team scripts aren't pulling in 'apparmor-
$ sudo apt-get install apparmor-easyprof
...
$ sudo ./test-apparmor.py
...
test_easyprof (__main_
Test aa-easyprof ... ok
...
test_python (__main_
Test python binding ...
python
python3
ok
...
| Changed in linux (Ubuntu): | |
| assignee: | Jamie Strandboge (jdstrand) → nobody |
| status: | Confirmed → Triaged |
| Brad Figg (brad-figg) wrote : | #5 |
This is due to series specific information encoded into the kernel testing infrastructure. I've updated the infrastructure for Xenial.


This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1510362
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.