Open pavelpicka opened 1 year ago
Can you try to make the test not use sudo?
i fixed this locally by editing the /etc/sudoers
file with the following addition:
pulp ALL=(ALL:ALL) NOPASSWD:ALL
Exact the workaround I used, may this could be RFE (to not do local workaround every time) as rpm plugin tests needs to run dnf
which requires root privileges
+1 to the tests not requiring sudo
@decko, is this the same issue you have experienced? How did you resolve it?
@decko, is this the same issue you have experienced? How did you resolve it?
I didn't! But we could have two new issues here: 1- Just add the user to the sudoers file. 2- Work the tests to not use sudo and remove it from the images at all.
What do you think @lubosmj ?
I am in favour of option 1.
When I run
oci-env test -i -p pulp_rpm functional
test required pulp password. Is it even set (Tried few without luck)?