Docker: Minoir Update 0.5.3 (no API changes)

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests..stop: Buletproof and simplify the stop test

Signed-off-by: Lukáš Doktor <ldoktor@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>
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
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.docker_cli: Add the docker kill test

This test compounds of 6 subtests. See the details in test docstrings.
Please note that most of them are failing, the bugs are commented in
TODO notes and will be fixed in case of correct behavior.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
subtests.docker_cli.stop: Pep8/pylint fixes

Signed-off-by: Lukáš Doktor <ldoktor@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>