Zuul/Tox: distcloud: Tests fail with TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Leonardo Fagundes Luz Serrano |
Bug Description
Brief Description
-----------------
Some tests fail due to missing STX deps
In this case. distcloud repo zuul tests failing with:
TypeError: float() argument must be a string or a number, not 'tuple'
which is due to tests not installing:
https:/
Severity
--------
<Major: System/Feature is usable but degraded>
Reviews that depend on STX packages cannot be properly tested
Steps to Reproduce
------------------
Post review to distcloud with code depending on a STX custom pkg
Expected Behavior
------------------
STX deps are installed before tests
Actual Behavior
----------------
STX deps are not installed before test
Reproducibility
---------------
Reproducible
System Configuration
-------
NA
Branch/Pull Time/Commit
-------
master - July 23th 2024
Last Pass
---------
This is a new test scenario
Timestamp/Logs
--------------
https:/
Test Activity
-------------
Zuul test after posting review
Workaround
----------
Unknown
Changed in starlingx: | |
assignee: | nobody → Leonardo Fagundes Luz Serrano (lfagunde) |
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → High |
tags: | added: stx.10.0 stx.zuul |
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud/ +/924676 /opendev. org/starlingx/ distcloud/ commit/ aef84c86460abfe 9dcd1874ce978b1 a09056f4f6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit aef84c86460abfe 9dcd1874ce978b1 a09056f4f6
Author: Leonardo Fagundes Luz Serrano <email address hidden>
Date: Mon Jul 22 16:35:15 2024 -0300
Zuul/Tox: Install custom python3- keystoneauth1
Some packages available upstream have custom versions keystoneauth1.
in STX repos. Tests need to be against these custom
dependencies. In this case, distcloud repo requires
python3-
This commit adds logic for installing the latest
available STX build of test dependencies.
Test Plan:
tools/ gate/playbooks/ install- stx-custom- deps.yaml d/tox.ini
pass - Install bindep deps and requirements, then run
the ansible playbook to install STX deps
tox -epy39 -c distributedclou
Closes-Bug: 2073917
Change-Id: I1c025de9699ca3 b388b81a5d77e2c 0cd46ce9d7a
Signed-off-by: Leonardo Fagundes Luz Serrano <email address hidden>