OpenStack Project Testing Interface[1] extabilish a set of
rules to make sure project testing interface looks similarly
between OpenStack projects. This is intended to be
the first change in such direction.
Major improvements are:
- Remove code coverage from unit tests environments
- Reorganize tox.ini to better separate type of envs in sections
- Create an [openstack] section to unify settings for environments
that would require connecting to OpenStack (functional, scenarion,
...)
- Create scenario env to exectute all scenarion tests including
Neutron ones.
- Point to the new URL for upstream upper hand global requirements file.
Know missing things are:
- Create docs environment
- Create functional environment
- Create cover environment
[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I0129e91b9fd58ac75223c8faca43e690a39061b5
Quick-start, not surprisingly, should be a quick start guide for the
user who tries Tobiko. Right now I'm afraid it's the opposite. It
deep dives into details that should be somewhere else but not in
the quick start page.
Also, most of the information written there is no longer relevant.
I have changed it to include the minimal instructions the user needs
for a true quick start experience with Tobik.
Change-Id: I0630aeeb736e51cab5e66750c4c8a726c1195af5
- test methods requires fixtures of test class
- test class requires fixtures of RequiredFixtureProperty
- fix some minor problems (like getting object names)
Change-Id: Ic7e50d5e3b0299202dd6b28de243cfe888293401
Module is being used only by ansible integration module
that is going to be replaced at some time in the
near future.
Change-Id: I19f7e35bc9e182e764927d75856106240b8bba15
StackManager class is obsolete and it has been replaced
from tobiko.openstack.heat._stack.HeatStackFixture class.
Change-Id: Id2efa0372a4eae942769b7913173b99488bc7359
Command "tobiko-fixture list" now includes also fixtures
defined as required fixtures for test classes.
Change-Id: If9b9fb05dbdc7129ac50d71904c91a3ee04648f6
This is a workaround for a concurrency issue detected on Heat
OSP-14, but that could be affecting any version of Heat (no
investigation has been perfomed). It is unknow if this is a bug
or just a limitation of the service.
The issue:
Heat looks like has a concurrency issue when creating new stacks with
the same name on ame time from more parallel processes.
When Tobiko Neutron test cases are executed using tox -e neutron command
test case execution is spawn along some worker processes.
It happens that the same HeatStackFixture, as it is shared between more
test cases, is being created on the same time from more workers.
The stack creation request is therefore submitted to Heat service with
the same parameters and despite what understood from the documentation,
more than one stack starts being created on the same time with the same
name.
Workaround implementation
After these stack creation is started tobiko asks for stack status
using stack name and all worker processes receives information of
the same stack (with the same stack ID).
Therefore those workers that creates a new stack with an ID different
from the one got by the stack name are deleted, leaving on most of the
cases the cloud with only one stack instance for the same stack name.
Change-Id: Ibcdc04d9436664b788d2ed6d68e2a20c74bd6147
Because of bug [1] in dnsmasq in Fedora 28 we need to disable
dns-integration in Neutron for this job as a workaround of this problem.
When dns integration is disabled, Neutron will not set hostname for port
to be same as VM's name thus this dnsmasq bug will not be triggered.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1695647
Change-Id: Id3e5c1095b5de0c56527a233ff04b66374128973
These test cases are being replaced by the new test_floating_ip
neutron test case based on HeatStackFixture class.
Change-Id: I6a981ad23b70ef888bd85cc1d83e7f2c6d6a6198
These three commands (tobiko-create, tobiko-list, tobiko-delete) are
going to be replaced by the more generic tobiko-fixture command.
Change-Id: I6c77ad84a3146416a56d4b1ad74ab30bfae45fda