Mitaka unit tests broken (CLI/OSC test dependencies)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Unassigned | ||
Mitaka |
Fix Released
|
High
|
Emilien Macchi |
Bug Description
The unit tests are currently failing for tripleoclient on stable/mitaka (see e.g. https:/
Traceback (most recent call last):
File "/home/
module = self._get_
File "/home/
__import_
File "tripleoclient/
from tripleoclient.
File "tripleoclient/
from openstackclient
ImportError: cannot import name utils
It looks like the utils file is gone from 3.7.0 (released during Ocata), while our requirements.txt only references >= 2.1.0 as a requirement. This likely needs to be capped (e.g. upper-constraints for Mitaka references 2.3.0 - https:/
Trying to backport the Upper Constraints work at https:/
Could not satisfy constraints for 'os-cloud-config': installation from path or url cannot be constrained to a version
Looks like our final requirements.txt for Mitaka had 2 libraries requirements defined as URLs: https:/
I'm not sure what's the best way to go forward. Mitaka is still supported at least for security patches so we need to be able to backport patches there.
This isn't a problem for Newton onwards because we migrated to osc_lib which removed the problematic import ( https:/
description: | updated |
summary: |
- Mitaka unit tests broken + Mitaka unit tests broken (CLI/OSC test dependencies) |
Changed in tripleo: | |
milestone: | ocata-3 → pike-1 |
milestone: | pike-1 → none |
Changed in tripleo: | |
importance: | High → Undecided |
status: | Triaged → Invalid |
Changed in tripleo: | |
milestone: | none → ocata-rc1 |
importance: | Undecided → High |
status: | Invalid → In Progress |
status: | In Progress → Fix Released |
milestone: | ocata-rc1 → ocata-3 |
Fix proposed to branch: stable/mitaka /review. openstack. org/421537
Review: https:/