[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] Still need to run tests as root



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm still getting errors running the tests as non-root. This is off a
pulp-dev --uninstall/--install, so this is the permissions we are
setting in our dev environment. Is anyone looking into fixing this?


======================================================================
ERROR: test_errata_repo_sync_rhel (test_errata.TestErrata)
- ----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jdob/vault/code/pulp/test/unit/test_errata.py", line 369,
in test_errata_repo_sync_rhel
    self.rapi.sync(r['id'])
  File
"/home/jdob/vault/code/pulp/test/unit/../../src/pulp/server/auditing.py", line
186, in _audit
    result = method(*args, **kwargs)
  File
"/home/jdob/vault/code/pulp/test/unit/../../src/pulp/server/api/repo.py", line
569, in sync
    added_packages, added_errataids = repo_sync.sync(repo, repo_source)
  File
"/home/jdob/vault/code/pulp/test/unit/../../src/pulp/server/api/repo_sync.py",
line 57, in sync
    repo_dir = synchronizer.sync(repo, repo_source)
  File
"/home/jdob/vault/code/pulp/test/unit/../../src/pulp/server/api/repo_sync.py",
line 296, in sync
    os.makedirs(repo_dir)
  File "/usr/lib64/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/lib/pulp/test_errata_repo_sync'



======================================================================
ERROR: test_sync (test_api.TestApi)
- ----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jdob/vault/code/pulp/test/unit/test_api.py", line 582, in
test_sync
    self.rapi.sync(repo['id'])
  File
"/home/jdob/vault/code/pulp/test/unit/../../src/pulp/server/auditing.py", line
186, in _audit
    result = method(*args, **kwargs)
  File
"/home/jdob/vault/code/pulp/test/unit/../../src/pulp/server/api/repo.py", line
569, in sync
    added_packages, added_errataids = repo_sync.sync(repo, repo_source)
  File
"/home/jdob/vault/code/pulp/test/unit/../../src/pulp/server/api/repo_sync.py",
line 57, in sync
    repo_dir = synchronizer.sync(repo, repo_source)
  File
"/home/jdob/vault/code/pulp/test/unit/../../src/pulp/server/api/repo_sync.py",
line 275, in sync
    yfetch.fetchYumRepo(config.get('paths', 'local_storage'))
  File "/home/jdob/vault/code/grinder/src/grinder/RepoFetch.py", line
199, in fetchYumRepo
    self.yumFetch.getRepoData()
  File "/home/jdob/vault/code/grinder/src/grinder/RepoFetch.py", line
110, in getRepoData
    os.makedirs(local_repo_path)
  File "/usr/lib64/python2.6/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/usr/lib64/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/lib/pulp/some-id'


- -- 
Jason Dobies
RHCE# 805008743336126
Freenode: jdob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMcowRAAoJEOMmcTqOSQHCsKMIAKMg2KATiP0+9pgz0EYQEKnE
N/Kagk0e5COxah8ShIoUwBnAwS3VoLHYPCPhKTIveQFKH+nnkYvM8oc3HpTvvR0+
P+/IbgXM5ByHWnlZnqLl7rrPROC4kvdjx+x14xE/vF/lz4Xp3QZUPed1MT54qWXW
gx5xGegbsDTptVM3Tg31sBkkCuKApV9pSYNa0ZQFcUUy0iCpgGLQ1q0Fry0Z0gHu
YR5o3sBsM/Wcb4fJc1HE82SffCZ4oMBurp/nn+UNut+JBMkhSgfkTle/eMdGdtMt
6YeaMKJYlb8pcYZoJvdyS4mLVACJBvKV6A3cp0ok9FLXWq99VFldKeOWqFzkfCg=
=o4wg
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]