Commit Graph

805 Commits

Author SHA1 Message Date
Aurelien Lourot
fe82bc76f5 Fix setUpClass' signature 2020-08-26 16:34:28 +02:00
Aurelien Lourot
52dc1354ff Fix setUpClass' signature 2020-08-26 14:19:00 +02:00
Aurelien Lourot
cac63150d9 Moved test to its own new class 2020-08-26 12:59:40 +02:00
Aurelien Lourot
754e0e081b Merge branch 'master' into ovs-mark-managed-ports 2020-08-26 10:24:12 +02:00
coreycb
3f77ad6355 Merge pull request #394 from thedac/feature/benchmarking
Ceph rados benchmarking
2020-08-24 14:11:43 -04:00
Alex Kavanagh
19c626e120 Merge pull request #203 from freyes/bug/1868326
mysql: add check for seeded file in pxc
2020-08-24 14:38:59 +01:00
Alex Kavanagh
287cc778d4 Extend the timeouts for create / backup / snapshot test (#390)
On OSCI it's variable whether the test will pass as it's very close to
the timeout.  Extend it to give the test a reliable chance to pass.
2020-08-21 12:24:11 +02:00
David Ames
0ca011afec Ceph rados benchmarking 2020-08-20 16:03:08 -07:00
David Ames
7ac5bc305b Merge pull request #393 from camille-rodriguez/master
New test for Gnocchi
2020-08-20 15:34:42 -07:00
camille.rodriguez
6b822ee8ec replace ls with file_has_contents 2020-08-20 16:03:04 -05:00
camille.rodriguez
cece0d3096 test block function instead of ls 2020-08-20 14:40:03 -05:00
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
camille.rodriguez
320dbb4214 merge conflict 2020-08-20 11:44:59 -05:00
camille.rodriguez
1dc8ee4287 add imports 2020-08-20 11:37:03 -05:00
camille.rodriguez
6d0a59802b fix merge conflict 2020-08-20 11:35:38 -05:00
camille.rodriguez
cf04bbfc7d move new test in separate class 2020-08-20 11:02:07 -05: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