Test integrated from ubuntu_qrt_kernel does not work with kernel-testing SRU framework

Bug #1814081 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
Fix Released
High
Tyler Hicks
ubuntu-kernel-tests
Invalid
Undecided
Unassigned

Bug Description

The test_00_make in KernelNonSecurityTest will try to run make command as a normal user:
   self.assertShellExitEquals(0, self._unpriv_cmd(["make", "clean"]))
   self.assertShellExitEquals(0, self._unpriv_cmd(["make"]))

But we're running this test suite as root.
Try to run the make command within a directory created by root will let it fail with:
   Permission denied

We need to determine if we really need to run the make command as a normal user. Or we can put the compiled executables somewhere else.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Tyler Hicks (tyhicks) wrote :

Feel free to move the status to Fix Released once you verify the fix.

Changed in ubuntu-kernel-tests:
status: New → Invalid
Changed in qa-regression-testing:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Tyler Hicks (tyhicks)
Po-Hsu Lin (cypressyew)
Changed in qa-regression-testing:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.