* remove a hack for python3.4 from rally-tox-base job
* raise version of SQLAlchemy at upper-constraints.txt to avoid new
warnings at python 3.8 env
* install python from the ubuntu repos instead of deadsnakes
* cover https://bugs.python.org/issue35894
* skip tests.unit.common.io.test_junit for Python 3.8. The failures
relate to changed order of xml tag parameters. It is not critical and
rally.common.io.junit is not used at all (abandoned code?!)
* cover https://github.com/python/cpython/pull/9731
Closes-Bug: #1864987
Change-Id: Iffb0015fbae48eb69e683ef41b9763798f198130
Also:
- fixes `tox -e self` job. It was designed to ensure that relative
imports are working, but ignored the error.
- changed `rally task sla-check` to return not zero code in case of
finding non of workloads had been executed.
Change-Id: I723f81abdfbe7c71e9ec36aaf6f0936a42eac425
* store all points for percentiles calculation instead of using graph
zipper. to do not exceed memory, points are saved to tmp dir by
chunks.
* also, this patch fixed calculation of avg values at StatsTable
Change-Id: I8fed9bf6a5a210a22fc008437d335cd7e372d3be
* `rally plugin show` should raise errors in case of not found or
multiple match
* remove dumplication of 'in' from PluginNotFound error in case of any
platform search
* handle Scenario plugin not found during task validation
* doesn't tag 'PluginNotFound' with "Unexpected CLI error" since it is
clear error
Change-Id: Ibe003c26ef973b18decaa16c03b3589b4002157e
+ remove sseveral unused ci files
+ ignore some warnings during pytest execution to make the output clean
Change-Id: Ic94ab503ea77c8a1582292becad872670034d49c
As OpenStack release team suggested, as for backward incomaptible
changes we need to change major version.
+ get back jsoncshcema draft-4 as default, since it can break all
plugins at once.
Change-Id: Id1eadb69964c630f119eb00d5a7f69fac64ba825
* *rally task sla_check* command was deprecated in Rally 0.8.0 in favor of
*rally task sla-check*.
* *rally-manage db* command (and the whole *rally-manage* entry-point) was
deprecated in Rally 0.10.0 in favor of *rally db* command.
* *--namespace* argument was deprecated in Rally 0.10.0 in favor of
*--platform* which has better meaning.
Affected commands: *rally plugin show*, *rally plugin list*,
*rally verify list-plugins*, *rally verify create-verifier*.
* *--tasks* argument of *rally task report* command and *--task* argument of
*rally task use* command were deprecated in Rally 0.10.0 in favor of
unified *--uuid* argument.
* *--junit* argument of *rally task report* command is deprecated in
Rally 0.10.0 in favor of *rally task export --type junit-xml*
Also, this patch:
* covers @deprecated_args cli decorator with unit teststo pass cover job.
* switches functional tests to use testtools library instead of unittest
(for unificaiton with our unit tests)
Change-Id: Icf5651117b20a8ecfe6a3e5f42eb3a4e569e0618
morph library is distributed under GPLv3 dependency which means that we
need to distribute under package as well under GPLv3 license or stop
using this library.
Since we do not use too much from morph, so let's just let's write a
simple replacement for what we actually need.
Change-Id: I00df4e66a2365cbaa948707289b14262dc016454
It would print an exception while user called 'rally' command without
argument. Let us fix this issue.
Change-Id: If950e4aeda1067ddfc271caedcea807c080e46a3
* move Dockerfile to etc/docker dir, so we can use custom README for
docker hub repository
* move etc/motd to etc/docker dir, since it is used only during docker
image build
* add etc/docker/README with a description for docker reposiroty and how
the image shoudl be used
Change-Id: I61fdd4bab37707374a2229ee07d5a41009e8c55d
Add ability to rally task export/report cmd to export/report
all tasks with specified deployment by new arg --deployment.
Change-Id: I8d7b41e0d2bb3f922f6bd0411aba405e942691fc
The bug in twine resulted in existance of pythong 2 wheel but missing
sdist or pythin 3 wheel for previous Rally release (1.2.0)
That means that it is possible to install Rally 1.2.0 via pip2, but
pip3 fails to discover this version.
Change-Id: Ie9375f6de7a65e09e4ee087e9fa3ce279e4c6cd6
Do not send 'no-name-action' index when the item fails after some atomic
actions completed and there is a root atomic.
For example, there is 'wait-for-some-resource-ready' action. It consists of
a bunch of get requests to update the current status. After specified timeout
this action can fail if the resource is not in the right state. In such case,
there is no reason to use 'no-name-action' for saving the error, the parent
index (i.e 'wait-for-some-resource-ready') will already store it.
Change-Id: If2a34d986d07126f4b97c8e03ce3989384ea83d8
The current error message from validation step doesn't include what
plugin fails and by which validator. This information is available only
in debug mode.
Without this information it is hard to understand what is going wrong.
Change-Id: I4e0bc3eb36c3d8116a2e867b48604b4cc514580a
Change I7ccb8ed06b0e46f6fcedb1529537f7ee32d56552 introduced a new
validator ``map_keys``, but the proper message was not added to
CHANGELOG
Change-Id: Iafefd33fee55ff721cf26e57e71f4095f3a2f020
JSONSchema for Task format v2 is quite complex and validation errors
usually are not user-friendly at all. To increase UX, let's split
JSONSchama to validate top level of the task at first, than iterate over
all subtasks and validate each of them separately.
Change-Id: I8d2a7ed15d356b8950ddec6c38e1e01a36e7cfde
* Sort table by "Platform" at `rally env check` command. It is needed
to make the result of unittests equal at python 2 and python 3 envs.
Also, the resulting table become more readable and user-friendly.
* Fix usage of StopIteration in generators.
* Deprecate 'async' argument of api method task.abort
Change-Id: I4dbf674817f8d40bb0708dd0a32caeb0dbda8c5e
* rally task raw results include environment name and uuid which are
quite informative, let's include them in the json report
* elasticsearch exporter did not use environment name from the task
results, it retrieved this name from database instead which is
redundant. This should be fixed now.
Change-Id: I475b67d248672650733f07126978a17acd5f7111