From 115065a239a8e1ab50b6070a3c6ebfeabd0ad6fc Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Tue, 1 Feb 2022 15:19:39 +0530 Subject: [PATCH] Fix TypeError in QoSBandwidthAndPacketRateTests [1] Added random int to flavor name but that resulted into TypeError: can only concatenate str (not "int") to str. Concatenate using % operator to fix it. Also make tempest-full-ussuri-py3 job non-voting temporary to unblock gate, can be reverted once [2] is fixed. [1] https://review.opendev.org/c/openstack/tempest/+/826946 [2] https://launchpad.net/bugs/1959600 Related-Bug: #1959467 Change-Id: I76e15b6b52bb44fec550ead510186c644c4a1c7f --- tempest/scenario/test_network_qos_placement.py | 2 +- zuul.d/project.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tempest/scenario/test_network_qos_placement.py b/tempest/scenario/test_network_qos_placement.py index cdc25dd87c..365eb1b7f9 100644 --- a/tempest/scenario/test_network_qos_placement.py +++ b/tempest/scenario/test_network_qos_placement.py @@ -79,7 +79,7 @@ class NetworkQoSPlacementTestBase(manager.NetworkScenarioTest): new_flavor = self.flavors_client.create_flavor(**{ 'ram': old_flavor['ram'], 'vcpus': old_flavor['vcpus'], - 'name': old_flavor['name'] + 'extra-' + data_utils.rand_int_id(), + 'name': old_flavor['name'] + 'extra-%s' % data_utils.rand_int_id(), 'disk': old_flavor['disk'] + 1 })['flavor'] self.addCleanup(test_utils.call_and_ignore_notfound_exc, diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 731a72ab69..2d4f10a156 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -42,6 +42,7 @@ - tempest-full-victoria-py3: irrelevant-files: *tempest-irrelevant-files - tempest-full-ussuri-py3: + voting: false irrelevant-files: *tempest-irrelevant-files - tempest-multinode-full-py3: irrelevant-files: *tempest-irrelevant-files