centos 7 unit test fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Davanum Srinivas (DIMS) | ||
Icehouse |
Fix Released
|
Undecided
|
Unassigned | ||
Juno |
Fix Released
|
Low
|
Artom Lifshitz |
Bug Description
centos 7 unit test fails.
to pass this test:
export OPENSSL_
export NSS_HASH_
# ./run_tests.sh -V -s nova.tests.
Running `tools/with_venv.sh python setup.py testr --testr-
nova.tests.
test_
test_
Slowest 2 tests took 6.24 secs:
nova.tests.
test_
test_
=======
FAIL: nova.tests.
-------
Changed in nova: | |
assignee: | nobody → Yasuyuki (yasuyuki) |
Changed in nova: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-3 → 2015.1.0 |
Here's a bit more detail
[stack@dc8f7542d504 nova]$ tox -e py27 nova.tests. unit.test_ crypto. X509Test. test_can_ generate_ x509 unit.test_ crypto. X509Test. test_can_ generate_ x509 OS_STDOUT_ CAPTURE= ${OS_STDOUT_ CAPTURE: -1} \ CAPTURE= ${OS_STDERR_ CAPTURE: -1} \ TIMEOUT= ${OS_TEST_ TIMEOUT: -160} \ PATH:-. /nova/tests} --list OS_STDOUT_ CAPTURE= ${OS_STDOUT_ CAPTURE: -1} \ CAPTURE= ${OS_STDERR_ CAPTURE: -1} \ TIMEOUT= ${OS_TEST_ TIMEOUT: -160} \ PATH:-. /nova/tests} --load-list /tmp/tmpR91GkK
py27 develop-inst-noop: /opt/stack/nova
py27 runtests: PYTHONHASHSEED='0'
py27 runtests: commands[0] | find . -type f -name *.pyc -delete
py27 runtests: commands[1] | bash tools/pretty_tox.sh nova.tests.
running testr
running=
OS_STDERR_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_
running=
OS_STDERR_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_
{0} nova.tests. unit.test_ crypto. X509Test. test_can_ generate_ x509 [5.409021s] ... FAILED
Captured traceback: unit/test_ crypto. py", line 50, in test_can_ generate_ x509
project_ cert_file, '-verbose', signed_cert_file) execute( *cmd, **kwargs) nova/.tox/ py27/lib/ python2. 7/site- packages/ oslo_concurrenc y/processutils. py", line 224, in execute
cmd=sanitized_ cmd) utionError: Unexpected error while running command. tmp1Sfc6G/ project -verbose /tmp/tmpcHtkYL/ tmp1Sfc6G/ signed tmpcHtkYL/ tmp1Sfc6G/ signed: C = US, ST = California, O = OpenStack, OU = NovaDev, CN = fake-fake- 2014-12- 08T16:12: 47Z\nerror 7 at 0 depth lookup:certificate signature failure\n' 24:error: 0D0C50A1: asn1 encoding routines: ASN1_item_ verify: unknown message digest algorithm: a_verify. c:179:\ n' ption: Empty attachments:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "nova/tests/
File "nova/utils.py", line 164, in execute
return processutils.
File "/opt/stack/
ProcessExec
Command: openssl verify -CAfile /tmp/tmpcHtkYL/
Exit code: 2
Stdout: u'/tmp/
Stderr: u'1400854658354
Traceback (most recent call last):
_StringExce
stderr
stdout
pythonloggi ng:'': {{{2014-12-08 16:12:46,482 INFO [248_add_ expire_ reservations_ index] Skipped adding reservations_ deleted_ expire_ idx because an equivalent index already exists.}}}
Traceback (most recent call last): unit/test_ crypto. py", line 50, in test_can_ generate_ x509
project_ cert_file, '-verbose', signed_cert_file) execute( *cmd, **kwargs) nova/.tox/ py27/lib/ python2. 7/site- packages/ oslo_concurrenc y/processutils. py", line 224, in execute
cmd=sanitized_ cmd) utionError: Unexpected error while running command. tmp1Sfc6G/ project -verbose /tmp/tmpcHtkYL/ tmp1Sfc6G/ signed tmpcHtkYL/ tmp1Sfc6G/ signed: C = US, ST = California, O = OpenStack, OU = NovaDev, CN = fake-fake- 2014-12- 08T16:12: 47Z\nerror 7 at 0 depth lookup:certificate signature failure\n' 24:error: 0D0C50A1: asn1 encoding routines: ASN1_item_ verify: unknown message digest algorithm: a_verify. c:179:\ n'
File "nova/tests/
File "nova/utils.py", line 164, in execute
return processutils.
File "/opt/stack/
ProcessExec
Command: openssl verify -CAfile /tmp/tmpcHtkYL/
Exit code: 2
Stdout: u'/tmp/
Stderr: u'1400854658354
Traceba...