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

[Pulp-list] Failing Unit Tests



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

FYI, hudson is showing 3 failing tests (the bot barfed parsing the feed
for some reason, I just restarted it and will see if that works).

======================================================================
ERROR: test_consumer_certificate (test_api.TestApi)
- ----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hudson/workspace/pulp-dev/test/unit/test_api.py", line
384, in test_consumer_certificate
    (pk, pem) = self.capi.certificate(c['id'])
  File
"/home/hudson/workspace/pulp-dev/test/unit/../../src/pulp/auditing.py",
line 186, in _audit
    result = method(*args, **kwargs)
  File
"/home/hudson/workspace/pulp-dev/test/unit/../../src/pulp/api/consumer.py",
line 86, in certificate
    private_key, cert = cert_generator.make_cert(id)
  File
"/home/hudson/workspace/pulp-dev/test/unit/../../src/pulp/cert_generator.py",
line 43, in make_cert
    raise Exception("error signing cert request: %s" % output)
Exception: error signing cert request: Signature ok
subject=/CN=test-consumer
Getting CA Private Key
Error opening CA Private Key /etc/pki/pulp/ca.key
3078203100:error:02001002:system library:fopen:No such file or
directory:bss_file.c:392:fopen('/etc/pki/pulp/ca.key','r')
3078203100:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:394:
unable to load CA Private Key

- -------------------- >> begin captured logging << --------------------
auditing: INFO: [2010-08-18 17:10:32.040065] <pulp.auth.SystemPrincipal
object at 0x9de750c> called ConsumerApi.create on id: test-consumer
auditing: INFO: [2010-08-18 17:10:32.041452] <pulp.auth.SystemPrincipal
object at 0x9de750c> called ConsumerApi.certificate on id: test-consumer
- --------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_generation (test_cert_generator.TestCertGeneration)
- ----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/hudson/workspace/pulp-dev/test/unit/test_cert_generator.py", line
33, in test_generation
    (pk, x509_pem) = cert_generator.make_cert(cid)
  File
"/home/hudson/workspace/pulp-dev/test/unit/../../src/pulp/cert_generator.py",
line 43, in make_cert
    raise Exception("error signing cert request: %s" % output)
Exception: error signing cert request: Signature ok
subject=/CN=foobarbaz
Getting CA Private Key
Error opening CA Private Key /etc/pki/pulp/ca.key
3079304924:error:02001002:system library:fopen:No such file or
directory:bss_file.c:392:fopen('/etc/pki/pulp/ca.key','r')
3079304924:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:394:
unable to load CA Private Key


======================================================================
ERROR: test_id_cert (test_role_check.TestRoleCheck)
- ----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hudson/workspace/pulp-dev/test/unit/test_role_check.py",
line 73, in test_id_cert
    (temp_pk, temp_cert) = cert_generator.make_cert(consumerUid)
  File
"/home/hudson/workspace/pulp-dev/test/unit/../../src/pulp/cert_generator.py",
line 43, in make_cert
    raise Exception("error signing cert request: %s" % output)
Exception: error signing cert request: Signature ok
subject=/CN=someconsumer.example.com
Getting CA Private Key
Error opening CA Private Key /etc/pki/pulp/ca.key
3078526684:error:02001002:system library:fopen:No such file or
directory:bss_file.c:392:fopen('/etc/pki/pulp/ca.key','r')
3078526684:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:394:
unable to load CA Private Key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMbTH7AAoJEOMmcTqOSQHCZ6oH/jqkD18H841Zts8sHwm5WsTd
kRh3qLCb290yXJie6I7HVw7C4fBGwMNIsVVTdCytUmqJGQazi0ElPBzdAPYzIPVc
eJEFZzq+cwq60yxvRdROR6QNF31sT+0bPKQUGiFfgaRuNQPRTfT4C8qWdTCxUpXL
SNhewNa4mnYDSmjLe98pK49fFWN3l2e77SE5Uvc0AUi/sy5O23HM8B4Nlk0qOe6J
UPOL/LznvLfsHQWel6t30Zr7AQDoq/WA7/luKg4DvfABXw8a6CEs59LwuPlqD4m7
4saeMy5jt726JbW01BZej5YWQ56aPRRojBkvFi9n1Gxr7e3cdRXp/DT2zcJf9fo=
=7v6R
-----END PGP SIGNATURE-----


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