Commit Graph

1241 Commits

Author SHA1 Message Date
Liam Young
52ee23927c Make masakari wait longer for hosts to online
A recent functional test of masakari monitors failed due to a
tenacity retry missing the host coming online by 10s, so wait
longer. FWIW that this affects the post-test cleanup rather than
the test itself.

*1 https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-masakari-monitors/726808/1/5655/consoleText.test_charm_func_full_8812.txt
`
2020-05-15 13:54:01 +00:00
Frode Nordahl
78e992ac87 Merge pull request #260 from ajkavanagh/multi-lts-image-for-octavia
The octavia tests require multiple LTS images
2020-05-14 06:24:24 +02:00
Chris MacNaughton
bc2377ccec Merge pull request #270 from ajkavanagh/pin-juju-lt-2-8-0
libjuju-2.8 breaks with juju 2.7.6 and 2.8.0 - pinning
2020-05-13 14:01:57 +02:00
Alex Kavanagh
593254f790 libjuju-2.8 breaks with juju 2.7.6 and 2.8.0 - pinning
This is a temporary pin until a fix is provided.
2020-05-13 11:52:48 +01:00
Liam Young
f7a0dd4d32 Merge pull request #269 from ChrisMacNaughton/bug/non-leader-unexpected-files
Ensure the secondary-first function takes the same arguments
2020-05-12 13:27:45 +01:00
Chris MacNaughton
19fd66a178 Fix new lint errors 2020-05-12 14:22:16 +02:00
Chris MacNaughton
695fbd85da Ensure the secondary-first function takes the same arguments 2020-05-12 14:12:35 +02:00
Liam Young
185b7907d7 Merge pull request #227 from ChrisMacNaughton/bug/non-leader-upgrade-fail
Ensure that upgrading non-leader first can handle pause arguments
2020-05-12 09:14:18 +01:00
Frode Nordahl
a025c21ba6 Merge pull request #267 from AurelienLourot/master
Fix "'NeutronGatewayTest' object has no attribute 'neutron_client'"
2020-05-12 09:18:59 +02:00
Alex Kavanagh
d1fd2ae610 Merge pull request #263 from openstack-charmers/ovn-charm
Add OVN charm tests
2020-05-11 16:46:45 +01:00
Aurelien Lourot
9ae0d464b3 Fix "'NeutronGatewayTest' object has no attribute 'neutron_client'"
in test_401_enable_qos
2020-05-11 16:52:39 +02:00
Alex Kavanagh
eb41fe499c Merge pull request #266 from ChrisMacNaughton/bug/series-upgrade/prepare-leader-first
Handle leader prepare step before non-leaders
2020-05-11 09:24:31 +01:00
Alex Kavanagh
ff551fe234 Merge pull request #264 from thedac/rabbitmq-test-optimizations
Reduce the number of permutations of msg checks
2020-05-11 09:13:43 +01:00
Chris MacNaughton
a8a25b2134 Handle leader prepare step before non-leaders 2020-05-11 10:03:36 +02:00
David Ames
37297aff8f Reduce the number of permutations of msg checks
Reduce the number of checks by 30%.
Remove duplicate test 410.
Use logging.info to get output.
2020-05-10 00:51:54 +00:00
Frode Nordahl
8edff98f94 Add OVN charm tests 2020-05-08 12:34:21 +02:00
Liam Young
dfbf80a08d Merge pull request #262 from thedac/policyd-race
Handle race in policyd tests
2020-05-08 08:46:11 +01:00
David Ames
7783e38f66 Handle race in policyd tests 2020-05-07 22:17:31 +00:00
Alex Kavanagh
c8ea324ccb Add focal template to image list 2020-05-07 20:09:02 +01:00
Liam Young
ff0d72ae53 Merge pull request #261 from AurelienLourot/ssh-robust
Make ssh_test() more robust
2020-05-07 16:19:29 +01:00
Aurelien Lourot
59ec82f542 Make ssh_test() more robust 2020-05-07 14:25:47 +02:00
Alex Kavanagh
5201f32553 Merge pull request #259 from AurelienLourot/sriov-trusty
Fix tests against neutron-openvswitch
2020-05-06 20:17:58 +01:00
Alex Kavanagh
c04e632ae0 The octavia tests require multiple LTS images
This patch ensures that bionic and focal images are available for
the LTS octavia tests.
2020-05-06 14:59:32 +01:00
Aurelien Lourot
bef8979e64 Merge remote-tracking branch 'origin/master' 2020-05-06 11:26:07 +02:00
Alex Kavanagh
08177ef36d Merge pull request #257 from dshcherb/2020-05-04-fix-issue-256
Pass arguments BaseCharmTest.setUpClass
2020-05-05 17:18:26 +01:00
Dmitrii Shcherbakov
1caf9388b4 Merge pull request #258 from javacruft/triliovault-check-restore
triliovault: Check restore completes
2020-05-05 18:14:54 +03:00
Aurelien Lourot
c35b4e0fcf Disable test_101_neutron_sriov_config on Trusty
https://bugs.launchpad.net/charm-neutron-openvswitch/+bug/1876888
2020-05-05 16:22:52 +02:00
James Page
db0fff6480 triliovault: Check restore completes
Ensure that the oneclick restore process completes as part
of the snapshot test case.

Drop use of api_version in get_domain_id utility.
2020-05-05 12:56:03 +01:00
Dmitrii Shcherbakov
4ab3681a8c Merge pull request #252 from javacruft/triliovault-testing
Add zaza tests for TrilioVault
2020-05-05 13:58:41 +03:00
Dmitrii Shcherbakov
740bc2060f Pass arguments BaseCharmTest.setUpClass
Not doing so triggers an incorrect behavior leading to functional test
failures as the application name is not set correctly.

https://github.com/openstack-charmers/zaza-openstack-tests/issues/256
https://review.opendev.org/#/c/712980/1
2020-05-04 20:45:55 +03:00
James Page
eb0cba9efc Add zaza tests for TrilioVault
Add setup and tests for trilio-{data-mover,dm-api,wlm} charms.

Add attach_volume utility to attach cinder volumes to nova servers.
2020-05-04 14:46:48 +01:00
Alex Kavanagh
b821c4c949 Merge pull request #250 from hemanthnakkina/bug/1864859
Add test cases for nova shelving accounting in quotas
2020-04-30 11:41:04 +01:00
David Ames
6406467e5e Merge pull request #249 from ajkavanagh/disable-ceph-pristine-disks-focal
Disable the pristine disk check on focal
2020-04-29 10:23:40 -07:00
Alex Kavanagh
8830729dc1 Add LP bug number and a bit of explanation 2020-04-29 18:14:35 +01:00
Hemanth Nakkina
a2e38eecd3 Add test cases for nova shelving accounting in quotas
Add functional test case to verify new config param
quota-count-usage-from-placement in nova-cloud-controller
charm.

Charm changes - https://review.opendev.org/#/c/715182/

Related-Bug: #1864859
2020-04-28 15:28:06 +05:30
Alex Kavanagh
719c4bfacf Merge pull request #251 from gnuoy/masakari-focal-fixes
Masakari testing fixes
2020-04-27 09:42:24 +01:00
Liam Young
9df7157989 Masakari testing fixes
* Add method for deleteing pacemaker nodes.
* Due to LP #1874719 use above to delete node1
* During test cleanup the tests re-enable hosts from a masakari pov,
  if that host still has outstanding notifications it will fail so
  retry the enable.
* pacemakerd process name has changed on focal so account for that
  when killing it.
2020-04-25 09:52:53 +00:00
Dmitrii Shcherbakov
731de58b6a Merge pull request #237 from openstack-charmers/fix-neutron-openvswitch-tests
Fix neutron openvswitch tests
2020-04-24 11:44:51 +03:00
Dmitrii Shcherbakov
ab4d47d7a3 Merge pull request #235 from openstack-charmers/move-qos-test-back
Move NGW QoS test back to the NGW test class
2020-04-24 10:29:04 +03:00
James Page
53bd932fd3 Merge pull request #248 from thedac/gsss-race-conditions
Fix glance simplestreams sync test races
2020-04-22 18:55:02 +01:00
David Ames
14a6f06586 Fix glance simplestreams sync test races
We expect at least three images. Avoid various race conditions by
retrying using tenacity.
2020-04-22 17:32:33 +00:00
Alex Kavanagh
5d20e2564e Disable the pristine disk check on focal
The test won't pass on serverstack due to the snapd taking a copy of the
/mnt/vdb info at boot time and thus not being able to umount it is root
without also running through all of the procs and checking if they also
have it mounted.  Thus, this just disables the test on focal and newer.
2020-04-22 18:08:06 +01:00
Alex Kavanagh
16f719edb8 Merge pull request #247 from dshcherb/2020-04-21-fix-glance-test-900
Fix test_900_restart_on_config_change
2020-04-21 15:56:37 +01:00
Dmitrii Shcherbakov
16e82b6e86 Fix test_900_restart_on_config_change
Recently broken by PR 245:
72b420b56a
2020-04-21 17:41:40 +03:00
Liam Young
8d401e410c Merge pull request #240 from AurelienLourot/barbican
Barbican tests
2020-04-21 15:30:35 +01:00
Liam Young
db70b46a63 Merge pull request #245 from dshcherb/2020-04-21-use-new-helper
Use the new svc restart checker where possible
2020-04-21 14:56:41 +01:00
Dmitrii Shcherbakov
72b420b56a Use the new svc restart checker where possible
restart_on_changed_debug_oslo_config_file was added to avoid code
duplication.
2020-04-21 16:50:02 +03:00
Aurelien Lourot
347a39d11e Use restart_on_changed_debug_oslo_config_file() 2020-04-21 15:25:55 +02:00
Aurelien Lourot
0089555ff0 Merge remote-tracking branch 'origin/master' into barbican 2020-04-21 15:25:42 +02:00
Liam Young
d8daabea22 Merge pull request #241 from ajkavanagh/hacluster-focal-test-fix
Fix hacluster tests for focal with mysql8
2020-04-21 14:02:27 +01:00