Merge branch 'master' into 16007-permission-table-rb
[arvados.git] / services / api / test / fixtures / jobs.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 running:
6   uuid: zzzzz-8i9sb-pshmckwoma9plh7
7   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
8   cancelled_at: ~
9   cancelled_by_user_uuid: ~
10   cancelled_by_client_uuid: ~
11   created_at: <%= 3.minute.ago.to_s(:db) %>
12   started_at: <%= 3.minute.ago.to_s(:db) %>
13   finished_at: ~
14   script: hash
15   repository: active/foo
16   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
17   running: true
18   success: ~
19   output: ~
20   priority: 0
21   log: ~
22   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
23   tasks_summary:
24     failed: 0
25     todo: 3
26     running: 1
27     done: 1
28   runtime_constraints: {}
29   state: Running
30   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
31
32 running_cancelled:
33   uuid: zzzzz-8i9sb-4cf0nhn6xte809j
34   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
35   cancelled_at: <%= 1.minute.ago.to_s(:db) %>
36   cancelled_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
37   cancelled_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
38   created_at: <%= 4.minute.ago.to_s(:db) %>
39   started_at: <%= 3.minute.ago.to_s(:db) %>
40   finished_at: ~
41   script: hash
42   repository: active/foo
43   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
44   running: true
45   success: ~
46   output: ~
47   priority: 0
48   log: ~
49   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
50   tasks_summary:
51     failed: 0
52     todo: 3
53     running: 1
54     done: 1
55   runtime_constraints: {}
56   state: Cancelled
57   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
58
59 uses_nonexistent_script_version:
60   uuid: zzzzz-8i9sb-7m339pu0x9mla88
61   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
62   cancelled_at: ~
63   cancelled_by_user_uuid: ~
64   cancelled_by_client_uuid: ~
65   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
66   created_at: <%= 5.minute.ago.to_s(:db) %>
67   started_at: <%= 3.minute.ago.to_s(:db) %>
68   finished_at: <%= 2.minute.ago.to_s(:db) %>
69   script: hash
70   repository: active/foo
71   running: false
72   success: true
73   output: d41d8cd98f00b204e9800998ecf8427e+0
74   priority: 0
75   log: d41d8cd98f00b204e9800998ecf8427e+0
76   is_locked_by_uuid: ~
77   tasks_summary:
78     failed: 0
79     todo: 0
80     running: 0
81     done: 1
82   runtime_constraints: {}
83   state: Complete
84   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
85
86 foobar:
87   uuid: zzzzz-8i9sb-aceg2bnq7jt7kon
88   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
89   cancelled_at: ~
90   cancelled_by_user_uuid: ~
91   cancelled_by_client_uuid: ~
92   script: hash
93   repository: active/foo
94   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
95   script_parameters:
96     input: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
97   created_at: <%= 4.minute.ago.to_s(:db) %>
98   started_at: <%= 3.minute.ago.to_s(:db) %>
99   finished_at: <%= 2.minute.ago.to_s(:db) %>
100   running: false
101   success: true
102   output: fa7aeb5140e2848d39b416daeef4ffc5+45
103   priority: 0
104   log: ea10d51bcf88862dbcc36eb292017dfd+45
105   is_locked_by_uuid: ~
106   tasks_summary:
107     failed: 0
108     todo: 0
109     running: 0
110     done: 1
111   runtime_constraints: {}
112   state: Complete
113   script_parameters_digest: 03a43a7d84f7fb022467b876c2950acd
114
115 barbaz:
116   uuid: zzzzz-8i9sb-cjs4pklxxjykyuq
117   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
118   cancelled_at: ~
119   cancelled_by_user_uuid: ~
120   cancelled_by_client_uuid: ~
121   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
122   script_parameters:
123     input: fa7aeb5140e2848d39b416daeef4ffc5+45
124     an_integer: 1
125   created_at: <%= 4.minute.ago.to_s(:db) %>
126   started_at: <%= 3.minute.ago.to_s(:db) %>
127   finished_at: <%= 2.minute.ago.to_s(:db) %>
128   running: false
129   success: true
130   repository: active/foo
131   output: ea10d51bcf88862dbcc36eb292017dfd+45
132   priority: 0
133   log: d41d8cd98f00b204e9800998ecf8427e+0
134   is_locked_by_uuid: ~
135   tasks_summary:
136     failed: 0
137     todo: 0
138     running: 0
139     done: 1
140   runtime_constraints: {}
141   state: Complete
142   script_parameters_digest: c3d19d3ec50ac0914baa56b149640f73
143
144 runningbarbaz:
145   uuid: zzzzz-8i9sb-cjs4pklxxjykyuj
146   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
147   cancelled_at: ~
148   cancelled_by_user_uuid: ~
149   cancelled_by_client_uuid: ~
150   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
151   script_parameters:
152     input: fa7aeb5140e2848d39b416daeef4ffc5+45
153     an_integer: 1
154   created_at: <%= 4.minute.ago.to_s(:db) %>
155   started_at: <%= 3.minute.ago.to_s(:db) %>
156   finished_at: <%= 2.minute.ago.to_s(:db) %>
157   running: true
158   success: ~
159   repository: active/foo
160   output: ea10d51bcf88862dbcc36eb292017dfd+45
161   priority: 0
162   log: d41d8cd98f00b204e9800998ecf8427e+0
163   is_locked_by_uuid: ~
164   tasks_summary:
165     failed: 0
166     todo: 0
167     running: 1
168     done: 0
169   runtime_constraints: {}
170   state: Running
171   script_parameters_digest: c3d19d3ec50ac0914baa56b149640f73
172
173 previous_job_run:
174   uuid: zzzzz-8i9sb-cjs4pklxxjykqqq
175   created_at: <%= 14.minute.ago.to_s(:db) %>
176   finished_at: <%= 13.minutes.ago.to_s(:db) %>
177   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
178   repository: active/foo
179   script: hash
180   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
181   script_parameters:
182     input: fa7aeb5140e2848d39b416daeef4ffc5+45
183     an_integer: "1"
184   success: true
185   log: d41d8cd98f00b204e9800998ecf8427e+0
186   output: ea10d51bcf88862dbcc36eb292017dfd+45
187   state: Complete
188   script_parameters_digest: a5f03bbfb8ba88a2efe4a7852671605b
189
190 previous_job_run_nil_log:
191   uuid: zzzzz-8i9sb-cjs4pklxxjykqq3
192   created_at: <%= 14.minute.ago.to_s(:db) %>
193   finished_at: <%= 13.minutes.ago.to_s(:db) %>
194   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
195   repository: active/foo
196   script: hash
197   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
198   script_parameters:
199     input: fa7aeb5140e2848d39b416daeef4ffc5+45
200     an_integer: "3"
201   success: true
202   log: ~
203   output: ea10d51bcf88862dbcc36eb292017dfd+45
204   state: Complete
205   script_parameters_digest: 445702df4029b8a6e7075b451ff1256a
206
207 previous_ancient_job_run:
208   uuid: zzzzz-8i9sb-ahd7cie8jah9qui
209   created_at: <%= 366.days.ago.to_s(:db) %>
210   finished_at: <%= 365.days.ago.to_s(:db) %>
211   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
212   repository: active/foo
213   script: hash
214   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
215   script_parameters:
216     input: fa7aeb5140e2848d39b416daeef4ffc5+45
217     an_integer: "2"
218   success: true
219   log: d41d8cd98f00b204e9800998ecf8427e+0
220   output: ea10d51bcf88862dbcc36eb292017dfd+45
221   state: Complete
222   script_parameters_digest: 174dd339d44f2b259fadbab7ebdb8df9
223
224 previous_docker_job_run:
225   uuid: zzzzz-8i9sb-k6emstgk4kw4yhi
226   created_at: <%= 14.minute.ago.to_s(:db) %>
227   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
228   repository: active/foo
229   script: hash
230   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
231   script_parameters:
232     input: fa7aeb5140e2848d39b416daeef4ffc5+45
233     an_integer: "1"
234   runtime_constraints:
235     docker_image: arvados/apitestfixture
236   success: true
237   output: ea10d51bcf88862dbcc36eb292017dfd+45
238   docker_image_locator: fa3c1a9cb6783f85f2ecda037e07b8c3+167
239   state: Complete
240   script_parameters_digest: a5f03bbfb8ba88a2efe4a7852671605b
241   log: ea10d51bcf88862dbcc36eb292017dfd+45
242
243 previous_ancient_docker_image_job_run:
244   uuid: zzzzz-8i9sb-t3b460aolxxuldl
245   created_at: <%= 144.minute.ago.to_s(:db) %>
246   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
247   repository: active/foo
248   script: hash
249   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
250   script_parameters:
251     input: fa7aeb5140e2848d39b416daeef4ffc5+45
252     an_integer: "2"
253   runtime_constraints:
254     docker_image: arvados/apitestfixture
255   success: true
256   output: ea10d51bcf88862dbcc36eb292017dfd+45
257   docker_image_locator: b519d9cb706a29fc7ea24dbea2f05851+93
258   state: Complete
259   script_parameters_digest: 174dd339d44f2b259fadbab7ebdb8df9
260
261 previous_job_run_with_arvados_sdk_version:
262   uuid: zzzzz-8i9sb-eoo0321or2dw2jg
263   created_at: <%= 14.minute.ago.to_s(:db) %>
264   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
265   repository: active/foo
266   script: hash
267   script_version: 31ce37fe365b3dc204300a3e4c396ad333ed0556
268   script_parameters:
269     input: fa7aeb5140e2848d39b416daeef4ffc5+45
270     an_integer: "1"
271   runtime_constraints:
272     arvados_sdk_version: commit2
273     docker_image: arvados/apitestfixture
274   arvados_sdk_version: 00634b2b8a492d6f121e3cf1d6587b821136a9a7
275   docker_image_locator: fa3c1a9cb6783f85f2ecda037e07b8c3+167
276   success: true
277   output: ea10d51bcf88862dbcc36eb292017dfd+45
278   state: Complete
279   script_parameters_digest: a5f03bbfb8ba88a2efe4a7852671605b
280   log: ea10d51bcf88862dbcc36eb292017dfd+45
281
282 previous_job_run_no_output:
283   uuid: zzzzz-8i9sb-cjs4pklxxjykppp
284   created_at: <%= 14.minute.ago.to_s(:db) %>
285   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
286   repository: active/foo
287   script: hash
288   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
289   script_parameters:
290     input: fa7aeb5140e2848d39b416daeef4ffc5+45
291     an_integer: "2"
292   success: true
293   output: ~
294   state: Complete
295   script_parameters_digest: 174dd339d44f2b259fadbab7ebdb8df9
296
297 previous_job_run_superseded_by_hash_branch:
298   # This supplied_script_version is a branch name with later commits.
299   uuid: zzzzz-8i9sb-aeviezu5dahph3e
300   created_at: <%= 15.minute.ago.to_s(:db) %>
301   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
302   repository: active/shabranchnames
303   script: testscript
304   script_version: 7387838c69a21827834586cc42b467ff6c63293b
305   supplied_script_version: 738783
306   script_parameters: {}
307   success: true
308   output: d41d8cd98f00b204e9800998ecf8427e+0
309   state: Complete
310   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
311
312 nondeterminisic_job_run:
313   uuid: zzzzz-8i9sb-cjs4pklxxjykyyy
314   created_at: <%= 14.minute.ago.to_s(:db) %>
315   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
316   repository: active/foo
317   script: hash2
318   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
319   script_parameters:
320     input: fa7aeb5140e2848d39b416daeef4ffc5+45
321     an_integer: "1"
322   success: true
323   nondeterministic: true
324   state: Complete
325   script_parameters_digest: a5f03bbfb8ba88a2efe4a7852671605b
326
327 nearly_finished_job:
328   uuid: zzzzz-8i9sb-2gx6rz0pjl033w3
329   created_at: <%= 14.minute.ago.to_s(:db) %>
330   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
331   repository: arvados
332   script: doesnotexist
333   script_version: 309e25a64fe994867db8459543af372f850e25b9
334   script_parameters:
335     input: b519d9cb706a29fc7ea24dbea2f05851+249025
336   started_at: <%= 3.minute.ago.to_s(:db) %>
337   finished_at: ~
338   running: true
339   success: ~
340   tasks_summary:
341     failed: 0
342     todo: 0
343     running: 1
344     done: 0
345   runtime_constraints: {}
346   state: Complete
347   script_parameters_digest: 7ea26d58a79b7f5db9f90fb1e33d3006
348
349 queued:
350   uuid: zzzzz-8i9sb-grx15v5mjnsyxk7
351   created_at: <%= 1.minute.ago.to_s(:db) %>
352   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
353   cancelled_at: ~
354   cancelled_by_user_uuid: ~
355   cancelled_by_client_uuid: ~
356   started_at: ~
357   finished_at: ~
358   script: foo
359   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
360   script_parameters: {}
361   running: ~
362   success: ~
363   output: ~
364   priority: 0
365   log: ~
366   is_locked_by_uuid: ~
367   tasks_summary: {}
368   runtime_constraints: {}
369   state: Queued
370   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
371
372 # A job with a log collection that can be parsed by the log viewer.
373 job_with_real_log:
374   uuid: zzzzz-8i9sb-0vsrcqi7whchuil
375   created_at: 2014-09-01 12:00:00
376   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
377   log: 0b9a7787660e1fce4a93f33e01376ba6+81
378   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
379   state: Complete
380   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
381
382 cancelled:
383   uuid: zzzzz-8i9sb-4cf0abc123e809j
384   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
385   cancelled_at: <%= 1.minute.ago.to_s(:db) %>
386   cancelled_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
387   cancelled_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
388   created_at: <%= 4.minute.ago.to_s(:db) %>
389   started_at: <%= 3.minute.ago.to_s(:db) %>
390   finished_at: ~
391   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
392   running: false
393   success: ~
394   output: ~
395   priority: 0
396   log: ~
397   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
398   tasks_summary:
399     failed: 0
400     todo: 3
401     running: 1
402     done: 1
403   runtime_constraints: {}
404   state: Cancelled
405   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
406
407 job_in_subproject:
408   uuid: zzzzz-8i9sb-subprojectjob01
409   created_at: 2014-10-15 12:00:00
410   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
411   log: ~
412   repository: active/foo
413   script: hash
414   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
415   state: Complete
416   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
417
418 job_in_trashed_project:
419   uuid: zzzzz-8i9sb-subprojectjob02
420   created_at: 2014-10-15 12:00:00
421   owner_uuid: zzzzz-j7d0g-trashedproject2
422   log: ~
423   repository: active/foo
424   script: hash
425   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
426   state: Complete
427   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
428
429 running_will_be_completed:
430   uuid: zzzzz-8i9sb-rshmckwoma9pjh8
431   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
432   cancelled_at: ~
433   cancelled_by_user_uuid: ~
434   cancelled_by_client_uuid: ~
435   created_at: <%= 3.minute.ago.to_s(:db) %>
436   started_at: <%= 3.minute.ago.to_s(:db) %>
437   finished_at: ~
438   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
439   running: true
440   success: ~
441   output: ~
442   priority: 0
443   log: ~
444   is_locked_by_uuid: zzzzz-tpzed-d9tiejq69daie8f
445   tasks_summary:
446     failed: 0
447     todo: 3
448     running: 1
449     done: 1
450   runtime_constraints: {}
451   state: Running
452   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
453
454 graph_stage1:
455   uuid: zzzzz-8i9sb-graphstage10000
456   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
457   repository: active/foo
458   script: hash
459   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
460   state: Complete
461   output: fa7aeb5140e2848d39b416daeef4ffc5+45
462   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
463
464 graph_stage2:
465   uuid: zzzzz-8i9sb-graphstage20000
466   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
467   repository: active/foo
468   script: hash2
469   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
470   state: Complete
471   script_parameters:
472     input: fa7aeb5140e2848d39b416daeef4ffc5+45
473     input2: "stuff"
474   output: 65b17c95fdbc9800fc48acda4e9dcd0b+93
475   script_parameters_digest: 4900033ec5cfaf8a63566f3664aeaa70
476
477 graph_stage3:
478   uuid: zzzzz-8i9sb-graphstage30000
479   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
480   repository: active/foo
481   script: hash2
482   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
483   state: Complete
484   script_parameters:
485     input: fa7aeb5140e2848d39b416daeef4ffc5+45
486     input2: "stuff2"
487   output: ea10d51bcf88862dbcc36eb292017dfd+45
488   script_parameters_digest: 02a085407e751d00b5dc88f1bd5e8247
489
490 job_with_latest_version:
491   uuid: zzzzz-8i9sb-nj8ioxnrvjtyk2b
492   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
493   cancelled_at: ~
494   cancelled_by_user_uuid: ~
495   cancelled_by_client_uuid: ~
496   script: hash
497   repository: active/foo
498   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
499   supplied_script_version: master
500   script_parameters:
501     input: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
502   created_at: <%= 3.minute.ago.to_s(:db) %>
503   started_at: <%= 2.minute.ago.to_s(:db) %>
504   finished_at: <%= 1.minute.ago.to_s(:db) %>
505   running: false
506   success: true
507   output: fa7aeb5140e2848d39b416daeef4ffc5+45
508   priority: 0
509   log: ea10d51bcf88862dbcc36eb292017dfd+45
510   is_locked_by_uuid: ~
511   tasks_summary:
512     failed: 0
513     todo: 0
514     running: 0
515     done: 1
516   runtime_constraints: {}
517   state: Complete
518   script_parameters_digest: 03a43a7d84f7fb022467b876c2950acd
519
520 running_job_in_publicly_accessible_project:
521   uuid: zzzzz-8i9sb-n7omg50bvt0m1nf
522   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
523   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
524   repository: active/foo
525   script: running_job_script
526   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
527   state: Running
528   script_parameters:
529     input: fa7aeb5140e2848d39b416daeef4ffc5+45
530     input2: "stuff2"
531   script_parameters_digest: 02a085407e751d00b5dc88f1bd5e8247
532
533 completed_job_in_publicly_accessible_project:
534   uuid: zzzzz-8i9sb-jyq01m7in1jlofj
535   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
536   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
537   repository: active/foo
538   script: completed_job_script
539   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
540   state: Complete
541   script_parameters:
542     input: fa7aeb5140e2848d39b416daeef4ffc5+45
543     input2: "stuff2"
544   log: zzzzz-4zz18-4en62shvi99lxd4
545   output: b519d9cb706a29fc7ea24dbea2f05851+93
546   script_parameters_digest: 02a085407e751d00b5dc88f1bd5e8247
547   started_at: <%= 10.minute.ago.to_s(:db) %>
548   finished_at: <%= 5.minute.ago.to_s(:db) %>
549
550 job_in_publicly_accessible_project_but_other_objects_elsewhere:
551   uuid: zzzzz-8i9sb-jyq01muyhgr4ofj
552   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
553   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
554   repository: active/foo
555   script: completed_job_script
556   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
557   state: Complete
558   script_parameters:
559     input: fa7aeb5140e2848d39b416daeef4ffc5+45
560     input2: "stuff2"
561   log: zzzzz-4zz18-fy296fx3hot09f7
562   output: zzzzz-4zz18-bv31uwvy3neko21
563   script_parameters_digest: 02a085407e751d00b5dc88f1bd5e8247
564
565 running_job_with_components:
566   uuid: zzzzz-8i9sb-with2components
567   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
568   cancelled_at: ~
569   cancelled_by_user_uuid: ~
570   cancelled_by_client_uuid: ~
571   created_at: <%= 3.minute.ago.to_s(:db) %>
572   started_at: <%= 3.minute.ago.to_s(:db) %>
573   finished_at: ~
574   script: hash
575   repository: active/foo
576   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
577   running: true
578   success: ~
579   output: ~
580   priority: 0
581   log: ~
582   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
583   tasks_summary:
584     failed: 0
585     todo: 3
586     running: 1
587     done: 1
588   runtime_constraints: {}
589   state: Running
590   components:
591     component1: zzzzz-8i9sb-jyq01m7in1jlofj
592     component2: zzzzz-d1hrv-partdonepipelin
593   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
594
595 # This main level job is in running state with one job and one pipeline instance components
596 running_job_with_components_at_level_1:
597   uuid: zzzzz-8i9sb-jobcomponentsl1
598   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
599   cancelled_at: ~
600   cancelled_by_user_uuid: ~
601   cancelled_by_client_uuid: ~
602   created_at: <%= 12.hour.ago.to_s(:db) %>
603   started_at: <%= 12.hour.ago.to_s(:db) %>
604   finished_at: ~
605   repository: active/foo
606   script: hash
607   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
608   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
609   running: true
610   success: ~
611   output: ~
612   priority: 0
613   log: ~
614   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
615   tasks_summary:
616     failed: 0
617     todo: 3
618     running: 1
619     done: 1
620   runtime_constraints: {}
621   state: Running
622   components:
623     component1: zzzzz-8i9sb-jobcomponentsl2
624     component2: zzzzz-d1hrv-picomponentsl02
625
626 # This running job, a child of level_1, has one child component
627 running_job_with_components_at_level_2:
628   uuid: zzzzz-8i9sb-jobcomponentsl2
629   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
630   cancelled_at: ~
631   cancelled_by_user_uuid: ~
632   cancelled_by_client_uuid: ~
633   created_at: <%= 12.hour.ago.to_s(:db) %>
634   started_at: <%= 12.hour.ago.to_s(:db) %>
635   finished_at: ~
636   repository: active/foo
637   script: hash
638   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
639   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
640   running: true
641   success: ~
642   output: ~
643   priority: 0
644   log: ~
645   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
646   tasks_summary:
647     failed: 0
648     todo: 3
649     running: 1
650     done: 1
651   runtime_constraints: {}
652   state: Running
653   components:
654     component1: zzzzz-8i9sb-job1atlevel3noc
655
656 # The below two running jobs, children of level_2, have no child components
657 running_job_1_with_components_at_level_3:
658   uuid: zzzzz-8i9sb-job1atlevel3noc
659   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
660   cancelled_at: ~
661   cancelled_by_user_uuid: ~
662   cancelled_by_client_uuid: ~
663   created_at: <%= 12.hour.ago.to_s(:db) %>
664   started_at: <%= 12.hour.ago.to_s(:db) %>
665   finished_at: ~
666   repository: active/foo
667   script: hash
668   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
669   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
670   running: true
671   success: ~
672   output: ~
673   priority: 0
674   log: ~
675   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
676   tasks_summary:
677     failed: 0
678     todo: 3
679     running: 1
680     done: 1
681   runtime_constraints: {}
682   state: Running
683
684 running_job_2_with_components_at_level_3:
685   uuid: zzzzz-8i9sb-job2atlevel3noc
686   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
687   cancelled_at: ~
688   cancelled_by_user_uuid: ~
689   cancelled_by_client_uuid: ~
690   created_at: <%= 12.hour.ago.to_s(:db) %>
691   started_at: <%= 12.hour.ago.to_s(:db) %>
692   finished_at: ~
693   repository: active/foo
694   script: hash
695   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
696   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
697   running: true
698   success: ~
699   output: ~
700   priority: 0
701   log: ~
702   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
703   tasks_summary:
704     failed: 0
705     todo: 3
706     running: 1
707     done: 1
708   runtime_constraints: {}
709   state: Running
710
711 # The two jobs below are so confused, they have circular relationship
712 running_job_1_with_circular_component_relationship:
713   uuid: zzzzz-8i9sb-job1withcirculr
714   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
715   cancelled_at: ~
716   cancelled_by_user_uuid: ~
717   cancelled_by_client_uuid: ~
718   created_at: <%= 12.hour.ago.to_s(:db) %>
719   started_at: <%= 12.hour.ago.to_s(:db) %>
720   finished_at: ~
721   repository: active/foo
722   script: hash
723   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
724   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
725   running: true
726   success: ~
727   output: ~
728   priority: 0
729   log: ~
730   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
731   tasks_summary:
732     failed: 0
733     todo: 3
734     running: 1
735     done: 1
736   runtime_constraints: {}
737   state: Running
738   components:
739     component1: zzzzz-8i9sb-job2withcirculr
740
741 running_job_2_with_circular_component_relationship:
742   uuid: zzzzz-8i9sb-job2withcirculr
743   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
744   cancelled_at: ~
745   cancelled_by_user_uuid: ~
746   cancelled_by_client_uuid: ~
747   created_at: <%= 12.hour.ago.to_s(:db) %>
748   started_at: <%= 12.hour.ago.to_s(:db) %>
749   finished_at: ~
750   repository: active/foo
751   script: hash
752   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
753   script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b
754   running: true
755   success: ~
756   output: ~
757   priority: 0
758   log: ~
759   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
760   tasks_summary:
761     failed: 0
762     todo: 3
763     running: 1
764     done: 1
765   runtime_constraints: {}
766   state: Running
767   components:
768     component1: zzzzz-8i9sb-job1withcirculr