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

[Pulp-list] Unit tests back to requiring root to run again



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

======================================================================
ERROR: testSynchronous (test_messaging.TestMessaging)
- ----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jdob/code/pulp/test/unit/test_messaging.py", line 84, in
testSynchronous
    __agent = TestAgent(self.ID)
  File "/home/jdob/code/pulp/test/unit/test_messaging.py", line 50, in
__init__
    Agent.__init__(self, con)
  File
"/home/jdob/code/pulp/test/unit/../../src/pulp/messaging/base.py", line
50, in __init__
    consumer.start(dispatcher)
  File
"/home/jdob/code/pulp/test/unit/../../src/pulp/messaging/consumer.py",
line 259, in start
    q = PendingQueue(self.id())
  File
"/home/jdob/code/pulp/test/unit/../../src/pulp/messaging/store.py", line
59, in __init__
    self.mkdir()
  File
"/home/jdob/code/pulp/test/unit/../../src/pulp/messaging/store.py", line
192, in mkdir
    os.makedirs(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/messaging'


Please try to remember to not hardcode directories in the code.
Everything is already set up to make it as simple as possible to
override config values in tests by adding an option to
test/common/test-override-pulp.conf.

- -- 
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/

iQEcBAEBAgAGBQJMkhc+AAoJEOMmcTqOSQHCogMH/RCXkdq7bYcHe2QtUKFY7Uff
dxWdFEaVbrzpkUWoL6fv6985WHrgBoM4XsxLjh8a8ue3eDHAgW3BaC5jVD8sBJ0c
zVZvMTzcn36uTGs5Z9qCNbREmCc0HpBd6avhWiu5843IxV6BIggQxVaaUCjB9Qhk
m/y+C+TayJC/lzv77bxwrr2BkniVsVTs12PbVh2JvpgEvvcjqrfiq6E9xhL51JZR
PT+1TeOtQh7dzEnYuFIgi153J9U8o+NMGW+sBC9I3z1HDRzFQ50EZ8D1KmyWh0ID
sU18YO8CAofPvUuHGNluE0wkiGzPE6qptWSxXb7vNAQmzpPxtmCXGrPgwbiWDoI=
=3IhW
-----END PGP SIGNATURE-----


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