Coverage for pysaml2 is insufficient
Bug #1456749 reported by
Thomas Goirand
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Expired
|
Low
|
Unassigned |
Bug Description
Releasing Kilo in Debian, I found out that Keystone just broke with pysaml2 2.0.0, and in fact needs 2.4.0. The unit tests just passed, but with pysaml2 2.0.0 Keystone just crashes with a stack dump.
Out of this, 2 remarks:
- requirements.txt is wrong and should ask for something higher than 2.0.0 (maybe 2.4.0, or something lower)
- unit tests should have detected the issue, meaning that coverage isn't good enough
Changed in keystone: | |
status: | New → Triaged |
summary: |
- Coverage for pysaml2 is insuficient + Coverage for pysaml2 is insufficient |
Changed in keystone: | |
status: | Triaged → Incomplete |
To post a comment you must log in.
Hi Thomas,
This is a fix that needs to be pushed to the Global Requirements to fix for the first issue (likely needs to be fixed in master *and* in stable/juno).
To the second remark, we do not currently test either the minimum installable (or variations thereof) in the gate, we currently only test the maximum(s) that can be installed. There is no way that we can detect with the unit (or integration tests) currently the matrix of every possible install version of every possible library.
If you can provide the traceback you're seeing we can look to see what assumption was made that was incorrect. I do encourage you to post the update to global requirements directly and provide me with a link to the review that sets the minimum that works with Keystone. If you do not wish to propose the change to global- requirements, I am more than happy to once I've looked at the traceback.