Add image configuration tests 59/23059/10
authorMichal Witanowski <m.witanowski@samsung.com>
Wed, 11 Jun 2014 09:36:00 +0000 (11:36 +0200)
committerMichal Witanowski <m.witanowski@samsung.com>
Thu, 10 Jul 2014 12:22:36 +0000 (14:22 +0200)
commita5da8114776cc08b5efa02e35b0ab39f64e81d7a
treec1bd6da682f3a40fc08db99fc199d59bcb858f66
parent796c23b2ce7b8003ee28044a009523ab76255eb9
Add image configuration tests

[Bug/Feature]  Integration tests verifying containers' images
               completeness. If the tests fail, the containers will
               most probably not run under SCS.
               The following elements are checked:
                * existence of "security-containers" user with UID
                  of 377
                * existence and correctness of dbus configuration
                  ("security-containers" should be allowed to use
                   "org.tizen.containers.domain" socket)
               The names and paths to the containers' root file
               systems are extracted from SCS daemon and libvirt
               configs (/etc/security-containers/).
[Cause]        N/A
[Solution]     N/A
[Verification] Build, install, run tests (sc_int_tests.py). Check
               various scenarios: remove or corrupt dbus config
               (etc/dbus-1/system.d/org.tizen.containers.domain.conf)
               or libvirt's XML config, remove "security-containers"
               user inside a container, change it's UID, etc.

Change-Id: I69782f348ecb1c6b63a60286a3a8ee4ae3f8465b
Signed-off-by: Michal Witanowski <m.witanowski@samsung.com>
tests/integration_tests/CMakeLists.txt
tests/integration_tests/__init__.py
tests/integration_tests/common/sc_test_utils.py
tests/integration_tests/image_tests/CMakeLists.txt [new file with mode: 0644]
tests/integration_tests/image_tests/__init__.py [new file with mode: 0644]
tests/integration_tests/image_tests/config_checker.py [new file with mode: 0644]
tests/integration_tests/image_tests/image_tests.py [new file with mode: 0644]
tests/integration_tests/sc_int_tests.py