Add cinder storage driver tests
Depends-On: https://review.opendev.org/c/openstack/trove-tempest-plugin/+/943661 Change-Id: I51f942ed1324debdea4eed3d416f8be7dad42d07
This commit is contained in:
parent
450fd8cdf3
commit
3579b6d98b
150
zuul.d/jobs.yaml
150
zuul.d/jobs.yaml
@ -87,6 +87,68 @@
|
|||||||
zuul_copy_output:
|
zuul_copy_output:
|
||||||
'/var/log/guest-agent-logs/': 'logs'
|
'/var/log/guest-agent-logs/': 'logs'
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: trove-tempest-snapshot
|
||||||
|
parent: devstack-tempest
|
||||||
|
nodeset: trove-ubuntu-noble
|
||||||
|
timeout: 10800
|
||||||
|
required-projects:
|
||||||
|
- openstack/trove
|
||||||
|
- openstack/trove-tempest-plugin
|
||||||
|
- openstack/tempest
|
||||||
|
irrelevant-files:
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^api-ref/.*$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^etc/.*$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
- ^test-requirements.txt$
|
||||||
|
- ^tox.ini$
|
||||||
|
- ^LICENSE$
|
||||||
|
- ^contrib/
|
||||||
|
- ^zuul\.d/
|
||||||
|
- ^\..+
|
||||||
|
vars:
|
||||||
|
tox_envlist: all
|
||||||
|
tempest_concurrency: 1
|
||||||
|
devstack_localrc:
|
||||||
|
TEMPEST_PLUGINS: /opt/stack/trove-tempest-plugin
|
||||||
|
SYNC_LOG_TO_CONTROLLER: True
|
||||||
|
TROVE_DATASTORE_VERSION: 5.7
|
||||||
|
TROVE_AGENT_CALL_HIGH_TIMEOUT: 1800
|
||||||
|
TROVE_MGMT_GATEWAY: "192.168.254.1"
|
||||||
|
devstack_local_conf:
|
||||||
|
post-config:
|
||||||
|
$TROVE_CONF:
|
||||||
|
DEFAULT:
|
||||||
|
swift_api_insecure: True
|
||||||
|
usage_timeout: 1800
|
||||||
|
storage_strategy: cinder
|
||||||
|
$TROVE_GUESTAGENT_CONF:
|
||||||
|
DEFAULT:
|
||||||
|
storage_strategy: cinder
|
||||||
|
test-config:
|
||||||
|
$TEMPEST_CONFIG:
|
||||||
|
database:
|
||||||
|
database_build_timeout: 2400
|
||||||
|
default_datastore_versions: mysql:5.7
|
||||||
|
devstack_plugins:
|
||||||
|
trove: https://opendev.org/openstack/trove.git
|
||||||
|
devstack_services:
|
||||||
|
etcd3: false
|
||||||
|
cinder: true
|
||||||
|
c-sch: true
|
||||||
|
c-api: true
|
||||||
|
c-vol: true
|
||||||
|
c-bak: false
|
||||||
|
swift: false
|
||||||
|
tls-proxy: true
|
||||||
|
tempest: true
|
||||||
|
tempest_test_regex: ^trove_tempest_plugin\.tests\.scenario\.(test_cinder_backup|test_replication)
|
||||||
|
tempest_test_timeout: 3600
|
||||||
|
zuul_copy_output:
|
||||||
|
'/var/log/guest-agent-logs/': 'logs'
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: trove-tempest-ubuntu-base
|
name: trove-tempest-ubuntu-base
|
||||||
parent: trove-tempest
|
parent: trove-tempest
|
||||||
@ -246,6 +308,34 @@
|
|||||||
backup_wait_timeout: 1200
|
backup_wait_timeout: 1200
|
||||||
default_datastore_versions: mysql:5.7
|
default_datastore_versions: mysql:5.7
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: trove-tempest-cinder-storage-driver-mysql5.7
|
||||||
|
parent: trove-tempest-snapshot
|
||||||
|
irrelevant-files:
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^api-ref/.*$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^etc/.*$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
- ^test-requirements.txt$
|
||||||
|
- ^tox.ini$
|
||||||
|
- ^LICENSE$
|
||||||
|
- ^contrib/
|
||||||
|
- ^zuul\.d/
|
||||||
|
- ^backup/
|
||||||
|
- ^\..+
|
||||||
|
- ^trove/guestagent/datastore/(postgres|mariadb)/.*$
|
||||||
|
- ^trove/guestagent/strategies/replication/(postgresql.*|mariadb.*)\.py$
|
||||||
|
vars:
|
||||||
|
devstack_localrc:
|
||||||
|
TROVE_DATASTORE_VERSION: 5.7
|
||||||
|
devstack_local_conf:
|
||||||
|
test-config:
|
||||||
|
$TEMPEST_CONFIG:
|
||||||
|
database:
|
||||||
|
backup_wait_timeout: 1200
|
||||||
|
default_datastore_versions: mysql:5.7
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: trove-tempest-ubuntu-base-mariadb10.4
|
name: trove-tempest-ubuntu-base-mariadb10.4
|
||||||
parent: trove-tempest-ubuntu-base
|
parent: trove-tempest-ubuntu-base
|
||||||
@ -332,6 +422,36 @@
|
|||||||
enabled_datastores: "mariadb"
|
enabled_datastores: "mariadb"
|
||||||
default_datastore_versions: mariadb:10.4
|
default_datastore_versions: mariadb:10.4
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: trove-tempest-cinder-storage-driver-mariadb10.4
|
||||||
|
parent: trove-tempest-snapshot
|
||||||
|
irrelevant-files:
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^api-ref/.*$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^etc/.*$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
- ^test-requirements.txt$
|
||||||
|
- ^tox.ini$
|
||||||
|
- ^LICENSE$
|
||||||
|
- ^contrib/
|
||||||
|
- ^zuul\.d/
|
||||||
|
- ^backup/
|
||||||
|
- ^\..+
|
||||||
|
- ^trove/guestagent/datastore/(postgres|mysql)/.*$
|
||||||
|
- ^trove/guestagent/strategies/replication/(postgresql.*|mysql.*)\.py$
|
||||||
|
vars:
|
||||||
|
devstack_localrc:
|
||||||
|
TROVE_DATASTORE_TYPE: mariadb
|
||||||
|
TROVE_DATASTORE_VERSION: 10.4
|
||||||
|
devstack_local_conf:
|
||||||
|
test-config:
|
||||||
|
$TEMPEST_CONFIG:
|
||||||
|
database:
|
||||||
|
backup_wait_timeout: 1200
|
||||||
|
enabled_datastores: "mariadb"
|
||||||
|
default_datastore_versions: mariadb:10.4
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: trove-tempest-ubuntu-base-postgresql12
|
name: trove-tempest-ubuntu-base-postgresql12
|
||||||
parent: trove-tempest-ubuntu-base
|
parent: trove-tempest-ubuntu-base
|
||||||
@ -418,6 +538,36 @@
|
|||||||
enabled_datastores: "postgresql"
|
enabled_datastores: "postgresql"
|
||||||
default_datastore_versions: postgresql:12
|
default_datastore_versions: postgresql:12
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: trove-tempest-cinder-storage-driver-postgresql12
|
||||||
|
parent: trove-tempest-snapshot
|
||||||
|
irrelevant-files:
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^api-ref/.*$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^etc/.*$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
- ^test-requirements.txt$
|
||||||
|
- ^tox.ini$
|
||||||
|
- ^LICENSE$
|
||||||
|
- ^contrib/
|
||||||
|
- ^zuul\.d/
|
||||||
|
- ^backup/
|
||||||
|
- ^\..+
|
||||||
|
- ^trove/guestagent/datastore/(mysql|mariadb)/.*$
|
||||||
|
- ^trove/guestagent/strategies/replication/(mysql.*|mariadb.*)\.py$
|
||||||
|
vars:
|
||||||
|
devstack_localrc:
|
||||||
|
TROVE_DATASTORE_TYPE: postgresql
|
||||||
|
TROVE_DATASTORE_VERSION: 12
|
||||||
|
devstack_local_conf:
|
||||||
|
test-config:
|
||||||
|
$TEMPEST_CONFIG:
|
||||||
|
database:
|
||||||
|
backup_wait_timeout: 1200
|
||||||
|
enabled_datastores: "postgresql"
|
||||||
|
default_datastore_versions: postgresql:12
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: publish-trove-guest-image
|
name: publish-trove-guest-image
|
||||||
parent: publish-openstack-artifacts
|
parent: publish-openstack-artifacts
|
||||||
|
@ -17,16 +17,19 @@
|
|||||||
voting: false
|
voting: false
|
||||||
- trove-tempest-ubuntu-replication-mysql5.7:
|
- trove-tempest-ubuntu-replication-mysql5.7:
|
||||||
voting: false
|
voting: false
|
||||||
|
- trove-tempest-cinder-storage-driver-mysql5.7
|
||||||
- trove-tempest-ubuntu-base-mariadb10.4
|
- trove-tempest-ubuntu-base-mariadb10.4
|
||||||
- trove-tempest-ubuntu-backup-mariadb10.4:
|
- trove-tempest-ubuntu-backup-mariadb10.4:
|
||||||
voting: false
|
voting: false
|
||||||
- trove-tempest-ubuntu-replication-mariadb10.4:
|
- trove-tempest-ubuntu-replication-mariadb10.4:
|
||||||
voting: false
|
voting: false
|
||||||
|
- trove-tempest-cinder-storage-driver-mariadb10.4
|
||||||
- trove-tempest-ubuntu-base-postgresql12
|
- trove-tempest-ubuntu-base-postgresql12
|
||||||
- trove-tempest-ubuntu-backup-postgresql12:
|
- trove-tempest-ubuntu-backup-postgresql12:
|
||||||
voting: false
|
voting: false
|
||||||
- trove-tempest-ubuntu-replication-postgresql12:
|
- trove-tempest-ubuntu-replication-postgresql12:
|
||||||
voting: false
|
voting: false
|
||||||
|
- trove-tempest-cinder-storage-driver-postgresql12
|
||||||
- openstack-tox-cover:
|
- openstack-tox-cover:
|
||||||
voting: true
|
voting: true
|
||||||
- trove-tox-bandit-baseline:
|
- trove-tox-bandit-baseline:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user