11Parsed test spec with 3 sessions
22
3- starting permutation: s2snitch s1b s1s s2detach s1cancel s1insert s1c
3+ starting permutation: s2snitch s1b s1s s2detach s1cancel s2noop s1insert s1c
44step s2snitch: insert into d4_pid select pg_backend_pid();
55step s1b: begin;
66step s1s: select * from d4_primary;
991
10102
1111step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
12- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
13- pg_cancel_backend
12+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
13+ pg_cancel_backendpg_sleep
1414
15- t
15+ t
1616step s2detach: <... completed>
1717error in steps s1cancel s2detach: ERROR: canceling statement due to user request
18+ step s2noop: UNLISTEN noop;
1819step s1insert: insert into d4_fk values (1);
1920ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
2021step s1c: commit;
@@ -33,7 +34,7 @@ step s2detach: <... completed>
3334error in steps s1insert s2detach: ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
3435step s1c: commit;
3536
36- starting permutation: s2snitch s1brr s1s s2detach s1cancel s1insert s1c
37+ starting permutation: s2snitch s1brr s1s s2detach s1cancel s2noop s1insert s1c
3738step s2snitch: insert into d4_pid select pg_backend_pid();
3839step s1brr: begin isolation level repeatable read;
3940step s1s: select * from d4_primary;
42431
43442
4445step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
45- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
46- pg_cancel_backend
46+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
47+ pg_cancel_backendpg_sleep
4748
48- t
49+ t
4950step s2detach: <... completed>
5051error in steps s1cancel s2detach: ERROR: canceling statement due to user request
52+ step s2noop: UNLISTEN noop;
5153step s1insert: insert into d4_fk values (1);
5254ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
5355step s1c: commit;
@@ -66,17 +68,18 @@ step s2detach: <... completed>
6668error in steps s1insert s2detach: ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
6769step s1c: commit;
6870
69- starting permutation: s2snitch s1b s1declare s2detach s1cancel s1fetchall s1insert s1c
71+ starting permutation: s2snitch s1b s1declare s2detach s1cancel s2noop s1fetchall s1insert s1c
7072step s2snitch: insert into d4_pid select pg_backend_pid();
7173step s1b: begin;
7274step s1declare: declare f cursor for select * from d4_primary;
7375step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
74- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
75- pg_cancel_backend
76+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
77+ pg_cancel_backendpg_sleep
7678
77- t
79+ t
7880step s2detach: <... completed>
7981error in steps s1cancel s2detach: ERROR: canceling statement due to user request
82+ step s2noop: UNLISTEN noop;
8083step s1fetchall: fetch all from f;
8184a
8285
@@ -101,17 +104,18 @@ step s2detach: <... completed>
101104error in steps s1insert s2detach: ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
102105step s1c: commit;
103106
104- starting permutation: s2snitch s1b s1declare s2detach s1cancel s1svpt s1insert s1rollback s1fetchall s1c
107+ starting permutation: s2snitch s1b s1declare s2detach s1cancel s2noop s1svpt s1insert s1rollback s1fetchall s1c
105108step s2snitch: insert into d4_pid select pg_backend_pid();
106109step s1b: begin;
107110step s1declare: declare f cursor for select * from d4_primary;
108111step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
109- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
110- pg_cancel_backend
112+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
113+ pg_cancel_backendpg_sleep
111114
112- t
115+ t
113116step s2detach: <... completed>
114117error in steps s1cancel s2detach: ERROR: canceling statement due to user request
118+ step s2noop: UNLISTEN noop;
115119step s1svpt: savepoint f;
116120step s1insert: insert into d4_fk values (1);
117121ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
140144step s1c: commit;
141145step s2detach: <... completed>
142146
143- starting permutation: s2snitch s1b s2detach s1declare s1cancel s1fetchall s1insert s1c
147+ starting permutation: s2snitch s1b s2detach s1declare s1cancel s2noop s1fetchall s1insert s1c
144148step s2snitch: insert into d4_pid select pg_backend_pid();
145149step s1b: begin;
146150step s2detach: alter table d4_primary detach partition d4_primary1 concurrently;
147151step s1declare: declare f cursor for select * from d4_primary;
148- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
149- pg_cancel_backend
152+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
153+ pg_cancel_backendpg_sleep
150154
151- t
155+ t
156+ step s2noop: UNLISTEN noop;
152157step s1fetchall: fetch all from f;
153158a
154159
@@ -170,15 +175,16 @@ step s1insert: insert into d4_fk values (1);
170175ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
171176step s1c: commit;
172177
173- starting permutation: s2snitch s1b s2detach s1declare s1cancel s1svpt s1insert s1rollback s1fetchall s1c
178+ starting permutation: s2snitch s1b s2detach s1declare s1cancel s2noop s1svpt s1insert s1rollback s1fetchall s1c
174179step s2snitch: insert into d4_pid select pg_backend_pid();
175180step s1b: begin;
176181step s2detach: alter table d4_primary detach partition d4_primary1 concurrently;
177182step s1declare: declare f cursor for select * from d4_primary;
178- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
179- pg_cancel_backend
183+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
184+ pg_cancel_backendpg_sleep
180185
181- t
186+ t
187+ step s2noop: UNLISTEN noop;
182188step s1svpt: savepoint f;
183189step s1insert: insert into d4_fk values (1);
184190ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
2042102
205211step s1c: commit;
206212
207- starting permutation: s2snitch s1brr s1declare2 s1fetchone s2detach s1cancel s1updcur s1c
213+ starting permutation: s2snitch s1brr s1declare2 s1fetchone s2detach s1cancel s2noop s1updcur s1c
208214step s2snitch: insert into d4_pid select pg_backend_pid();
209215step s1brr: begin isolation level repeatable read;
210216step s1declare2: declare f cursor for select * from d4_fk where a = 2;
213219
2142202
215221step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
216- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
217- pg_cancel_backend
222+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
223+ pg_cancel_backendpg_sleep
218224
219- t
225+ t
220226step s2detach: <... completed>
221227error in steps s1cancel s2detach: ERROR: canceling statement due to user request
228+ step s2noop: UNLISTEN noop;
222229step s1updcur: update d4_fk set a = 1 where current of f;
223230ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
224231step s1c: commit;
@@ -265,7 +272,7 @@ ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk
265272step s1c: commit;
266273step s2detach: <... completed>
267274
268- starting permutation: s2snitch s1b s1s s2detach s3brr s3insert s3commit s1cancel s1c
275+ starting permutation: s2snitch s1b s1s s2detach s3brr s3insert s3commit s1cancel s2noop s1c
269276step s2snitch: insert into d4_pid select pg_backend_pid();
270277step s1b: begin;
271278step s1s: select * from d4_primary;
@@ -278,12 +285,13 @@ step s3brr: begin isolation level repeatable read;
278285step s3insert: insert into d4_fk values (1);
279286ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
280287step s3commit: commit;
281- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
282- pg_cancel_backend
288+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
289+ pg_cancel_backendpg_sleep
283290
284- t
291+ t
285292step s2detach: <... completed>
286293error in steps s1cancel s2detach: ERROR: canceling statement due to user request
294+ step s2noop: UNLISTEN noop;
287295step s1c: commit;
288296
289297starting permutation: s2snitch s1b s1s s2detach s3brr s3insert s3commit s1c
@@ -302,7 +310,7 @@ step s3commit: commit;
302310step s1c: commit;
303311step s2detach: <... completed>
304312
305- starting permutation: s2snitch s1brr s1s s2detach s1cancel s3vacfreeze s1s s1insert s1c
313+ starting permutation: s2snitch s1brr s1s s2detach s1cancel s2noop s3vacfreeze s1s s1insert s1c
306314step s2snitch: insert into d4_pid select pg_backend_pid();
307315step s1brr: begin isolation level repeatable read;
308316step s1s: select * from d4_primary;
3113191
3123202
313321step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
314- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
315- pg_cancel_backend
322+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
323+ pg_cancel_backendpg_sleep
316324
317- t
325+ t
318326step s2detach: <... completed>
319327error in steps s1cancel s2detach: ERROR: canceling statement due to user request
328+ step s2noop: UNLISTEN noop;
320329step s3vacfreeze: vacuum freeze pg_catalog.pg_inherits;
321330step s1s: select * from d4_primary;
322331a
@@ -327,7 +336,7 @@ step s1insert: insert into d4_fk values (1);
327336ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
328337step s1c: commit;
329338
330- starting permutation: s2snitch s1b s1s s2detach s1cancel s3vacfreeze s1s s1insert s1c
339+ starting permutation: s2snitch s1b s1s s2detach s1cancel s2noop s3vacfreeze s1s s1insert s1c
331340step s2snitch: insert into d4_pid select pg_backend_pid();
332341step s1b: begin;
333342step s1s: select * from d4_primary;
3363451
3373462
338347step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
339- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
340- pg_cancel_backend
348+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
349+ pg_cancel_backendpg_sleep
341350
342- t
351+ t
343352step s2detach: <... completed>
344353error in steps s1cancel s2detach: ERROR: canceling statement due to user request
354+ step s2noop: UNLISTEN noop;
345355step s3vacfreeze: vacuum freeze pg_catalog.pg_inherits;
346356step s1s: select * from d4_primary;
347357a
0 commit comments