Merge pull request #413 from cevich/master

Fixs from 'merge #405 and #406'
subtests.docker_cli: Add run_ipc test

This test utilizes the '--ipc' feature of docker and uses SysV shm
to share data between various setups (host and guests).

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
subtests.docker_cli.run_ipc_mem: Make test thread-safe

Latest changes to SubSubtestCallerSimultaneous made test stages
non-atomic. Modify this test to lock critical sections and increase
timeouts.

The timeouts are shortened by `parent_subtest.adjust_timeout` to
(test_start_time + 9 minutes) - time.time() or 0.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
subtests.docker_cli.run_ipc_mem: Improve logging

Log only error message and let on the test developer/cleanup to log
the full output into debug.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Revert "dockertest: Removes circular deps on subtest"

This reverts commit f758f1a083fa49505c02a3fe0d51ed84add4b625.
subtestbase: Redo. useful changes

This partially re-applies f758f1a083fa49505c02a3fe0d51ed84add4b625
without the multiprocess / parallel behavior changes.

Signed-off-by: Chris Evich <cevich@redhat.com>
config: Copy prepdict once

The singleton's content and therefor prepdict content
should never change, only need to copy it one time.

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

Undo sub multi
Merge branch 'ipc' of https://github.com/ldoktor/autotest-docker into ldoktor-ipc
Revert "subtests.docker_cli.run_ipc_mem: Make test thread-safe"

This reverts commit 2323f03b4c9e25117d66ebf30ed7fd30540083f1.
Merge branch 'ldoktor-ipc'