Commit Graph

111 Commits

Author SHA1 Message Date
Alex Kavanagh
3e2d98b1ed Fix pep8 failures 2019-09-25 14:43:10 +01:00
Alex Kavanagh
13128db1f4 Add docs to policyd module 2019-09-25 14:43:10 +01:00
Alex Kavanagh
6648aaf0e9 Add negative test for broken yaml 2019-09-25 14:43:10 +01:00
Alex Kavanagh
ec74e6a57c Switch the order of the tests 2019-09-25 14:43:10 +01:00
Alex Kavanagh
060d86fe27 Hopefully finalising the services test 2019-09-25 14:43:10 +01:00
Alex Kavanagh
086076c6fc Still trying to find a call that works with the user 2019-09-25 14:43:10 +01:00
Alex Kavanagh
9d4008c9f4 More robust test 2019-09-25 14:43:10 +01:00
Alex Kavanagh
d4568caf93 Fix missing prefixes from other module 2019-09-25 14:43:10 +01:00
Alex Kavanagh
bdd225a1ee Switch keystone user to demo and try to list projects instead 2019-09-25 14:43:10 +01:00
Alex Kavanagh
6a0867e223 Fixed keystone spedific test 2019-09-25 14:43:10 +01:00
Alex Kavanagh
8a42af4e41 Fix keystone specific test - more 2019-09-25 14:43:10 +01:00
Alex Kavanagh
61f7cce1d0 Fix keystone specific test 2019-09-25 14:43:10 +01:00
Alex Kavanagh
b1e6beb919 Further work to get keystone specific test to work 2019-09-25 14:43:10 +01:00
Alex Kavanagh
ae6b1d7849 Try to fix mixin class set up bug 2019-09-25 14:43:10 +01:00
Alex Kavanagh
1337531926 Create specific policyd override for keystone 2019-09-25 14:43:10 +01:00
Alex Kavanagh
c744b1a288 Create generic / keystone test idea 2019-09-25 14:43:10 +01:00
Alex Kavanagh
024a4b0ff7 move async code to zaza 2019-09-25 14:43:10 +01:00
Alex Kavanagh
55ae4aad28 Add in check to test for removal of file 2019-09-25 14:43:10 +01:00
Alex Kavanagh
3465dacb96 change approach to waiting on results bug fix 2019-09-25 14:43:10 +01:00
Alex Kavanagh
36f775390c change approach to waiting on results 2019-09-25 14:43:10 +01:00
Alex Kavanagh
89a6d9ca39 More test debugging again 2019-09-25 14:43:10 +01:00
Alex Kavanagh
1110ced7c1 More test debugging 2019-09-25 14:43:10 +01:00
Alex Kavanagh
67f1650917 Add further disable tests1 2019-09-25 14:43:10 +01:00
Alex Kavanagh
aae3366fc9 Add further disable tests 2019-09-25 14:43:10 +01:00
Alex Kavanagh
2beddeafef more iteration to discover workload stats 2019-09-25 14:43:10 +01:00
Alex Kavanagh
ce8c72e1a1 tests to determine app status 2019-09-25 14:43:10 +01:00
Alex Kavanagh
5ba0cf211c Yet more fixes to the test1 2019-09-25 14:43:10 +01:00
Alex Kavanagh
f5f3c9a966 Yet more fixes to the test 2019-09-25 14:43:10 +01:00
Alex Kavanagh
6306615a17 More debugging in the test 2019-09-25 14:43:10 +01:00
Alex Kavanagh
214660f43d Added additional logging 2019-09-25 14:43:10 +01:00
Alex Kavanagh
89980f1cc5 Fix using bools with libjuju 2019-09-25 14:43:10 +01:00
Alex Kavanagh
8aa4102855 Fix config setting code 2019-09-25 14:43:10 +01:00
Alex Kavanagh
99db1e3eab Fix test with None path 2019-09-25 14:43:10 +01:00
Alex Kavanagh
677de69b9a More fixes to super calls 2019-09-25 14:43:10 +01:00
Alex Kavanagh
5e2fbf9639 Fix class super calls 2019-09-25 14:43:10 +01:00
Alex Kavanagh
028956dd29 Add initial policyd initial test
Add the initial, general, 'success' test for policyd support in charms.
2019-09-25 14:43:10 +01:00
Liam Young
258b2283d0 Merge pull request #59 from ed1000/add-ceilometer
Porting Ceilometer tests to Zaza
2019-09-25 13:39:40 +01:00
Eduardo Sousa
730cd788c8 Fixing skip test message 2019-09-25 13:31:40 +01:00
Eduardo Sousa
c94fbceac1 Refactoring variables and properties 2019-09-24 16:20:03 +01:00
Liam Young
af856138ee Increase wait time for guest to boot.
Zaza seems to currently wait for 64+32+16+8+4+2+1 seconds (127) for
a guest to boot. This is not quite enough sometimes, so increase
this to 511 seconds.
2019-09-23 15:15:11 +01:00
Eduardo Sousa
6cab1f8b85 Porting Ceilometer tests to Zaza
Porting the Amulet tests from Ceilometer to the Zaza framework.

