cinder/cinder/tests/unit
Sean McGinnis 78f17f0ad7 Limit memory & CPU when running qemu-img info
It was found that a modified or corrupted image file can cause a DoS
on the host when getting image info with qemu-img.

This uses the newer 'prlimit' parameter for oslo.concurrency execute
to set an address space limit of 1GB and CPU time limit of 2 seconds
when running the qemu-img info command.

Change-Id: If5b7129b266ef065642bc7898ce9dcf93722a053
Closes-bug: #1449062
2016-09-22 15:31:37 -05:00
..
api Add snapshot id validation during volume creation 2016-09-22 15:05:10 +03:00
backup Merge "Merge two fake drivers into the one FakeLoggingVolumeDriver" 2016-09-18 14:42:45 +00:00
brick Remove race condition from lvextend 2016-08-01 20:26:14 +00:00
compute Fix the interface to call update_server_volume 2016-08-18 11:45:47 +08:00
consistencygroup Merge "Clean import in code" 2016-08-30 17:18:42 +00:00
db Remove unused source file tests/unit/db/fakes.py 2016-08-31 10:32:05 +07:00
glance Added more options while uploading volume as image 2016-03-23 18:55:53 +00:00
group Merge "Add functional tests for groups" 2016-09-21 19:00:43 +00:00
image Merge "Stop using mox from unit/image/*.py" 2016-08-29 18:51:38 +00:00
keymgr Replace key manager with Castellan 2016-08-29 10:19:10 +08:00
message Add pagination support to messages 2016-05-27 10:49:00 +00:00
monkey_patch_example
objects Merge "Fix coerce good values in test_fields.py" 2016-09-14 04:23:35 +00:00
scheduler Merge "Fix creating typeless volumes with Mitaka's c-sch" 2016-09-20 17:42:01 +00:00
targets Do not conjecture volume-id from iscsi_name 2016-07-08 01:36:06 -04:00
volume Merge "Dell SC: Error attaching after LV-AFO" 2016-09-22 19:52:10 +00:00
windows Use versionedobjects in remotefs.py 2016-06-15 07:59:30 +00:00
zonemanager Add supported driver checks to Zone Manager 2016-09-01 15:45:42 -07:00
__init__.py Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
cast_as_call.py
conf_fixture.py Merge two fake drivers into the one FakeLoggingVolumeDriver 2016-09-09 14:37:21 +00:00
fake_cluster.py Update Versioned Objects with Cluster object 2016-07-22 21:00:08 +02:00
fake_constants.py Add group snapshots - db and objects 2016-07-18 22:19:10 -04:00
fake_group.py Add group type and group specs 2016-07-08 14:26:39 -04:00
fake_notifier.py Stop using mox in unit/*.py tests (1/2) 2016-08-30 15:20:40 +07:00
fake_objects.py Use manifest to backport OVOs during upgrades 2016-06-12 13:49:01 +02:00
fake_service.py Update manage with cluster related commands 2016-07-22 21:00:12 +02:00
fake_snapshot.py Add SnapshotStatus enum field 2016-05-19 15:16:18 -05:00
fake_utils.py Remove unused function from unit/fake_utils.py 2016-08-30 15:09:58 +07:00
fake_volume.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
policy.json Merge "Separate create and update rules for volume metadata" 2016-08-29 04:39:39 +00:00
test_api.py
test_api_urlmap.py Replace use of mox with mock in test_api_urlmap 2016-07-01 17:17:44 +03:00
test_cmd.py Remove unnecessary setUp and tearDown 2016-09-20 11:45:04 +08:00
test_context.py Use context.from_dict to determine available arguments 2016-07-12 13:38:55 +10:00
test_coordination.py Start/Stop coordinator with Volume service 2016-06-13 16:20:03 -05:00
test_coprhd.py Merge "CoprHD: Handle create volume from CG snapshot error" 2016-08-31 14:04:54 +00:00
test_db_api.py Add worker's DB operations 2016-07-22 21:00:12 +02:00
test_db_worker_api.py Add worker's DB operations 2016-07-22 21:00:12 +02:00
test_dothill.py
test_evaluator.py
test_exception.py Remove cinder/tests/unit/test_misc.py 2016-08-31 17:00:58 +03:00
test_falconstor_fss.py Remove unnecessary setUp and tearDown 2016-09-20 11:45:04 +08:00
test_fixtures.py Copy unit tests for StandardLogging fixture from Nova 2016-03-01 09:44:22 -05:00
test_hacking.py Revert "Add hacking check to prevent assert_called_once" 2016-05-24 12:36:22 -04:00
test_image_utils.py Limit memory & CPU when running qemu-img info 2016-09-22 15:31:37 -05:00
test_migrations.py Add workers table 2016-07-22 21:00:12 +02:00
test_nexenta_edge_nbd.py Nexenta: Added use of sessions for NexentaEdge drivers 2016-09-06 07:15:30 -06:00
test_qos_specs.py Stop using mox in unit/*.py (2/2) 2016-09-19 14:40:04 +07:00
test_quota.py Stop using mox in unit/*.py (2/2) 2016-09-19 14:40:04 +07:00
test_quota_utils.py Don't apply config fixture to auth_token.CONF 2016-07-11 12:53:34 +10:00
test_rpc.py Cleanup upgrade-related FIXME's 2016-08-23 09:48:34 +02:00
test_service.py Merge "Added config option to enable SSL" 2016-09-15 02:01:23 +00:00
test_ssh_utils.py Merge "Change assertTrue(isinstance()) with optimal assert" 2016-08-30 13:13:54 +00:00
test_synology_common.py Remove unnecessary setUp and tearDown 2016-09-20 11:45:04 +08:00
test_synology_iscsi.py Remove unnecessary setUp and tearDown 2016-09-20 11:45:04 +08:00
test_test.py Updated unit tests to use official unittest methods 2016-06-29 21:49:50 +00:00
test_test_utils.py
test_utils.py Remove unnecessary setUp and tearDown 2016-09-20 11:45:04 +08:00
test_v7000_iscsi.py Remove unnecessary setUp and tearDown 2016-09-20 11:45:04 +08:00
test_volume.py Merge "Add functional tests for groups" 2016-09-21 19:00:43 +00:00
test_volume_configuration.py
test_volume_glance_metadata.py Tests: Define fake_constants as constants 2016-04-12 16:56:19 -04:00
test_volume_rpcapi.py Add volume RPC API v3.0 2016-09-15 15:02:01 +02:00
test_volume_throttling.py Cleanup unused conf variables 2016-02-16 11:26:06 +11:00
test_volume_transfer.py check quota per_volume_gigabytes for transfer-accept 2016-09-02 03:13:25 +00:00
test_volume_types.py Retype encrypted volumes 2016-08-30 21:11:18 +08:00
test_volume_types_extra_specs.py
test_volume_utils.py Fix exceed of dd action when copying with path 2016-09-01 14:48:50 +02:00
test_zadara.py Add backend driver for Zadara Storage VPSA 2016-07-08 18:30:02 +00:00
test_zte_ks.py Remove unnecessary setUp and tearDown 2016-09-20 11:45:04 +08:00
utils.py Add backup update function (microversion) 2016-07-28 09:57:25 +00:00