Kill 'clic' from dockertest/images & container

*  Neither of these subclasses is a true external-interface
   extension and will lead to combersome interface in the
   future.  Since it's used by only a single test, just
   move it there.

*  Found docker 0.9.1 changes formatting of 'ps -a' output
   for STATUS.  Updated containers module to account for this,
   added some debugging.

*  Found docker 0.9.1 changes content of STATUS column causing
   ps test to incorrectly fail.  Updated checks to account for
   both 'old way' and 'new way'

*  Fixed up unittests

*  Added TODO's to fix this missing functionality in more
   general way later.

*  Double-checked there are no references in docs

Signed-off-by: Chris Evich <cevich@redhat.com>
docker: Adds docker run tests.

run interactive & disconnect, attach to stdin/stdout/stderr.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
docker libs: Fix container kill command, force to AsyncJob close fds.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest.output: Fix OutputGood No Details bug

https://github.com/autotest/autotest-docker/issues/64

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests..run_twice: Add run container twice test

Signed-off-by: Ouyang Guohua <gouyang@redhat.com>
docker: Implement rm and some + fix codestyle + subtest

Subtest:
  Make cleanup function more verbose.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
Add/Fix configurable case name generation

*  As of docker-io 0.91 upper-case image names are rejected
   for some reason.  Several tests each implement their own
   image-name generation which results in mixed-case names.

*  Add a get_unique_name() method to images module, with attribute
   to force lower-case names (defaults to True).

*  Update all existing tests that frequently cause failures on
   image naming.

*  Left one of the "tag" sub-sbutests failing so this problem is
   overlooked.  If lower-only is a legit requirement, then
   the adjust ``gen_lower_only`` config option.

https://github.com/autotest/autotest-docker/issues/54

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

squash! 246963aed930268138342084a6231a3dfbfd2a8d

Signed-off-by: Chris Evich <cevich@redhat.com>
Merge branch 'start3' of https://github.com/jzupka/autotest-docker into integration

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

Conflicts:
	config_defaults/subtests/docker_cli/start.ini
	subtests/docker_cli/start/start.py
subtests...insert: fix cleanup() bug

Signed-off-by: Chris Evich <cevich@redhat.com>
Merge branch 'move_check' of https://github.com/cevich/autotest-docker into integration

Conflicts:
	dockertest/containers.py
	subtests/docker_cli/psa/psa.py
subtests...psa: Fix use of non-working signal

SIGUSR isn't handled uniformly by docker and this test isn't
about signals.  Switch to the 'ole reliable SIGUSR1 and
leave the signal testing to more appropriate tests.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests.docker_cli.kill: Fix indentation which causes false-positive

The else was missaligned to another branch causing fals-positive results

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
index.rst: Update the docs for the stop test

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>

Conflicts:
	index.rst
Docker: Version check autotest before run subtests

Signed-off-by: Chris Evich <cevich@redhat.com>
Merge branch 'tag2' of https://github.com/jzupka/autotest-docker into integration

Conflicts:
	dockertest/containers.py
Merge branch 'integration' into docker_0.6.1