Statistics
| Branch: | Tag: | Revision:

root / qa @ 428a794b

Name Size
  patch
__init__.py 810 Bytes
ganeti-qa.py 31.4 kB
qa-patch.json 3 Bytes
qa-sample.json 6.5 kB
qa_cluster.py 42.2 kB
qa_config.py 23.6 kB
qa_daemon.py 4.1 kB
qa_env.py 2.3 kB
qa_error.py 1 kB
qa_group.py 10 kB
qa_instance.py 39.5 kB
qa_instance_utils.py 6.7 kB
qa_job.py 4.3 kB
qa_job_utils.py 10.6 kB
qa_logging.py 1.8 kB
qa_monitoring.py 1.8 kB
qa_network.py 2.7 kB
qa_node.py 16.7 kB
qa_os.py 6.9 kB
qa_rapi.py 31.3 kB
qa_tags.py 2.1 kB
qa_utils.py 24.3 kB

Latest revisions

# Date Author Comment
e9ba7edf 04/23/2014 12:11 pm Thomas Thrainer

Fix lint errors introduced during cherry-pick

Calm a few lint errors introduced during cherry-picking code in
qa_job_utils.py. The fixes were intentionally made in a way which should
produce merge conflicts later on, so it's not forgotten to undo them.

Signed-off-by: Thomas Thrainer <>...

73b8f8e1 04/17/2014 12:38 pm Thomas Thrainer

Fix invocation of GetCommandOutput in QA

The cherry-picked function _GetOutputFromMaster() calls
GetCommandOutput() with parameters only present in newer Ganeti
branches. Remove those parameters as they cause errors in stable-2.10.

Signed-off-by: Thomas Thrainer <>...

b63453e9 04/17/2014 10:12 am Thomas Thrainer

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 <>...

1d523139 04/17/2014 10:12 am Thomas Thrainer

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 <>...

27aa899e 04/17/2014 10:12 am Thomas Thrainer

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...

8c975d5e 04/17/2014 10:12 am Thomas Thrainer

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 <>...

1e00b69b 04/17/2014 10:12 am Thomas Thrainer

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...

9e89cf3c 04/17/2014 10:11 am Thomas Thrainer

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....

dfd6e56b 04/08/2014 02:16 pm Hrvoje Ribicic

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Allow QA asserts to produce more messages
    Add messages about skipped QA disk template tests
    Fix list-drbd QA test
    Update installation guide wrt to DRBD version
    Update NEWS for 2.9.6
    Revision bump for 2.9.6...
9ef2914f 04/04/2014 12:11 pm Hrvoje Ribicic

Fix list-drbd QA test

The list-drbd QA test assumed falsely that no instance has more than
one disk. This can happen, and this patch accounts for it.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Klaus Aehlig <>

View revisions

Also available in: Atom