From 5e7302492298e21173e5120a343712cc47a6df1a Mon Sep 17 00:00:00 2001
From: Bin Qian <bin.qian@windriver.com>
Date: Wed, 10 Jan 2024 18:56:49 +0000
Subject: [PATCH] Fix zuul failure

A recent opendev change invalid the branch as eol. This
fails the zuul job as ERROR: 404 Client Error: Not Found for url:
https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt

Closes-Bug: 2048928

Change-Id: Ief69b7b35ab32195fe78dd9a2bffa0e32831ed65
Signed-off-by: Bin Qian <bin.qian@windriver.com>
---
 .zuul.yaml | 4 ++--
 tox.ini    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.zuul.yaml b/.zuul.yaml
index b72164f1..e1ed9252 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -33,14 +33,14 @@
 - job:
     name: py3-bandit
     parent: tox
-    nodeset: ubuntu-focal
+    nodeset: debian-bullseye
     vars:
       tox_envlist: bandit
 
 - job:
     name: py3-flake8
     parent: tox
-    nodeset: ubuntu-bionic
+    nodeset: debian-bullseye
     required-projects:
       - starlingx/config
       - starlingx/fault
diff --git a/tox.ini b/tox.ini
index 595ac211..e752e21a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2019 Wind River Systems, Inc.
+# Copyright (c) 2019-2024 Wind River Systems, Inc.
 #
 # SPDX-License-Identifier: Apache-2.0
 #
@@ -33,7 +33,7 @@ passenv =
 commands = find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -not -path '*/__pycache__/*' -name '*.py[c|o]' -delete
 
 install_command = pip install -U \
-    -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
+    -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/starlingx/root/raw/branch/master/build-tools/requirements/debian/upper-constraints.txt} \
     {opts} {packages}
 
 # must set sitepackages to true in order to 'import rpm'