tripleoclient unittests failing if hw_architecture not equal x86_64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
YaZug |
Bug Description
Found this Unittest Failure in tripleoclient and it would seem that we might be missing a mock for hw_architecture or better detection and usage of current hw_architecture from system.
Traceback (most recent call last):
File "/usr/lib/
return func(*args, **keywargs)
File "tripleoclient/
mock.
File "/usr/lib/
), cause)
File "/usr/lib/
raise value
AssertionError: Calls not found.
Expected: [call(<ANY>, hw_architecture
call(<ANY>, hw_architecture
call(<ANY>, hw_architecture
Actual: [call(10, hw_architecture
call(10, hw_architecture
call(10, hw_architecture
Expected result
===============
Run unittests on hw_architecture other than x86_64 and have unittests pass
Actual result
=============
Unittests fail due to hard coded assumption about hw_architecture not mocked out.
Changed in tripleo: | |
status: | In Progress → Triaged |
importance: | Undecided → High |
milestone: | none → stein-1 |
Changed in tripleo: | |
milestone: | stein-1 → rocky-rc1 |
status: | Triaged → In Progress |
Fix proposed to branch: master /review. openstack. org/587509
Review: https:/