dockertest: Removes docker interfaces.

We was decided by long discusion that other interfacec like CLI
will not be used in docker test framework. Then they could
be removed.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: Cleanup dockercmd module.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Change old usage of docker interfaces to new version.

This patch is slightly mixed with
 "subtests: Fix no need parent_subtests any more."
however for it should be better for visibility of
important changes.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fix daemon tests to use interface without object container.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: Removes circular deps on subtest

Moves SubBase to separate module to avoid circular dependencies.
It allows subtest module use more free without circular dependencies
with other dockertest core modules.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: Move cmd status checker to output.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: Makes docker exception more pickle-able.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: Separate subsubtests more precisely to separate processes.

It allows much simpler subsubtests starting and configuration
moreover it allows simpler simultaneous run of subsubtests without
they influence in framework side. Other words it is only necessary
deal with collision of subsubtests in system env during simultaneous run.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fix cleanup functions.

Mainly fix tls tests special cleanup function which is used
because special behavior of cleanup is needed.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
containers: Squash out DockerContainersBase

W/o alternate interfaces, there's no need to maintain a semi-abstract
base class for DockerContainers.  Roll everything into one class and
update all documentation and unittests.

Signed-off-by: Chris Evich <cevich@redhat.com>
containers: Squash out DockerContainersBase

W/o alternate interfaces, there's no need to maintain a semi-abstract
base class for DockerImages.  Roll everything into one class and
update all documentation and unittests.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests: Fixes too early connect to incomplete container.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fixes event to new format of events msgs in docker.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Adds waiting loop for cidfile content in run_cidfile.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fixes dockerhelp command to be compatible with new docker ver.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fix negativeusage cleanup function.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Makes restart more verbose and fix cleanup due to new docker.

Signed-off-by: Jiří Župka <jzupka@redhat.com>