← Back to team overview

registry team mailing list archive

[Bug 615518] Re: unit test nova.tests.auth_unittest.AuthTestCase.test_209_can_generate_x509 failing on Mac OS X

 

Using Justinb's branch merged over, I get an updated error with an
unexpected exit code narrowing this down to invoking the openssl
commands:


[ERROR]: nova.tests.auth_unittest.AuthTestCase.test_209_can_generate_x509

Traceback (most recent call last):
  File "/Users/heckj/Documents/code/nova/nova/test.py", line 222, in run
    d = self._maybeInlineCallbacks(testMethod)
  File "/Users/heckj/Documents/code/nova/nova/test.py", line 182, in _maybeInlineCallbacks
    g = f()
  File "/Users/heckj/Documents/code/nova/nova/tests/auth_unittest.py", line 154, in test_209_can_generate_x509
    _key, cert_str = self.manager._generate_x509_cert('test1', 'testproj')
  File "/Users/heckj/Documents/code/nova/nova/auth/manager.py", line 730, in _generate_x509_cert
    signed_cert = crypto.sign_csr(csr, pid)
  File "/Users/heckj/Documents/code/nova/nova/crypto.py", line 116, in sign_csr
    return _sign_csr(csr_text, FLAGS.ca_path)
  File "/Users/heckj/Documents/code/nova/nova/crypto.py", line 134, in _sign_csr
    utils.runthis("Signing cert: %s", "openssl ca -batch -out %s/outbound.crt -config ./openssl.cnf -infiles %s/inbound.csr" % (tmpfolder, tmpfolder))
  File "/Users/heckj/Documents/code/nova/nova/utils.py", line 106, in runthis
    % (exit_code, cmd))
exceptions.Exception: Unexpected exit code: 1 from cmd: openssl ca -batch -out /var/folders/eo/eodZkg3ZFqeUxobvY1jb+++++TI/-Tmp-/tmpx_CdiL/outbound.crt -config ./openssl.cnf -infiles /var/folders/eo/eodZkg3ZFqeUxobvY1jb+++++TI/-Tmp-/tmpx_CdiL/inbound.csr

-- 
unit test nova.tests.auth_unittest.AuthTestCase.test_209_can_generate_x509  failing on Mac OS X
https://bugs.launchpad.net/bugs/615518
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References