forked from autotest/tp-libvirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnbdkit.cfg
More file actions
249 lines (248 loc) · 10.7 KB
/
nbdkit.cfg
File metadata and controls
249 lines (248 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
- nbdkit:
type = "nbdkit"
# Only keep one case for libnbd
vms = ''
variants:
- filter:
only source_none..dest_none
variants:
- stats:
variants:
- fd_leak:
version_required = "[nbdkit-server-1.16.2-1,)"
checkpoint = 'filter_stats_fd_leak'
- checkwrite:
version_required = "[nbdkit-server-1.30.8-1,)"
checkpoint = 'checkwrite'
- blocksize_policy:
version_required = "[nbdkit-server-1.30.8-1,)"
checkpoint = 'blocksize_policy'
- statsfile_option:
version_required = "[nbdkit-server-1.32.5-4,)"
checkpoint = 'statsfile_option'
- luks:
version_required = "[nbdkit-server-1.32.5-4,)"
checkpoint = 'test_luks_filter'
- rate:
version_required = "[nbdkit-server-1.32.5-4,)"
checkpoint = 'test_rate_filter'
- delay:
variants:
- delay_close_open_options:
version_required = "[nbdkit-server-1.26.3-4,)"
checkpoint = 'delay_close_delay_open_options'
- cow:
variants:
- cow_on_read_true:
version_required = "[nbdkit-server-1.26.3-1,)"
checkpoint = 'cow_on_read_true'
- cow_on_read_path:
version_required = "[nbdkit-server-1.26.3-1,)"
checkpoint = 'cow_on_read_path'
- cow_block_size:
version_required = "[nbdkit-server-1.28.3-1,)"
checkpoint = 'cow_block_size'
- reduce_verbosity_debugging:
version_required = "[nbdkit-server-1.26.3-1,)"
checkpoint = 'reduce_verbosity_debugging'
- cache:
variants:
- cache_on_read:
version_required = "[nbdkit-server-1.26.3-1,)"
checkpoint = 'cache_on_read'
- cache_min_block_size:
version_required = "[nbdkit-server-1.26.3-1,)"
checkpoint = 'cache_min_block_size'
- protect:
version_required = "[nbdkit-server-1.30.8-1,)"
checkpoint = 'test_protect_filter'
- ip:
variants:
- security_label:
version_required = "[nbdkit-server-1.36.1-1,)"
checkpoint = 'security_label'
- partition:
variants:
- partition_sectorsize:
sector_size = '512 4k'
version_required = "[nbdkit-server-1.36.2-1,)"
checkpoint = 'partition_sectorsize'
guest_images = 'SECTORSIZE_IMAGES_NFS_V2V_EXAMPLE'
- evil:
version_required = "[nbdkit-server-1.36.1-1,)"
option_evil = 'cosmic-rays stuck-bits stuck-wires'
option_evil_probability = '0.001 1e-6 1:1000000 3.33:100000 1%'
option_evil_seed = '0 1 10000000'
option_evil_stuck_probability = '0.01 0.5 1 20% 100%'
checkpoint = 'test_evil_filter'
- tar:
version_required = "[nbdkit-server-1.36.1-1,)"
option_tar_limit = '0 100K 100G'
option_tar_entry = '0 latest-rhel9.img fake-entry'
checkpoint = 'test_tar_filter'
- count:
version_required = "[nbdkit-1.46,)"
checkpoint = 'test_count_filter'
- plugin:
variants:
- file:
only source_none..dest_none
variants:
- fd_fddir:
version_required = "[nbdkit-server-1.34.1-1,)"
checkpoint = 'plugin_file_fd_fddir_option'
- vddk:
only source_none..dest_none
variants:
- filters_thread_model:
version_required = "[nbdkit-server-1.32.5-4,)"
filters = 'cow rate readahead scan readahead blocksize'
checkpoint = 'check_vddk_filters_thread_model'
- create_options_7:
vddk_libdir_src = 'MOUNT_SRC_VDDK70_LIB_DIR_V2V_EXAMPLE'
version_required = "[nbdkit-server-1.30.8-1,)"
# create_types: vmfs-thin and vmfs-sparse aren't supported
create_types = 'monolithic-sparse monolithic-flat split-sparse split-flat vmfs-flat stream-optimized'
create_adapter_types = 'ide scsi-buslogic scsi-lsilogic'
create_hwversions = 'workstation4 workstation5 workstation6 esx30 esx4x esx50 esx51 esx55 esx60 esx65 20'
checkpoint = 'check_vddk_create_options'
- create_options_8:
vddk_libdir_src = 'MOUNT_SRC_VDDK80_LIB_DIR_V2V_EXAMPLE'
version_required = "[nbdkit-server-1.38.0-1,)"
# create_types: vmfs-thin and vmfs-sparse aren't supported
create_types = 'monolithic-sparse monolithic-flat split-sparse split-flat vmfs-flat stream-optimized'
create_adapter_types = 'ide scsi-buslogic scsi-lsilogic'
create_hwversions = 'workstation4 workstation5 workstation6 esx30 esx4x esx50 esx51 esx55 esx60 esx65 20'
checkpoint = 'check_vddk_create_options'
- create_options_9:
vddk_libdir_src = 'MOUNT_SRC_VDDK90_LIB_DIR_V2V_EXAMPLE'
version_required = "[nbdkit-server-1.38.0-1,)"
# create_types: vmfs-thin and vmfs-sparse aren't supported
create_types = 'monolithic-sparse monolithic-flat split-sparse split-flat vmfs-flat stream-optimized'
create_adapter_types = 'ide scsi-buslogic scsi-lsilogic'
create_hwversions = 'workstation4 workstation5 workstation6 esx30 esx4x esx50 esx51 esx55 esx60 esx65 20'
checkpoint = 'check_vddk_create_options'
- ssh:
only source_xen..dest_none
xen_host_user = 'root'
xen_host_passwd = 'XEN_HOST_PASSWORD'
xen_host = XEN_HOST_IP
variants:
- create_options:
version_required = "[nbdkit-server-1.32.5-4,)"
checkpoint = 'test_ssh_create_option'
- ones:
only source_none..dest_none
variants:
- byte:
byte_size = '1 0xff 256'
version_required = "[nbdkit-server-1.36.1-1,)"
checkpoint = 'ones_byte'
- curl:
only source_none..dest_none
variants:
- time:
version_required = "[nbdkit-server-1.36.1-1,)"
checkpoint = 'check_curl_time_option'
external_image_url = EXTERNAL_IMAGE_FAKE_URL
- nbdcopy:
only source_none..dest_none
version_required = "[nbdkit-server-1.42.2-4,);[libnbd-1.22.2-2,)"
disk_path = DEFAULT_TEST_IMAGE
checkpoint = 'check_blkhash_option'
variants:
- blkhash:
variants:
- positive_test:
test_state= 'positive'
hash_option= 'md5/512k'
- negative_test:
test_state= 'negative'
hash_option= 'sha1/100k'
expected_warn_msg= 'nbdcopy: --blkhash is not a power of two: 100k'
- blocksize:
only source_none..dest_none
version_required = "[nbdkit-1.38.0-1,)"
variants:
- constraints:
checkpoint = "blocksize_constraints"
expected_fields = "block_size_preferred block_size_maximum block_size_minimum"
- run:
checkpoint = 'has_run_againt_vddk'
vpx_passwd_file = "/tmp/v2v_vpx_passwd"
variants:
- vddk7_0:
only source_esx.esx_70..dest_none
version_required = "[nbdkit-server-1.20.4-2,)"
main_vm = VM_NAME_ESX70_NBDKIT_V2V_EXAMPLE
- vddk8_0:
only source_esx.esx_80..dest_none
version_required = "[nbdkit-server-1.38.0-1,)"
main_vm = VM_NAME_ESX80_NBDKIT_V2V_EXAMPLE
- vddk9_0:
only source_esx.esx_90..dest_none
version_required = "[nbdkit-server-1.38.0-1,)"
main_vm = VM_NAME_ESX90_NBDKIT_V2V_EXAMPLE
variants:
- vpx:
vsphere_host = ${vpx_hostname}
vsphere_user = 'root'
vsphere_pwd = ${vpx_password}
variants:
- vddk_stats_1:
checkpoint = 'vddk_stats'
vddk_stats = 1
version_required = "[nbdkit-server-1.26.5-1,)"
- vddk_stats_0:
checkpoint = 'vddk_stats'
vddk_stats = 0
version_required = "[nbdkit-server-1.26.5-1,)"
- no_vddk_stats:
- datapath_controlpath:
checkpoint = 'backend_datapath_controlpath'
- scan_readahead_blocksize:
version_required = "[nbdkit-server-1.32.5-4,)"
checkpoint = 'scan_readahead_blocksize'
- delay_close_open_options:
version_required = "[nbdkit-server-1.26.3-4,)"
checkpoint = 'vddk_with_delay_close_open_option'
- esx:
vsphere_host = ${esx_hostname}
vsphere_user = 'root'
vsphere_pwd = ${esxi_password}
- memory:
only source_none..dest_none
variants:
- max_disk_size:
version_required = "[nbdkit-server-1.24.0-1,)"
checkpoint = 'memory_max_disk_size'
- data_corruption:
only source_none..dest_none
checkpoint = 'data_corruption'
- cve_2019_14850:
only source_none..dest_none
checkpoint = 'cve_2019_14850'
- enhance_python_error:
only source_none..dest_none
checkpoint = 'enhance_python_error'
- test_curl_multi_conn:
version_required = "[nbdkit-server-1.32.5-4,)"
only source_none..dest_none
checkpoint = 'test_curl_multi_conn'
- check_assertion_failure:
version_required = "[nbdkit-server-1.33.11-1,)"
only source_none..dest_none
checkpoint = 'check_assertion_failure'
- annocheck_test_nbdkit:
only source_none..dest_none
checkpoint = 'annocheck_test_nbdkit'
- cve_starttls:
only source_none..dest_none
checkpoint = 'cve_starttls'
version_required = "[nbdkit-1.26.5-1,nbdkit-1.45)"
- parameter:
only source_none..dest_none
variants:
- name:
version_required = "[nbdkit-1.46,)"
checkpoint = 'test_nbdkit_instance_name'