qemu/tests/qemu-iotests
Vladimir Sementsov-Ogievskiy e2c5093c99 iotests: 30: drop from auto group (and effectively from make check)
I reproduced the following crash fast enough:

0  raise () at /lib64/libc.so.6
1  abort () at /lib64/libc.so.6
2  _nl_load_domain.cold () at /lib64/libc.so.6
3  annobin_assert.c_end () at /lib64/libc.so.6
4  bdrv_reopen_multiple (bs_queue=0x55de75fa9b70, errp=0x0)
   at ../block.c:3820
5  bdrv_reopen_set_read_only (bs=0x55de760fc020, read_only=true,
   errp=0x0) at ../block.c:3870
6  stream_clean (job=0x55de75fa9410) at ../block/stream.c:99
7  job_clean (job=0x55de75fa9410) at ../job.c:680
8  job_finalize_single (job=0x55de75fa9410) at ../job.c:696
9  job_txn_apply (job=0x55de75fa9410,
   fn=0x55de741eee27 <job_finalize_single>) at ../job.c:158
10 job_do_finalize (job=0x55de75fa9410) at ../job.c:805
11 job_completed_txn_success (job=0x55de75fa9410) at ../job.c:855
12 job_completed (job=0x55de75fa9410) at ../job.c:868
13 job_exit (opaque=0x55de75fa9410) at ../job.c:888
14 aio_bh_call (bh=0x55de76b9b4e0) at ../util/async.c:136
15 aio_bh_poll (ctx=0x55de75bc5300) at ../util/async.c:164
16 aio_dispatch (ctx=0x55de75bc5300) at ../util/aio-posix.c:381
17 aio_ctx_dispatch (source=0x55de75bc5300, callback=0x0,
   user_data=0x0) at ../util/async.c:306
18 g_main_context_dispatch () at /lib64/libglib-2.0.so.0
19 glib_pollfds_poll () at ../util/main-loop.c:232
20 os_host_main_loop_wait (timeout=0) at ../util/main-loop.c:255
21 main_loop_wait (nonblocking=0) at ../util/main-loop.c:531
22 qemu_main_loop () at ../softmmu/runstate.c:722
23 main (argc=20, argv=0x7ffe218f0268, envp=0x7ffe218f0310) at
   ../softmmu/main.c:50

(gdb) fr 4
4  bdrv_reopen_multiple (bs_queue=0x55de75fa9b70, errp=0x0) at
      ../block.c:3820
