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

version graph

Package: src:keystone; Maintainer for src:keystone is Debian OpenStack <team+openstack@tracker.debian.org>;

Reported by: Chris Lamb <lamby@debian.org>

Date: Thu, 10 Nov 2016 10:48:01 UTC

Severity: serious

Tags: patch

Found in version keystone/2:10.0.0-2

Fixed in version keystone/2:10.0.0-3

Done: Ondřej Kobližek <koblizeko@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, PKG OpenStack <openstack-devel@lists.alioth.debian.org>:
Bug#843865; Package src:keystone. (Thu, 10 Nov 2016 10:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, PKG OpenStack <openstack-devel@lists.alioth.debian.org>. (Thu, 10 Nov 2016 10:48:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: keystone: FTBFS: ca: Can't parse "3650d" as a number
Date: Thu, 10 Nov 2016 10:43:59 +0000
[Message part 1 (text/plain, inline)]
Source: keystone
Version: 2:10.0.0-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@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@debian.org / chris-lamb.co.uk
       `-
[keystone.2:10.0.0-2.unstable.amd64.log.txt.gz (application/octet-stream, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, PKG OpenStack <openstack-devel@lists.alioth.debian.org>:
Bug#843865; Package src:keystone. (Thu, 10 Nov 2016 13:12:02 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to PKG OpenStack <openstack-devel@lists.alioth.debian.org>. (Thu, 10 Nov 2016 13:12:03 GMT) (full text, mbox, link).


Message #10 received at 843865@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: 843865@bugs.debian.org
Subject: Re: keystone: FTBFS: ca: Can't parse "3650d" as a number
Date: Thu, 10 Nov 2016 13:08:35 +0000
[Message part 1 (text/plain, inline)]
tags 843865 + patch
thanks

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[843865.diff.txt (text/plain, attachment)]

Added tag(s) patch. Request was from Chris Lamb <lamby@debian.org> to control@bugs.debian.org. (Thu, 10 Nov 2016 13:12:04 GMT) (full text, mbox, link).


Reply sent to Ondřej Kobližek <koblizeko@gmail.com>:
You have taken responsibility. (Mon, 28 Nov 2016 15:24:04 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Mon, 28 Nov 2016 15:24:04 GMT) (full text, mbox, link).


Message #17 received at 843865-close@bugs.debian.org (full text, mbox, reply):

From: Ondřej Kobližek <koblizeko@gmail.com>
To: 843865-close@bugs.debian.org
Subject: Bug#843865: fixed in keystone 2:10.0.0-3
Date: Mon, 28 Nov 2016 15:20:00 +0000
Source: keystone
Source-Version: 2:10.0.0-3

We believe that the bug you reported is fixed in the latest version of
keystone, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 843865@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ondřej Kobližek <koblizeko@gmail.com> (supplier of updated keystone package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 28 Nov 2016 13:04:02 +0100
Source: keystone
Binary: python-keystone keystone keystone-doc
Architecture: source
Version: 2:10.0.0-3
Distribution: unstable
Urgency: medium
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
Changed-By: Ondřej Kobližek <koblizeko@gmail.com>
Description:
 keystone   - OpenStack identity service
 keystone-doc - OpenStack identity service - documentation
 python-keystone - OpenStack identity service - library
Closes: 843865
Changes:
 keystone (2:10.0.0-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Ondřej Nový ]
   * Bumped debhelper compat version to 10
 .
   [ Ondřej Kobližek ]
   * Add upstream patch Remove_trailing_d_from_-days_param_of_OpenSSL_command.patch
     (Closes: #843865)
   * Patch-out upper constraints of SQLAlchemy
Checksums-Sha1:
 ad4a1b77e8fd99a9d60b07e97d3cc01acf688ee4 3696 keystone_10.0.0-3.dsc
 9a136283d06af1e7ba9719c0c1fbb3e85b899cc4 36024 keystone_10.0.0-3.debian.tar.xz
Checksums-Sha256:
 863226992e343838c9982e563184a252de84e23c8412273a55c0bbecb0d90b8d 3696 keystone_10.0.0-3.dsc
 fda7b11f49a55f8e06a5238751d13062e02dd836cda1ea05b01774b21d1aad1b 36024 keystone_10.0.0-3.debian.tar.xz
Files:
 e66a45f9fb763916502852cb012f227c 3696 net extra keystone_10.0.0-3.dsc
 832fb295652416778b8815a8039ff158 36024 net extra keystone_10.0.0-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEPZg8UuuFmAxGpWCQNXMSVZ0eBksFAlg8M5YACgkQNXMSVZ0e
BkuVww//aKL9H44NeqgcxhyGzj6tzBppDiwyf2aRu3Ib93yGTswbcKlTPCJEOtGI
STEoZXXgBohMTQQV/E4BUpE34DYHZGVxab0NZ3nTJfzENfew6py/d+VETSDJM9+6
yyQq3+zNwA2lz0geBItkgI+8pmBG9+JfrTRrWG1/cjeu3GfYVOVGTltJMf2noc0G
z4qW3Z2gIL6xpqVnWr6Wx+21wCzUQP4YID8BXNoo5SfS2hD2fNyiS08ww7F/kytE
1F6aKARwgHrqagnAjYGn7JKNlZtsQNP7bHFQncOpG6dESBOLCGhlrDc9AYUMuQaR
pdZvVh8J8QJHBtPqoV+EOkYAWA5vtn5ZrY+5BMAsRxz4lLfHyUjbM1L8sADgQr+3
8EjVlvtiio4O2A5XigPMQDD/310EQYAA3HYmbM+6NDw8/WNsiGzn2ZcBgekwM/RG
MLB9WI/jERMyFALcJA1ssbiAh1QoqrbO1U1vqbxT5jx/087KSwnZaAysFGXpfe0L
aaY3AxZLnBgbSsL1975AqWxa5KGTCtqvzaJJoUrTm0v3ySFD660SbKlnEeC9gCqK
JdRmNZHyapC/vEEomE1s8o3Xl4lQBy3IM/EqGm+AHD+6xuPntZCUZr1KWe9D8zUW
FSRpjHQGz/Xtt8mUKP1G96RBg3HUcIT5b/8RAGW9K5DO1Qp+LXY=
=evW9
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 29 Dec 2016 09:04:17 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:47:40 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.