Log a banner at the top of each test.
[arvados.git] / services / api / test / fixtures / jobs.yml
1 running:
2   uuid: zzzzz-8i9sb-pshmckwoma9plh7
3   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
4   cancelled_at: ~
5   cancelled_by_user_uuid: ~
6   cancelled_by_client_uuid: ~
7   created_at: <%= 3.minute.ago.to_s(:db) %>
8   started_at: <%= 3.minute.ago.to_s(:db) %>
9   finished_at: ~
10   script: hash
11   repository: active/foo
12   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
13   running: true
14   success: ~
15   output: ~
16   priority: 0
17   log: ~
18   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
19   tasks_summary:
20     failed: 0
21     todo: 3
22     running: 1
23     done: 1
24   runtime_constraints: {}
25   state: Running
26
27 running_cancelled:
28   uuid: zzzzz-8i9sb-4cf0nhn6xte809j
29   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
30   cancelled_at: <%= 1.minute.ago.to_s(:db) %>
31   cancelled_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
32   cancelled_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
33   created_at: <%= 4.minute.ago.to_s(:db) %>
34   started_at: <%= 3.minute.ago.to_s(:db) %>
35   finished_at: ~
36   script: hash
37   repository: active/foo
38   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
39   running: true
40   success: ~
41   output: ~
42   priority: 0
43   log: ~
44   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
45   tasks_summary:
46     failed: 0
47     todo: 3
48     running: 1
49     done: 1
50   runtime_constraints: {}
51   state: Cancelled
52
53 uses_nonexistent_script_version:
54   uuid: zzzzz-8i9sb-7m339pu0x9mla88
55   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
56   cancelled_at: ~
57   cancelled_by_user_uuid: ~
58   cancelled_by_client_uuid: ~
59   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
60   created_at: <%= 5.minute.ago.to_s(:db) %>
61   started_at: <%= 3.minute.ago.to_s(:db) %>
62   finished_at: <%= 2.minute.ago.to_s(:db) %>
63   script: hash
64   repository: active/foo
65   running: false
66   success: true
67   output: d41d8cd98f00b204e9800998ecf8427e+0
68   priority: 0
69   log: d41d8cd98f00b204e9800998ecf8427e+0
70   is_locked_by_uuid: ~
71   tasks_summary:
72     failed: 0
73     todo: 0
74     running: 0
75     done: 1
76   runtime_constraints: {}
77   state: Complete
78
79 foobar:
80   uuid: zzzzz-8i9sb-aceg2bnq7jt7kon
81   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
82   cancelled_at: ~
83   cancelled_by_user_uuid: ~
84   cancelled_by_client_uuid: ~
85   script: hash
86   repository: active/foo
87   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
88   script_parameters:
89     input: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
90   created_at: <%= 4.minute.ago.to_s(:db) %>
91   started_at: <%= 3.minute.ago.to_s(:db) %>
92   finished_at: <%= 2.minute.ago.to_s(:db) %>
93   running: false
94   success: true
95   output: fa7aeb5140e2848d39b416daeef4ffc5+45
96   priority: 0
97   log: ea10d51bcf88862dbcc36eb292017dfd+45
98   is_locked_by_uuid: ~
99   tasks_summary:
100     failed: 0
101     todo: 0
102     running: 0
103     done: 1
104   runtime_constraints: {}
105   state: Complete
106
107 barbaz:
108   uuid: zzzzz-8i9sb-cjs4pklxxjykyuq
109   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
110   cancelled_at: ~
111   cancelled_by_user_uuid: ~
112   cancelled_by_client_uuid: ~
113   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
114   script_parameters:
115     input: fa7aeb5140e2848d39b416daeef4ffc5+45
116     an_integer: 1
117   created_at: <%= 4.minute.ago.to_s(:db) %>
118   started_at: <%= 3.minute.ago.to_s(:db) %>
119   finished_at: <%= 2.minute.ago.to_s(:db) %>
120   running: false
121   success: true
122   repository: active/foo
123   output: ea10d51bcf88862dbcc36eb292017dfd+45
124   priority: 0
125   log: d41d8cd98f00b204e9800998ecf8427e+0
126   is_locked_by_uuid: ~
127   tasks_summary:
128     failed: 0
129     todo: 0
130     running: 0
131     done: 1
132   runtime_constraints: {}
133   state: Complete
134
135 runningbarbaz:
136   uuid: zzzzz-8i9sb-cjs4pklxxjykyuj
137   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
138   cancelled_at: ~
139   cancelled_by_user_uuid: ~
140   cancelled_by_client_uuid: ~
141   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
142   script_parameters:
143     input: fa7aeb5140e2848d39b416daeef4ffc5+45
144     an_integer: 1
145   created_at: <%= 4.minute.ago.to_s(:db) %>
146   started_at: <%= 3.minute.ago.to_s(:db) %>
147   finished_at: <%= 2.minute.ago.to_s(:db) %>
148   running: true
149   success: ~
150   repository: active/foo
151   output: ea10d51bcf88862dbcc36eb292017dfd+45
152   priority: 0
153   log: d41d8cd98f00b204e9800998ecf8427e+0
154   is_locked_by_uuid: ~
155   tasks_summary:
156     failed: 0
157     todo: 0
158     running: 1
159     done: 0
160   runtime_constraints: {}
161   state: Running
162
163 previous_job_run:
164   uuid: zzzzz-8i9sb-cjs4pklxxjykqqq
165   created_at: <%= 14.minute.ago.to_s(:db) %>
166   finished_at: <%= 13.minutes.ago.to_s(:db) %>
167   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
168   repository: active/foo
169   script: hash
170   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
171   script_parameters:
172     input: fa7aeb5140e2848d39b416daeef4ffc5+45
173     an_integer: "1"
174   success: true
175   log: d41d8cd98f00b204e9800998ecf8427e+0
176   output: ea10d51bcf88862dbcc36eb292017dfd+45
177   state: Complete
178
179 previous_ancient_job_run:
180   uuid: zzzzz-8i9sb-ahd7cie8jah9qui
181   created_at: <%= 366.days.ago.to_s(:db) %>
182   finished_at: <%= 365.days.ago.to_s(:db) %>
183   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
184   repository: active/foo
185   script: hash
186   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
187   script_parameters:
188     input: fa7aeb5140e2848d39b416daeef4ffc5+45
189     an_integer: "2"
190   success: true
191   log: d41d8cd98f00b204e9800998ecf8427e+0
192   output: ea10d51bcf88862dbcc36eb292017dfd+45
193   state: Complete
194
195 previous_docker_job_run:
196   uuid: zzzzz-8i9sb-k6emstgk4kw4yhi
197   created_at: <%= 14.minute.ago.to_s(:db) %>
198   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
199   repository: active/foo
200   script: hash
201   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
202   script_parameters:
203     input: fa7aeb5140e2848d39b416daeef4ffc5+45
204     an_integer: "1"
205   runtime_constraints:
206     docker_image: arvados/apitestfixture
207   success: true
208   output: ea10d51bcf88862dbcc36eb292017dfd+45
209   docker_image_locator: fa3c1a9cb6783f85f2ecda037e07b8c3+167
210   state: Complete
211
212 previous_ancient_docker_image_job_run:
213   uuid: zzzzz-8i9sb-t3b460aolxxuldl
214   created_at: <%= 144.minute.ago.to_s(:db) %>
215   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
216   repository: active/foo
217   script: hash
218   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
219   script_parameters:
220     input: fa7aeb5140e2848d39b416daeef4ffc5+45
221     an_integer: "2"
222   runtime_constraints:
223     docker_image: arvados/apitestfixture
224   success: true
225   output: ea10d51bcf88862dbcc36eb292017dfd+45
226   docker_image_locator: b519d9cb706a29fc7ea24dbea2f05851+93
227   state: Complete
228
229 previous_job_run_with_arvados_sdk_version:
230   uuid: zzzzz-8i9sb-eoo0321or2dw2jg
231   created_at: <%= 14.minute.ago.to_s(:db) %>
232   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
233   repository: active/foo
234   script: hash
235   script_version: 31ce37fe365b3dc204300a3e4c396ad333ed0556
236   script_parameters:
237     input: fa7aeb5140e2848d39b416daeef4ffc5+45
238     an_integer: "1"
239   runtime_constraints:
240     arvados_sdk_version: commit2
241     docker_image: arvados/apitestfixture
242   arvados_sdk_version: 00634b2b8a492d6f121e3cf1d6587b821136a9a7
243   docker_image_locator: fa3c1a9cb6783f85f2ecda037e07b8c3+167
244   success: true
245   output: ea10d51bcf88862dbcc36eb292017dfd+45
246   state: Complete
247
248 previous_job_run_no_output:
249   uuid: zzzzz-8i9sb-cjs4pklxxjykppp
250   created_at: <%= 14.minute.ago.to_s(:db) %>
251   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
252   repository: active/foo
253   script: hash
254   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
255   script_parameters:
256     input: fa7aeb5140e2848d39b416daeef4ffc5+45
257     an_integer: "2"
258   success: true
259   output: ~
260   state: Complete
261
262 previous_job_run_superseded_by_hash_branch:
263   # This supplied_script_version is a branch name with later commits.
264   uuid: zzzzz-8i9sb-aeviezu5dahph3e
265   created_at: <%= 15.minute.ago.to_s(:db) %>
266   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
267   repository: active/shabranchnames
268   script: testscript
269   script_version: 7387838c69a21827834586cc42b467ff6c63293b
270   supplied_script_version: 738783
271   script_parameters: {}
272   success: true
273   output: d41d8cd98f00b204e9800998ecf8427e+0
274   state: Complete
275
276 nondeterminisic_job_run:
277   uuid: zzzzz-8i9sb-cjs4pklxxjykyyy
278   created_at: <%= 14.minute.ago.to_s(:db) %>
279   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
280   repository: active/foo
281   script: hash2
282   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
283   script_parameters:
284     input: fa7aeb5140e2848d39b416daeef4ffc5+45
285     an_integer: "1"
286   success: true
287   nondeterministic: true
288   state: Complete
289
290 nearly_finished_job:
291   uuid: zzzzz-8i9sb-2gx6rz0pjl033w3
292   created_at: <%= 14.minute.ago.to_s(:db) %>
293   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
294   repository: arvados
295   script: doesnotexist
296   script_version: 309e25a64fe994867db8459543af372f850e25b9
297   script_parameters:
298     input: b519d9cb706a29fc7ea24dbea2f05851+249025
299   started_at: <%= 3.minute.ago.to_s(:db) %>
300   finished_at: ~
301   running: true
302   success: ~
303   tasks_summary:
304     failed: 0
305     todo: 0
306     running: 1
307     done: 0
308   runtime_constraints: {}
309   state: Complete
310
311 queued:
312   uuid: zzzzz-8i9sb-grx15v5mjnsyxk7
313   created_at: <%= 1.minute.ago.to_s(:db) %>
314   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
315   cancelled_at: ~
316   cancelled_by_user_uuid: ~
317   cancelled_by_client_uuid: ~
318   started_at: ~
319   finished_at: ~
320   script: foo
321   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
322   script_parameters: {}
323   running: ~
324   success: ~
325   output: ~
326   priority: 0
327   log: ~
328   is_locked_by_uuid: ~
329   tasks_summary: {}
330   runtime_constraints: {}
331   state: Queued
332
333 # A job with a log collection that can be parsed by the log viewer.
334 job_with_real_log:
335   uuid: zzzzz-8i9sb-0vsrcqi7whchuil
336   created_at: 2014-09-01 12:00:00
337   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
338   log: 0b9a7787660e1fce4a93f33e01376ba6+81
339   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
340   state: Complete
341
342 cancelled:
343   uuid: zzzzz-8i9sb-4cf0abc123e809j
344   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
345   cancelled_at: <%= 1.minute.ago.to_s(:db) %>
346   cancelled_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
347   cancelled_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
348   created_at: <%= 4.minute.ago.to_s(:db) %>
349   started_at: <%= 3.minute.ago.to_s(:db) %>
350   finished_at: ~
351   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
352   running: false
353   success: ~
354   output: ~
355   priority: 0
356   log: ~
357   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
358   tasks_summary:
359     failed: 0
360     todo: 3
361     running: 1
362     done: 1
363   runtime_constraints: {}
364   state: Cancelled
365
366 job_in_subproject:
367   uuid: zzzzz-8i9sb-subprojectjob01
368   created_at: 2014-10-15 12:00:00
369   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
370   log: ~
371   repository: active/foo
372   script: hash
373   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
374   state: Complete
375
376 running_will_be_completed:
377   uuid: zzzzz-8i9sb-rshmckwoma9pjh8
378   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
379   cancelled_at: ~
380   cancelled_by_user_uuid: ~
381   cancelled_by_client_uuid: ~
382   created_at: <%= 3.minute.ago.to_s(:db) %>
383   started_at: <%= 3.minute.ago.to_s(:db) %>
384   finished_at: ~
385   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
386   running: true
387   success: ~
388   output: ~
389   priority: 0
390   log: ~
391   is_locked_by_uuid: zzzzz-tpzed-d9tiejq69daie8f
392   tasks_summary:
393     failed: 0
394     todo: 3
395     running: 1
396     done: 1
397   runtime_constraints: {}
398   state: Running
399
400 graph_stage1:
401   uuid: zzzzz-8i9sb-graphstage10000
402   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
403   repository: active/foo
404   script: hash
405   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
406   state: Complete
407   output: fa7aeb5140e2848d39b416daeef4ffc5+45
408
409 graph_stage2:
410   uuid: zzzzz-8i9sb-graphstage20000
411   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
412   repository: active/foo
413   script: hash2
414   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
415   state: Complete
416   script_parameters:
417     input: fa7aeb5140e2848d39b416daeef4ffc5+45
418     input2: "stuff"
419   output: 65b17c95fdbc9800fc48acda4e9dcd0b+93
420
421 graph_stage3:
422   uuid: zzzzz-8i9sb-graphstage30000
423   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
424   repository: active/foo
425   script: hash2
426   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
427   state: Complete
428   script_parameters:
429     input: fa7aeb5140e2848d39b416daeef4ffc5+45
430     input2: "stuff2"
431   output: ea10d51bcf88862dbcc36eb292017dfd+45
432
433 job_with_latest_version:
434   uuid: zzzzz-8i9sb-nj8ioxnrvjtyk2b
435   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
436   cancelled_at: ~
437   cancelled_by_user_uuid: ~
438   cancelled_by_client_uuid: ~
439   script: hash
440   repository: active/foo
441   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
442   supplied_script_version: master
443   script_parameters:
444     input: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
445   created_at: <%= 4.minute.ago.to_s(:db) %>
446   started_at: <%= 3.minute.ago.to_s(:db) %>
447   finished_at: <%= 2.minute.ago.to_s(:db) %>
448   running: false
449   success: true
450   output: fa7aeb5140e2848d39b416daeef4ffc5+45
451   priority: 0
452   log: ea10d51bcf88862dbcc36eb292017dfd+45
453   is_locked_by_uuid: ~
454   tasks_summary:
455     failed: 0
456     todo: 0
457     running: 0
458     done: 1
459   runtime_constraints: {}
460   state: Complete
461
462 running_job_in_publicly_accessible_project:
463   uuid: zzzzz-8i9sb-n7omg50bvt0m1nf
464   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
465   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
466   repository: active/foo
467   script: running_job_script
468   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
469   state: Running
470   script_parameters:
471     input: fa7aeb5140e2848d39b416daeef4ffc5+45
472     input2: "stuff2"
473
474 completed_job_in_publicly_accessible_project:
475   uuid: zzzzz-8i9sb-jyq01m7in1jlofj
476   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
477   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
478   repository: active/foo
479   script: completed_job_script
480   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
481   state: Complete
482   script_parameters:
483     input: fa7aeb5140e2848d39b416daeef4ffc5+45
484     input2: "stuff2"
485   log: zzzzz-4zz18-4en62shvi99lxd4
486   output: b519d9cb706a29fc7ea24dbea2f05851+93
487
488 job_in_publicly_accessible_project_but_other_objects_elsewhere:
489   uuid: zzzzz-8i9sb-jyq01muyhgr4ofj
490   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
491   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
492   repository: active/foo
493   script: completed_job_script
494   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
495   state: Complete
496   script_parameters:
497     input: fa7aeb5140e2848d39b416daeef4ffc5+45
498     input2: "stuff2"
499   log: zzzzz-4zz18-fy296fx3hot09f7
500   output: zzzzz-4zz18-bv31uwvy3neko21
501
502 running_job_with_components:
503   uuid: zzzzz-8i9sb-with2components
504   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
505   cancelled_at: ~
506   cancelled_by_user_uuid: ~
507   cancelled_by_client_uuid: ~
508   created_at: <%= 3.minute.ago.to_s(:db) %>
509   started_at: <%= 3.minute.ago.to_s(:db) %>
510   finished_at: ~
511   script: hash
512   repository: active/foo
513   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
514   running: true
515   success: ~
516   output: ~
517   priority: 0
518   log: ~
519   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
520   tasks_summary:
521     failed: 0
522     todo: 3
523     running: 1
524     done: 1
525   runtime_constraints: {}
526   state: Running
527   components:
528     component1: zzzzz-8i9sb-jobuuid00000001
529     component2: zzzzz-d1hrv-pipelineuuid001
530
531 # Test Helper trims the rest of the file
532
533 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper
534
535 # jobs in project_with_2_pipelines_and_60_jobs
536 <% for i in 1..60 do %>
537 job_<%=i%>_of_60:
538   uuid: zzzzz-8i9sb-oneof100jobs<%= i.to_s.rjust(3, '0') %>
539   created_at: <%= ((i+5)/5).minute.ago.to_s(:db) %>
540   owner_uuid: zzzzz-j7d0g-nnjobspipelines
541   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
542   state: Complete
543 <% end %>
544
545 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper