
This adds a plugin to collect the avg time duration for each atomic action. With this, SLAs setting time maximums can be applied to individual atomic actions that are part of a run. For example: NeutronNetworks.create_and_list_ports: - sla: max_avg_duration_per_atomic: neutron.list_ports: 5.5 This would put a 5.5 second limit on the average amount of time spent listing ports. During the create_and_list_ports test run. This allows projects to put more fine-grained restrictions on different types of operations (e.g. GET vs POST). Change-Id: I752a53ae3b2f47a05057ad8d4688f3f74d75ecf0
Rally job related files
This directory contains rally tasks and plugins that are run by OpenStack CI.
Structure
- plugins - directory where you can add rally plugins. Almost everything in Rally is a plugin. Benchmark context, Benchmark scenario, SLA checks, Generic cleanup resources, ....
- extra - all files from this directory will be copy pasted to gates, so you are able to use absolute paths in rally tasks. Files will be located in ~/.rally/extra/*
- rally.yaml is a task that is run in gates against OpenStack (nova network)
- rally-neutron.yaml is a task that is run in gates against OpenStack with Neutron Service
- rally-designate.yaml is a task that is run in gates against OpenStack with Designate Service. It's experimental job. To trigger make a review with "check experimental" text.
- rally-zaqar.yaml is a task that is run in gates against OpenStack with Zaqar Service. It's experimental job. To trigger make a review with "check experimental" text.
Useful links
- More about Rally: https://rally.readthedocs.org/en/latest/
- How to add rally-gates: https://rally.readthedocs.org/en/latest/gates.html
- About plugins: https://rally.readthedocs.org/en/latest/plugins.html
- Plugin samples: https://github.com/openstack/rally/tree/master/samples/plugins