3820                assert(perm == state->perm);
(gdb) list
3815
3816            if (ret == 0) {
3817                uint64_t perm, shared;
3818
3819                bdrv_get_cumulative_perm(state->bs, &perm,
                    &shared);
3820                assert(perm == state->perm);
3821                assert(shared == state->shared_perm);
3822
3823                bdrv_set_perm(state->bs);
3824            } else {
(gdb) p perm
$1 = 1
(gdb) p state->perm
$2 = 0

Then I had 38 successful iterations and another crash:
0  bdrv_check_update_perm (bs=0x5631ac97bc50, q=0x0, new_used_perm=1,
   new_shared_perm=31, ignore_children=0x0, errp=0x7ffd9d477cf8) at
   ../block.c:2197
1  bdrv_root_attach_child
    (child_bs=0x5631ac97bc50, child_name=0x5631aaf6b1f9 "backing",
    child_class=0x5631ab280ca0 <child_of_bds>, child_role=8,
    ctx=0x5631ab757300, perm=1, shared_perm=31, opaque=0x5631abb8c020,
    errp=0x7ffd9d477cf8)
    at ../block.c:2642
2  bdrv_attach_child (parent_bs=0x5631abb8c020,
   child_bs=0x5631ac97bc50, child_name=0x5631aaf6b1f9 "backing",
   child_class=0x5631ab280ca0 <child_of_bds>, child_role=8,
   errp=0x7ffd9d477cf8)
    at ../block.c:2719
3  bdrv_set_backing_hd (bs=0x5631abb8c020, backing_hd=0x5631ac97bc50,
   errp=0x7ffd9d477cf8) at ../block.c:2854
4  stream_prepare (job=0x5631ac751eb0) at ../block/stream.c:74
5  job_prepare (job=0x5631ac751eb0) at ../job.c:784
6  job_txn_apply (job=0x5631ac751eb0, fn=0x5631aacb1156 <job_prepare>)
   at ../job.c:158
7  job_do_finalize (job=0x5631ac751eb0) at ../job.c:801
8  job_completed_txn_success (job=0x5631ac751eb0) at ../job.c:855
9  job_completed (job=0x5631ac751eb0) at ../job.c:868
10 job_exit (opaque=0x5631ac751eb0) at ../job.c:888
11 aio_bh_call (bh=0x7f3d9c007680) at ../util/async.c:136
12 aio_bh_poll (ctx=0x5631ab757300) at ../util/async.c:164
13 aio_dispatch (ctx=0x5631ab757300) at ../util/aio-posix.c:381
14 aio_ctx_dispatch (source=0x5631ab757300, callback=0x0,
   user_data=0x0) at ../util/async.c:306
15 g_main_context_dispatch () at /lib64/libglib-2.0.so.0
16 glib_pollfds_poll () at ../util/main-loop.c:232
17 os_host_main_loop_wait (timeout=0) at ../util/main-loop.c:255
18 main_loop_wait (nonblocking=0) at ../util/main-loop.c:531
19 qemu_main_loop () at ../softmmu/runstate.c:722
20 main (argc=20, argv=0x7ffd9d478198, envp=0x7ffd9d478240) at
   ../softmmu/main.c:50
(gdb) list
2192        QLIST_FOREACH(c, &bs->parents, next_parent) {
2193            if (g_slist_find(ignore_children, c)) {
2194                continue;
2195            }
2196
2197            if ((new_used_perm & c->shared_perm) != new_used_perm)
                {
2198                char *user = bdrv_child_user_desc(c);
2199                char *perm_names = bdrv_perm_names(new_used_perm &
                    ~c->shared_perm);
2200
2201                error_setg(errp, "Conflicts with use by %s as '%s',
                    which does not "
(gdb) p c
$1 = (BdrvChild *) 0x8585858585858585

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20210205111021.715240-1-vsementsov@virtuozzo.com
Reviewed-by: Eric Blake <eblake@redhat.com>
[PMM: trimmed the part of the commit message referring to
as-yet-unapplied patchseries]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-02-05 15:16:13 +00:00
..
001
2021-01-20 14:53:22 -06:00
002
2021-01-20 14:53:22 -06:00
003
2021-01-20 14:53:22 -06:00
004
2021-01-20 14:53:22 -06:00
005
2021-01-20 14:53:22 -06:00
007
2021-01-20 14:53:22 -06:00
008
2021-01-20 14:53:22 -06:00
009
2021-01-20 14:53:22 -06:00
010
2021-01-20 14:53:22 -06:00
011
2021-01-20 14:53:22 -06:00
012
2021-01-20 14:53:22 -06:00
013
2021-01-20 14:53:22 -06:00
014
2021-01-20 14:53:22 -06:00
015
2021-01-20 14:53:22 -06:00
017
2021-01-20 14:53:22 -06:00
018
2021-01-20 14:53:22 -06:00
019
2021-01-20 14:53:22 -06:00
020
2021-01-20 14:53:22 -06:00
021
2021-01-20 14:53:22 -06:00
022
2021-01-20 14:53:22 -06:00
023
2021-01-20 14:53:22 -06:00
024
2021-01-20 14:53:22 -06:00
025
2021-01-20 14:53:22 -06:00
026
2021-01-20 14:53:22 -06:00
027
2021-01-20 14:53:22 -06:00
028
2021-01-20 14:53:22 -06:00
2020-12-11 17:52:40 +01:00
029
2021-01-20 14:53:22 -06:00
031
2021-01-20 14:53:22 -06:00
032
2021-01-20 14:53:22 -06:00
033
2021-01-20 14:53:22 -06:00
034
2021-01-20 14:53:22 -06:00
035
2021-01-20 14:53:22 -06:00
036
2021-01-20 14:53:22 -06:00
037
2021-01-20 14:53:22 -06:00
038
2021-01-20 14:53:22 -06:00
039
2021-01-20 14:53:22 -06:00
040
2021-01-20 14:53:22 -06:00
041
2021-01-20 14:53:22 -06:00
2020-09-08 13:40:49 +02:00
042
2021-01-20 14:53:22 -06:00
043
2021-01-20 14:53:22 -06:00
044
2021-01-20 14:53:22 -06:00
2017-07-11 17:45:02 +02:00
045
2021-01-20 14:53:22 -06:00
046
2021-01-20 14:53:22 -06:00
2020-12-11 17:52:40 +01:00
047
2021-01-20 14:53:22 -06:00
048
2021-01-20 14:53:22 -06:00
049
2021-01-20 14:53:22 -06:00
050
2021-01-20 14:53:22 -06:00
051
2021-01-20 14:53:22 -06:00
052
2021-01-20 14:53:22 -06:00
053
2021-01-20 14:53:22 -06:00
054
2021-01-20 14:53:22 -06:00
055
2021-01-20 14:53:22 -06:00
057
2021-01-20 14:53:22 -06:00
058
2021-01-20 14:53:22 -06:00
059
2021-01-20 14:53:22 -06:00
2020-09-02 16:32:14 -05:00
060
2021-01-20 14:53:22 -06:00
061
2021-01-20 14:53:22 -06:00
062
2021-01-20 14:53:22 -06:00
063
2021-01-20 14:53:22 -06:00
2020-01-06 13:43:07 +01:00
064
2021-01-20 14:53:22 -06:00
065
2021-01-20 14:53:22 -06:00
066
2021-01-20 14:53:22 -06:00
2017-05-11 12:08:24 +02:00
068
2021-01-20 14:53:22 -06:00
2017-09-06 15:19:01 +01:00
069
2021-01-20 14:53:22 -06:00
070
2021-01-20 14:53:22 -06:00
071
2021-01-20 14:53:22 -06:00
072
2021-01-20 14:53:22 -06:00
073
2021-01-20 14:53:22 -06:00
074
2021-01-20 14:53:22 -06:00
075
2021-01-20 14:53:22 -06:00
076
2021-01-20 14:53:22 -06:00
077
2021-01-20 14:53:22 -06:00
078
2021-01-20 14:53:22 -06:00
079
2021-01-20 14:53:22 -06:00
080
2021-01-20 14:53:22 -06:00
081
2021-01-20 14:53:22 -06:00
082
2021-01-20 14:53:22 -06:00
083
2021-01-20 14:53:22 -06:00
084
2021-01-20 14:53:22 -06:00
085
2021-01-20 14:53:22 -06:00
086
2021-01-20 14:53:22 -06:00
087
2021-01-20 14:53:22 -06:00
088
2021-01-20 14:53:22 -06:00
089
2021-01-20 14:53:22 -06:00
2020-12-11 17:52:40 +01:00
090
2021-01-20 14:53:22 -06:00
091
2021-01-20 14:53:22 -06:00
2020-01-06 13:43:07 +01:00
092
2021-01-20 14:53:22 -06:00
093
2021-01-20 14:53:22 -06:00
094
2021-01-20 14:53:22 -06:00
095
2021-01-20 14:53:22 -06:00
096
2021-01-20 14:53:22 -06:00
097
2021-01-20 14:53:22 -06:00
098
2021-01-20 14:53:22 -06:00
099
2021-01-20 14:53:22 -06:00
101
2021-01-20 14:53:22 -06:00
102
2021-01-20 14:53:22 -06:00
103
2021-01-20 14:53:22 -06:00
104
2021-01-20 14:53:22 -06:00
105
2021-01-20 14:53:22 -06:00
106
2021-01-20 14:53:22 -06:00
107
2021-01-20 14:53:22 -06:00
108
2021-01-20 14:53:22 -06:00
109
2021-01-20 14:53:22 -06:00
2021-01-26 14:36:37 +01:00
110
2021-01-20 14:53:22 -06:00
111
2021-01-20 14:53:22 -06:00
112
2021-01-20 14:53:22 -06:00
113
2021-01-20 14:53:22 -06:00
2018-06-11 16:18:45 +02:00
114
2021-01-20 14:53:22 -06:00
115
2021-01-20 14:53:22 -06:00
116
2021-01-20 14:53:22 -06:00
117
2021-01-20 14:53:22 -06:00
118
2021-01-26 14:36:37 +01:00
2021-01-26 14:36:37 +01:00
119
2021-01-20 14:53:22 -06:00
120
2021-01-20 14:53:22 -06:00
121
2021-01-20 14:53:22 -06:00
122
2021-01-20 14:53:22 -06:00
123
2021-01-20 14:53:22 -06:00
124
2021-01-26 14:36:37 +01:00
125
2021-01-20 14:53:22 -06:00
126
2021-01-20 14:53:22 -06:00
127
2021-01-20 14:53:22 -06:00
128
2021-01-20 14:53:22 -06:00
130
2021-01-20 14:53:22 -06:00
131
2021-01-20 14:53:22 -06:00
132
2021-01-20 14:53:22 -06:00
133
2021-01-20 14:53:22 -06:00
134
2021-01-20 14:53:22 -06:00
135
2021-01-20 14:53:22 -06:00
136
2021-01-20 14:53:22 -06:00
2016-05-19 16:45:31 +02:00
137
2021-01-20 14:53:22 -06:00
2020-01-06 13:43:07 +01:00
138
2021-01-20 14:53:22 -06:00
139
2021-01-20 14:53:22 -06:00
140
2021-01-20 14:53:22 -06:00
141
2021-01-20 14:53:22 -06:00
143
2021-01-20 14:53:22 -06:00
144
2021-01-20 14:53:22 -06:00
145
2021-01-20 14:53:22 -06:00
146
2021-01-20 14:53:22 -06:00
147
2021-01-20 14:53:22 -06:00
148
2021-01-20 14:53:22 -06:00
149
2021-01-20 14:53:22 -06:00
150
2021-01-20 14:53:22 -06:00
151
2021-01-20 14:53:22 -06:00
152
2021-01-20 14:53:22 -06:00
153
2021-01-20 14:53:22 -06:00
154
2021-01-20 14:53:22 -06:00
155
2021-01-20 14:53:22 -06:00
2020-03-11 15:54:38 +01:00
156
2021-01-20 14:53:22 -06:00
157
2021-01-20 14:53:22 -06:00
158
2021-01-20 14:53:22 -06:00
159
2021-01-20 14:53:22 -06:00
2016-09-20 22:10:57 +02:00
160
2021-01-20 14:53:22 -06:00
2016-09-20 22:10:57 +02:00
161
2021-01-20 14:53:22 -06:00
162
2021-01-20 14:53:22 -06:00
163
2021-01-20 14:53:22 -06:00
2017-09-26 15:00:32 +02:00
165
2021-01-20 14:53:22 -06:00
170
2021-01-20 14:53:22 -06:00
2016-09-20 22:10:57 +02:00
171
2021-01-20 14:53:22 -06:00
172
2021-01-20 14:53:22 -06:00
2020-12-18 11:48:39 +01:00
173
2021-01-20 14:53:22 -06:00
174
2021-01-20 14:53:22 -06:00
2017-02-12 00:47:42 +01:00
175
2021-01-20 14:53:22 -06:00
176
2021-01-20 14:53:22 -06:00
177
2021-01-20 14:53:22 -06:00
178
2021-01-26 14:36:37 +01:00
179
2021-01-20 14:53:22 -06:00
181
2021-01-20 14:53:22 -06:00
182
2021-01-20 14:53:22 -06:00
183
2021-01-20 14:53:22 -06:00
184
2021-01-20 14:53:22 -06:00
186
2021-01-20 14:53:22 -06:00
187
2021-01-20 14:53:22 -06:00
188
2021-01-20 14:53:22 -06:00
189
2021-01-20 14:53:22 -06:00
190
2021-01-20 14:53:22 -06:00
191
2021-01-20 14:53:22 -06:00
192
2021-01-20 14:53:22 -06:00
194
2021-01-20 14:53:22 -06:00
195
2021-01-20 14:53:22 -06:00
196
2021-01-20 14:53:22 -06:00
197
2021-01-20 14:53:22 -06:00
2020-07-28 15:28:56 +02:00
198
2021-01-20 14:53:22 -06:00
200
2021-01-20 14:53:22 -06:00
201
2021-01-20 14:53:22 -06:00
202
2021-01-20 14:53:22 -06:00
203
2021-01-20 14:53:22 -06:00
204
2021-01-20 14:53:22 -06:00
2020-09-07 12:31:31 +02:00
205
2021-01-20 14:53:22 -06:00
206
2021-01-20 14:53:22 -06:00
207
2021-01-20 14:53:22 -06:00
2019-06-24 16:01:04 +02:00
208
2021-01-20 14:53:22 -06:00
209
2021-01-20 14:53:22 -06:00
210
2021-01-20 14:53:22 -06:00
2020-12-18 11:48:39 +01:00
211
2021-01-20 14:53:22 -06:00
212
2021-01-20 14:53:22 -06:00
213
2021-01-20 14:53:22 -06:00
214
2021-01-20 14:53:22 -06:00
215
2021-01-20 14:53:22 -06:00
216
2021-01-20 14:53:22 -06:00
217
2021-01-20 14:53:22 -06:00
218
2021-01-20 14:53:22 -06:00
220
2021-01-20 14:53:22 -06:00
221
2021-01-20 14:53:22 -06:00
222
2021-01-20 14:53:22 -06:00
223
2021-01-20 14:53:22 -06:00
224
2021-01-20 14:53:22 -06:00
225
2021-01-20 14:53:22 -06:00
226
2021-01-20 14:53:22 -06:00
227
2021-01-20 14:53:22 -06:00
2019-10-10 10:56:18 +02:00
228
2021-01-20 14:53:22 -06:00
229
2021-01-20 14:53:22 -06:00
231
2021-01-20 14:53:22 -06:00
232
2021-01-20 14:53:22 -06:00
2019-03-19 15:49:29 +01:00
234
2021-01-20 14:53:22 -06:00
2019-02-01 13:46:44 +01:00
235
2021-01-20 14:53:22 -06:00
236
2021-01-20 14:53:22 -06:00
237
2021-01-20 14:53:22 -06:00
238
2021-01-20 14:53:22 -06:00
239
2021-01-20 14:53:22 -06:00
2019-02-01 13:46:44 +01:00
240
2021-01-20 14:53:22 -06:00
2020-11-09 15:44:21 +01:00
241
2021-01-20 14:53:22 -06:00
242
2021-01-20 14:53:22 -06:00
243
2021-01-20 14:53:22 -06:00
244
2021-01-20 14:53:22 -06:00
246
2021-01-20 14:53:22 -06:00
247
2021-01-20 14:53:22 -06:00
2019-03-19 15:49:29 +01:00
248
2021-01-20 14:53:22 -06:00
249
2021-01-20 14:53:22 -06:00
250
2021-01-20 14:53:22 -06:00
2019-06-04 16:55:58 +02:00
251
2021-01-20 14:53:22 -06:00
252
2021-01-20 14:53:22 -06:00
253
2021-01-20 14:53:22 -06:00
254
2021-01-20 14:53:22 -06:00
2019-08-16 16:28:03 -04:00
255
2021-01-20 14:53:22 -06:00
256
2021-01-20 14:53:22 -06:00
258
2021-01-20 14:53:22 -06:00
259
2021-01-20 14:53:22 -06:00
2020-09-02 16:32:14 -05:00
260
2021-01-20 14:53:22 -06:00
261
2021-01-20 14:53:22 -06:00
262
2021-01-20 14:53:22 -06:00
263
2021-01-20 14:53:22 -06:00
264
2021-01-20 20:22:31 -06:00
265
2021-01-20 14:53:22 -06:00
266
2021-01-20 14:53:22 -06:00
267
2021-01-20 14:53:22 -06:00
268
2021-01-20 14:53:22 -06:00
270
2021-01-20 14:53:22 -06:00
271
2021-01-20 14:53:22 -06:00
272
2021-01-20 14:53:22 -06:00
273
2021-01-20 14:53:22 -06:00
274
2021-01-20 14:53:22 -06:00
277
2021-01-20 14:53:22 -06:00
2019-11-18 16:01:31 -06:00
279
2021-01-20 14:53:22 -06:00
280
2021-01-20 14:53:22 -06:00
281
2021-01-20 14:53:22 -06:00
282
2021-01-20 14:53:22 -06:00
283
2021-01-20 14:53:22 -06:00
284
2021-01-20 14:53:22 -06:00
286
2021-01-20 14:53:22 -06:00
287
2021-01-20 14:53:22 -06:00
288
2021-01-20 14:53:22 -06:00
289
2021-01-20 14:53:22 -06:00
290
2021-01-20 14:53:22 -06:00
291
2021-01-20 14:53:22 -06:00
292
2021-01-20 14:53:22 -06:00
293
2021-01-20 14:53:22 -06:00
294
2021-01-20 14:53:22 -06:00
295
2021-01-20 14:53:22 -06:00
2020-07-06 08:49:28 +02:00
296
2021-01-20 14:53:22 -06:00
298
2021-01-20 14:53:22 -06:00
299
2021-01-20 14:53:22 -06:00
301
2021-01-20 14:53:22 -06:00
302
2021-01-20 14:53:22 -06:00
303
2021-01-20 14:53:22 -06:00
304
2021-01-20 14:53:22 -06:00
305
2021-01-20 14:53:22 -06:00
307
2021-01-20 14:53:22 -06:00
308
2021-01-20 14:53:22 -06:00
309
2021-01-20 14:53:22 -06:00
312
2021-01-20 14:53:22 -06:00
2021-02-02 17:05:38 +01:00
2021-01-26 11:26:54 +01:00
2021-01-27 20:53:14 +01:00
2021-01-27 20:53:14 +01:00
2021-01-27 20:53:14 +01:00
2021-02-02 17:05:38 +01:00

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@nongnu.org with a CC:
to qemu-block@nongnu.org.