Statistics
| Branch: | Tag: | Revision:

root / qa @ a07ae57f

Name Size
__init__.py 810 Bytes
colors.py 2.5 kB
ganeti-qa.py 33 kB
qa-patch.json 3 Bytes
qa-sample.json 7.2 kB
qa_cluster.py 50.2 kB
qa_config.py 20.9 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 50.1 kB
qa_instance_utils.py 6.7 kB
qa_iptables.py 3 kB
qa_job.py 4.5 kB
qa_job_utils.py 10.4 kB
qa_monitoring.py 1.8 kB
qa_network.py 3.1 kB
qa_node.py 15.8 kB
qa_os.py 6.9 kB
qa_rapi.py 28.9 kB
qa_tags.py 2.1 kB
qa_utils.py 26.2 kB
rapi-workload.py 35.3 kB

Latest revisions

# Date Author Comment
a07ae57f 03/11/2014 05:09 pm Jose A. Lopes

Extend QA with OS image

Extend QA with OS image tests for instance reinstall and instance
modify.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

9558c2a4 03/07/2014 02:16 pm Hrvoje Ribicic

Clean up RunWithLocks

This patch cleans RunWithLocks up a little bit by reducing the number
of delay function terminations, and using the QAThread class to ensure
exceptions are thrown at the right time and in the right place.

Signed-off-by: Hrvoje Ribicic <>...

e677d5e8 03/07/2014 02:16 pm Hrvoje Ribicic

Add an exception-trapping thread class

To have better control over threads, this patch adds a helper Thread
subclass which captures any exceptions occurring for later use.

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

fbab1c76 03/07/2014 02:16 pm Hrvoje Ribicic

Wait for delay to provide interruption information

The RunWithLocks test assumed that gnt-debug delay would have the info
needed for interruption ready immediately after being run, and in some
situations this is not the case. This patch makes the test more patient...

57efdaf5 03/05/2014 11:21 am Hrvoje Ribicic

Add an expected block option to RunWithLocks

To compensate for the cases where a QA test is supposed to block when
a lock is present, add an additional option showing whether blocking is
supposed to happen or not.

Signed-off-by: Hrvoje Ribicic <>...

34c5ec6c 03/05/2014 11:21 am Hrvoje Ribicic

Track if a QA test was blocked by locks

This patch adds threading to the RunWithTests function, allowing one
thread to execute the QA test, and the other to monitor if it is being
blocked by locks set up during the test. If it is, terminate the
blocking job, and let the QA continue, reporting the test failure at...

ffafdcf6 03/05/2014 11:21 am Hrvoje Ribicic

Add option to turn off command logging to GetCommandOutput

The command logging performed by GetCommandOutput can be distracting
and unwelcome. This patch adds a switch allowing the command output to
be muted as needed.

Signed-off-by: Hrvoje Ribicic <>...

1de1cd0c 03/05/2014 11:21 am Hrvoje Ribicic

Add an option for disabling the SSH multiplexer in QA

The SSH multiplexer is used by default in every connection made, and
when multiple threads are used, this causes strange issues when running
the QA locally. This patch allows the multiplexer to be bypassed,...

343c9ed2 03/05/2014 11:21 am Hrvoje Ribicic

Add a RunWithLocks QA utility function

This patch adds a QA utility function that acquires a set of locks, and
attempts to run a given function with the locks in place. Should the
given function block, this function does not detect this - later
patches will address the issue....

6b924ca3 03/05/2014 11:21 am Hrvoje Ribicic

Sort imports in qa_rapi.py

This patch sorts the imports of qa_rapi.py to make things a little bit
more orderly.

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

View revisions

Also available in: Atom