Parser test suite fails on mips64el: Failed setting up policy cache (/tmp/aa-caching-l8pvywl8/cache): Operation not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Invalid
|
Undecided
|
Unassigned | ||
apparmor (Debian) |
New
|
Undecided
|
Unassigned | ||
gcc-7 (Debian) |
Fix Released
|
Unknown
|
Bug Description
Full build log: https:/
Details about (first) failure:
=======
FAIL: test_cache_
-------
Traceback (most recent call last):
File "/<<PKGBUILDDIR
return unittest_func(self)
File "./caching.py", line 149, in test_cache_
self.
File "/<<PKGBUILDDIR
self.
AssertionError: 1 != 0 : Got return code 1, expected 0
Command run: ../apparmor_parser --base /tmp/aa-
Output: Failed setting up policy cache (/tmp/aa-
I've reproduced this on the eller.debian.org porterbox in a mips64el chroot.
Changed in gcc-7 (Debian): | |
status: | Unknown → New |
Changed in gcc-7 (Debian): | |
status: | New → Confirmed |
Changed in gcc-7 (Debian): | |
status: | Confirmed → Fix Released |
eller% strace ../apparmor_parser --debug --base /tmp/aa- caching- _5sxbkdo --skip-kernel-load -M ./features_ files/features. all --cache-loc /tmp/aa- caching- _5sxbkdo/ aa-alt- cache8eia9fdh --write-cache -r /tmp/aa- caching- _5sxbkdo/ sbin.pingy "../apparmor_ parser" , ["../apparmor_ parser" , "--debug", "--base", "/tmp/aa- caching- _5sxbkdo" , "--skip- kernel- load", "-M", "./features_ files/features. all", "--cache-loc", "/tmp/aa- caching- _5sxbkdo/ aa-alt- "..., "--write-cache", "-r", "/tmp/aa- caching- _5sxbkdo/ sbin.pi" ...], [/* 18 vars */]) = 0 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0xffebe05000 "/etc/ld. so.nohwcap" , F_OK) = -1 ENOENT (No such file or directory) "/etc/ld. so.preload" , R_OK) = -1 ENOENT (No such file or directory) etc/ld. so.cache" , O_RDONLY|O_CLOEXEC) = 3 S_IFREG| 0644, st_size=15753, ...}) = 0 "/etc/ld. so.nohwcap" , F_OK) = -1 ENOENT (No such file or directory) lib/mips64el- linux-gnuabi64/ libpthread. so.0", O_RDONLY|O_CLOEXEC) = 3 2\1\1\0\ 0\0\0\0\ 0\0\0\0\ 3\0\10\ 0\1\0\0\ 0\360\204\ 0\0\0\0\ 0\0"... , 832) = 832 0\24\0\ 0\0\3\0\ 0\0GNU\ 0\257\374\ 36\345\ 304\3317$ \252{-7u( 9\330". .., 36) = 36 0\20\0\ 0\0\1\0\ 0\0GNU\ 0\0\0\0\ 0\3\0\0\ 0\2\0\0\ 0\0\0\0\ 0", 32) = 32 S_IFREG| 0755, st_size=169816, ...}) = 0 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0xffebdff000 PROT_EXEC, MAP_PRIVATE| MAP_DENYWRITE, 3, 0) = 0xffebda1000 0xffebdbf000, 61440, PROT_NONE) = 0 PROT_WRITE, MAP_PRIVATE| MAP_FIXED| MAP_DENYWRITE, 3, 0x1d000) = 0xffebdce000 PROT_WRITE, MAP_PRIVATE| MAP_FIXED| MAP_ANONYMOUS, -1, 0) = 0xffebdd0000 "/etc/ld. so.nohwcap" , F_OK) = -1 ENOENT (No such file or directory) lib/mips64el- linux-gnuabi64/ libm.so. 6", O_RDONLY|O_CLOEXEC) = 3 2\1\1\0\ 0\0\0\0\ 0\0\0\0\ 3\0\10\ 0\1\0\0\ 0\200\262\ 0\0\0\0\ 0\0"... , 832) = 832 0\24\0\ 0\0\3\0\ 0\0GNU\ 0-0\327W\ 10\270` \223m\214\ 204\374! \237W\236" ..., 36) = 36 0\20\0\ 0\0\1\0\ 0\0GNU\ 0\0\0\0\ 0\3\0\0\ 0\2\0\0\ 0\0\0\0\ 0", 32) = 32 S_IFREG| 0644, st_size=849872, ...}) = 0 PROT_EXEC, MAP_PRIVATE| MAP_DENYWRITE, 3, 0) = 0xffebcc6000 0xffebd90000, 61440, PROT_NONE) = 0 PROT_WRITE, MAP_PRIVATE| MAP_FIXED| MAP_DENYWRITE, 3, 0xc9000) = 0xffebd9f000 "/etc/ld. so.nohwcap" , F_OK) = -1 ENOENT (No such file or directory) lib/mips64el- linux-gnuabi64/ libc.so. 6", O_RDONLY|O_CLOEXEC) = 3 2\1\1\0\ 0\0\0\0\ 0\0\0\0\ 3\0\10\ 0\1\0\0\ 0\230\310\ 3\...
execve(
brk(NULL) = 0xaab9436000
mmap(NULL, 8192, PROT_READ|
access(
access(
open("/
fstat(3, {st_mode=
mmap(NULL, 15753, PROT_READ, MAP_PRIVATE, 3, 0) = 0xffebe01000
close(3) = 0
access(
open("/
read(3, "\177ELF\
lseek(3, 8944, SEEK_SET) = 8944
read(3, "\4\0\0\
lseek(3, 9608, SEEK_SET) = 9608
read(3, "\4\0\0\
fstat(3, {st_mode=
mmap(NULL, 8192, PROT_READ|
mmap(NULL, 206600, PROT_READ|
mprotect(
mmap(0xffebdce000, 8192, PROT_READ|
mmap(0xffebdd0000, 14088, PROT_READ|
close(3) = 0
access(
open("/
read(3, "\177ELF\
lseek(3, 19016, SEEK_SET) = 19016
read(3, "\4\0\0\
lseek(3, 19648, SEEK_SET) = 19648
read(3, "\4\0\0\
fstat(3, {st_mode=
mmap(NULL, 895920, PROT_READ|
mprotect(
mmap(0xffebd9f000, 8192, PROT_READ|
close(3) = 0
access(
open("/
read(3, "\177ELF\