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

Jeff Ortel jortel at redhat.com
Thu Sep 16 17:58:53 UTC 2010


Fixed.  'git pull' and try again.

On 09/16/2010 08:10 AM, Jason Dobies wrote:
> -----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-----
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5126 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20100916/4b29d316/attachment.p7s>


More information about the Pulp-list mailing list