4084: Fix workbench tests.
[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   success: true
180   output: ea10d51bcf88862dbcc36eb292017dfd+45
181   docker_image_locator: fa3c1a9cb6783f85f2ecda037e07b8c3+167
182   state: Complete
183
184 previous_job_run_no_output:
185   uuid: zzzzz-8i9sb-cjs4pklxxjykppp
186   created_at: <%= 14.minute.ago.to_s(:db) %>
187   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
188   repository: foo
189   script: hash
190   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
191   script_parameters:
192     input: fa7aeb5140e2848d39b416daeef4ffc5+45
193     an_integer: "2"
194   success: true
195   output: ~
196   state: Complete
197
198 nondeterminisic_job_run:
199   uuid: zzzzz-8i9sb-cjs4pklxxjykyyy
200   created_at: <%= 14.minute.ago.to_s(:db) %>
201   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
202   repository: foo
203   script: hash2
204   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
205   script_parameters:
206     input: fa7aeb5140e2848d39b416daeef4ffc5+45
207     an_integer: "1"
208   success: true
209   nondeterministic: true
210   state: Complete
211
212 nearly_finished_job:
213   uuid: zzzzz-8i9sb-2gx6rz0pjl033w3
214   created_at: <%= 14.minute.ago.to_s(:db) %>
215   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
216   repository: arvados
217   script: doesnotexist
218   script_version: 309e25a64fe994867db8459543af372f850e25b9
219   script_parameters:
220     input: b519d9cb706a29fc7ea24dbea2f05851+249025
221   started_at: <%= 3.minute.ago.to_s(:db) %>
222   finished_at: ~
223   running: true
224   success: ~
225   tasks_summary:
226     failed: 0
227     todo: 0
228     running: 1
229     done: 0
230   runtime_constraints: {}
231   state: Complete
232
233 queued:
234   uuid: zzzzz-8i9sb-grx15v5mjnsyxk7
235   created_at: <%= 1.minute.ago.to_s(:db) %>
236   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
237   cancelled_at: ~
238   cancelled_by_user_uuid: ~
239   cancelled_by_client_uuid: ~
240   started_at: ~
241   finished_at: ~
242   script: foo
243   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
244   script_parameters: {}
245   running: ~
246   success: ~
247   output: ~
248   priority: 0
249   log: ~
250   is_locked_by_uuid: ~
251   tasks_summary: {}
252   runtime_constraints: {}
253   state: Queued
254
255 # A job with a log collection that can be parsed by the log viewer.
256 job_with_real_log:
257   uuid: zzzzz-8i9sb-0vsrcqi7whchuil
258   created_at: 2014-09-01 12:00:00
259   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
260   log: 0b9a7787660e1fce4a93f33e01376ba6+81
261   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
262   state: Complete
263
264 cancelled:
265   uuid: zzzzz-8i9sb-4cf0abc123e809j
266   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
267   cancelled_at: <%= 1.minute.ago.to_s(:db) %>
268   cancelled_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
269   cancelled_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
270   created_at: <%= 4.minute.ago.to_s(:db) %>
271   started_at: <%= 3.minute.ago.to_s(:db) %>
272   finished_at: ~
273   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
274   running: false
275   success: ~
276   output: ~
277   priority: 0
278   log: ~
279   is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz
280   tasks_summary:
281     failed: 0
282     todo: 3
283     running: 1
284     done: 1
285   runtime_constraints: {}
286   state: Cancelled
287
288 job_in_subproject:
289   uuid: zzzzz-8i9sb-subprojectjob01
290   created_at: 2014-10-15 12:00:00
291   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
292   log: ~
293   repository: foo
294   script: hash
295   script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577
296   state: Complete
297
298 running_will_be_completed:
299   uuid: zzzzz-8i9sb-pshmckwoma9plh8
300   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
301   cancelled_at: ~
302   cancelled_by_user_uuid: ~
303   cancelled_by_client_uuid: ~
304   created_at: <%= 3.minute.ago.to_s(:db) %>
305   started_at: <%= 3.minute.ago.to_s(:db) %>
306   finished_at: ~
307   script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
308   running: true
309   success: ~
310   output: ~
311   priority: 0
312   log: ~
313   is_locked_by_uuid: zzzzz-tpzed-d9tiejq69daie8f
314   tasks_summary:
315     failed: 0
316     todo: 3
317     running: 1
318     done: 1
319   runtime_constraints: {}
320   state: Running
321
322
323 # Test Helper trims the rest of the file
324
325 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper
326
327 # jobs in project_with_2_pipelines_and_200_jobs
328 <% for i in 1..200 do %>
329 job_<%=i%>_of_200:
330   uuid: zzzzz-8i9sb-0vsrcqi7whch<%= i.to_s.rjust(3, '0') %>
331   created_at: <%= i.minute.ago.to_s(:db) %>
332   owner_uuid: zzzzz-j7d0g-nnjobspipelines
333   script_version: 7def43a4d3f20789dda4700f703b5514cc3ed250
334   state: Complete
335 <% end %>
336
337 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper