Statistics
| Branch: | Tag: | Revision:

root / qa @ e86c9deb

Name Size
__init__.py 810 Bytes
colors.py 2.5 kB
ganeti-qa.py 33.1 kB
qa-patch.json 3 Bytes
qa-sample.json 7.1 kB
qa_cluster.py 43.7 kB
qa_config.py 20.1 kB
qa_daemon.py 4.1 kB
qa_env.py 2.3 kB
qa_error.py 1 kB
qa_group.py 12.1 kB
qa_instance.py 43.4 kB
qa_instance_utils.py 6.7 kB
qa_iptables.py 3 kB
qa_job.py 1.1 kB
qa_monitoring.py 1.8 kB
qa_network.py 2.8 kB
qa_node.py 15.8 kB
qa_os.py 6.9 kB
qa_rapi.py 24 kB
qa_tags.py 2 kB
qa_utils.py 25.3 kB

Latest revisions

# Date Author Comment
86a4a625 11/26/2013 06:34 pm Helga Velroyen

Use the generic query field test for network QA

Instead of just using sporadic 'gnt-network list' commands,
use the more exhaustive generic query test functions for
list and list-fields.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Hrvoje Ribicic <>

689fb902 11/26/2013 02:13 pm Helga Velroyen

Add gnt-network list to network QA

The QA for networks so far did not cover network queries
and as such issues with those could not be discovered.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Hrvoje Ribicic <>

e5398c3a 11/22/2013 03:48 pm Petr Pudlak

Add patching QA configuration files on buildbots

In order to work, it is necessary:
  • Write a JSON Patch to file "qa/qa-patch.json" in a source repository.
    (And be careful not to commit it!) The file must conform to RFC6902
    and describes what changes should be done to the QA JSON...
a02dbfca 11/20/2013 05:05 pm Petr Pudlak

Add an IPv6 check for the QA test of custom SSH ports

If any of the nodes involved would be reached through IPv6, the test is
skipped. This is because the required testing setup using "iptables" is
suiteble only for IPv4 and doesn't work for IPv6 connections....

6c005975 11/18/2013 02:53 pm Petr Pudlak

Show running times of whole test blocks

Similarly to simple tests, test blocks are now demarcated (in boldface)
and measured.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Jose A. Lopes <>

2129c5ff 11/18/2013 02:53 pm Petr Pudlak

Add more color options to QA

Allow combination of colors, background colors, bold, reverse video,
etc.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Jose A. Lopes <>

1490a90c 11/18/2013 02:53 pm Petr Pudlak

Add more thorough check for terminal color support to QA

It uses `tput` to check if the current terminal has enough colors.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Jose A. Lopes <>

02911a56 11/14/2013 05:40 pm Petr Pudlak

Add a simple QA test for a group with a custom SSH port

The test is turned on by setting `"group-custom-ssh-port": true` in
the config.

Unlike `"ssh-port": ...` in "options", this is a single test that
doesn't affect the rest of the tests.

Signed-off-by: Petr Pudlak <>...

b337aeb4 11/14/2013 05:40 pm Petr Pudlak

Export `NodeAdd` and `NodeRemove` from qa_node

This is needed for testing SSH ports so that we can remove a node from
a group, add it to a group with a custom SSH port, and then undo the
change.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Hrvoje Ribicic <>

e44b72bb 11/14/2013 05:40 pm Petr Pudlak

Allow QA node acquisition and group creation using `with`

For acquiring nodes use `with AcquireManyNodes(num): ...`. The nodes
will be released automatically.
For creating a new group use `with NewGroupCtx() as group: ...`. The
group will be removed automatically....

View revisions

Also available in: Atom