FAIL: test_regression_testsuite (__main__.ApparmorTestsuites): 12 | #include <sys/sysctl.h>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| AppArmor |
Undecided
|
Unassigned |
Bug Description
When running our ubuntu_qrt_appamor test (that is just a wrapper around qa-regression-
test_
Run utils (make check with python3) ... ok
test_
Cleanup downloaded source ... ok
=====
FAIL: test_regression
Run kernel regression tests
-----
Traceback (most recent call last):
File "./test-
self.
AssertionError: 0 != 2 : Got exit code 2, expected 0
...
cc -g -O0 -Wall -Wsign-compare -Wmissing-
syscall_
12 | #include <sys/sysctl.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: syscall_sysctl] Error 1
See the attached complete log.
Paolo Pisati (p-pisati) wrote : | #1 |
Seth Arnold (seth-arnold) wrote : | #2 |
John Johansen (jjohansen) wrote : | #3 |
Fixed as upstream issue https:/
commit
2e5a266e regression tests: Don't build syscall_sysctl if missing kernel headers
Probably https:/ /sourceware. org/pipermail/ glibc-cvs/ 2020q2/ 069366. html