4084: Merge branch 'master' into 4084-log-pane-refresh-TC
[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_no_output:
187   uuid: zzzzz-8i9sb-cjs4pklxxjykppp
188   created_at: <%= 14.minute.ago.to_s(:db) %>
189   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
190   repository: foo
191   script: hash
192   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
193   script_parameters:
194     input: fa7aeb5140e2848d39b416daeef4ffc5+45
195     an_integer: "2"
196   success: true
197   output: ~
198   state: Complete
199
200 nondeterminisic_job_run:
201   uuid: zzzzz-8i9sb-cjs4pklxxjykyyy
202   created_at: <%= 14.minute.ago.to_s(:db) %>
203   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
204   repository: foo
205   script: hash2
206   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
207   script_parameters:
208     input: fa7aeb5140e2848d39b416daeef4ffc5+45
209     an_integer: "1"
210   success: true
211   nondeterministic: true
212   state: Complete
213
214 nearly_finished_job:
215   uuid: zzzzz-8i9sb-2gx6rz0pjl033w3
216   created_at: <%= 14.minute.ago.to_s(:db) %>
217   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
218   repository: arvados
219   script: doesnotexist
220   script_version: 309e25a64fe994867db8459543af372f850e25b9
221   script_parameters:
222     input: b519d9cb706a29fc7ea24dbea2f05851+249025
223   started_at: <%= 3.minute.ago.to_s(:db) %>
224   finished_at: ~
225   running: true
226   success: ~
227   tasks_summary:
228     failed: 0
229     todo: 0
230     running: 1
231     done: 0
232   runtime_constraints: {}
233   state: Complete
234
235 queued:
236   uuid: zzzzz-8i9sb-grx15v5mjnsyxk7
237   created_at: <%= 1.minute.ago.to_s(:db) %>
238   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
239   cancelled_at: ~
240   cancelled_by_user_uuid: ~
241   cancelled_by_client_uuid: ~
242   started_at: ~
243   finished_at: ~
244   script: foo
245   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
246   script_parameters: {}
247   running: ~
248   success: ~
249   output: ~
250   priority: 0
251   log: ~
252   is_locked_by_uuid: ~
253   tasks_summary: {}
254   runtime_constraints: {}
255   state: Queued
256
257 # A job with a log collection that can be parsed by the log viewer.
258 job_with_real_log:
259   uuid: zzzzz-8i9sb-0vsrcqi7whchuil
260   created_at: 2014-09-01 12:00:00
261   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
262   log: 0b9a7787660e1fce4a93f33e01376ba6+81
263   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
264   state: Complete
265
266 cancelled:
267   uuid: zzzzz-8i9sb-4cf0abc123e809j
268   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
269   cancelled_at: <%= 1.minute.ago.to_s(:db) %>
270   cancelled_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
271   cancelled_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
272   created_at: <%= 4.minute.ago.to_s(:db) %>
273   started_at: <%= 3.minute.ago.to_s(:db) %>
274   finished_at: ~
275   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
276   running: false
277   success: ~
278   output: ~
279   priority: 0
280   log: ~
281   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
282   tasks_summary:
283     failed: 0
284     todo: 3
285     running: 1
286     done: 1
287   runtime_constraints: {}
288   state: Cancelled
289
290 job_in_subproject:
291   uuid: zzzzz-8i9sb-subprojectjob01
292   created_at: 2014-10-15 12:00:00
293   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
294   log: ~
295   repository: foo
296   script: hash
297   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
298   state: Complete
299
300 running_will_be_completed:
301   uuid: zzzzz-8i9sb-pshmckwoma9plh8
302   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
303   cancelled_at: ~
304   cancelled_by_user_uuid: ~
305   cancelled_by_client_uuid: ~
306   created_at: <%= 3.minute.ago.to_s(:db) %>
307   started_at: <%= 3.minute.ago.to_s(:db) %>
308   finished_at: ~
309   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
310   running: true
311   success: ~
312   output: ~
313   priority: 0
314   log: ~
315   is_locked_by_uuid: zzzzz-tpzed-d9tiejq69daie8f
316   tasks_summary:
317     failed: 0
318     todo: 3
319     running: 1
320     done: 1
321   runtime_constraints: {}
322   state: Running
323
324 graph_stage1:
325   uuid: zzzzz-8i9sb-graphstage10000
326   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
327   repository: foo
328   script: hash
329   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
330   state: Complete
331   output: fa7aeb5140e2848d39b416daeef4ffc5+45
332
333 graph_stage2:
334   uuid: zzzzz-8i9sb-graphstage20000
335   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
336   repository: foo
337   script: hash2
338   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
339   state: Complete
340   script_parameters:
341     input: fa7aeb5140e2848d39b416daeef4ffc5+45
342     input2: "stuff"
343   output: 65b17c95fdbc9800fc48acda4e9dcd0b+93
344
345 graph_stage3:
346   uuid: zzzzz-8i9sb-graphstage30000
347   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
348   repository: foo
349   script: hash2
350   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
351   state: Complete
352   script_parameters:
353     input: fa7aeb5140e2848d39b416daeef4ffc5+45
354     input2: "stuff2"
355   output: ea10d51bcf88862dbcc36eb292017dfd+45
356
357
358 # Test Helper trims the rest of the file
359
360 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper
361
362 # jobs in project_with_2_pipelines_and_60_jobs
363 <% for i in 1..60 do %>
364 job_<%=i%>_of_60:
365   uuid: zzzzz-8i9sb-oneof100jobs<%= i.to_s.rjust(3, '0') %>
366   created_at: <%= ((i+5)/5).minute.ago.to_s(:db) %>
367   owner_uuid: zzzzz-j7d0g-nnjobspipelines
368   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
369   state: Complete
370 <% end %>
371
372 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper