Actions
Task #3684
closedPulp 2 tests are failing Permission denied: '/etc/pki/pulp'
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 37
Quarter:
Description
With this change, we stopped running pulp-dev.py as root:
https://github.com/pulp/pulp-ci/pull/516
The problem is that now the tests are failing because certain directories cannot be created:
creating directory: /etc/pki/pulp
Traceback (most recent call last):
File "./pulp-dev.py", line 483, in <module>
sys.exit(install(opts))
File "./pulp-dev.py", line 350, in install
create_dirs(opts)
File "./pulp-dev.py", line 196, in create_dirs
os.makedirs(d, 0777)
File "/home/jenkins/.virtualenvs/test/lib64/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/etc/pki/pulp'
See this PR's failures as an example:
https://github.com/pulp/pulp/pull/3499
Not sure how to fix this.
Actions
Revert "Do not install packages as root"
This reverts commit 19c5a0e599d2570062bb4f09b0d93903aa0a4a92.
This fixes a permissions problem we were experiencing.
fixes #3684 https://pulp.plan.io/issues/3684