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