From fd5c9687eeb03bd46ad9523a555c612363e875dc Mon Sep 17 00:00:00 2001 From: Leonardo Fagundes Luz Serrano Date: Thu, 27 Jun 2024 16:30:34 -0300 Subject: [PATCH] Zuul: Enable missing deps for patch-alarm tests Some tests require building python-ldap The required python-ldap dependency packages were added to bindep in [1]. However, a couple zuul jobs were not picking up these dependencies, causing them to still fail. Added configs needed in .zuul.yaml in order to pick up the python-ldap deps when running patch alarm tests. Refs: [1] https://review.opendev.org/c/starlingx/update/+/922523 Test Plan: pass - tox -e pylint,py39 -c patch-alarm/patch-alarm/tox.ini pass - zuul Partial-Bug: 2036280 Change-Id: I738b2fb7f2056dcb22e61b620fdb1b9ce4ad4223 Signed-off-by: Leonardo Fagundes Luz Serrano --- .zuul.yaml | 2 ++ bindep.txt | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 206ca5a1..ee0e5a47 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -115,6 +115,7 @@ files: - patch-alarm/patch-alarm/* vars: + bindep_profile: pylint tox_envlist: pylint tox_extra_args: -c patch-alarm/patch-alarm/tox.ini @@ -128,6 +129,7 @@ files: - patch-alarm/patch-alarm/* vars: + bindep_profile: python3 python_version: 3.9 tox_envlist: py39 tox_extra_args: -c patch-alarm/patch-alarm/tox.ini diff --git a/bindep.txt b/bindep.txt index 92585a59..419f509d 100644 --- a/bindep.txt +++ b/bindep.txt @@ -6,8 +6,7 @@ gir1.2-glib-2.0 [platform:dpkg] gir1.2-ostree-1.0 [platform:dpkg] libcairo2-dev [platform:dpkg] libgirepository1.0-dev [platform:dpkg] -libldap2-dev [pylint platform:dpkg] -libsasl2-dev [pylint platform:dpkg] -libssl-dev [pylint platform:dpkg] +libldap2-dev [pylint python3 platform:dpkg] +libsasl2-dev [pylint python3 platform:dpkg] +libssl-dev [pylint python3 platform:dpkg] python3-rpm [platform:dpkg] -rpm-python [platform:rpm]