dockertest.images: Support 'None' value images

There's no practical reason why images w/o names but with
valid Id's should be treated specially.  It's a perfectly
acceptable intermediate state, but should not persist.
Added a test in env checks to verify this.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.images: Qualify nakid exception

A nakid ``except`` clause in the images module was hiding
the cause of a failure in the rmi test.  The most likely
exception to be thrown is a ``TypeError``, and so it was
specified.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.subtests: Ignore empty/missing log args

Subtests.log_xn annoyingly complaining about multi-line
messages that don't have any arguments.  Since this is
a perfectly valid usage, the method needs to test the
contents of args, and simply ignore it when empty.  If
it's a problem, it will be obvious by the '%X' (tokens)
appearing in the output, no need to fail a test for this.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...rmi: --run marked as deprecated

Docker client version 1.1.1 reports the --run argument to
the commit subcommand is deprecated.  Added version-check
to bypass processing this parameter in rmi test.

Added Fixme to track problem with missing symbol in Travis

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...insert: Test no longer valid

The insert subcommand was removed from docker CLI.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...inspect: Fix default configuration.

Key-name consistency bug has been fixed.

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

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...run_memory: Maintain test

*  Fixed missing raise statement for exception
*  Improve exception message w/ actual missing path
*  rewrote read_cgroup() -> cgroup_fullpath()
*  Replace check_cgroup_exist() with just os.path.exists() call.
*  Update all DockerCmd to pass SubSubtest instance.
*  Updated default configuration so test passes.
   (Made note of requested documentation update)

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...save_load: Update test

*  Fixed location of saved image to use the automaticly cleaned
   temporary directory.

*  Updated all DockerCmd calls to pass the SubSubtest instance
   as the first parameter.

*  Removed ``verbose=True`` in several places since this is the default.

*  Mark the container run during initialize for removal during cleanup.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...top: Simplify cleanup method

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...wait: Simplify failure messages

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests: fix dockerhelp test for docker 1.1.1.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: fix wait test for docker 1.1.1. makes it less trict

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: fix top test hidden problem in cleanup function.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: fix start tests new asynccmd interface.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtest: Makes rmi test more robust against cmdrestults problems.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtest: Fix DockerHelp test comaptibilty with docker 1.1.1

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtest: Fix docker commit test cleanup.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtest: Fix Network test container ip address detection.

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

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