Docker: Minoir Update 0.5.3 (no API changes)

Signed-off-by: Chris Evich <cevich@redhat.com>
Docker: Add environment check job between tests

* Generalizes output.OutputGoodBase into environment.AllGood

* Fixes up output.OutputGoodBase to use new general interface

* Preserves all existing interfaces

* Added standalone executable helper script that is able
  to send default configuration options through and execute
  any executable placed under the 'envchecks' subdirectory.

* Added envchecks/README explaining the (simple) requirements

* Added simple script to notify about unexpected images existing

* Updated control file to call run_envchecks.py script at the
  beginning and in-between every test.  Any negative results
  are reported, but non-fatal.

Signed-off-by: Chris Evich <cevich@redhat.com>
Docker: Segment subtest Init, add enable option

*  Broke down SubTest __init__ into individual
   private methods for each behavior segment
   to make it easier to read/debug.

*  Added ``enable`` configuration (on by
   option ("True" by default) to default
   config section.  Allows individual
   tests to be marked for skipping
   with or without using ``--args``
   csv list.

*  Updated docs.

*  Bumped revision version to 0.5.3 (no interface
   changes)

Signed-off-by: Chris Evich <cevich@redhat.com>
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>
dockertest.containers: Add list_container_ids()

*  Mirrors similar method in images module,
   splats back a list of just long-ids

*  Added unittest

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

Signed-off-by: James Molet <jmolet@redhat.com>
Merge pull request #43 from cevich/docker_cp

subtests..cp: added cp test
Merge pull request #31 from cevich/debug

Add enable conf. option
fix dockerimport test fail by KeyError if docker-py

(github issue #30)

Signed-off-by: Chris Evich <cevich@redhat.com>
Merge pull request #44 from cevich/import_fix

fix dockerimport test fail by KeyError if docker-py
subtests.docker_cli: add "docker restart" test

The test tries to restart docker and checks the results.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
index.rst: Fix the two spaces between bullet and text

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
dockertest.xceptions: Inherit all docker exceptions from AutotestError

This is essentials for subSubCaller tests to distinguish between
unknown failure and know docker failure. (first one should fail the
test immediately, the second one should fail one subSubTest and
proceed with the next one.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
docker: Add commit with default command try to start container.

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

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

Signed-off-by: Chris Evich <cevich@redhat.com>
Docker: small environment cleanups

*  Updated documentation

*  Fixed a few docstrings / comment

Signed-off-by: Chris Evich <cevich@redhat.com>
Merge pull request #38 from cevich/check_environment

Docker: Add environment check job between tests
Merge pull request #42 from ldoktor/restart

subtests.docker_cli: add "docker restart" test
added insert test

Signed-off-by: James Molet <jmolet@redhat.com>