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