summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwhoami-rajat <rajatdhasmana@gmail.com>2023-02-20 17:14:55 +0000
committerwhoami-rajat <rajatdhasmana@gmail.com>2023-02-21 18:21:58 +0000
commit58499905d983f9f10d8bf6fc320e4d3560f8f228 (patch)
tree84d7a2f9e470c88fd7c29a59e508220bb7487330
parentbecf6514623afdecb5cb8b490ad43db8dbdcbdf9 (diff)
downloadpython-cinderclient-58499905d983f9f10d8bf6fc320e4d3560f8f228.tar.gz
[stable-only] Skip backup test in functional py39 job
python-cinderclient-functional-py39 job has been failing since 23 November, 2022[1]. The failure has been described in detail in the mailing thread replies[2][3]. In summary, a new iSCSI target path was added in the kernel, /sys/kernel/config/target/iscsi/*cpus_allowed_list*, which is causing rtslib-fb 2.7.4 to fail. This issue was fixed in rtslib-fb 2.7.5 but the upper-constraints in stable/yoga branch is 2.7.4[4]. This isn't a problem in stable/zed since the version used for rtslib-fb is 2.7.5[5]. I have proposed a requirements patch to bump the rtslib-fb version to 2.7.5[6] and tested it against cinderclient[7] where the python-cinderclient-functional-py39 job is passing. I've tried reaching out to the requirements team on IRC and on ML to make this change but there hasn't been any response. The best way to move forward and unblock our gate is to skip the failing test test_backup_create_and_delete and unblock changes in the stable/yoga branch. [1] https://zuul.openstack.org/builds?job_name=python-cinderclient-functional-py39&branch=stable%2Fyoga&skip=0 [2] https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031947.html [3] https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031958.html [4] https://opendev.org/openstack/requirements/src/branch/stable/yoga/upper-constraints.txt#L13 [5] https://opendev.org/openstack/requirements/src/branch/stable/zed/upper-constraints.txt#L13 [6] https://review.opendev.org/c/openstack/requirements/+/870714 [7] https://review.opendev.org/c/openstack/python-cinderclient/+/870513 Closes-Bug: #2008010 Change-Id: I54b1d797d9662ba180e146ee91ea7b5ed6d0a0a1
-rw-r--r--cinderclient/tests/functional/test_cli.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/cinderclient/tests/functional/test_cli.py b/cinderclient/tests/functional/test_cli.py
index 5f4a64a..2d54d31 100644
--- a/cinderclient/tests/functional/test_cli.py
+++ b/cinderclient/tests/functional/test_cli.py
@@ -11,6 +11,9 @@
# under the License.
+import sys
+import unittest
+
from cinderclient.tests.functional import base
@@ -93,6 +96,8 @@ class CinderBackupTests(base.ClientTestBase):
BACKUP_PROPERTY = ('id', 'name', 'volume_id')
+ @unittest.skipIf((sys.version_info[0] == 3 and sys.version_info[1] == 9),
+ "This test is failing because of bug#2008010")
def test_backup_create_and_delete(self):
"""Create a volume backup and then delete."""
volume = self.object_create('volume', params='1')