This patch also updates the smoke test to run train.
Change-Id: Ib1e3d8b1b8298131237b02692380eade21e31ce8
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
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
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
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
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
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes
Change-Id: I5ce4aff9dee7c184035dc8463a649665dbb3db28
- 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
- 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
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
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
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