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