Run "make clean" for test_120_smep_works in qrt_kernel_security
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QA Regression Testing |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin |
Bug Description
When running the test_120_smep_works test in ubuntu_
For example,
if we test the AWS kernel first, the module will be:
$ modinfo execuser.ko
filename: /home/ubuntu/
license: GPL
srcversion: 1972E301DF4C728
depends:
retpoline: Y
name: execuser
vermagic: 4.15.0-1021-aws SMP mod_unload
And then we reboot to the generic kernel and run it again, the module won't get rebuilt properly as the code didn't change.
This issue will cause the test to complain about invalid format.
Add "make clean" will make this test become more robust.
Related branches
- Steve Beattie: Approve
-
Diff: 12 lines (+1/-0)1 file modifiedscripts/test-kernel-security.py (+1/-0)
Changed in qa-regression-testing: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in qa-regression-testing: | |
status: | New → In Progress |
Changed in ubuntu-kernel-tests: | |
status: | New → In Progress |
Changed in qa-regression-testing: | |
status: | In Progress → Fix Released |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Released |