17778: update docs.
[arvados.git] / services / api / test / fixtures / container_requests.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 queued:
6   uuid: zzzzz-xvhdp-cr4queuedcontnr
7   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
8   name: queued
9   state: Committed
10   priority: 1
11   created_at: <%= 2.minute.ago.to_s(:db) %>
12   updated_at: <%= 1.minute.ago.to_s(:db) %>
13   modified_at: <%= 1.minute.ago.to_s(:db) %>
14   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
15   container_image: test
16   cwd: test
17   output_path: test
18   command: ["echo", "hello"]
19   container_uuid: zzzzz-dz642-queuedcontainer
20   runtime_constraints:
21     vcpus: 1
22     ram: 123
23   mounts: {}
24
25 running:
26   uuid: zzzzz-xvhdp-cr4runningcntnr
27   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
28   name: running
29   state: Committed
30   priority: 501
31   created_at: <%= 2.minute.ago.to_s(:db) %>
32   updated_at: <%= 1.minute.ago.to_s(:db) %>
33   modified_at: <%= 1.minute.ago.to_s(:db) %>
34   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
35   container_image: test
36   cwd: test
37   output_path: test
38   command: ["echo", "hello"]
39   container_uuid: zzzzz-dz642-runningcontainr
40   runtime_constraints:
41     vcpus: 1
42     ram: 123
43   mounts: {}
44
45 requester_for_running:
46   uuid: zzzzz-xvhdp-req4runningcntr
47   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
48   name: requester_for_running_cr
49   state: Committed
50   priority: 1
51   created_at: <%= 2.minute.ago.to_s(:db) %>
52   updated_at: <%= 2.minute.ago.to_s(:db) %>
53   modified_at: <%= 2.minute.ago.to_s(:db) %>
54   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
55   container_image: test
56   cwd: test
57   output_path: test
58   command: ["echo", "hello"]
59   container_uuid: zzzzz-dz642-logscontainer03
60   requesting_container_uuid: zzzzz-dz642-runningcontainr
61   runtime_constraints:
62     vcpus: 1
63     ram: 123
64   mounts: {}
65
66 running_older:
67   uuid: zzzzz-xvhdp-cr4runningcntn2
68   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
69   name: running
70   state: Committed
71   priority: 1
72   created_at: 2016-01-11 11:11:11.111111111 Z
73   updated_at: 2016-01-11 11:11:11.111111111 Z
74   modified_at: 2016-01-12 11:11:11.111111111 Z
75   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
76   container_image: test
77   cwd: test
78   output_path: test
79   command: ["echo", "hello"]
80   container_uuid: zzzzz-dz642-runningcontain2
81   runtime_constraints:
82     vcpus: 1
83     ram: 123
84   mounts: {}
85
86 completed:
87   uuid: zzzzz-xvhdp-cr4completedctr
88   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
89   name: completed container request
90   state: Final
91   priority: 1
92   created_at: <%= 2.minute.ago.to_s(:db) %>
93   updated_at: <%= 1.minute.ago.to_s(:db) %>
94   modified_at: <%= 1.minute.ago.to_s(:db) %>
95   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
96   container_image: test
97   cwd: test
98   output_path: test
99   command: ["echo", "hello"]
100   container_uuid: zzzzz-dz642-compltcontainer
101   log_uuid: zzzzz-4zz18-logcollection01
102   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
103   runtime_constraints:
104     vcpus: 1
105     ram: 123
106   mounts: {}
107
108 completed-older:
109   uuid: zzzzz-xvhdp-cr4completedcr2
110   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
111   name: completed
112   state: Final
113   priority: 1
114   created_at: <%= 30.minute.ago.to_s(:db) %>
115   updated_at: 2016-01-11 11:11:11.111111111 Z
116   modified_at: 2016-01-11 11:11:11.111111111 Z
117   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
118   container_image: test
119   cwd: test
120   output_path: test
121   command: ["arvados-cwl-runner", "echo", "hello"]
122   container_uuid: zzzzz-dz642-compltcontainr2
123   log_uuid: zzzzz-4zz18-logcollection02
124   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
125   runtime_constraints:
126     vcpus: 1
127     ram: 123
128   mounts: {}
129
130 completed_diagnostics:
131   name: CWL diagnostics hasher
132   uuid: zzzzz-xvhdp-diagnostics0001
133   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
134   state: Final
135   priority: 1
136   created_at: 2020-11-02T00:03:50.229364000Z
137   modified_at: 2020-11-02T00:20:44.041122000Z
138   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
139   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
140   cwd: /var/spool/cwl
141   output_path: /var/spool/cwl
142   command: [
143              "arvados-cwl-runner",
144              "--local",
145              "--api=containers",
146              "--no-log-timestamps",
147              "--disable-validate",
148              "--disable-color",
149              "--eval-timeout=20",
150              "--thread-count=1",
151              "--disable-reuse",
152              "--collection-cache-size=256",
153              "--on-error=continue",
154              "/var/lib/cwl/workflow.json#main",
155              "/var/lib/cwl/cwl.input.json"
156            ]
157   container_uuid: zzzzz-dz642-diagcompreq0001
158   log_uuid: zzzzz-4zz18-diagcompreqlog1
159   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
160   runtime_constraints:
161     vcpus: 1
162     ram: 1342177280
163     API: true
164
165 completed_diagnostics_hasher1:
166   name: hasher1
167   uuid: zzzzz-xvhdp-diag1hasher0001
168   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
169   state: Final
170   priority: 500
171   created_at: 2020-11-02T00:03:50.229364000Z
172   modified_at: 2020-11-02T00:20:44.041122000Z
173   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
174   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
175   cwd: /var/spool/cwl
176   output_name: Output for step hasher1
177   output_path: /var/spool/cwl
178   command: [
179              "md5sum",
180              "/keep/9f26a86b6030a69ad222cf67d71c9502+65/hasher-input-file.txt"
181            ]
182   container_uuid: zzzzz-dz642-diagcomphasher1
183   requesting_container_uuid: zzzzz-dz642-diagcompreq0001
184   log_uuid: zzzzz-4zz18-dlogcollhash001
185   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
186   runtime_constraints:
187     vcpus: 1
188     ram: 2684354560
189     API: true
190
191 completed_diagnostics_hasher2:
192   name: hasher2
193   uuid: zzzzz-xvhdp-diag1hasher0002
194   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
195   state: Final
196   priority: 500
197   created_at: 2020-11-02T00:17:07.067464000Z
198   modified_at: 2020-11-02T00:20:23.557498000Z
199   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
200   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
201   cwd: /var/spool/cwl
202   output_name: Output for step hasher2
203   output_path: /var/spool/cwl
204   command: [
205              "md5sum",
206              "/keep/d3a687732e84061f3bae15dc7e313483+62/hasher1.md5sum.txt"
207            ]
208   container_uuid: zzzzz-dz642-diagcomphasher2
209   requesting_container_uuid: zzzzz-dz642-diagcompreq0001
210   log_uuid: zzzzz-4zz18-dlogcollhash002
211   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
212   runtime_constraints:
213     vcpus: 2
214     ram: 2684354560
215     API: true
216
217 completed_diagnostics_hasher3:
218   name: hasher3
219   uuid: zzzzz-xvhdp-diag1hasher0003
220   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
221   state: Final
222   priority: 500
223   created_at: 2020-11-02T00:20:30.960251000Z
224   modified_at: 2020-11-02T00:20:38.799377000Z
225   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
226   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
227   cwd: /var/spool/cwl
228   output_name: Output for step hasher3
229   output_path: /var/spool/cwl
230   command: [
231              "md5sum",
232              "/keep/6bd770f6cf8f83e7647c602eecfaeeb8+62/hasher2.md5sum.txt"
233            ]
234   container_uuid: zzzzz-dz642-diagcomphasher3
235   requesting_container_uuid: zzzzz-dz642-diagcompreq0001
236   log_uuid: zzzzz-4zz18-dlogcollhash003
237   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
238   runtime_constraints:
239     vcpus: 1
240     ram: 2684354560
241     API: true
242
243 completed_diagnostics2:
244   name: Copy of CWL diagnostics hasher
245   uuid: zzzzz-xvhdp-diagnostics0002
246   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
247   state: Final
248   priority: 1
249   created_at: 2020-11-03T15:54:30.098485000Z
250   modified_at: 2020-11-03T16:17:53.406809000Z
251   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
252   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
253   cwd: /var/spool/cwl
254   output_path: /var/spool/cwl
255   command: [
256              "arvados-cwl-runner",
257              "--local",
258              "--api=containers",
259              "--no-log-timestamps",
260              "--disable-validate",
261              "--disable-color",
262              "--eval-timeout=20",
263              "--thread-count=1",
264              "--disable-reuse",
265              "--collection-cache-size=256",
266              "--on-error=continue",
267              "/var/lib/cwl/workflow.json#main",
268              "/var/lib/cwl/cwl.input.json"
269            ]
270   container_uuid: zzzzz-dz642-diagcompreq0002
271   log_uuid: zzzzz-4zz18-diagcompreqlog2
272   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
273   runtime_constraints:
274     vcpus: 1
275     ram: 1342177280
276     API: true
277
278 completed_diagnostics_hasher1_reuse:
279   name: hasher1
280   uuid: zzzzz-xvhdp-diag2hasher0001
281   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
282   state: Final
283   priority: 500
284   created_at: 2020-11-02T00:03:50.229364000Z
285   modified_at: 2020-11-02T00:20:44.041122000Z
286   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
287   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
288   cwd: /var/spool/cwl
289   output_name: Output for step hasher1
290   output_path: /var/spool/cwl
291   command: [
292              "md5sum",
293              "/keep/9f26a86b6030a69ad222cf67d71c9502+65/hasher-input-file.txt"
294            ]
295   container_uuid: zzzzz-dz642-diagcomphasher1
296   requesting_container_uuid: zzzzz-dz642-diagcompreq0002
297   log_uuid: zzzzz-4zz18-dlogcollhash001
298   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
299   runtime_constraints:
300     vcpus: 1
301     ram: 2684354560
302     API: true
303
304 completed_diagnostics_hasher2_reuse:
305   name: hasher2
306   uuid: zzzzz-xvhdp-diag2hasher0002
307   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
308   state: Final
309   priority: 500
310   created_at: 2020-11-02T00:17:07.067464000Z
311   modified_at: 2020-11-02T00:20:23.557498000Z
312   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
313   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
314   cwd: /var/spool/cwl
315   output_name: Output for step hasher2
316   output_path: /var/spool/cwl
317   command: [
318              "md5sum",
319              "/keep/d3a687732e84061f3bae15dc7e313483+62/hasher1.md5sum.txt"
320            ]
321   container_uuid: zzzzz-dz642-diagcomphasher2
322   requesting_container_uuid: zzzzz-dz642-diagcompreq0002
323   log_uuid: zzzzz-4zz18-dlogcollhash002
324   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
325   runtime_constraints:
326     vcpus: 2
327     ram: 2684354560
328     API: true
329
330 completed_diagnostics_hasher3_reuse:
331   name: hasher3
332   uuid: zzzzz-xvhdp-diag2hasher0003
333   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
334   state: Final
335   priority: 500
336   created_at: 2020-11-02T00:20:30.960251000Z
337   modified_at: 2020-11-02T00:20:38.799377000Z
338   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
339   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
340   cwd: /var/spool/cwl
341   output_name: Output for step hasher3
342   output_path: /var/spool/cwl
343   command: [
344              "md5sum",
345              "/keep/6bd770f6cf8f83e7647c602eecfaeeb8+62/hasher2.md5sum.txt"
346            ]
347   container_uuid: zzzzz-dz642-diagcomphasher3
348   requesting_container_uuid: zzzzz-dz642-diagcompreq0002
349   log_uuid: zzzzz-4zz18-dlogcollhash003
350   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
351   runtime_constraints:
352     vcpus: 1
353     ram: 2684354560
354     API: true
355
356 requester:
357   uuid: zzzzz-xvhdp-9zacv3o1xw6sxz5
358   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
359   name: requester
360   state: Committed
361   priority: 1
362   created_at: 2016-01-11 11:11:11.111111111 Z
363   updated_at: 2016-01-11 11:11:11.111111111 Z
364   modified_at: 2016-01-11 11:11:11.111111111 Z
365   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
366   container_image: test
367   cwd: /
368   output_path: /output
369   command: ["request-another-container", "echo", "hello"]
370   container_uuid: zzzzz-dz642-requestingcntnr
371   runtime_constraints:
372     vcpus: 1
373     ram: 123
374   mounts: {}
375
376 cr_for_requester:
377   uuid: zzzzz-xvhdp-cr4requestercnt
378   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
379   name: requester_cr
380   state: Final
381   priority: 1
382   created_at: 2016-01-11 11:11:11.111111111 Z
383   updated_at: 2016-01-11 11:11:11.111111111 Z
384   modified_at: 2016-01-11 11:11:11.111111111 Z
385   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
386   container_image: test
387   cwd: test
388   output_path: test
389   command: ["echo", "hello"]
390   container_uuid: zzzzz-dz642-requestercntnr1
391   requesting_container_uuid: zzzzz-dz642-requestingcntnr
392   runtime_constraints:
393     vcpus: 1
394     ram: 123
395   mounts: {}
396
397 cr_for_requester2:
398   uuid: zzzzz-xvhdp-cr4requestercn2
399   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
400   name: requester_cr2
401   state: Final
402   priority: 1
403   created_at: <%= 30.minute.ago.to_s(:db) %>
404   updated_at: 2016-01-11 11:11:11.111111111 Z
405   modified_at: 2016-01-11 11:11:11.111111111 Z
406   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
407   container_image: test
408   cwd: test
409   output_path: test
410   command: ["echo", "hello"]
411   requesting_container_uuid: zzzzz-dz642-requestercntnr1
412   runtime_constraints:
413     vcpus: 1
414     ram: 123
415   mounts: {}
416
417 running_anonymous_accessible:
418   uuid: zzzzz-xvhdp-runninganonaccs
419   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
420   name: running anonymously accessible cr
421   state: Committed
422   priority: 1
423   created_at: 2016-01-11 11:11:11.111111111 Z
424   updated_at: 2016-01-11 11:11:11.111111111 Z
425   modified_at: 2016-01-11 11:11:11.111111111 Z
426   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
427   container_image: test
428   cwd: test
429   output_path: test
430   command: ["echo", "hello"]
431   container_uuid: zzzzz-dz642-runningcontain2
432   runtime_constraints:
433     vcpus: 1
434     ram: 123
435   mounts: {}
436
437 cr_for_failed:
438   uuid: zzzzz-xvhdp-cr4failedcontnr
439   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
440   name: cr for container exit code not 0
441   state: Committed
442   priority: 1
443   created_at: 2016-01-11 11:11:11.111111111 Z
444   updated_at: 2016-01-11 11:11:11.111111111 Z
445   modified_at: 2016-01-11 11:11:11.111111111 Z
446   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
447   container_image: test
448   cwd: test
449   output_path: test
450   command: ["echo", "hello"]
451   container_uuid: zzzzz-dz642-failedcontainr1
452   runtime_constraints:
453     vcpus: 1
454     ram: 123
455   mounts: {}
456
457 canceled_with_queued_container:
458   uuid: zzzzz-xvhdp-canceledqueuedc
459   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
460   name: canceled with queued container
461   state: Final
462   priority: 0
463   created_at: 2016-01-11 11:11:11.111111111 Z
464   updated_at: 2016-01-11 11:11:11.111111111 Z
465   modified_at: 2016-01-11 11:11:11.111111111 Z
466   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
467   container_image: test
468   cwd: test
469   output_path: test
470   command: ["echo", "hello"]
471   container_uuid: zzzzz-dz642-queuedcontainer
472   runtime_constraints:
473     vcpus: 1
474     ram: 123
475   mounts: {}
476
477 canceled_with_locked_container:
478   uuid: zzzzz-xvhdp-canceledlocekdc
479   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
480   name: canceled with locked container
481   state: Final
482   priority: 0
483   created_at: 2016-01-11 11:11:11.111111111 Z
484   updated_at: 2016-01-11 11:11:11.111111111 Z
485   modified_at: 2016-01-11 11:11:11.111111111 Z
486   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
487   container_image: test
488   cwd: test
489   output_path: test
490   command: ["echo", "hello"]
491   container_uuid: zzzzz-dz642-lockedcontainer
492   runtime_constraints:
493     vcpus: 1
494     ram: 123
495   mounts: {}
496
497 canceled_with_running_container:
498   uuid: zzzzz-xvhdp-canceledrunning
499   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
500   name: canceled with running container
501   state: Committed
502   priority: 0
503   created_at: 2016-01-11 11:11:11.111111111 Z
504   updated_at: 2016-01-11 11:11:11.111111111 Z
505   modified_at: 2016-01-11 11:11:11.111111111 Z
506   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
507   container_image: test
508   cwd: test
509   output_path: test
510   command: ["echo", "hello"]
511   container_uuid: zzzzz-dz642-runningcontainr
512   runtime_constraints:
513     vcpus: 1
514     ram: 123
515   mounts: {}
516
517 running_to_be_deleted:
518   uuid: zzzzz-xvhdp-cr5runningcntnr
519   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
520   name: running to be deleted
521   state: Committed
522   priority: 1
523   created_at: <%= 2.days.ago.to_s(:db) %>
524   updated_at: <%= 1.days.ago.to_s(:db) %>
525   modified_at: <%= 1.days.ago.to_s(:db) %>
526   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
527   container_image: test
528   cwd: test
529   output_path: test
530   command: ["echo", "hello"]
531   container_uuid: zzzzz-dz642-runnincntrtodel
532   runtime_constraints:
533     vcpus: 1
534     ram: 123
535   mounts: {}
536
537 completed_with_input_mounts:
538   uuid: zzzzz-xvhdp-crwithinputmnts
539   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
540   name: completed container request
541   state: Final
542   priority: 1
543   created_at: <%= 24.hour.ago.to_s(:db) %>
544   updated_at: <%= 24.hour.ago.to_s(:db) %>
545   modified_at: <%= 24.hour.ago.to_s(:db) %>
546   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
547   container_image: test
548   cwd: test
549   output_path: test
550   command: ["echo", "hello", "/bin/sh", "-c", "'cat' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/foobar' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/baz' '|' 'gzip' '>' '/dev/null'"]
551   runtime_constraints:
552     vcpus: 1
553     ram: 123
554   container_uuid: zzzzz-dz642-compltcontainer
555   log_uuid: zzzzz-4zz18-logcollection01
556   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
557   mounts: {
558     "/var/lib/cwl/cwl.input.json": {
559       "kind": "json",
560       "content": {
561         "input1": {
562           "basename": "foo",
563           "class": "File",
564           "location": "keep:fa7aeb5140e2848d39b416daeef4ffc5+45/foo",
565         },
566         "input2": {
567           "basename": "bar",
568           "class": "File",
569           "location": "keep:fa7aeb5140e2848d39b416daeef4ffc5+45/bar",
570         }
571       }
572     }
573   }
574
575 uncommitted:
576   uuid: zzzzz-xvhdp-cr4uncommittedc
577   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
578   name: uncommitted
579   created_at: <%= 2.minute.ago.to_s(:db) %>
580   updated_at: <%= 1.minute.ago.to_s(:db) %>
581   modified_at: <%= 1.minute.ago.to_s(:db) %>
582   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
583   command: ["arvados-cwl-runner", "--local", "--api=containers",
584             "/var/lib/cwl/workflow.json", "/var/lib/cwl/cwl.input.json"]
585   output_path: "/var/spool/cwl"
586   cwd: "/var/spool/cwl"
587   priority: 1
588   state: "Uncommitted"
589   container_image: arvados/jobs
590   mounts: {
591         "/var/lib/cwl/workflow.json": {
592             "kind": "json",
593             "content": {
594                 "cwlVersion": "v1.0",
595                 "$graph": [{
596                 "id": "#main",
597                 "class": "CommandLineTool",
598                 "baseCommand": ["echo"],
599                 "inputs": [
600                     {
601                         "doc": "a longer documentation string for this parameter (optional)",
602                         "type": "boolean",
603                         "id": "ex_boolean",
604                         "label": "a short label for this parameter (optional)",
605                         "inputBinding": {"position": 1}
606                     },
607                     {
608                         "type": ["null", "boolean"],
609                         "id": "ex_boolean_opt",
610                         "inputBinding": {"position": 1}
611                     },
612                     {
613                         "doc": "directory selection should present the workbench collection picker",
614                         "type": "Directory",
615                         "id": "ex_dir",
616                         "inputBinding": {"position": 1}
617                     },
618                     {
619                         "type": "double",
620                         "id": "ex_double",
621                         "inputBinding": {"position": 1}
622                     },
623                     {
624                         "doc": "file selection should present the workbench file picker",
625                         "type": "File",
626                         "id": "ex_file",
627                         "inputBinding": {"position": 1}
628                     },
629                     {
630                         "type": "float",
631                         "id": "ex_float",
632                         "inputBinding": {"position": 1}
633                     },
634                     {
635                         "type": "int",
636                         "id": "ex_int",
637                         "inputBinding": {"position": 1}
638                     },
639                     {
640                         "type": ["null", "int"],
641                         "id": "ex_int_opt",
642                         "inputBinding": {"position": 1}
643                     },
644                     {
645                         "type": "long",
646                         "id": "ex_long",
647                         "inputBinding": {"position": 1}
648                     },
649                     {
650                         "type": "string",
651                         "id": "ex_string",
652                         "inputBinding": {"position": 1}
653                     },
654                     {
655                         "type": ["null", "string"],
656                         "id": "ex_string_opt",
657                         "inputBinding": {"position": 1}
658                     },
659                     {
660                         "type": {
661                             "type": "enum",
662                             "symbols": ["a", "b", "c"]
663                         },
664                         "id": "ex_enum",
665                         "inputBinding": {"position": 1}
666                     },
667                     {
668                         "type": ["null", {
669                             "type": "enum",
670                             "symbols": ["a", "b", "c"]
671                         }],
672                         "id": "ex_enum_opt",
673                         "inputBinding": {"position": 1}
674                     }
675                 ],
676                 "outputs": []
677             }]
678           }
679         },
680         "/var/lib/cwl/cwl.input.json": {
681             "kind": "json",
682             "content": {}
683         },
684         "stdout": {
685             "kind": "file",
686             "path": "/var/spool/cwl/cwl.output.json"
687         },
688         "/var/spool/cwl": {
689             "kind": "collection",
690             "writable": true
691         }
692     }
693   runtime_constraints:
694     vcpus: 1
695     ram: 256000000
696     API: true
697
698 uncommitted_ready_to_run:
699   uuid: zzzzz-xvhdp-cr4uncommittedd
700   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
701   name: uncommitted_ready_to_run
702   created_at: 2016-01-11 11:11:11.111111111 Z
703   updated_at: 2016-01-11 11:11:11.111111111 Z
704   modified_at: 2016-01-11 11:11:11.111111111 Z
705   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
706   command: ["arvados-cwl-runner", "--local", "--api=containers",
707             "/var/lib/cwl/workflow.json", "/var/lib/cwl/cwl.input.json"]
708   output_path: "/var/spool/cwl"
709   cwd: "/var/spool/cwl"
710   priority: 1
711   state: "Uncommitted"
712   container_image: arvados/jobs
713   mounts: {
714         "/var/lib/cwl/workflow.json": {
715             "kind": "json",
716             "content": {
717                 "cwlVersion": "v1.0",
718                 "class": "CommandLineTool",
719                 "baseCommand": ["echo"],
720                 "inputs": [
721                     {
722                         "doc": "a longer documentation string for this parameter (optional)",
723                         "type": "boolean",
724                         "id": "ex_boolean",
725                         "label": "a short label for this parameter (optional)",
726                         "inputBinding": {"position": 1}
727                     },
728                     {
729                         "type": ["null", "boolean"],
730                         "id": "ex_boolean_opt",
731                         "inputBinding": {"position": 1}
732                     },
733                     {
734                         "doc": "directory selection should present the workbench collection picker",
735                         "type": "Directory",
736                         "id": "ex_dir",
737                         "inputBinding": {"position": 1}
738                     },
739                     {
740                         "type": "double",
741                         "id": "ex_double",
742                         "inputBinding": {"position": 1}
743                     },
744                     {
745                         "doc": "file selection should present the workbench file picker",
746                         "type": "File",
747                         "id": "ex_file",
748                         "inputBinding": {"position": 1}
749                     },
750                     {
751                         "type": "float",
752                         "id": "ex_float",
753                         "inputBinding": {"position": 1}
754                     },
755                     {
756                         "type": "int",
757                         "id": "ex_int",
758                         "inputBinding": {"position": 1}
759                     },
760                     {
761                         "type": ["null", "int"],
762                         "id": "ex_int_opt",
763                         "inputBinding": {"position": 1}
764                     },
765                     {
766                         "type": "long",
767                         "id": "ex_long",
768                         "inputBinding": {"position": 1}
769                     },
770                     {
771                         "type": "string",
772                         "id": "ex_string",
773                         "inputBinding": {"position": 1}
774                     },
775                     {
776                         "type": ["null", "string"],
777                         "id": "ex_string_opt",
778                         "inputBinding": {"position": 1}
779                     },
780                     {
781                         "type": {
782                             "type": "enum",
783                             "symbols": ["a", "b", "c"]
784                         },
785                         "id": "ex_enum",
786                         "inputBinding": {"position": 1}
787                     },
788                     {
789                         "type": ["null", {
790                             "type": "enum",
791                             "symbols": ["a", "b", "c"]
792                         }],
793                         "id": "ex_enum_opt",
794                         "inputBinding": {"position": 1}
795                     }
796                 ],
797                 "outputs": []
798             }
799         },
800         "/var/lib/cwl/cwl.input.json": {
801             "kind": "json",
802             "content": {
803               "ex_string_opt": null,
804               "ex_int_opt": null,
805               "ex_boolean": false,
806               "ex_boolean_opt": true,
807               "ex_dir": {
808                 "class": "Directory",
809                 "location": "keep:1f4b0bc7583c2a7f9102c395f4ffc5e3+45",
810                 "arv:collection": "zzzzz-4zz18-znfnqtbbv4spc3w"
811               },
812               "ex_double": 66.0,
813               "ex_file": {
814                 "class": "File",
815                 "location": "keep:1f4b0bc7583c2a7f9102c395f4ffc5e3+45/foo",
816                 "arv:collection": "zzzzz-4zz18-znfnqtbbv4spc3w/foo"
817               },
818               "ex_float": 55.0,
819               "ex_int": 55,
820               "ex_long": 22,
821               "ex_string": "qq",
822               "ex_enum": "a"
823             }
824         },
825         "stdout": {
826             "kind": "file",
827             "path": "/var/spool/cwl/cwl.output.json"
828         },
829         "/var/spool/cwl": {
830             "kind": "collection",
831             "writable": true
832         }
833     }
834   runtime_constraints:
835     vcpus: 1
836     ram: 256000000
837     API: true
838
839 uncommitted-with-directory-input:
840   uuid: zzzzz-xvhdp-cr4uncommitted2
841   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
842   name: uncommitted with directory input
843   created_at: 2016-01-11 11:11:11.111111111 Z
844   updated_at: 2016-01-11 11:11:11.111111111 Z
845   modified_at: 2016-01-11 11:11:11.111111111 Z
846   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
847   command: ["arvados-cwl-runner", "--local", "--api=containers",
848             "/var/lib/cwl/workflow.json", "/var/lib/cwl/cwl.input.json"]
849   output_path: "/var/spool/cwl"
850   cwd: "/var/spool/cwl"
851   priority: 1
852   state: Uncommitted
853   container_image: fa3c1a9cb6783f85f2ecda037e07b8c3+167
854   mounts: {
855         "/var/lib/cwl/workflow.json": {
856             "kind": "json",
857             "content": {
858                 "cwlVersion": "v1.0",
859                 "class": "CommandLineTool",
860                 "baseCommand": ["echo"],
861                 "inputs": [
862                     {
863                         "type": "Directory",
864                         "id": "directory_type",
865                         "inputBinding": {"position": 1}
866                     }
867                 ],
868                 "outputs": []
869             }
870         },
871         "/var/lib/cwl/cwl.input.json": {
872             "kind": "json",
873             "content": {}
874         },
875         "stdout": {
876             "kind": "file",
877             "path": "/var/spool/cwl/cwl.output.json"
878         },
879         "/var/spool/cwl": {
880             "kind": "collection",
881             "writable": true
882         }
883     }
884   runtime_constraints:
885     vcpus: 1
886     ram: 256000000
887     API: true
888
889 uncommitted-with-file-input:
890   uuid: zzzzz-xvhdp-cr4uncommittedf
891   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
892   name: uncommitted with directory input
893   created_at: 2016-01-11 11:11:11.111111111 Z
894   updated_at: 2016-01-11 11:11:11.111111111 Z
895   modified_at: 2016-01-11 11:11:11.111111111 Z
896   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
897   command: ["arvados-cwl-runner", "--local", "--api=containers",
898             "/var/lib/cwl/workflow.json", "/var/lib/cwl/cwl.input.json"]
899   output_path: "/var/spool/cwl"
900   cwd: "/var/spool/cwl"
901   priority: 1
902   state: Uncommitted
903   container_image: fa3c1a9cb6783f85f2ecda037e07b8c3+167
904   mounts: {
905         "/var/lib/cwl/workflow.json": {
906             "kind": "json",
907             "content": {
908                 "cwlVersion": "v1.0",
909                 "class": "CommandLineTool",
910                 "baseCommand": ["echo"],
911                 "inputs": [
912                     {
913                         "type": "File",
914                         "id": "file_type",
915                         "inputBinding": {"position": 1}
916                     }
917                 ],
918                 "outputs": []
919             }
920         },
921         "/var/lib/cwl/cwl.input.json": {
922             "kind": "json",
923             "content": {}
924         },
925         "stdout": {
926             "kind": "file",
927             "path": "/var/spool/cwl/cwl.output.json"
928         },
929         "/var/spool/cwl": {
930             "kind": "collection",
931             "writable": true
932         }
933     }
934   runtime_constraints:
935     vcpus: 1
936     ram: 256000000
937     API: true
938
939 uncommitted-with-required-and-optional-inputs:
940   uuid: zzzzz-xvhdp-cr4uncommitted3
941   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
942   name: uncommitted with required and optional inputs
943   created_at: 2016-01-11 11:11:11.111111111 Z
944   updated_at: 2016-01-11 11:11:11.111111111 Z
945   modified_at: 2016-01-11 11:11:11.111111111 Z
946   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
947   command: ["arvados-cwl-runner", "--local", "--api=containers",
948             "/var/lib/cwl/workflow.json", "/var/lib/cwl/cwl.input.json"]
949   output_path: "/var/spool/cwl"
950   cwd: "/var/spool/cwl"
951   priority: 1
952   state: Uncommitted
953   container_image: fa3c1a9cb6783f85f2ecda037e07b8c3+167
954   mounts: {
955         "/var/lib/cwl/workflow.json": {
956             "kind": "json",
957             "content": {
958                 "cwlVersion": "v1.0",
959                 "class": "CommandLineTool",
960                 "baseCommand": ["echo"],
961                 "inputs": [
962                     {
963                         "type": "int",
964                         "id": "int_required",
965                         "inputBinding": {"position": 1}
966                     },
967                     {
968                         "type": ["null", "int"],
969                         "id": "int_optional",
970                         "inputBinding": {"position": 1}
971                     }
972                 ],
973                 "outputs": []
974             }
975         },
976         "/var/lib/cwl/cwl.input.json": {
977             "kind": "json",
978             "content": {}
979         },
980         "stdout": {
981             "kind": "file",
982             "path": "/var/spool/cwl/cwl.output.json"
983         },
984         "/var/spool/cwl": {
985             "kind": "collection",
986             "writable": true
987         }
988     }
989   runtime_constraints:
990     vcpus: 1
991     ram: 256000000
992     API: true
993
994 cr_in_trashed_project:
995   uuid: zzzzz-xvhdp-cr5trashedcontr
996   owner_uuid: zzzzz-j7d0g-trashedproject1
997   name: completed container request
998   state: Final
999   priority: 1
1000   created_at: <%= 2.minute.ago.to_s(:db) %>
1001   updated_at: <%= 1.minute.ago.to_s(:db) %>
1002   modified_at: <%= 1.minute.ago.to_s(:db) %>
1003   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
1004   container_image: test
1005   cwd: test
1006   output_path: test
1007   command: ["echo", "hello"]
1008   container_uuid: zzzzz-dz642-compltcontainer
1009   log_uuid: zzzzz-4zz18-logcollection01
1010   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
1011   runtime_constraints:
1012     vcpus: 1
1013     ram: 123
1014   mounts: {}
1015
1016 runtime_token:
1017   uuid: zzzzz-xvhdp-11eklkhy0n4dm86
1018   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
1019   name: queued
1020   state: Committed
1021   priority: 1
1022   created_at: <%= 2.minute.ago.to_s(:db) %>
1023   updated_at: <%= 1.minute.ago.to_s(:db) %>
1024   modified_at: <%= 1.minute.ago.to_s(:db) %>
1025   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
1026   container_image: test
1027   cwd: test
1028   output_path: test
1029   command: ["echo", "hello"]
1030   container_uuid: zzzzz-dz642-20isqbkl8xwnsao
1031   runtime_token: v2/zzzzz-gj3su-2nj68s291f50gd9/2d19ue6ofx26o3mm7fs9u6t7hov9um0v92dzwk1o2xed3abprw
1032   runtime_constraints:
1033     vcpus: 1
1034     ram: 123
1035   mounts: {}
1036
1037
1038 # Test Helper trims the rest of the file
1039
1040 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper
1041
1042 # container requests in project_with_2_pipelines_and_60_crs
1043 <% for i in 1..60 do %>
1044 cr_<%=i%>_of_60:
1045   uuid: zzzzz-xvhdp-oneof60crs<%= i.to_s.rjust(5, '0') %>
1046   created_at: <%= ((i+5)/5).hour.ago.to_s(:db) %>
1047   owner_uuid: zzzzz-j7d0g-nnncrspipelines
1048   name: cr-<%= i.to_s %>
1049   output_path: test
1050   command: ["echo", "hello"]
1051   mounts: {}
1052 <% end %>
1053
1054 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper