Reviewed: https://review.openstack.org/288154 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a7af3258f8d8f4eb4664a126e08b94c85b648e09 Submitter: Jenkins Branch: master
commit a7af3258f8d8f4eb4664a126e08b94c85b648e09 Author: Matt Riedemann <mrie...@us.ibm.com> Date: Thu Mar 3 17:06:48 2016 -0500 Extend FakeCryptoCertificate.cert_not_valid_after to 2 hours Someone reported this test failing on a slow CI system where it takes 1.5 hours for their stuff to run. It doesn't seem to matter what our fake mock expiration time is, so bump it to 2 hours. Change-Id: I0121fe9da5831d6186bf7954271b79a8b3a60eba Closes-Bug: #1548724 ** Changed in: nova Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1548724 Title: nova.tests.unit.test_signature_utils.TestSignatureUtils.test_get_certificate fails on slow build server Status in OpenStack Compute (nova): Fix Released Bug description: When I've tried to set up CI build for nova package (13.0b2) but it fails on tests: ====================================================================== FAIL: nova.tests.unit.test_signature_utils.TestSignatureUtils.test_get_certificate nova.tests.unit.test_signature_utils.TestSignatureUtils.test_get_certificate ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'' stderr stdout Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "nova/tests/unit/test_signature_utils.py", line 306, in test_get_certificate signature_utils.get_certificate(None, cert_uuid)) File "nova/signature_utils.py", line 319, in get_certificate verify_certificate(certificate) File "nova/signature_utils.py", line 342, in verify_certificate % certificate.not_valid_after) nova.exception.SignatureVerificationError: Signature verification for the image failed: Certificate is not valid after: 2016-02-22 18:53:41.545721 UTC. I believe it happen because our CI server is not that fast and nova build-and-test takes about 1.5hr. I propose to extend validity interval for mocked certificate. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1548724/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp