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