The Amulet tests can be found here:
https://opendev.org/openstack/charm-ceilometer/src/branch/master/tests/basic_deployment.py
2019-09-18 17:48:09 +01:00
David Ames
60f9bafb0a Merge pull request #55 from guoqiao/migrate-gss
migrate glance-simplestreams-sync from Amulet to Zaza
2019-09-12 10:56:15 -07:00
Joe Guo
63e9b4cf1b Migrate glance-simplestreams-sync tests from Amulet to Zaza
Migrate tests from Amulet to Zaza in:

    charm-glance-simplestreams-sync/tests/basic_deployment.py

Signed-off-by: Joe Guo <guoqiao@gmail.com>
2019-09-10 22:38:00 +12:00
Frode Nordahl
caed1ceeb3 Use UTC when calculating certificate validity
The current usage of ``datetime.today()`` is at the grace of the
locale settings of the test executor and the instances spun up.

The ``cryptography.x509.CertificateBuilder`` ``not_valud_before``
and ``not_valid_after`` attributes do expect [0] a UTC datetime.

0: https://cryptography.io/en/latest/x509/reference/#cryptography.x509.CertificateBuilder
2019-09-10 12:14:52 +02:00
Joe Guo
fd83175f54 charm_tests/glance: migrate Amulet tests to Zaza
This patch is the peer change for:

    https://review.opendev.org/#/c/679599/

charm-glance currently has following Amulet tests:

    https://github.com/openstack/charm-glance/blob/master/tests/basic_deployment.py

The 1xx, 2xx and 5xx ones are mostly covered in zaza keystone tests, or could
be skipped in zaza.

Add the only missing 900 one, to test glance restart on config change.

Test option `debug` instead of `use-syslog` to avoid conversion between
`-` and `_`, which is out the scope of this test.

Signed-off-by: Joe Guo <guoqiao@gmail.com>
2019-09-04 19:46:32 +12:00
Chris MacNaughton
52a26a9254 Update versions to include Train 2019-09-02 16:09:42 +02:00
Ryan Beisner
9333b47a86 Flag existing time.sleep usage for refactor
https://github.com/openstack-charmers/zaza-openstack-tests/issues/46
2019-08-30 15:41:28 -05:00
Ryan Beisner
2244f131a0 Merge pull request #45 from camille-rodriguez/wait-for-server
Verify instances status before going starting the instances
2019-08-30 14:30:34 -05:00
Camille Rodriguez
9061ad9847 Verify instances status before going starting the instances 2019-08-30 15:26:54 -04:00
Camille Rodriguez
94e1d8f7ed Verify instances status before going starting the instances 2019-08-30 15:01:36 -04:00