Adopt to gabbi 4.0.0
gabbi 4.0.0 replaced the urllib library by the httpx library, which
encodes response body by utf-8 by default. Update the assertion of
response bodies which contain unicode characters.
FIPs job is made non-voting because we need [1] to fix it.
[1] https://review.opendev.org/c/openstack/ceilometer/+/978865
Change-Id: I0a5b89020c3a7b91dae5eef3c52c6ac7856883ab
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
diff --git a/.zuul.yaml b/.zuul.yaml
index cb2305c..264c99d 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -176,6 +176,7 @@
parent: telemetry-dsvm-integration-centos-9s
description: |
Telemetry devstack tempest tests job for a FIPS enabled Centos 9 stream system
+ voting: false
pre-run:
- playbooks/python-3.12-install.yaml
- playbooks/enable-fips.yaml
diff --git a/requirements.txt b/requirements.txt
index 6a74e48..6c829a9 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,6 +2,6 @@
oslo.config>=6.0.0 # Apache-2.0
oslo.utils>=3.37.0 # Apache-2.0
tempest>=17.1.0 # Apache-2.0
-gabbi>=2.7.0 # Apache-2.0
+gabbi>=4.0.0 # Apache-2.0
requests>=2.14.2 # Apache-2.0
testtools>=2.2.0 # MIT
diff --git a/telemetry_tempest_plugin/scenario/gnocchi_gabbits/live.yaml b/telemetry_tempest_plugin/scenario/gnocchi_gabbits/live.yaml
index c62c012..83be06e 100644
--- a/telemetry_tempest_plugin/scenario/gnocchi_gabbits/live.yaml
+++ b/telemetry_tempest_plugin/scenario/gnocchi_gabbits/live.yaml
@@ -241,7 +241,8 @@
timespan: "0:01:01"
status: 400
response_strings:
- - timespan ≠ granularity × points
+ # "timespan ≠ granularity × points"
+ - "timespan ≠ granularity × points"
- name: create identical granularities policy
POST: $ENVIRON['GNOCCHI_SERVICE_URL']/v1/archive_policy
@@ -256,7 +257,8 @@
points: 120
status: 400
response_strings:
- - "More than one archive policy uses granularity `1.0'"
+ # "More than one archive policy uses granularity `1.0'"
+ - "More than one archive policy uses granularity `1.0'"
- name: policy invalid unit
desc: invalid unit for archive policy 'timespan' key