Comment 1 for bug 1911997

Revision history for this message
Al Bailey (albailey1974) wrote :

The three tox unit tests that are failing are tests that invoke the device_images API and attempt to write to that folder.

The easiest way to reproduce this problem is to make an in-accessible (000 permissions) /tmp/device_images folder, and then run tox for sysinv for the tests that fail (tests.api.test_device_image)

mkdir /tmp/device_images
chmod 000 /tmp/device_images

cd $MY_REPO/stx/config/sysinv/sysinv/sysinv/
tox -e py27 -- tests.api.test_device_image

These are the three tests that fail:
 tests.api.test_device_image.TestPostDeviceImage.test_create_revoke_key_image
 tests.api.test_device_image.TestPostDeviceImage.test_create_root_key_image
 tests.api.test_device_image.TestPostDeviceImage.test_create_functional_image