Project

Profile

Help

Task #3684

closed

Pulp 2 tests are failing Permission denied: '/etc/pki/pulp'

Added by daviddavis almost 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - COMPLETE
Priority:
High
Assignee:
Category:
-
Sprint/Milestone:
-
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.

Also available in: Atom PDF