4523: schema update
[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_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
80   script_parameters:
81     input: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
82   created_at: <%= 4.minute.ago.to_s(:db) %>
83   started_at: <%= 3.minute.ago.to_s(:db) %>
84   finished_at: <%= 2.minute.ago.to_s(:db) %>
85   running: false
86   success: true
87   output: fa7aeb5140e2848d39b416daeef4ffc5+45
88   priority: 0
89   log: ea10d51bcf88862dbcc36eb292017dfd+45
90   is_locked_by_uuid: ~
91   tasks_summary:
92     failed: 0
93     todo: 0
94     running: 0
95     done: 1
96   runtime_constraints: {}
97   state: Complete
98
99 barbaz:
100   uuid: zzzzz-8i9sb-cjs4pklxxjykyuq
101   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
102   cancelled_at: ~
103   cancelled_by_user_uuid: ~
104   cancelled_by_client_uuid: ~
105   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
106   script_parameters:
107     input: fa7aeb5140e2848d39b416daeef4ffc5+45
108     an_integer: 1
109   created_at: <%= 4.minute.ago.to_s(:db) %>
110   started_at: <%= 3.minute.ago.to_s(:db) %>
111   finished_at: <%= 2.minute.ago.to_s(:db) %>
112   running: false
113   success: true
114   repository: foo
115   output: ea10d51bcf88862dbcc36eb292017dfd+45
116   priority: 0
117   log: d41d8cd98f00b204e9800998ecf8427e+0
118   is_locked_by_uuid: ~
119   tasks_summary:
120     failed: 0
121     todo: 0
122     running: 0
123     done: 1
124   runtime_constraints: {}
125   state: Complete
126
127 runningbarbaz:
128   uuid: zzzzz-8i9sb-cjs4pklxxjykyuj
129   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
130   cancelled_at: ~
131   cancelled_by_user_uuid: ~
132   cancelled_by_client_uuid: ~
133   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
134   script_parameters:
135     input: fa7aeb5140e2848d39b416daeef4ffc5+45
136     an_integer: 1
137   created_at: <%= 4.minute.ago.to_s(:db) %>
138   started_at: <%= 3.minute.ago.to_s(:db) %>
139   finished_at: <%= 2.minute.ago.to_s(:db) %>
140   running: true
141   success: ~
142   repository: foo
143   output: ea10d51bcf88862dbcc36eb292017dfd+45
144   priority: 0
145   log: d41d8cd98f00b204e9800998ecf8427e+0
146   is_locked_by_uuid: ~
147   tasks_summary:
148     failed: 0
149     todo: 0
150     running: 1
151     done: 0
152   runtime_constraints: {}
153   state: Running
154
155 previous_job_run:
156   uuid: zzzzz-8i9sb-cjs4pklxxjykqqq
157   created_at: <%= 14.minute.ago.to_s(:db) %>
158   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
159   repository: foo
160   script: hash
161   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
162   script_parameters:
163     input: fa7aeb5140e2848d39b416daeef4ffc5+45
164     an_integer: "1"
165   success: true
166   output: ea10d51bcf88862dbcc36eb292017dfd+45
167   state: Complete
168
169 previous_docker_job_run:
170   uuid: zzzzz-8i9sb-k6emstgk4kw4yhi
171   created_at: <%= 14.minute.ago.to_s(:db) %>
172   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
173   repository: foo
174   script: hash
175   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
176   script_parameters:
177     input: fa7aeb5140e2848d39b416daeef4ffc5+45
178     an_integer: "1"
179   runtime_constraints:
180     docker_image: arvados/test
181   success: true
182   output: ea10d51bcf88862dbcc36eb292017dfd+45
183   docker_image_locator: fa3c1a9cb6783f85f2ecda037e07b8c3+167
184   state: Complete
185
186 previous_job_run_with_arvados_sdk_version:
187   uuid: zzzzz-8i9sb-eoo0321or2dw2jg
188   created_at: <%= 14.minute.ago.to_s(:db) %>
189   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
190   repository: foo
191   script: hash
192   script_version: 31ce37fe365b3dc204300a3e4c396ad333ed0556
193   script_parameters:
194     input: fa7aeb5140e2848d39b416daeef4ffc5+45
195     an_integer: "1"
196   runtime_constraints:
197     arvados_sdk_version: commit2
198   arvados_sdk_version: 00634b2b8a492d6f121e3cf1d6587b821136a9a7
199   success: true
200   output: ea10d51bcf88862dbcc36eb292017dfd+45
201   state: Complete
202
203 previous_job_run_no_output:
204   uuid: zzzzz-8i9sb-cjs4pklxxjykppp
205   created_at: <%= 14.minute.ago.to_s(:db) %>
206   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
207   repository: foo
208   script: hash
209   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
210   script_parameters:
211     input: fa7aeb5140e2848d39b416daeef4ffc5+45
212     an_integer: "2"
213   success: true
214   output: ~
215   state: Complete
216
217 nondeterminisic_job_run:
218   uuid: zzzzz-8i9sb-cjs4pklxxjykyyy
219   created_at: <%= 14.minute.ago.to_s(:db) %>
220   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
221   repository: foo
222   script: hash2
223   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
224   script_parameters:
225     input: fa7aeb5140e2848d39b416daeef4ffc5+45
226     an_integer: "1"
227   success: true
228   nondeterministic: true
229   state: Complete
230
231 nearly_finished_job:
232   uuid: zzzzz-8i9sb-2gx6rz0pjl033w3
233   created_at: <%= 14.minute.ago.to_s(:db) %>
234   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
235   repository: arvados
236   script: doesnotexist
237   script_version: 309e25a64fe994867db8459543af372f850e25b9
238   script_parameters:
239     input: b519d9cb706a29fc7ea24dbea2f05851+249025
240   started_at: <%= 3.minute.ago.to_s(:db) %>
241   finished_at: ~
242   running: true
243   success: ~
244   tasks_summary:
245     failed: 0
246     todo: 0
247     running: 1
248     done: 0
249   runtime_constraints: {}
250   state: Complete
251
252 queued:
253   uuid: zzzzz-8i9sb-grx15v5mjnsyxk7
254   created_at: <%= 1.minute.ago.to_s(:db) %>
255   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
256   cancelled_at: ~
257   cancelled_by_user_uuid: ~
258   cancelled_by_client_uuid: ~
259   started_at: ~
260   finished_at: ~
261   script: foo
262   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
263   script_parameters: {}
264   running: ~
265   success: ~
266   output: ~
267   priority: 0
268   log: ~
269   is_locked_by_uuid: ~
270   tasks_summary: {}
271   runtime_constraints: {}
272   state: Queued
273
274 # A job with a log collection that can be parsed by the log viewer.
275 job_with_real_log:
276   uuid: zzzzz-8i9sb-0vsrcqi7whchuil
277   created_at: 2014-09-01 12:00:00
278   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
279   log: 0b9a7787660e1fce4a93f33e01376ba6+81
280   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
281   state: Complete
282
283 cancelled:
284   uuid: zzzzz-8i9sb-4cf0abc123e809j
285   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
286   cancelled_at: <%= 1.minute.ago.to_s(:db) %>
287   cancelled_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
288   cancelled_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
289   created_at: <%= 4.minute.ago.to_s(:db) %>
290   started_at: <%= 3.minute.ago.to_s(:db) %>
291   finished_at: ~
292   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
293   running: false
294   success: ~
295   output: ~
296   priority: 0
297   log: ~
298   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
299   tasks_summary:
300     failed: 0
301     todo: 3
302     running: 1
303     done: 1
304   runtime_constraints: {}
305   state: Cancelled
306
307 job_in_subproject:
308   uuid: zzzzz-8i9sb-subprojectjob01
309   created_at: 2014-10-15 12:00:00
310   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
311   log: ~
312   repository: foo
313   script: hash
314   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
315   state: Complete
316
317 running_will_be_completed:
318   uuid: zzzzz-8i9sb-rshmckwoma9pjh8
319   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
320   cancelled_at: ~
321   cancelled_by_user_uuid: ~
322   cancelled_by_client_uuid: ~
323   created_at: <%= 3.minute.ago.to_s(:db) %>
324   started_at: <%= 3.minute.ago.to_s(:db) %>
325   finished_at: ~
326   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
327   running: true
328   success: ~
329   output: ~
330   priority: 0
331   log: ~
332   is_locked_by_uuid: zzzzz-tpzed-d9tiejq69daie8f
333   tasks_summary:
334     failed: 0
335     todo: 3
336     running: 1
337     done: 1
338   runtime_constraints: {}
339   state: Running
340
341 graph_stage1:
342   uuid: zzzzz-8i9sb-graphstage10000
343   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
344   repository: foo
345   script: hash
346   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
347   state: Complete
348   output: fa7aeb5140e2848d39b416daeef4ffc5+45
349
350 graph_stage2:
351   uuid: zzzzz-8i9sb-graphstage20000
352   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
353   repository: foo
354   script: hash2
355   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
356   state: Complete
357   script_parameters:
358     input: fa7aeb5140e2848d39b416daeef4ffc5+45
359     input2: "stuff"
360   output: 65b17c95fdbc9800fc48acda4e9dcd0b+93
361
362 graph_stage3:
363   uuid: zzzzz-8i9sb-graphstage30000
364   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
365   repository: foo
366   script: hash2
367   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
368   state: Complete
369   script_parameters:
370     input: fa7aeb5140e2848d39b416daeef4ffc5+45
371     input2: "stuff2"
372   output: ea10d51bcf88862dbcc36eb292017dfd+45
373
374
375 # Test Helper trims the rest of the file
376
377 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper
378
379 # jobs in project_with_2_pipelines_and_60_jobs
380 <% for i in 1..60 do %>
381 job_<%=i%>_of_60:
382   uuid: zzzzz-8i9sb-oneof100jobs<%= i.to_s.rjust(3, '0') %>
383   created_at: <%= ((i+5)/5).minute.ago.to_s(:db) %>
384   owner_uuid: zzzzz-j7d0g-nnjobspipelines
385   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
386   state: Complete
387 <% end %>
388
389 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper