Commit Graph

27 Commits

Author SHA1 Message Date
Aurelien Lourot d9b05879b3 Add Ussuri and Victoria tests
Closes-Bug: #1885935
Change-Id: Ia4ab72a73ab44c3263d627bc7f18c1dbafaae2ad
2020-07-08 14:33:04 +02:00
Frode Nordahl 14c05427fc
Remove use of admin-token in functional test
Change-Id: I8ac1e315f614bd5a820c6ff7f863406f632a56ee
2020-03-25 09:40:57 +01:00
Liam Young ff6b21a6f9 Rebuild for 20.02 release
Remove disco

Change-Id: I846527b971809e0e6f708f52905bd2868b78d2d1
2020-02-06 07:15:53 +00:00
Sahid Orentino Ferdjaoui 5b14cf84f9 Enable functional tests for train
This patch also updates the smoke test to run train.

Change-Id: Ib1e3d8b1b8298131237b02692380eade21e31ce8
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-10-23 16:48:54 +02:00
Camille Rodriguez b025d3d39b Add disco-stein bundle to gate tests
The bundle disco-stein was in the dev bundles because
a bug with the Python 3.7 syntax prevented the success of
the deployment of HA clusters. This bug is fixed, we can
reintegrate disco-stein in the gate bundles.

Other small additions:
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

LP Related-Bug: #1823718

Change-Id: I432a562efb84e486034f97f433186a31a80d4b2d
2019-09-02 11:34:02 -04:00
Frode Nordahl 0c596f7c4d Update functional test definitions
Change-Id: I9501a4aed293b3fdf9cda60b47107030f2d5d2eb
2019-07-17 15:27:26 +02:00
Frode Nordahl 3bfb75abcd Enable bionic/stein and disco/stein functional tests
Change-Id: I9b6a952c6633c40cebe5472a12aae0b98985b865
2019-04-09 06:40:42 +02:00
Ryan Beisner e320c3a7cc Rebuild for sync charm-helpers
Change-Id: I563f81e62bc3d17814901ab8cd56f260aeb1ac8b
2018-11-10 00:27:24 +00:00
Ryan Beisner dd5328d86a Update functional test definitions
Change-Id: Ib1f6c7d9e2c40774b614fe4f9429e2548a4a1905
2018-08-27 18:10:11 -05:00
Ryan Beisner 44e1fe72d0 Update functional test definitions
Change-Id: If5a6b1e26d40601f8f4ab2c5eea3f0d4411957ed
2018-07-18 18:34:11 -04:00
Ryan Beisner e9247c7781 Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: I700ef8c2e639f73bec16d3edaa639067ce3a2383
2018-07-11 14:02:45 -05:00
David Ames 723396341a Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: If4a8a0b70ae44ca01552e640b10b796704eae272
2018-05-11 15:08:06 -07:00
Ryan Beisner 809bd1556c Remove deprecated functional test targets
Change-Id: Ica09148159390a24facbd35cb59bc74dd261ef37
2018-05-09 16:33:12 -05:00
Ryan Beisner c799fa1e24 Add Bionic and remove Zesty series and tests
Bionic, being the next LTS, is important to enable for dev
and test as early as possible ahead of 18.02.

Zesty goes EOL in Jan 2018. The next stable charms release (18.02)
will not provide Zesty series support, as it was an interim
(non-LTS) release.

Change-Id: Icdd0442be6755a02b5b4a842aaff24cfbd165b41
2017-12-05 05:26:43 +00:00
Chris MacNaughton a14096c94c update tests to enable pike
Also move gate to xenial-pike

Change-Id: Ib2a1b2a203d1e0393f44543c12924a6e0d427599
2017-11-16 07:28:17 +00:00
Ryan Beisner d8abff370c Remove deprecated series metadata and tests
Change-Id: I0b8eeb81dcbeba6ddf80b433c388a7661ec28839
2017-08-23 09:50:55 -05:00
Andrew McLeod 0ac51d3d89 Modify tests.yaml which specifies bundletester config params
with the following key:value pairs:

- reset_timeout: 600

Change-Id: I6be91ad4aed575ac972f7ca0aae21b22989db797
2017-08-09 14:20:00 -06:00
David Ames 8eeab53c6d Update tests to use keystoneauth1
With keystoneauth1 sessions the service catalog search function,
url_for takes argument interface, no longer named endpoint_type.
This change updates tests to use this argument name.

