Merge branch 'master' into 4523-full-text-search
[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_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
11   running: true
12   success: ~
13   output: ~
14   priority: 0
15   log: ~
16   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
17   tasks_summary:
18     failed: 0
19     todo: 3
20     running: 1
21     done: 1
22   runtime_constraints: {}
23   state: Running
24
25 running_cancelled:
26   uuid: zzzzz-8i9sb-4cf0nhn6xte809j
27   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
28   cancelled_at: <%= 1.minute.ago.to_s(:db) %>
29   cancelled_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
30   cancelled_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
31   created_at: <%= 4.minute.ago.to_s(:db) %>
32   started_at: <%= 3.minute.ago.to_s(:db) %>
33   finished_at: ~
34   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
35   running: true
36   success: ~
37   output: ~
38   priority: 0
39   log: ~
40   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
41   tasks_summary:
42     failed: 0
43     todo: 3
44     running: 1
45     done: 1
46   runtime_constraints: {}
47   state: Cancelled
48
49 uses_nonexistent_script_version:
50   uuid: zzzzz-8i9sb-7m339pu0x9mla88
51   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
52   cancelled_at: ~
53   cancelled_by_user_uuid: ~
54   cancelled_by_client_uuid: ~
55   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
56   created_at: <%= 5.minute.ago.to_s(:db) %>
57   started_at: <%= 3.minute.ago.to_s(:db) %>
58   finished_at: <%= 2.minute.ago.to_s(:db) %>
59   running: false
60   success: true
61   output: d41d8cd98f00b204e9800998ecf8427e+0
62   priority: 0
63   log: d41d8cd98f00b204e9800998ecf8427e+0
64   is_locked_by_uuid: ~
65   tasks_summary:
66     failed: 0
67     todo: 0
68     running: 0
69     done: 1
70   runtime_constraints: {}
71   state: Complete
72
73 foobar:
74   uuid: zzzzz-8i9sb-aceg2bnq7jt7kon
75   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
76   cancelled_at: ~
77   cancelled_by_user_uuid: ~
78   cancelled_by_client_uuid: ~
79   script: hash
80   repository: foo
81   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
82   script_parameters:
83     input: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
84   created_at: <%= 4.minute.ago.to_s(:db) %>
85   started_at: <%= 3.minute.ago.to_s(:db) %>
86   finished_at: <%= 2.minute.ago.to_s(:db) %>
87   running: false
88   success: true
89   output: fa7aeb5140e2848d39b416daeef4ffc5+45
90   priority: 0
91   log: ea10d51bcf88862dbcc36eb292017dfd+45
92   is_locked_by_uuid: ~
93   tasks_summary:
94     failed: 0
95     todo: 0
96     running: 0
97     done: 1
98   runtime_constraints: {}
99   state: Complete
100
101 barbaz:
102   uuid: zzzzz-8i9sb-cjs4pklxxjykyuq
103   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
104   cancelled_at: ~
105   cancelled_by_user_uuid: ~
106   cancelled_by_client_uuid: ~
107   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
108   script_parameters:
109     input: fa7aeb5140e2848d39b416daeef4ffc5+45
110     an_integer: 1
111   created_at: <%= 4.minute.ago.to_s(:db) %>
112   started_at: <%= 3.minute.ago.to_s(:db) %>
113   finished_at: <%= 2.minute.ago.to_s(:db) %>
114   running: false
115   success: true
116   repository: foo
117   output: ea10d51bcf88862dbcc36eb292017dfd+45
118   priority: 0
119   log: d41d8cd98f00b204e9800998ecf8427e+0
120   is_locked_by_uuid: ~
121   tasks_summary:
122     failed: 0
123     todo: 0
124     running: 0
125     done: 1
126   runtime_constraints: {}
127   state: Complete
128
129 runningbarbaz:
130   uuid: zzzzz-8i9sb-cjs4pklxxjykyuj
131   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
132   cancelled_at: ~
133   cancelled_by_user_uuid: ~
134   cancelled_by_client_uuid: ~
135   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
136   script_parameters:
137     input: fa7aeb5140e2848d39b416daeef4ffc5+45
138     an_integer: 1
139   created_at: <%= 4.minute.ago.to_s(:db) %>
140   started_at: <%= 3.minute.ago.to_s(:db) %>
141   finished_at: <%= 2.minute.ago.to_s(:db) %>
142   running: true
143   success: ~
144   repository: foo
145   output: ea10d51bcf88862dbcc36eb292017dfd+45
146   priority: 0
147   log: d41d8cd98f00b204e9800998ecf8427e+0
148   is_locked_by_uuid: ~
149   tasks_summary:
150     failed: 0
151     todo: 0
152     running: 1
153     done: 0
154   runtime_constraints: {}
155   state: Running
156
157 previous_job_run:
158   uuid: zzzzz-8i9sb-cjs4pklxxjykqqq
159   created_at: <%= 14.minute.ago.to_s(:db) %>
160   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
161   repository: foo
162   script: hash
163   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
164   script_parameters:
165     input: fa7aeb5140e2848d39b416daeef4ffc5+45
166     an_integer: "1"
167   success: true
168   output: ea10d51bcf88862dbcc36eb292017dfd+45
169   state: Complete
170
171 previous_docker_job_run:
172   uuid: zzzzz-8i9sb-k6emstgk4kw4yhi
173   created_at: <%= 14.minute.ago.to_s(:db) %>
174   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
175   repository: foo
176   script: hash
177   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
178   script_parameters:
179     input: fa7aeb5140e2848d39b416daeef4ffc5+45
180     an_integer: "1"
181   runtime_constraints:
182     docker_image: arvados/test
183   success: true
184   output: ea10d51bcf88862dbcc36eb292017dfd+45
185   docker_image_locator: fa3c1a9cb6783f85f2ecda037e07b8c3+167
186   state: Complete
187
188 previous_job_run_with_arvados_sdk_version:
189   uuid: zzzzz-8i9sb-eoo0321or2dw2jg
190   created_at: <%= 14.minute.ago.to_s(:db) %>
191   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
192   repository: foo
193   script: hash
194   script_version: 31ce37fe365b3dc204300a3e4c396ad333ed0556
195   script_parameters:
196     input: fa7aeb5140e2848d39b416daeef4ffc5+45
197     an_integer: "1"
198   runtime_constraints:
199     arvados_sdk_version: commit2
200   arvados_sdk_version: 00634b2b8a492d6f121e3cf1d6587b821136a9a7
201   success: true
202   output: ea10d51bcf88862dbcc36eb292017dfd+45
203   state: Complete
204
205 previous_job_run_no_output:
206   uuid: zzzzz-8i9sb-cjs4pklxxjykppp
207   created_at: <%= 14.minute.ago.to_s(:db) %>
208   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
209   repository: foo
210   script: hash
211   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
212   script_parameters:
213     input: fa7aeb5140e2848d39b416daeef4ffc5+45
214     an_integer: "2"
215   success: true
216   output: ~
217   state: Complete
218
219 nondeterminisic_job_run:
220   uuid: zzzzz-8i9sb-cjs4pklxxjykyyy
221   created_at: <%= 14.minute.ago.to_s(:db) %>
222   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
223   repository: foo
224   script: hash2
225   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
226   script_parameters:
227     input: fa7aeb5140e2848d39b416daeef4ffc5+45
228     an_integer: "1"
229   success: true
230   nondeterministic: true
231   state: Complete
232
233 nearly_finished_job:
234   uuid: zzzzz-8i9sb-2gx6rz0pjl033w3
235   created_at: <%= 14.minute.ago.to_s(:db) %>
236   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
237   repository: arvados
238   script: doesnotexist
239   script_version: 309e25a64fe994867db8459543af372f850e25b9
240   script_parameters:
241     input: b519d9cb706a29fc7ea24dbea2f05851+249025
242   started_at: <%= 3.minute.ago.to_s(:db) %>
243   finished_at: ~
244   running: true
245   success: ~
246   tasks_summary:
247     failed: 0
248     todo: 0
249     running: 1
250     done: 0
251   runtime_constraints: {}
252   state: Complete
253
254 queued:
255   uuid: zzzzz-8i9sb-grx15v5mjnsyxk7
256   created_at: <%= 1.minute.ago.to_s(:db) %>
257   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
258   cancelled_at: ~
259   cancelled_by_user_uuid: ~
260   cancelled_by_client_uuid: ~
261   started_at: ~
262   finished_at: ~
263   script: foo
264   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
265   script_parameters: {}
266   running: ~
267   success: ~
268   output: ~
269   priority: 0
270   log: ~
271   is_locked_by_uuid: ~
272   tasks_summary: {}
273   runtime_constraints: {}
274   state: Queued
275
276 # A job with a log collection that can be parsed by the log viewer.
277 job_with_real_log:
278   uuid: zzzzz-8i9sb-0vsrcqi7whchuil
279   created_at: 2014-09-01 12:00:00
280   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
281   log: 0b9a7787660e1fce4a93f33e01376ba6+81
282   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
283   state: Complete
284
285 cancelled:
286   uuid: zzzzz-8i9sb-4cf0abc123e809j
287   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
288   cancelled_at: <%= 1.minute.ago.to_s(:db) %>
289   cancelled_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
290   cancelled_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
291   created_at: <%= 4.minute.ago.to_s(:db) %>
292   started_at: <%= 3.minute.ago.to_s(:db) %>
293   finished_at: ~
294   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
295   running: false
296   success: ~
297   output: ~
298   priority: 0
299   log: ~
300   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
301   tasks_summary:
302     failed: 0
303     todo: 3
304     running: 1
305     done: 1
306   runtime_constraints: {}
307   state: Cancelled
308
309 job_in_subproject:
310   uuid: zzzzz-8i9sb-subprojectjob01
311   created_at: 2014-10-15 12:00:00
312   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
313   log: ~
314   repository: foo
315   script: hash
316   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
317   state: Complete
318
319 running_will_be_completed:
320   uuid: zzzzz-8i9sb-rshmckwoma9pjh8
321   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
322   cancelled_at: ~
323   cancelled_by_user_uuid: ~
324   cancelled_by_client_uuid: ~
325   created_at: <%= 3.minute.ago.to_s(:db) %>
326   started_at: <%= 3.minute.ago.to_s(:db) %>
327   finished_at: ~
328   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
329   running: true
330   success: ~
331   output: ~
332   priority: 0
333   log: ~
334   is_locked_by_uuid: zzzzz-tpzed-d9tiejq69daie8f
335   tasks_summary:
336     failed: 0
337     todo: 3
338     running: 1
339     done: 1
340   runtime_constraints: {}
341   state: Running
342
343 graph_stage1:
344   uuid: zzzzz-8i9sb-graphstage10000
345   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
346   repository: foo
347   script: hash
348   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
349   state: Complete
350   output: fa7aeb5140e2848d39b416daeef4ffc5+45
351
352 graph_stage2:
353   uuid: zzzzz-8i9sb-graphstage20000
354   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
355   repository: foo
356   script: hash2
357   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
358   state: Complete
359   script_parameters:
360     input: fa7aeb5140e2848d39b416daeef4ffc5+45
361     input2: "stuff"
362   output: 65b17c95fdbc9800fc48acda4e9dcd0b+93
363
364 graph_stage3:
365   uuid: zzzzz-8i9sb-graphstage30000
366   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
367   repository: foo
368   script: hash2
369   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
370   state: Complete
371   script_parameters:
372     input: fa7aeb5140e2848d39b416daeef4ffc5+45
373     input2: "stuff2"
374   output: ea10d51bcf88862dbcc36eb292017dfd+45
375
376 job_with_latest_version:
377   uuid: zzzzz-8i9sb-nj8ioxnrvjtyk2b
378   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
379   cancelled_at: ~
380   cancelled_by_user_uuid: ~
381   cancelled_by_client_uuid: ~
382   script: hash
383   repository: foo
384   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
385   supplied_script_version: master
386   script_parameters:
387     input: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
388   created_at: <%= 4.minute.ago.to_s(:db) %>
389   started_at: <%= 3.minute.ago.to_s(:db) %>
390   finished_at: <%= 2.minute.ago.to_s(:db) %>
391   running: false
392   success: true
393   output: fa7aeb5140e2848d39b416daeef4ffc5+45
394   priority: 0
395   log: ea10d51bcf88862dbcc36eb292017dfd+45
396   is_locked_by_uuid: ~
397   tasks_summary:
398     failed: 0
399     todo: 0
400     running: 0
401     done: 1
402   runtime_constraints: {}
403   state: Complete
404
405 running_job_in_publicly_accessible_project:
406   uuid: zzzzz-8i9sb-n7omg50bvt0m1nf
407   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
408   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
409   repository: foo
410   script: running_job_script
411   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
412   state: Running
413   script_parameters:
414     input: fa7aeb5140e2848d39b416daeef4ffc5+45
415     input2: "stuff2"
416
417 completed_job_in_publicly_accessible_project:
418   uuid: zzzzz-8i9sb-jyq01m7in1jlofj
419   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
420   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
421   repository: foo
422   script: completed_job_script
423   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
424   state: Complete
425   script_parameters:
426     input: fa7aeb5140e2848d39b416daeef4ffc5+45
427     input2: "stuff2"
428
429 # Test Helper trims the rest of the file
430
431 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper
432
433 # jobs in project_with_2_pipelines_and_60_jobs
434 <% for i in 1..60 do %>
435 job_<%=i%>_of_60:
436   uuid: zzzzz-8i9sb-oneof100jobs<%= i.to_s.rjust(3, '0') %>
437   created_at: <%= ((i+5)/5).minute.ago.to_s(:db) %>
438   owner_uuid: zzzzz-j7d0g-nnjobspipelines
439   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
440   state: Complete
441 <% end %>
442
443 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper