longpath test in the apparmor test failed with permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QA Regression Testing |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
THIS IS A POTENTIAL REGRESSION
The ubuntu_qrt_apparmor test suite has passed with the kernel in -released (4.4.0-121) but not the one in -proposed (4.4.0-123)
longpath test in the test_regression
running longpath
longpath.sh: line 53: /sys/module/
Fatal Error (longpath): Unexpected shell error. Run with -x to debug
This issue can be spotted both on Xenial kernel and the Xenial kernel on Trusty.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-123-generic i686
ApportVersion: 2.14.1-0ubuntu3.27
Architecture: i386
Date: Thu May 3 08:55:33 2018
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: linux-lts-xenial
UpgradeStatus: No upgrade log present (probably fresh install)
The file property has changed from 4.4.0-121 to 4.4.0-123
* 4.4.0-121: apparmor/ parameters/ path_max apparmor/ parameters/ path_max
$ ll /sys/module/
-rw-r--r-- 1 root root 4096 May 3 09:11 /sys/module/
* 4.4.0-123: apparmor/ parameters/ path_max apparmor/ parameters/ path_max
$ ll /sys/module/
-r--r--r-- 1 root root 4096 May 3 08:23 /sys/module/
This might be the cause of this permission denied issue.
So maybe it's the tool that needs some modification, I will add the qa-regression- testing project to this bug as well.