From 57c148caae557acdae4aa31ce348d2fcc94c764e Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Thu, 13 Aug 2020 14:34:24 -0400 Subject: [PATCH] Add mention of cleanup failures on multihost tests --- docs/developers/tests.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/developers/tests.md b/docs/developers/tests.md index 2b5f812..2a8afb4 100644 --- a/docs/developers/tests.md +++ b/docs/developers/tests.md @@ -210,6 +210,20 @@ Now we can finally move on to running the test\!. Navigate to the `src/tests/mul You can also add the `-v` switch to `py.test` to see more debug messages, including the commands that are executed on the test VM. +When running multihost tests, you may see the following error: + + sssd.testlib.common.exceptions.DirSrvException: fail to setup Directory Server instance + +The test setup code automatically sets up a directory server instance, but if the test +cleanup code does not execute cleanly, or fully, then some manual cleanup is needed on +the non-controller system(s). + + remove-ds.pl -i slapd-example-1 + +And possibly + + kdb5_util destroy -f EXAMPLE.TEST + #### Shortening the development loop As you may have noticed, the tests run whatever packages the VM can install from its repositories. This is fine for testing of stable distributions or for usage from a CI engine, where the packages can be fetched from e.g. a COPR repository.