cgcs-patch tox failing due to missing dependencies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| StarlingX |
Low
|
Al Bailey |
Bug Description
Brief Description
------------------
This is the same issue as was fixed for https:/
However it is due to a newer sysinv commit
https:/
This file is imported in cgcs-patch and caused a tox failure because it could not be found.
Severity
--------
Minor
Steps to Reproduce
------------------
Run tox
Expected Behavior
------------------
Tox should pass
Actual Behavior
----------------
Tox fails
Reproducibility
---------------
Reproducible
System Configuration
-------
Developer repo
Branch/Pull Time/Commit
-------
starlingx/master
Test Activity
-------------
Coding
Al Bailey (albailey1974) wrote : | #1 |
Changed in starlingx: | |
assignee: | nobody → Al Bailey (albailey1974) |
Ghada Khalil (gkhalil) wrote : | #2 |
Low priority - tox failure, but doesn't seem to gate code submissions thru zuul
tags: | added: stx.update stx.zuul |
Changed in starlingx: | |
importance: | Undecided → Low |
status: | New → Triaged |
Fix proposed to branch: master
Review: https:/
Al Bailey (albailey1974) wrote : | #4 |
Replacing the sysinv imports with oslo imports would require additional code changes, and should probably be done as a general cleanup activity.
The real issue is that there are entries added to test-requirements that should instead be in requirements.txt in sysinv.
That way when other repos (like update) include sysinv as a tox dependency, they will install the components that are needed to run sysinv.
I will look into cleaning up stx/config
Fix proposed to branch: master
Review: https:/
Changed in starlingx: | |
status: | Triaged → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit b2881d90df736d7
Author: Al Bailey <email address hidden>
Date: Tue Oct 22 11:39:22 2019 -0500
Fix tox in other repos that import sysinv
sysinv.
When keyring was added to that file, the tox and
zuul jobs in cgcs-patch failed.
The root reason for this is that when those other repos
add sysinv as a dependency, only the requirements.txt is
used when constructing the egg for import by tox.
By properly relocating runtime required files from
test-
repos are able to import the additional required components.
This does not impact rpms since those are driven by the
Requires directives in the spec files.
Change-Id: I8d9d84345a0810
Fixes-Bug: 1848786
Signed-off-by: Al Bailey <email address hidden>
Changed in starlingx: | |
status: | In Progress → Fix Released |
Change abandoned by Al Bailey (<email address hidden>) on branch: master
Review: https:/
Reason: no longer need this review since the bug is now fixed.
Related fix proposed to branch: master
Review: https:/
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 7eb463e4ba89105
Author: Al Bailey <email address hidden>
Date: Wed Oct 30 07:55:17 2019 -0500
Fix failing tox for stx-gui due to keyring imports from sysinv
keyring is required by sysinv, however the upper-constraints were
not being used in stx-gui, so it was pulling in a version of
keyring that is incompatible with the STX env.
This aligns the stx-gui upper constraints to be the same as the
other platform components.
Change-Id: I2d4a2f7a61c65e
Related-Bug: 1848786
Signed-off-by: Al Bailey <email address hidden>
Checking with Don if we can eliminate the import of sysinv. common. utils, and therefore be more shielded from these types of errors.