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

[Pulp-list] Error with Nosetest



Hey All - Did the full gamut of upgrades and I ran nosetests to see if
everything passed.  I have one test that isn't passing, so I'm just
curious if I missed a perm somewhere?  Anyone seen this one?

nosetests -s -w test/ unit/

(tests that passed not included in this paste)...
======================================================================
ERROR: test_create_product_repo (test_product_repo.TestProductRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/workspace/pulp/test/unit/test_product_repo.py", line 63, in
test_create_product_repo
    self.rapi.create_product_repo(content_set, cert_data,
groupid="test-product")
  File "/workspace/pulp/test/unit/../../src/pulp/server/compat.py", line
40, in _decorator
    return decorator(*args,**kwargs)
  File "/workspace/pulp/test/unit/../../src/pulp/server/auditing.py",
line 204, in _audit
    result = method(*args, **kwargs)
  File "/workspace/pulp/test/unit/../../src/pulp/server/api/repo.py",
line 321, in create_product_repo
    cert_files = self._write_certs_to_disk(groupid, cert_data)
  File "/workspace/pulp/test/unit/../../src/pulp/server/api/repo.py",
line 290, in _write_certs_to_disk
    os.makedirs(cert_dir)
  File "/usr/lib64/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/etc/pki/content/test-product'
-------------------- >> begin captured logging << --------------------
auditing: INFO: [2011-01-25 17:02:19.816492] Admin called RepoApi.clean on
auditing: INFO: [2011-01-25 17:02:19.841817] Admin called
RepoApi.create_product_repo on groupid: test-product, content_set:
[{'content_set_label': 'rhel-server', 'content_rel_url':
'/content/dist/rhel/server/$releasever/$basearch/os'}]
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 262 tests in 90.375s

FAILED (errors=1)
Exception in thread Thread-53 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
  File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner
  File "/usr/lib64/python2.6/threading.py", line 477, in run
  File
"/workspace/pulp/test/unit/../../src/pulp/server/tasking/queue/fifo.py",
line 100, in _dispatchException in thread Thread-18 (most likely raised
during interpreter shutdown):Exception in thread Thread-32 (most likely
raised during interpreter shutdown):
 Exception in thread Thread-28 (most likely raised during interpreter
shutdown):
-- 

Thanks in advance,

Jason E. Rist
Senior Software Engineer
Systems Management and Cloud Enablement
Red Hat, Inc.
+1.919.754.4048
Freenode: jrist


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