Bug#843865: keystone: FTBFS: ca: Can't parse "3650d" as a number

Chris Lamb lamby at debian.org
Thu Nov 10 10:43:59 UTC 2016


Source: keystone
Version: 2:10.0.0-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

keystone fails to build from source in unstable/amd64:

  […]

  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  NeedRegenerationException
  no value, waiting for create lock
  value creation lock <dogpile.cache.region._LockWrapper object at 0x7fe6d050bb50> acquired
  Calling creation function
  Released creation lock
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf' mode=0640 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/index.txt' mode=0640 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/serial' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0750 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0750 user=None(None) group=None(None)
  Running command - openssl genrsa -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem 2048
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  Running command - openssl req -new -x509 -extensions v3_ca -key /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem -days 3650 -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem' mode=0644 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private' mode=0750 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private' mode=0750 user=None(None) group=None(None)
  Running command - openssl genrsa -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem 2048
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  Running command - openssl req -key /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem -new -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
  Running command - openssl ca -batch -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -days 3650d -cert /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem -keyfile /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem -infiles /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem
  Command ['openssl', 'ca', '-batch', '-out', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem', '-config', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf', '-days', '3650d', '-cert', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem', '-keyfile', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem', '-infiles', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem'] exited with 1 - ca: Can't parse "3650d" as a number
  ca: Non-positive number "3650d" for -days
  ca: Use -help for summary.
  )
  }}}
  
  Traceback (most recent call last):
    File "keystone/tests/unit/test_cert_setup.py", line 158, in test_create_pki_certs_twice_without_rebuild
      self.test_create_pki_certs()
    File "keystone/tests/unit/test_cert_setup.py", line 83, in test_create_pki_certs
      pki.run()
    File "keystone/common/openssl.py", line 241, in run
      self.build_signing_cert()
    File "keystone/common/openssl.py", line 223, in build_signing_cert
      '-infiles', '%(request_file)s'])
    File "keystone/common/openssl.py", line 88, in exec_command
      stderr=subprocess.STDOUT)
    File "/usr/lib/python2.7/subprocess.py", line 219, in check_output
      raise CalledProcessError(retcode, cmd, output=output)
  subprocess.CalledProcessError: Command '['openssl', 'ca', '-batch', '-out', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem', '-config', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf', '-days', '3650d', '-cert', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem', '-keyfile', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem', '-infiles', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem']' returned non-zero exit status 1
  
  
  ======================================================================
  FAIL: keystone.tests.unit.test_cert_setup.CertSetupTestCase.test_fetch_signing_cert
  keystone.tests.unit.test_cert_setup.CertSetupTestCase.test_fetch_signing_cert
  ----------------------------------------------------------------------
  _StringException: pythonlogging:'': {{{
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  NeedRegenerationException
  no value, waiting for create lock
  value creation lock <dogpile.cache.region._LockWrapper object at 0x7fe6cfe77f50> acquired
  Calling creation function
  Released creation lock
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf' mode=0640 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/index.txt' mode=0640 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/serial' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0750 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0750 user=None(None) group=None(None)
  Running command - openssl genrsa -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem 2048
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  Running command - openssl req -new -x509 -extensions v3_ca -key /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem -days 3650 -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem' mode=0644 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private' mode=0750 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private' mode=0750 user=None(None) group=None(None)
  Running command - openssl genrsa -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem 2048
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  Running command - openssl req -key /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem -new -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
  Running command - openssl ca -batch -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -days 3650d -cert /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem -keyfile /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem -infiles /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem
  Command ['openssl', 'ca', '-batch', '-out', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem', '-config', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf', '-days', '3650d', '-cert', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem', '-keyfile', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem', '-infiles', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem'] exited with 1 - ca: Can't parse "3650d" as a number
  ca: Non-positive number "3650d" for -days
  ca: Use -help for summary.
  )
  }}}
  
  Traceback (most recent call last):
    File "keystone/tests/unit/test_cert_setup.py", line 90, in test_fetch_signing_cert
      pki.run()
    File "keystone/common/openssl.py", line 241, in run
      self.build_signing_cert()
    File "keystone/common/openssl.py", line 223, in build_signing_cert
      '-infiles', '%(request_file)s'])
    File "keystone/common/openssl.py", line 88, in exec_command
      stderr=subprocess.STDOUT)
    File "/usr/lib/python2.7/subprocess.py", line 219, in check_output
      raise CalledProcessError(retcode, cmd, output=output)
  subprocess.CalledProcessError: Command '['openssl', 'ca', '-batch', '-out', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem', '-config', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf', '-days', '3650d', '-cert', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem', '-keyfile', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem', '-infiles', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem']' returned non-zero exit status 1
  
  
  ======================================================================
  FAIL: keystone.tests.unit.test_cert_setup.CertSetupTestCase.test_fetch_signing_cert_when_rebuild
  keystone.tests.unit.test_cert_setup.CertSetupTestCase.test_fetch_signing_cert_when_rebuild
  ----------------------------------------------------------------------
  _StringException: pythonlogging:'': {{{
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  NeedRegenerationException
  no value, waiting for create lock
  value creation lock <dogpile.cache.region._LockWrapper object at 0x7fe6d1883710> acquired
  Calling creation function
  Released creation lock
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf' mode=0640 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/index.txt' mode=0640 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/serial' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0750 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0750 user=None(None) group=None(None)
  Running command - openssl genrsa -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem 2048
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  Running command - openssl req -new -x509 -extensions v3_ca -key /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem -days 3650 -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem' mode=0644 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private' mode=0750 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private' mode=0750 user=None(None) group=None(None)
  Running command - openssl genrsa -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem 2048
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  Running command - openssl req -key /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem -new -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
  Running command - openssl ca -batch -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -days 3650d -cert /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem -keyfile /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem -infiles /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem
  Command ['openssl', 'ca', '-batch', '-out', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem', '-config', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf', '-days', '3650d', '-cert', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem', '-keyfile', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem', '-infiles', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem'] exited with 1 - ca: Can't parse "3650d" as a number
  ca: Non-positive number "3650d" for -days
  ca: Use -help for summary.
  )
  }}}
  
  Traceback (most recent call last):
    File "keystone/tests/unit/test_cert_setup.py", line 125, in test_fetch_signing_cert_when_rebuild
      pki.run()
    File "keystone/common/openssl.py", line 241, in run
      self.build_signing_cert()
    File "keystone/common/openssl.py", line 223, in build_signing_cert
      '-infiles', '%(request_file)s'])
    File "keystone/common/openssl.py", line 88, in exec_command
      stderr=subprocess.STDOUT)
    File "/usr/lib/python2.7/subprocess.py", line 219, in check_output
      raise CalledProcessError(retcode, cmd, output=output)
  subprocess.CalledProcessError: Command '['openssl', 'ca', '-batch', '-out', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem', '-config', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf', '-days', '3650d', '-cert', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem', '-keyfile', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem', '-infiles', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem']' returned non-zero exit status 1
  
  
  ======================================================================
  FAIL: keystone.tests.unit.test_cert_setup.CertSetupTestCase.test_pki_certs_rebuild
  keystone.tests.unit.test_cert_setup.CertSetupTestCase.test_pki_certs_rebuild
  ----------------------------------------------------------------------
  _StringException: pythonlogging:'': {{{
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  NeedRegenerationException
  no value, waiting for create lock
  value creation lock <dogpile.cache.region._LockWrapper object at 0x7fe6d18836d0> acquired
  Calling creation function
  Released creation lock
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf' mode=0640 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/index.txt' mode=0640 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/serial' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0750 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0750 user=None(None) group=None(None)
  Running command - openssl genrsa -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem 2048
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  Running command - openssl req -new -x509 -extensions v3_ca -key /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem -days 3650 -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem' mode=0644 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private' mode=0750 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private' mode=0750 user=None(None) group=None(None)
  Running command - openssl genrsa -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem 2048
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  Running command - openssl req -key /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem -new -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
  Running command - openssl ca -batch -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -days 3650d -cert /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem -keyfile /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem -infiles /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem
  Command ['openssl', 'ca', '-batch', '-out', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem', '-config', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf', '-days', '3650d', '-cert', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem', '-keyfile', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem', '-infiles', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem'] exited with 1 - ca: Can't parse "3650d" as a number
  ca: Non-positive number "3650d" for -days
  ca: Use -help for summary.
  )
  }}}
  
  Traceback (most recent call last):
    File "keystone/tests/unit/test_cert_setup.py", line 134, in test_pki_certs_rebuild
      self.test_create_pki_certs()
    File "keystone/tests/unit/test_cert_setup.py", line 83, in test_create_pki_certs
      pki.run()
    File "keystone/common/openssl.py", line 241, in run
      self.build_signing_cert()
    File "keystone/common/openssl.py", line 223, in build_signing_cert
      '-infiles', '%(request_file)s'])
    File "keystone/common/openssl.py", line 88, in exec_command
      stderr=subprocess.STDOUT)
    File "/usr/lib/python2.7/subprocess.py", line 219, in check_output
      raise CalledProcessError(retcode, cmd, output=output)
  subprocess.CalledProcessError: Command '['openssl', 'ca', '-batch', '-out', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem', '-config', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf', '-days', '3650d', '-cert', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem', '-keyfile', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem', '-infiles', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem']' returned non-zero exit status 1
  
  
  ======================================================================
  FAIL: keystone.tests.unit.test_cert_setup.CertSetupTestCase.test_rebuild_pki_certs_remove_error
  keystone.tests.unit.test_cert_setup.CertSetupTestCase.test_rebuild_pki_certs_remove_error
  ----------------------------------------------------------------------
  _StringException: pythonlogging:'': {{{
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
  NeedRegenerationException
  no value, waiting for create lock
  value creation lock <dogpile.cache.region._LockWrapper object at 0x7fe6d10d5ed0> acquired
  Calling creation function
  Released creation lock
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf' mode=0640 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/index.txt' mode=0640 user=None(None) group=None(None)
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/serial' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0750 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0750 user=None(None) group=None(None)
  Running command - openssl genrsa -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem 2048
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  Running command - openssl req -new -x509 -extensions v3_ca -key /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem -days 3650 -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem' mode=0644 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private' mode=0750 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private' mode=0750 user=None(None) group=None(None)
  Running command - openssl genrsa -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem 2048
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem' mode=0640 user=None(None) group=None(None)
  make_dirs path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None group=None
  set_permissions: path='/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs' mode=0755 user=None(None) group=None(None)
  Running command - openssl req -key /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/private/signing_key.pem -new -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
  Running command - openssl ca -batch -out /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem -config /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf -days 3650d -cert /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem -keyfile /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem -infiles /home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem
  Command ['openssl', 'ca', '-batch', '-out', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem', '-config', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf', '-days', '3650d', '-cert', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem', '-keyfile', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem', '-infiles', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem'] exited with 1 - ca: Can't parse "3650d" as a number
  ca: Non-positive number "3650d" for -days
  ca: Use -help for summary.
  )
  }}}
  
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
      return func(*args, **keywargs)
    File "keystone/tests/unit/test_cert_setup.py", line 146, in test_rebuild_pki_certs_remove_error
      self.test_create_pki_certs()
    File "keystone/tests/unit/test_cert_setup.py", line 83, in test_create_pki_certs
      pki.run()
    File "keystone/common/openssl.py", line 241, in run
      self.build_signing_cert()
    File "keystone/common/openssl.py", line 223, in build_signing_cert
      '-infiles', '%(request_file)s'])
    File "keystone/common/openssl.py", line 88, in exec_command
      stderr=subprocess.STDOUT)
    File "/usr/lib/python2.7/subprocess.py", line 219, in check_output
      raise CalledProcessError(retcode, cmd, output=output)
  subprocess.CalledProcessError: Command '['openssl', 'ca', '-batch', '-out', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/signing_cert.pem', '-config', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/openssl.conf', '-days', '3650d', '-cert', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/ca.pem', '-keyfile', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/cakey.pem', '-infiles', u'/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0/keystone/tests/unit/tmp/8381/ssl/certs/req.pem']' returned non-zero exit status 1
  
  
  ----------------------------------------------------------------------
  Ran 6957 tests in 833.072s
  
  FAILED (failures=6, skipped=1724)
  debian/rules:20: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20161110101539.PX8GedCl7r.db.keystone/keystone-10.0.0'
  debian/rules:16: recipe for target 'build' failed
  make: *** [build] Error 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keystone.2:10.0.0-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 116655 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161110/8656d60a/attachment.obj>


More information about the Reproducible-builds mailing list