Add negative-run test: invalid

* Added test
* Added test documentation

Signed-off-by: xhe <xhe@redhat.com>

* Fixed indentation, whitespace, pep8
* Reduce non-verbose output

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...build: Make more robust

*  Default to 64-bit busybox, support real URI's in config
*  Moved some include statements around
*  Added second '-' to '-rm' option
*  Added printing of build output

Note: This test will hang and timeout due to a bug in docker build
      when destination directory is a directory symlink.  See comment
      in source Dockerfile.

Signed-off-by: Chris Evich <cevich@redhat.com>
docker test: export import

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests...export_import: Generalize & Simplify

Signed-off-by: Chris Evich <cevich@redhat.com>
Dockertest.dockercmd: Improve exception message

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.dockercmd:  False-positive pylint

Signed-off-by: Chris Evich <cevich@redhat.com>
Docker: Allow disable individual sub-subtest

*  Changed config get_boolean() method to
   examine very specific/defined set of strings
   for conversion.

*  Only log subtest configuration options
   if there will be no sub-subtests running.
   Subsubtests inherit the subtest configuration
   and if need to examine separately, the
   keyval log shows them apart.

*  Added DockerSubSubtestNAError exception
   specific to sub-subtests.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.subtest: Resolve minor fixme

* Sometimes warnings aren't logged, make sure this
  one gets noticed.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.subtest: Allow subtest imports

Both Subtests and sub-subtests are treated more like
plugins than actual python modules.  However this
introduces the problem that they cannot import modules
from their own directory w/o outside help/hacks.

This change modifies the default/example control file
to inject the subtest's full path at the beginning of
the module search path.  Success or failure it also
takes care of removing this modification and alterting
checking if the subtest left any further modifications.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.output: Remove disused variable

Signed-off-by: Chris Evich <cevich@redhat.com>
Docker: Pylint cleanup: unused imports

*  Disabled a few messages that can safely be ignored

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests..run_simple: run_signal wait for start

It was sending signal to container before container
had started running.  Probably not a bug since docker
cannot detect when process is ready to receive signals
or not.

Signed-off-by: Chris Evich <cevich@redhat.com>