Change-Id: I79b4a842772a4f1a850495eb15bb38afd83cda96
2017-07-24 14:53:55 -07:00
James Page 51d5f834c4 Updates for pike b1
Add amulet tests for pike, leave disabled for now.

Change-Id: I1dff39bc25a667660e61d3295cf96f8362ef1032
2017-05-25 12:43:41 +01:00
David Ames f188f330fa Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: I5ce4aff9dee7c184035dc8463a649665dbb3db28
2017-04-27 11:01:24 -07:00
David Ames a2594e80dd Enable Ocata Amulet Tests
- Add Zesty as a supported series to metadata.yaml.
- Turn on Xenial-Ocata Amulet test definitions.
- Sync charm helpers to get Juju 2.x amulet compatibility.
- Keeping Zesty-Ocata Amulet test definitions turned off until the
  metadata.yaml changes propagate to the charm store.
- Sync tox.ini to resolve amulet full test failures.

Change-Id: Ifb0546936260d6c55b8c57e87e4f27d34e681753
2017-03-21 17:17:33 +00:00
Ryan Beisner 01a113533e Update readme
Change-Id: I028a342608c9c415f2f83e535345c4babce6f7ca
2016-12-08 21:05:41 +00:00
Ryan Beisner f14b949e46 Update Amulet defs, series metadata and c-h sync
- Fix test executable hashbags for virtualenv prep.

- Add Yakkety-Newton Amulet test definitions.

- Prep Xenial-Ocata Amulet test definitions (not yet enabled).

- Prep Zesty-Ocata Amulet test definitions (not yet enabled).

- Remove Precise charm series metadata if present.

- Remove Precise Amulet test definitions if present.

Change-Id: I4c4518e5415220e0e89c0893c0079a565771e131
2016-12-08 09:10:13 -08:00
Ryan Beisner 4ec389893f Update amulet test definitions
- Add Xenial-Newton Amulet test definitions (dev).

- Add Yakkety-Newton Amulet test definitions (dev).

- Use the KSV3 version of the Amulet test for smoke instead of KSV2.

- Use the percona-cluster charm in tests instead of the mysql charm.

Newton tests are not enabled yet, per existing blocker:
- https://bugs.launchpad.net/charm-barbican-softhsm/+bug/1611393

Change-Id: I7ccc075677bcc1a8d2f6f0eed5ef0d46f4cbbfc8
2016-10-13 06:44:27 -05:00
Alex Kavanagh b00cb733a8 Fix func27-smoke which fails
This was a combination of the smoke test being incorrectly specified
and there being no assess_status() at the end of the hsm_connected()
function.  Also the assess_status() was removed from the layer-openstack
which meant that the status wasn't updating.

The change adds in an assess_status() call, but also reworks the tests
so that they use the new features in charms.openstack, and also uses
defaults for config-changed and assess-status hooks/events.

The gate that tox.ini is the keystone-v2 version of the tests.

Change-Id: Ib8082a083b05eba872d8a2e5fe477352df25ccbb
Closes-Bug: #1629624
2016-10-05 17:40:42 +00:00
Alex Kavanagh 2651c4a038 Add amulet/bundle tests to charm-barbican-softhsm
This adds keystone v2 and v3 tests to the charm.
However, because of bug#1611393 the tests can't execute test 400 which
would check the API to barbican.  Thus, it is disabled and the tests
only check that the relation is set up properly.

Change-Id: Ibfcdd82b070f7688a815fcbb1a089090d9529e2a
2016-08-10 13:57:57 +00:00
Ryan Beisner bb82897cda Add .gitreview and clean up repo
Update tox.ini to lint unit_tests, clean lint.

Add src/README.md placeholder to prevent inheritence of the
lower layer readme file in the built charm.

Add src/tox.ini and test-requirements for Amulet prep.

Update metadata.yaml for series.

Update tox.ini to minimize and clarify pep8 ignores.

Resolve flake8/pbr test-requirements version range conflict.

Mock apt in unit tests.

Add required tags data in src/metadata.yaml for charm proof.

Use openstack/charms.openstack proper in test-requirements
instead of a user space fork.

Update src/layer.yaml repo value to point to official location
and remove unnecessary options.

Change-Id: I5ca9e6cf9f8f91b3ce0ec3b48cf63535ca37c0f7
2016-08-03 18:59:01 +00:00