Fix functional jobs

In Change-ID I8db34f31d35375dc9656d53ac7af644c28a3d3fe we updated
api-ref samples, but functional tests didn't run so we didn't detect
that those samples changes broke our functional tests.

This patch fixes the functional tests, updates remaining cases of
key_size, and enables functional tests for api-ref changes to prevent
this from happening again.

Change-Id: I2a1f3121458c2db5e389dbcf31b34d412ffcd561
This commit is contained in:
Gorka Eguileor 2021-05-25 16:33:21 +02:00
parent 6768312117
commit da2fbff247
8 changed files with 16 additions and 9 deletions

View File

@ -17,7 +17,6 @@
- openstack-tox-functional-py36:
irrelevant-files: &functional-irrelevant-files
- ^.*\.rst$
- ^api-ref/.*$
- ^cinder/locale/.*$
- ^cinder/tests/hacking/.*$
- ^cinder/tests/unit.*$
@ -31,7 +30,15 @@
- openstack-tox-pylint:
voting: false
timeout: 5400
irrelevant-files: *functional-irrelevant-files
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^cinder/locale/.*$
- ^cinder/tests/hacking/.*$
- ^cinder/tests/unit.*$
- ^contrib/block-box.*$
- ^doc/.*$
- ^releasenotes/.*$
- cinder-plugin-ceph-tempest:
irrelevant-files: &gate-irrelevant-files
- ^(test-|)requirements.txt$

View File

@ -1,6 +1,6 @@
{
"encryption":{
"key_size": 128,
"key_size": 256,
"provider": "luks",
"control_location":"front-end",
"cipher": "aes-xts-plain64"

View File

@ -3,7 +3,7 @@
"volume_type_id": "2d29462d-76cb-417c-8a9f-fb23140f1577",
"control_location": "front-end",
"encryption_id": "81e069c6-7394-4856-8df7-3b237ca61f74",
"key_size": 128,
"key_size": 256,
"provider": "luks",
"cipher": "aes-xts-plain64"
}

View File

@ -5,7 +5,7 @@
"created_at": "2016-12-28T02:32:25.000000",
"updated_at": null,
"encryption_id": "81e069c6-7394-4856-8df7-3b237ca61f74",
"key_size": 128,
"key_size": 256,
"provider": "luks",
"deleted_at": null,
"cipher": "aes-xts-plain64"

View File

@ -5,7 +5,7 @@
"created_at": "2016-12-28T02:32:25.000000",
"updated_at": null,
"encryption_id": "81e069c6-7394-4856-8df7-3b237ca61f74",
"key_size": 128,
"key_size": 256,
"provider": "luks",
"deleted_at": null,
"cipher": "aes-xts-plain64"

View File

@ -1,6 +1,6 @@
{
"encryption":{
"key_size": 128,
"key_size": 256,
"provider": "luks",
"control_location":"front-end",
"cipher": "aes-xts-plain64"

View File

@ -3,7 +3,7 @@
"volume_type_id": "%(uuid)s",
"control_location": "front-end",
"encryption_id": "%(uuid)s",
"key_size": 128,
"key_size": 256,
"provider": "luks",
"cipher": "aes-xts-plain64"
}

View File

@ -5,7 +5,7 @@
"created_at": "%(strtime)s",
"updated_at": null,
"encryption_id": "%(uuid)s",
"key_size": 128,
"key_size": 256,
"provider": "luks",
"deleted_at": null,
"cipher": "aes-xts-plain64"