Commit Graph

785 Commits

Author SHA1 Message Date
David Ames cd49a5bc9f Merge pull request #386 from ajkavanagh/fix-charm-upgrade-tests
Fix the charm-upgrade tests as used by CoT
2020-08-20 09:51:50 -07:00
David Ames e6a11c6509 Merge pull request #392 from openstack-charmers/lourot/revert-breaking-change
Revert "Merge pull request #384 from camille-rodriguez/master"
2020-08-20 08:29:34 -07:00
Aurelien Lourot d7bc2d3298 Revert "Merge pull request #384 from camille-rodriguez/master"
This reverts commit 73bab8395b, reversing
changes made to c165c42c00.

This change introduced a new test under an existing test class, which
is a breaking change and prevents us to keep testing older releases.
This new test will be soon re-introduced under a new test class.
2020-08-20 17:22:31 +02:00
Chris MacNaughton 6a18a37c13 Ensure that the workspace deletion doesn't fail with file not found. 2020-08-20 17:21:36 +02:00
Alex Kavanagh f9247c5bff Merge pull request #385 from openstack-charmers/lourot/arista-tenacity
Increase neutron-arista timeout
2020-08-20 09:43:47 +01:00
Aurelien Lourot 73bab8395b Merge pull request #384 from camille-rodriguez/master
Additional test for Gnocchi S3 feature : adding an external cert
2020-08-20 09:21:58 +02:00
Chris MacNaughton 5455bee2e9 Fix protocol rendering for keystone URL
Closes #387
2020-08-20 08:52:00 +02:00
Alex Kavanagh 5ad5f85f99 Fix the charm-upgrade tests as used by CoT
The biggest change is that the upgrade_groups() is a list of tuples ...
[()] ... rathern than a collections.OrderedDict().  This tends to make
more sense as they are processed in order and don't actually need to be
indexed.

