[docs] several fixes before release
Change-Id: Icc6b95d7d2c83c920591514ced83e6b77f80695f
This commit is contained in:
parent
ff4ba04070
commit
4413b97a17
@ -60,24 +60,25 @@ Verification statuses
|
|||||||
| running | | It was used right after checking status of |
|
| running | | It was used right after checking status of |
|
||||||
| | | verifier. It is redundant in terms of new design. |
|
| | | verifier. It is redundant in terms of new design. |
|
||||||
+------------+------------+---------------------------------------------------+
|
+------------+------------+---------------------------------------------------+
|
||||||
| verifying | running | Identifies the process of execution tool. |
|
| verifying | running | Identifies the process of tool execution. |
|
||||||
+------------+------------+---------------------------------------------------+
|
+------------+------------+---------------------------------------------------+
|
||||||
| finished | finished | Previously, finished state was used for |
|
| finished | finished | Previously, "finished" state was used for an |
|
||||||
| | | identification of just finished verification. By |
|
| | | identification of just finished verification. By |
|
||||||
| | | "finished" meant that verification has any test |
|
| | | "finished" meant that verification has any test |
|
||||||
| | | result. Now it means that verification was |
|
| | | result. Now it means that verification was |
|
||||||
| | | executed and doesn't have failures, unexpected |
|
| | | executed and doesn't have failures, unexpected |
|
||||||
| | | success or any kind of errors. |
|
| | | success or any kind of errors. |
|
||||||
| +------------+---------------------------------------------------+
|
| +------------+---------------------------------------------------+
|
||||||
| | failed | Old purpose is identification "errors", situations|
|
| | failed | Old purpose is an identification of "errors", |
|
||||||
| | | when results are empty. The right use is |
|
| | | situations when results are empty. The right use |
|
||||||
| | | an identification finished verification with |
|
| | | is an identification of finished verification |
|
||||||
| | | tests in failed and unexpected success statuses. |
|
| | | with tests in "failed" and "uxsuccess" |
|
||||||
|
| | | (unexpected success) statuses. |
|
||||||
+------------+------------+---------------------------------------------------+
|
+------------+------------+---------------------------------------------------+
|
||||||
| failed | crashed | Something went wrong while launching verification.|
|
| failed | crashed | Something went wrong while launching verification.|
|
||||||
+------------+------------+---------------------------------------------------+
|
+------------+------------+---------------------------------------------------+
|
||||||
|
|
||||||
Latest information about verification statuses you can find at
|
The latest information about verification statuses you can find at
|
||||||
:ref:`verification_statuses`.
|
:ref:`verification_statuses`.
|
||||||
|
|
||||||
Command Line Interface
|
Command Line Interface
|
||||||
@ -102,7 +103,7 @@ Command for Rally 0.8.0:
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ rally verify create-verifier --type "tempest" --source <url> \
|
$ rally verify create-verifier --type "tempest" --source <url> \
|
||||||
--version <version> --system-wide
|
--version <version> --system-wide --name <name>
|
||||||
|
|
||||||
Here you can find several important improvements:
|
Here you can find several important improvements:
|
||||||
|
|
||||||
@ -341,7 +342,7 @@ Changes:
|
|||||||
|
|
||||||
We do not have a separate command for that task.
|
We do not have a separate command for that task.
|
||||||
``rally verify configure-verifier --show`` shows an existing configuration
|
``rally verify configure-verifier --show`` shows an existing configuration
|
||||||
(if it exists) in case of not specified ``--reconfigure`` argument.
|
(if it exists) if ``--reconfigure`` argument is not specified.
|
||||||
|
|
||||||
Running verification
|
Running verification
|
||||||
""""""""""""""""""""
|
""""""""""""""""""""
|
||||||
@ -362,7 +363,7 @@ Command for Rally 0.8.0:
|
|||||||
|
|
||||||
$ rally verify start --id <id> --deployment-id <uuid> --pattern <pattern> \
|
$ rally verify start --id <id> --deployment-id <uuid> --pattern <pattern> \
|
||||||
--load-list <path> --skip-list <path> --xfail-list <path> \
|
--load-list <path> --skip-list <path> --xfail-list <path> \
|
||||||
--concurrency <N> --no-use
|
--concurrency <N> --no-use --detailed
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
|
|
||||||
@ -370,11 +371,11 @@ Changes:
|
|||||||
|
|
||||||
2) Arguments ``--set`` and ``--regex`` are merged in the new model to single
|
2) Arguments ``--set`` and ``--regex`` are merged in the new model to single
|
||||||
``--pattern`` argument. Name of tests set should be specified like
|
``--pattern`` argument. Name of tests set should be specified like
|
||||||
``--pattern set_name=<set_name>``. It was done to provide a way for each
|
``--pattern set=<set_name>``. It was done to provide a way for each
|
||||||
verifier to support custom arguments.
|
verifier to support custom arguments.
|
||||||
|
|
||||||
3) The argument ``--tests-file`` was deprecated in Rally 0.6.0 and
|
3) The argument ``--tests-file`` was deprecated in Rally 0.6.0 and
|
||||||
time&ability come to delete it.
|
we are ready to remove it.
|
||||||
4) Arguments ``--skip-list`` and ``--xfail-list`` accept path to file in
|
4) Arguments ``--skip-list`` and ``--xfail-list`` accept path to file in
|
||||||
JSON/YAML format. Content should be a dictionary, where keys are tests
|
JSON/YAML format. Content should be a dictionary, where keys are tests
|
||||||
names (full name with id and tags) and values are reasons.
|
names (full name with id and tags) and values are reasons.
|
||||||
@ -382,6 +383,8 @@ Changes:
|
|||||||
``rally verify configure-verifier --id <id> --deployment-id <uuid>
|
``rally verify configure-verifier --id <id> --deployment-id <uuid>
|
||||||
--override <path>`` instead.
|
--override <path>`` instead.
|
||||||
6) The argument ``--system-wide`` is gone like in most of other commands.
|
6) The argument ``--system-wide`` is gone like in most of other commands.
|
||||||
|
7) In case of specified ``--detailed`` arguments, traces of failed tests will
|
||||||
|
be displayed (default behaviour in old verification design)
|
||||||
|
|
||||||
Show verification result
|
Show verification result
|
||||||
""""""""""""""""""""""""
|
""""""""""""""""""""""""
|
||||||
@ -395,7 +398,7 @@ Commands for Rally 0.7.0:
|
|||||||
|
|
||||||
$ rally verify show --uuid <uuid> --sort-by <query> --detailed
|
$ rally verify show --uuid <uuid> --sort-by <query> --detailed
|
||||||
|
|
||||||
* Separate command witch call ``rally verify show`` with hardcoded
|
* Separate command which calls ``rally verify show`` with hardcoded
|
||||||
``--detailed`` flag `rally verify showconfig
|
``--detailed`` flag `rally verify showconfig
|
||||||
<http://rally.readthedocs.io/en/0.7.0/cli/cli_reference.html#rally-verify-detailed>`_
|
<http://rally.readthedocs.io/en/0.7.0/cli/cli_reference.html#rally-verify-detailed>`_
|
||||||
|
|
||||||
@ -434,7 +437,7 @@ Command for Rally 0.8.0:
|
|||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
|
|
||||||
You can filter verifications by verifiers, by deployments and by results
|
You can filter verifications by verifiers, by deployments and results
|
||||||
statuses.
|
statuses.
|
||||||
|
|
||||||
Importing results
|
Importing results
|
||||||
@ -451,7 +454,7 @@ Command for Rally 0.8.0:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ rally verify import --id <id> --deployment <uuid> --file <path> \
|
$ rally verify import --id <id> --deployment-id <uuid> --file <path> \
|
||||||
--run-args <run_args> --no-use
|
--run-args <run_args> --no-use
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
@ -495,12 +498,15 @@ Changes:
|
|||||||
2) The argument ``--type`` expects type of report (HTML/JSON). There are no
|
2) The argument ``--type`` expects type of report (HTML/JSON). There are no
|
||||||
more separate arguments for each report type.
|
more separate arguments for each report type.
|
||||||
|
|
||||||
|
.. hint:: You can list all supported types, executing ``rally plugin list
|
||||||
|
--plugin-base VerificationReporter`` command.
|
||||||
|
|
||||||
3) Reports are not aligned to only local types, so the argument ``--to``
|
3) Reports are not aligned to only local types, so the argument ``--to``
|
||||||
replaces ``--output-file``. In case of HTML/JSON reports, it can include a
|
replaces ``--output-file``. In case of HTML/JSON reports, it can include a
|
||||||
path to the local file like it was previously or URL to some external system
|
path to the local file like it was previously or URL to some external system
|
||||||
with credentials like ``https://username:password@example.com:777``.
|
with credentials like ``https://username:password@example.com:777``.
|
||||||
|
|
||||||
4) The comparison is embedded into main reports and it is now limited by two
|
4) The comparison is embedded into main reports and it is not limited by two
|
||||||
verifications results. There are no reasons for the separate command for
|
verifications results. There are no reasons for the separate command for
|
||||||
that task.
|
that task.
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ What is Verification Component and why do you need it?
|
|||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
|
|
||||||
The primary goal of Rally Product is to provide a simple way to do complex
|
The primary goal of Rally Product is to provide a simple way to do complex
|
||||||
things. As for functional testing, Verification component includes interfaces
|
things. As for functional testing, Verification Component includes interfaces
|
||||||
for:
|
for:
|
||||||
|
|
||||||
* **Managing things**. Create an isolated virtual environment and install
|
* **Managing things**. Create an isolated virtual environment and install
|
||||||
@ -43,7 +43,7 @@ for:
|
|||||||
automatically.
|
automatically.
|
||||||
* **Launching verifiers**. Launchers of specific tools don't always contain all
|
* **Launching verifiers**. Launchers of specific tools don't always contain all
|
||||||
required features, Rally team tries to fix this omission. Verification
|
required features, Rally team tries to fix this omission. Verification
|
||||||
Component support some of them like expected failures, the list of tests to
|
Component supports some of them like expected failures, a list of tests to
|
||||||
skip, a list of tests to launch, re-running previous verification or just
|
skip, a list of tests to launch, re-running previous verification or just
|
||||||
failed tests from it and so on. Btw, all verification runs arguments are
|
failed tests from it and so on. Btw, all verification runs arguments are
|
||||||
stored in the database.
|
stored in the database.
|
||||||
|
@ -21,7 +21,7 @@ Rally stores all verifications results in its DataBase so that you can access
|
|||||||
and process results at any time. No matter what verifier you use, results will
|
and process results at any time. No matter what verifier you use, results will
|
||||||
be stored in a unified way and reports will be unified too.
|
be stored in a unified way and reports will be unified too.
|
||||||
|
|
||||||
Out of the box, we support several types of reports out of the
|
We support several types of reports out of the
|
||||||
box: :include-var:`rally.cli.commands.verify.DEFAULT_REPORT_TYPES`; but our
|
box: :include-var:`rally.cli.commands.verify.DEFAULT_REPORT_TYPES`; but our
|
||||||
reporting system is pluggable so that you can write your own plugin to build
|
reporting system is pluggable so that you can write your own plugin to build
|
||||||
some specific reports or to export results to the specific system (see
|
some specific reports or to export results to the specific system (see
|
||||||
@ -68,12 +68,12 @@ one of the next colours:
|
|||||||
like failure
|
like failure
|
||||||
* *Green* - Everything is ok. The test succeeded.
|
* *Green* - Everything is ok. The test succeeded.
|
||||||
* *Yellow* - It is "expected failure".
|
* *Yellow* - It is "expected failure".
|
||||||
* *Light Blue* - Test is skipped. It is nor good neither bad.
|
* *Light Blue* - Test is skipped. It is not good and not bad
|
||||||
|
|
||||||
Several verifications comparison is a default embedded behaviour of reports.
|
Several verifications comparison is a default embedded behaviour of reports.
|
||||||
The difference between verifications is displayed in brackets after actual
|
The difference between verifications is displayed in brackets after actual
|
||||||
test duration. Sign **+** means that current result is bigger that standard by
|
test duration. Sign **+** means that current result is bigger that standard by
|
||||||
the number going after the sign. Sign **-** is an opposite to **-**. Please,
|
the number going after the sign. Sign **-** is an opposite to **+**. Please,
|
||||||
note that all diffs are comparisons with the first verification in a row.
|
note that all diffs are comparisons with the first verification in a row.
|
||||||
|
|
||||||
Filtering results
|
Filtering results
|
||||||
@ -102,11 +102,14 @@ Tracebacks & Reasons
|
|||||||
Tests with "failed" and "expected failure" statuses have tracebacks of
|
Tests with "failed" and "expected failure" statuses have tracebacks of
|
||||||
failures. Tests with "skipped", "expected failure", "unexpected success" status
|
failures. Tests with "skipped", "expected failure", "unexpected success" status
|
||||||
has "reason" of events. By default, both tracebacks and reasons are hidden,
|
has "reason" of events. By default, both tracebacks and reasons are hidden,
|
||||||
but you can show them by clicking to the appropriate test.
|
but you can show them by clicking on the appropriate test.
|
||||||
|
|
||||||
.. image:: ../images/Report-Verify-tracebacks.png
|
.. image:: ../images/Report-Verify-tracebacks.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
|
.. image:: ../images/Report-Verify-xfail.png
|
||||||
|
:align: center
|
||||||
|
|
||||||
Plugins Reference for all out-of-the-box reporters
|
Plugins Reference for all out-of-the-box reporters
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
|
@ -67,8 +67,8 @@ class TempestManager(testr.TestrLauncher):
|
|||||||
first release after Verification Component redesign)*
|
first release after Verification Component redesign)*
|
||||||
"""
|
"""
|
||||||
|
|
||||||
RUN_ARGS = {"set_name": "Name of predefined sets of tests. Known names: "
|
RUN_ARGS = {"set": "Name of predefined sets of tests. Known names: %s"
|
||||||
"%s" % ", ".join(AVAILABLE_SETS)}
|
% ", ".join(AVAILABLE_SETS)}
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def run_environ(self):
|
def run_environ(self):
|
||||||
|
@ -292,7 +292,7 @@ class VerifierManager(plugin.Plugin):
|
|||||||
def override_configuration(self, new_configuration):
|
def override_configuration(self, new_configuration):
|
||||||
"""Override verifier configuration
|
"""Override verifier configuration
|
||||||
|
|
||||||
:param new_configuration: Content which should ve used while overriding
|
:param new_configuration: Content which should be used while overriding
|
||||||
existing configuration
|
existing configuration
|
||||||
:raises NotImplementedError: this feature is verifier-specific, so you
|
:raises NotImplementedError: this feature is verifier-specific, so you
|
||||||
should override this method in your plugin if it supports
|
should override this method in your plugin if it supports
|
||||||
|
Loading…
Reference in New Issue
Block a user