[Starlingx-discuss] config project zuul check fail again

Bailey, Henry Albert (Al) Al.Bailey at windriver.com
Fri Jan 1 15:54:01 UTC 2021


The issue is that a unit test has a test certificate that has expired.
Another review up at the moment is addressing this
https://review.opendev.org/c/starlingx/config/+/768242

That review is not merged, does not 'only' update the certificate, and has a depends-on which has not been reviewed.
It makes sense to fix the certificate in its own review.  I'll upload a new review containing just those 2 files.

Al
________________________________
From: Chen, Haochuan Z <haochuan.z.chen at intel.com>
Sent: Wednesday, December 30, 2020 9:40 PM
To: Bailey, Henry Albert (Al) <Al.Bailey at windriver.com>
Cc: starlingx-discuss at lists.starlingx.io <starlingx-discuss at lists.starlingx.io>
Subject: config project zuul check fail again


Hi AL



This patch is failed to merge, blocked for zuul check.

https://review.opendev.org/c/starlingx/config/+/761711



This should be config project base code, zuul check fail again.

2020-12-30 17:53:17.385590 | ubuntu-xenial | tests.api.test_certificate.ApiCertificatePostTestSuite.test_install_2xcert_1xkey_ssl_certificate

2020-12-30 17:53:17.385618 | ubuntu-xenial | ------------------------------------------------------------------------------------------------

2020-12-30 17:53:17.385644 | ubuntu-xenial |

2020-12-30 17:53:17.385670 | ubuntu-xenial | Captured traceback:

2020-12-30 17:53:17.385696 | ubuntu-xenial | ~~~~~~~~~~~~~~~~~~~

2020-12-30 17:53:17.385722 | ubuntu-xenial |     Traceback (most recent call last):

2020-12-30 17:53:17.385757 | ubuntu-xenial |       File "/home/zuul/src/opendev.org/starlingx/config/sysinv/sysinv/sysinv/sysinv/tests/api/test_certificate.py", line 395, in test_install_2xcert_1xkey_ssl_certificate

2020-12-30 17:53:17.385787 | ubuntu-xenial |         self.assertIn('certificates', resp)

2020-12-30 17:53:17.385813 | ubuntu-xenial |       File "/tmp/zuul_sysinvtox/py27/lib/python2.7/site-packages/testtools/testcase.py", line 417, in assertIn

2020-12-30 17:53:17.385841 | ubuntu-xenial |         self.assertThat(haystack, Contains(needle), message)

2020-12-30 17:53:17.385867 | ubuntu-xenial |       File "/tmp/zuul_sysinvtox/py27/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat

2020-12-30 17:53:17.385893 | ubuntu-xenial |         raise mismatch_error

2020-12-30 17:53:17.385918 | ubuntu-xenial |     testtools.matchers._impl.MismatchError: 'certificates' not in {u'success': u'', u'error': u'certificate is not valid before 2020-06-25 15:10:01 nor after 2020-12-22 15:10:01'}



Could you help to check.



Thanks!



Martin, Chen

IOTG, Software Engineer

021-61164330


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20210101/03a01561/attachment-0001.html>


More information about the Starlingx-discuss mailing list