Also excludes easyrsa (as it's not an upgrade target) and adds a
"Database Services" which upgrades mysql or percona FIRST before moving
on to rabbitmq and other stateful services.  This is because some charms
really need to talk to mysql if one of the other stateful services does
a relation changed hook.  This makes it more likely that the system will
ugprade correctly.
2020-08-19 20:47:00 +01:00
Aurelien Lourot c5c964506e Increase neutron-arista timeout 2020-08-19 16:43:04 +02:00
camille.rodriguez cd548b01cf pep8, duplicate logs 2020-08-19 09:32:09 -05:00
camille.rodriguez 8a79a93e83 combine 3 functions into one 2020-08-19 08:59:04 -05:00
coreycb a67b4906ee Use juju model as workspace and store in home (#383)
* Use juju model as workspace and store in home

The current juju model will now be used as the tempest workspace name.
Additionally, all workspaces will be stored in ~/.tempest/<workspace>.

This patch also introduces a new option 'keep-workspace' that can be
specified along with other tempest options to keep the workspace after
tempest test execution. It defaults to False.

Also minor adjustment to smoke option to test boolean value.
2020-08-18 15:54:09 +02:00
camille.rodriguez 3343582ddd add test for external cert config option for gnocchi 2020-08-17 17:32:22 -05:00
camille.rodriguez 2c18d0f471 Merge branch 'master' of github.com:openstack-charmers/zaza-openstack-tests 2020-08-17 16:44:07 -05:00
Liam Young a3433a1276 Add Ceph test CheckPoolTypes
Add a ceph test to check that the type of pools requested by
clients matches the pools that were created.
2020-08-10 12:32:49 +00:00
Chris MacNaughton 80995ccf23 Vault tests should leave Vault unsealed
When cleaning up after a Vault test case, Vault should be left
in the same state we found it, unsealed.

Closes-Bug: #379
2020-08-10 09:09:02 +02:00
David Ames 7d4d40700a Region is different for before and after Focal
For the Horizon region setting use the Keystone URL prior to Focal and
"default" thereafter.
2020-08-07 01:12:37 +00:00
David Ames c498b35852 Lint fix 2020-08-06 23:16:11 +00:00
David Ames 8a47b981b9 Tell horizon to use the "defaul" region
SAML Mellon tests have been broken on Focal. The handling of the region
selection behaves differently from bionic. Or it may be that bionic
accidentally was working by seeing a string as int 0.

Horizon has a "default" region which returns the keystone URL.
2020-08-06 23:06:01 +00:00
camille.rodriguez a005cf3226 pep8 2020-08-04 09:12:42 -05:00
Aurelien Lourot e530533345 Make NeutronCreateNetworkTest more robust 2020-07-30 12:27:21 +02:00
camille.rodriguez 7c9e2edbd1 add missing newline 2020-07-27 16:23:36 -05:00
camille.rodriguez 127ac7c87c fix typo 2020-07-27 15:59:06 -05:00
camille.rodriguez e997647870 Add CHAP auth to tests 2020-07-27 15:47:21 -05:00
camille.rodriguez ab91b94d77 add logs to iscsi test 2020-07-27 10:25:21 -05:00
camille.rodriguez 738664e8ba assert iscsi session 2020-07-24 15:53:00 -05:00
camille.rodriguez 411d9aeb50 fix hostname 2020-07-24 15:14:12 -05:00
camille.rodriguez 4c57e73f73 tests.py 2020-07-24 15:13:48 -05:00
camille.rodriguez a15b11a209 test_iscsi 2020-07-24 14:20:47 -05:00
camille.rodriguez bad9b4c768 add tests iscsi-connector 2020-07-24 14:19:41 -05:00
camille.rodriguez 277272547f add tests iscsi-connector 2020-07-24 14:14:19 -05:00
camille.rodriguez fb8de5cc81 add open-port cmd for iscsi target 2020-07-24 11:09:22 -05:00
camille.rodriguez 6bbb4fd4e3 add iscsi-connector files and setup 2020-07-24 10:13:50 -05:00
Alex Kavanagh 59d68e49a5 Ensure that the tests directory exists for the local cacert (#373)
A recent change to allow multiple zazas to run at the same time fixed
the cacert file into a local 'tests/' directory.  Unfortunately, that
doesn't exist for every environment where zaza runs (e.g. mojo) and so
this patch ensures that the path exists prior to trying to download into
it.
2020-07-23 15:07:21 +02:00
Aurelien Lourot a1eb37c365 Make neutron/arista tests more robust
When creating an Arista-backed Neutron network, the API call from Neutron
to Arista sometimes spuriously fails. This is not fatal and Neutron
simply retries a few seconds later. The tests now account for that.
2020-07-23 09:49:48 +02:00
Frode Nordahl 158e8ce37f octavia/policyd: Change target for policyd test
List available provider drivers as policyd test, this should be
more light weight than creating and retrieving a load-balancer.

Fixes #349
2020-07-22 10:40:29 +02:00
Liam Young 59b6c1bd35 Merge pull request #341 from openstack-charmers/lourot/keystone
Minor improvements to keystone tests
2020-07-16 13:26:09 +01:00
Liam Young 20b6a5eec0 Merge pull request #366 from openstack-charmers/image_arch
add image arch and properties specification
2020-07-16 13:13:46 +01:00
Liam Young ce6cfe68b3 Add defaut app name for vrrp tests
Set a default application_name for vrrp tests so they can be
called by charms other than the neutron-api gate tests.
2020-07-15 20:07:17 +00:00
Andrew McLeod a670e274fa add image arch and properties specification 2020-07-15 16:56:06 +02:00
Aurelien Lourot 0094872fec Merge pull request #345 from openstack-charmers/octavia-use-common-launch-helper
Use common launch helper with retry handling for Octavia tests
2020-07-15 16:12:27 +02:00
Dmitrii Shcherbakov 4f237688af Merge pull request #363 from gnuoy/skip-ks-test_003_test_overide_is_observed
Skip test_003_test_overide_is_observed
2020-07-14 17:13:10 +03:00
Liam Young 9896c8d9c5 Skip test_003_test_overide_is_observed
Skip test_003_test_overide_is_observed until Bug #1880959 is fix
released.
2020-07-14 14:08:31 +00:00
Liam Young e729c64956 Fixed existing codename errors spotted by coreycb 2020-07-14 12:53:07 +00:00
Liam Young 2d3eaa6e84 Fix typo 2020-07-14 12:42:29 +00:00
Liam Young e409b68639 Add Groovy Victoria support 2020-07-14 12:39:58 +00:00
David Ames a84b15b786 Merge pull request #361 from gnuoy/wait-ceph-ready
Add ceph_ready config step
2020-07-13 07:57:33 -07:00
Liam Young c4176881d0 Fix spelling typo 2020-07-13 14:56:04 +00:00
David Ames fdd92e3c5b Merge pull request #359 from gnuoy/set-default-app-name
Set application_name for ceph-radosgw tests
2020-07-13 07:53:06 -07:00
Liam Young 9e395f69b7 Add ceph_ready config step
Add a ceph_ready config step which just checks that the ceph units
are in a 'active' 'Unit is Ready.*' state. This is useful when
encryption at rest is being used and the tests.yaml assumes that
the units are going to come up blocked. Once vault is ready the
tests then need to wait for the ceph units to become unblocked.
2020-07-13 14:42:43 +00:00