test_apparmor failures on armhf-omap4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QA Regression Testing |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Running Quantal Beta2 image, kernel 3.5.0-211.18-omap4 3.5.4
full run log is attached.
=======
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/testlib0X
import LibAppArmor
ImportError: No module named LibAppArmor
=====
FAIL: test_regression
Run kernel regression tests
-----
Traceback (most recent call last):
File "./test-
self.
AssertionError: Got exit code 2, expected 0
cc -Wall -Wstrict-prototypes access.c -lapparmor -o access
cc -Wall -Wstrict-prototypes introspect.c -lapparmor -o introspect
cc -Wall -Wstrict-prototypes changeprofile.c -lapparmor -o changeprofile
cc -Wall -Wstrict-prototypes onexec.c -lapparmor -o onexec
cc -Wall -Wstrict-prototypes changehat.c -lapparmor -o changehat
cc -Wall -Wstrict-prototypes changehat_fork.c -lapparmor -o changehat_fork
cc -Wall -Wstrict-prototypes changehat_misc.c -lapparmor -o changehat_misc
cc -Wall -Wstrict-prototypes changehat_misc2.c -lapparmor -o changehat_misc2
cc -Wall -Wstrict-prototypes changehat_twice.c -lapparmor -o changehat_twice
cc -Wall -Wstrict-prototypes changehat_fail.c -lapparmor -o changehat_fail
cc -Wall -Wstrict-prototypes changehat_wrapper.c -lapparmor -o changehat_wrapper
cc -Wall -Wstrict-prototypes changehat_pthread.c -o changehat_pthread -lapparmor -pthread
cc -Wall -Wstrict-prototypes chdir.c -lapparmor -o chdir
cc -Wall -Wstrict-prototypes chgrp.c -lapparmor -o chgrp
cc -Wall -Wstrict-prototypes chmod.c -lapparmor -o chmod
cc -Wall -Wstrict-prototypes chown.c -lapparmor -o chown
cc -Wall -Wstrict-prototypes clone.c -lapparmor -o clone
clone.c: In function ‘main’:
clone.c:62:19: error: ‘PAGE_SIZE’ undeclared (first use in this function)
clone.c:62:19: note: each undeclared identifier is reported only once for each function it appears in
make: *** [clone] Error 1
-----
Ran 45 tests in 2147.218s
FAILED (failures=2)
18:53:26 INFO | END ERROR qrt.test-
18:53:26 INFO | END GOOD ---- ---- timestamp=
+ export TEST_NAME=qrt
The apparmor_python binding failures are caused by not having all the correct dependencies installed.
you need to ensure both python_libapparmor and python3_libapparmor are installed