Skip to content

Commit 8a22f73

Browse files
author
Ghanshyam Mann
committed
Pin Tempest to 26.1.0 tag for stable/train testing
Stable train is in Extended maintenance state[1] and we need to cap stable/train with older Tempest. But because of oslo.utils version bump in Tempest 27.0.0 and 28.0.0 which is not compatible with stable/train upper constraints so these versions do not work in stable/train - https://zuul.opendev.org/t/openstack/build/1146c9ce9f474d0d82b99b48b61c531e Let's use the Tempest 26.1.0 which is also compatible with stable/train testing. Related-Bug: #1955418 Change-Id: I376be5f5a4d693aeaaf74ca5285269f796103c15
1 parent 817bb7d commit 8a22f73

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

stackrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,10 @@ REQUIREMENTS_BRANCH=${REQUIREMENTS_BRANCH:-$TARGET_BRANCH}
314314

315315
# Tempest test suite
316316
TEMPEST_REPO=${TEMPEST_REPO:-${GIT_BASE}/openstack/tempest.git}
317-
TEMPEST_BRANCH=${TEMPEST_BRANCH:-$BRANCHLESS_TARGET_BRANCH}
318-
TEMPEST_VENV_UPPER_CONSTRAINTS=${TEMPEST_VENV_UPPER_CONSTRAINTS:-master}
317+
# NOTE (gmann): using 26.1.0 as that is compatible with stable/train
318+
# constraints. We are not using 28.0.0 or 27.0.0 due to bug#1955418
319+
TEMPEST_BRANCH=${TEMPEST_BRANCH:-26.1.0}
320+
TEMPEST_VENV_UPPER_CONSTRAINTS=${TEMPEST_VENV_UPPER_CONSTRAINTS:-$REQUIREMENTS_DIR/upper-constraints.txt}
319321

320322

321323
##############

tests/test_refs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
echo "Ensuring we don't have crazy refs"
1717

18-
REFS=`grep BRANCH stackrc | grep -v 'TARGET_BRANCH' | grep -v 'NOVNC_BRANCH'`
18+
REFS=`grep BRANCH stackrc | grep -v 'TARGET_BRANCH' | grep -v 'NOVNC_BRANCH' | grep -v 'TEMPEST_BRANCH'`
1919
rc=$?
2020
if [[ $rc -eq 0 ]]; then
2121
echo "Branch defaults must be one of the *TARGET_BRANCH values. Found:"

0 commit comments

Comments
 (0)