'test_run_as' functional test failing when running tox with root user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.rootwrap |
Confirmed
|
Medium
|
Unassigned |
Bug Description
'test_run_as' [1] functional test fails with below traceback when running py35 tests with root user:-
py27 test works fine, py35 works if run with non root user(this Test is skipped).
FAIL: oslo_rootwrap.
tags: worker-2
-------
stdout: {{{99}}}
Traceback (most recent call last):
File "/root/
self.
File "/root/
self.
File "/root/
raise mismatch_error
testtools.
Ran 73 tests in 16.071s
FAILED (id=0, failures=1)
error: testr failed (1)
ERROR: InvocationError: '/root/
_______
ERROR: py35: commands failed
Reproduction step:-
Switch to root user:-
sudo su -
git clone https:/
cd oslo.rootwrap
tox -epy35
Expected Output:-
The test should pass
Changed in oslo.rootwrap: | |
status: | New → Confirmed |
importance: | Undecided → Medium |