Merge branch 'master' into 12018-sync-groups-tool
[arvados.git] / services / api / test / fixtures / container_requests.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 queued:
6   uuid: zzzzz-xvhdp-cr4queuedcontnr
7   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
8   name: queued
9   state: Committed
10   priority: 1
11   created_at: <%= 2.minute.ago.to_s(:db) %>
12   updated_at: <%= 1.minute.ago.to_s(:db) %>
13   modified_at: <%= 1.minute.ago.to_s(:db) %>
14   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
15   container_image: test
16   cwd: test
17   output_path: test
18   command: ["echo", "hello"]
19   container_uuid: zzzzz-dz642-queuedcontainer
20   runtime_constraints:
21     vcpus: 1
22     ram: 123
23
24 running:
25   uuid: zzzzz-xvhdp-cr4runningcntnr
26   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
27   name: running
28   state: Committed
29   priority: 1
30   created_at: <%= 2.minute.ago.to_s(:db) %>
31   updated_at: <%= 1.minute.ago.to_s(:db) %>
32   modified_at: <%= 1.minute.ago.to_s(:db) %>
33   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
34   container_image: test
35   cwd: test
36   output_path: test
37   command: ["echo", "hello"]
38   container_uuid: zzzzz-dz642-runningcontainr
39   runtime_constraints:
40     vcpus: 1
41     ram: 123
42
43 requester_for_running:
44   uuid: zzzzz-xvhdp-req4runningcntr
45   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
46   name: requester_for_running_cr
47   state: Committed
48   priority: 1
49   created_at: <%= 2.minute.ago.to_s(:db) %>
50   updated_at: <%= 2.minute.ago.to_s(:db) %>
51   modified_at: <%= 2.minute.ago.to_s(:db) %>
52   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
53   container_image: test
54   cwd: test
55   output_path: test
56   command: ["echo", "hello"]
57   container_uuid: zzzzz-dz642-logscontainer03
58   requesting_container_uuid: zzzzz-dz642-runningcontainr
59   runtime_constraints:
60     vcpus: 1
61     ram: 123
62
63 running_older:
64   uuid: zzzzz-xvhdp-cr4runningcntn2
65   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
66   name: running
67   state: Committed
68   priority: 1
69   created_at: 2016-01-11 11:11:11.111111111 Z
70   updated_at: 2016-01-11 11:11:11.111111111 Z
71   modified_at: 2016-01-12 11:11:11.111111111 Z
72   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
73   container_image: test
74   cwd: test
75   output_path: test
76   command: ["echo", "hello"]
77   container_uuid: zzzzz-dz642-runningcontain2
78   runtime_constraints:
79     vcpus: 1
80     ram: 123
81
82 completed:
83   uuid: zzzzz-xvhdp-cr4completedctr
84   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
85   name: completed container request
86   state: Final
87   priority: 1
88   created_at: <%= 2.minute.ago.to_s(:db) %>
89   updated_at: <%= 1.minute.ago.to_s(:db) %>
90   modified_at: <%= 1.minute.ago.to_s(:db) %>
91   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
92   container_image: test
93   cwd: test
94   output_path: test
95   command: ["echo", "hello"]
96   container_uuid: zzzzz-dz642-compltcontainer
97   log_uuid: zzzzz-4zz18-y9vne9npefyxh8g
98   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
99   runtime_constraints:
100     vcpus: 1
101     ram: 123
102
103 completed-older:
104   uuid: zzzzz-xvhdp-cr4completedcr2
105   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
106   name: completed
107   state: Final
108   priority: 1
109   created_at: 2016-01-11 11:11:11.111111111 Z
110   updated_at: 2016-01-11 11:11:11.111111111 Z
111   modified_at: 2016-01-11 11:11:11.111111111 Z
112   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
113   container_image: test
114   cwd: test
115   output_path: test
116   command: ["arvados-cwl-runner", "echo", "hello"]
117   container_uuid: zzzzz-dz642-compltcontainr2
118   runtime_constraints:
119     vcpus: 1
120     ram: 123
121
122 requester:
123   uuid: zzzzz-xvhdp-9zacv3o1xw6sxz5
124   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
125   name: requester
126   state: Committed
127   priority: 1
128   created_at: 2016-01-11 11:11:11.111111111 Z
129   updated_at: 2016-01-11 11:11:11.111111111 Z
130   modified_at: 2016-01-11 11:11:11.111111111 Z
131   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
132   container_image: test
133   cwd: /
134   output_path: /output
135   command: ["request-another-container", "echo", "hello"]
136   container_uuid: zzzzz-dz642-requestingcntnr
137   runtime_constraints:
138     vcpus: 1
139     ram: 123
140
141 cr_for_requester:
142   uuid: zzzzz-xvhdp-cr4requestercnt
143   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
144   name: requester_cr
145   state: Final
146   priority: 1
147   created_at: 2016-01-11 11:11:11.111111111 Z
148   updated_at: 2016-01-11 11:11:11.111111111 Z
149   modified_at: 2016-01-11 11:11:11.111111111 Z
150   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
151   container_image: test
152   cwd: test
153   output_path: test
154   command: ["echo", "hello"]
155   container_uuid: zzzzz-dz642-requestercntnr1
156   requesting_container_uuid: zzzzz-dz642-requestingcntnr
157   runtime_constraints:
158     vcpus: 1
159     ram: 123
160
161 cr_for_requester2:
162   uuid: zzzzz-xvhdp-cr4requestercn2
163   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
164   name: requester_cr2
165   state: Final
166   priority: 1
167   created_at: 2016-01-11 11:11:11.111111111 Z
168   updated_at: 2016-01-11 11:11:11.111111111 Z
169   modified_at: 2016-01-11 11:11:11.111111111 Z
170   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
171   container_image: test
172   cwd: test
173   output_path: test
174   command: ["echo", "hello"]
175   requesting_container_uuid: zzzzz-dz642-requestercntnr1
176   runtime_constraints:
177     vcpus: 1
178     ram: 123
179
180 running_anonymous_accessible:
181   uuid: zzzzz-xvhdp-runninganonaccs
182   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
183   name: running anonymously accessible cr
184   state: Committed
185   priority: 1
186   created_at: 2016-01-11 11:11:11.111111111 Z
187   updated_at: 2016-01-11 11:11:11.111111111 Z
188   modified_at: 2016-01-11 11:11:11.111111111 Z
189   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
190   container_image: test
191   cwd: test
192   output_path: test
193   command: ["echo", "hello"]
194   container_uuid: zzzzz-dz642-runningcontain2
195   runtime_constraints:
196     vcpus: 1
197     ram: 123
198
199 cr_for_failed:
200   uuid: zzzzz-xvhdp-cr4failedcontnr
201   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
202   name: cr for container exit code not 0
203   state: Committed
204   priority: 1
205   created_at: 2016-01-11 11:11:11.111111111 Z
206   updated_at: 2016-01-11 11:11:11.111111111 Z
207   modified_at: 2016-01-11 11:11:11.111111111 Z
208   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
209   container_image: test
210   cwd: test
211   output_path: test
212   command: ["echo", "hello"]
213   container_uuid: zzzzz-dz642-failedcontainr1
214   runtime_constraints:
215     vcpus: 1
216     ram: 123
217
218 canceled_with_queued_container:
219   uuid: zzzzz-xvhdp-canceledqueuedc
220   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
221   name: canceled with queued container
222   state: Committed
223   priority: 0
224   created_at: 2016-01-11 11:11:11.111111111 Z
225   updated_at: 2016-01-11 11:11:11.111111111 Z
226   modified_at: 2016-01-11 11:11:11.111111111 Z
227   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
228   container_image: test
229   cwd: test
230   output_path: test
231   command: ["echo", "hello"]
232   container_uuid: zzzzz-dz642-queuedcontainer
233   runtime_constraints:
234     vcpus: 1
235     ram: 123
236
237 canceled_with_locked_container:
238   uuid: zzzzz-xvhdp-canceledlocekdc
239   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
240   name: canceled with locked container
241   state: Committed
242   priority: 0
243   created_at: 2016-01-11 11:11:11.111111111 Z
244   updated_at: 2016-01-11 11:11:11.111111111 Z
245   modified_at: 2016-01-11 11:11:11.111111111 Z
246   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
247   container_image: test
248   cwd: test
249   output_path: test
250   command: ["echo", "hello"]
251   container_uuid: zzzzz-dz642-lockedcontainer
252   runtime_constraints:
253     vcpus: 1
254     ram: 123
255
256 canceled_with_running_container:
257   uuid: zzzzz-xvhdp-canceledrunning
258   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
259   name: canceled with running container
260   state: Committed
261   priority: 0
262   created_at: 2016-01-11 11:11:11.111111111 Z
263   updated_at: 2016-01-11 11:11:11.111111111 Z
264   modified_at: 2016-01-11 11:11:11.111111111 Z
265   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
266   container_image: test
267   cwd: test
268   output_path: test
269   command: ["echo", "hello"]
270   container_uuid: zzzzz-dz642-runningcontainr
271   runtime_constraints:
272     vcpus: 1
273     ram: 123
274
275 running_to_be_deleted:
276   uuid: zzzzz-xvhdp-cr5runningcntnr
277   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
278   name: running to be deleted
279   state: Committed
280   priority: 1
281   created_at: <%= 2.days.ago.to_s(:db) %>
282   updated_at: <%= 1.days.ago.to_s(:db) %>
283   modified_at: <%= 1.days.ago.to_s(:db) %>
284   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
285   container_image: test
286   cwd: test
287   output_path: test
288   command: ["echo", "hello"]
289   container_uuid: zzzzz-dz642-runnincntrtodel
290   runtime_constraints:
291     vcpus: 1
292     ram: 123
293
294 completed_with_input_mounts:
295   uuid: zzzzz-xvhdp-crwithinputmnts
296   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
297   name: completed container request
298   state: Final
299   priority: 1
300   created_at: <%= 24.hour.ago.to_s(:db) %>
301   updated_at: <%= 24.hour.ago.to_s(:db) %>
302   modified_at: <%= 24.hour.ago.to_s(:db) %>
303   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
304   container_image: test
305   cwd: test
306   output_path: test
307   command: ["echo", "hello"]
308   runtime_constraints:
309     vcpus: 1
310     ram: 123
311   container_uuid: zzzzz-dz642-compltcontainer
312   log_uuid: zzzzz-4zz18-y9vne9npefyxh8g
313   output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w
314   mounts:
315     /var/lib/cwl/cwl.input.json:
316       content:
317         input1:
318           basename: foo
319           class: File
320           location: "keep:fa7aeb5140e2848d39b416daeef4ffc5+45/foo"
321         input2:
322           basename: bar
323           class: File
324           location: "keep:fa7aeb5140e2848d39b416daeef4ffc5+45/bar"
325     /var/lib/cwl/workflow.json: "keep:1fd08fc162a5c6413070a8bd0bffc818+150"
326
327 uncommitted:
328   uuid: zzzzz-xvhdp-cr4uncommittedc
329   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
330   name: uncommitted
331   created_at: <%= 2.minute.ago.to_s(:db) %>
332   updated_at: <%= 1.minute.ago.to_s(:db) %>
333   modified_at: <%= 1.minute.ago.to_s(:db) %>
334   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
335   command: ["arvados-cwl-runner", "--local", "--api=containers",
336             "/var/lib/cwl/workflow.json", "/var/lib/cwl/cwl.input.json"]
337   output_path: "/var/spool/cwl"
338   cwd: "/var/spool/cwl"
339   priority: 1
340   state: "Uncommitted"
341   container_image: arvados/jobs
342   mounts: {
343         "/var/lib/cwl/workflow.json": {
344             "kind": "json",
345             "content": {
346                 "cwlVersion": "v1.0",
347                 "$graph": [{
348                 "id": "#main",
349                 "class": "CommandLineTool",
350                 "baseCommand": ["echo"],
351                 "inputs": [
352                     {
353                         "doc": "a longer documentation string for this parameter (optional)",
354                         "type": "boolean",
355                         "id": "ex_boolean",
356                         "label": "a short label for this parameter (optional)",
357                         "inputBinding": {"position": 1}
358                     },
359                     {
360                         "type": ["null", "boolean"],
361                         "id": "ex_boolean_opt",
362                         "inputBinding": {"position": 1}
363                     },
364                     {
365                         "doc": "directory selection should present the workbench collection picker",
366                         "type": "Directory",
367                         "id": "ex_dir",
368                         "inputBinding": {"position": 1}
369                     },
370                     {
371                         "type": "double",
372                         "id": "ex_double",
373                         "inputBinding": {"position": 1}
374                     },
375                     {
376                         "doc": "file selection should present the workbench file picker",
377                         "type": "File",
378                         "id": "ex_file",
379                         "inputBinding": {"position": 1}
380                     },
381                     {
382                         "type": "float",
383                         "id": "ex_float",
384                         "inputBinding": {"position": 1}
385                     },
386                     {
387                         "type": "int",
388                         "id": "ex_int",
389                         "inputBinding": {"position": 1}
390                     },
391                     {
392                         "type": ["null", "int"],
393                         "id": "ex_int_opt",
394                         "inputBinding": {"position": 1}
395                     },
396                     {
397                         "type": "long",
398                         "id": "ex_long",
399                         "inputBinding": {"position": 1}
400                     },
401                     {
402                         "type": "string",
403                         "id": "ex_string",
404                         "inputBinding": {"position": 1}
405                     },
406                     {
407                         "type": ["null", "string"],
408                         "id": "ex_string_opt",
409                         "inputBinding": {"position": 1}
410                     },
411                     {
412                         "type": {
413                             "type": "enum",
414                             "symbols": ["a", "b", "c"]
415                         },
416                         "id": "ex_enum",
417                         "inputBinding": {"position": 1}
418                     },
419                     {
420                         "type": ["null", {
421                             "type": "enum",
422                             "symbols": ["a", "b", "c"]
423                         }],
424                         "id": "ex_enum_opt",
425                         "inputBinding": {"position": 1}
426                     }
427                 ],
428                 "outputs": []
429             }]
430           }
431         },
432         "/var/lib/cwl/cwl.input.json": {
433             "kind": "json",
434             "content": {}
435         },
436         "stdout": {
437             "kind": "file",
438             "path": "/var/spool/cwl/cwl.output.json"
439         },
440         "/var/spool/cwl": {
441             "kind": "collection",
442             "writable": true
443         }
444     }
445   runtime_constraints:
446     vcpus: 1
447     ram: 256000000
448     API: true
449
450 uncommitted_ready_to_run:
451   uuid: zzzzz-xvhdp-cr4uncommittedd
452   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
453   name: uncommitted_ready_to_run
454   created_at: 2016-01-11 11:11:11.111111111 Z
455   updated_at: 2016-01-11 11:11:11.111111111 Z
456   modified_at: 2016-01-11 11:11:11.111111111 Z
457   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
458   command: ["arvados-cwl-runner", "--local", "--api=containers",
459             "/var/lib/cwl/workflow.json", "/var/lib/cwl/cwl.input.json"]
460   output_path: "/var/spool/cwl"
461   cwd: "/var/spool/cwl"
462   priority: 1
463   state: "Uncommitted"
464   container_image: arvados/jobs
465   mounts: {
466         "/var/lib/cwl/workflow.json": {
467             "kind": "json",
468             "content": {
469                 "cwlVersion": "v1.0",
470                 "class": "CommandLineTool",
471                 "baseCommand": ["echo"],
472                 "inputs": [
473                     {
474                         "doc": "a longer documentation string for this parameter (optional)",
475                         "type": "boolean",
476                         "id": "ex_boolean",
477                         "label": "a short label for this parameter (optional)",
478                         "inputBinding": {"position": 1}
479                     },
480                     {
481                         "type": ["null", "boolean"],
482                         "id": "ex_boolean_opt",
483                         "inputBinding": {"position": 1}
484                     },
485                     {
486                         "doc": "directory selection should present the workbench collection picker",
487                         "type": "Directory",
488                         "id": "ex_dir",
489                         "inputBinding": {"position": 1}
490                     },
491                     {
492                         "type": "double",
493                         "id": "ex_double",
494                         "inputBinding": {"position": 1}
495                     },
496                     {
497                         "doc": "file selection should present the workbench file picker",
498                         "type": "File",
499                         "id": "ex_file",
500                         "inputBinding": {"position": 1}
501                     },
502                     {
503                         "type": "float",
504                         "id": "ex_float",
505                         "inputBinding": {"position": 1}
506                     },
507                     {
508                         "type": "int",
509                         "id": "ex_int",
510                         "inputBinding": {"position": 1}
511                     },
512                     {
513                         "type": ["null", "int"],
514                         "id": "ex_int_opt",
515                         "inputBinding": {"position": 1}
516                     },
517                     {
518                         "type": "long",
519                         "id": "ex_long",
520                         "inputBinding": {"position": 1}
521                     },
522                     {
523                         "type": "string",
524                         "id": "ex_string",
525                         "inputBinding": {"position": 1}
526                     },
527                     {
528                         "type": ["null", "string"],
529                         "id": "ex_string_opt",
530                         "inputBinding": {"position": 1}
531                     },
532                     {
533                         "type": {
534                             "type": "enum",
535                             "symbols": ["a", "b", "c"]
536                         },
537                         "id": "ex_enum",
538                         "inputBinding": {"position": 1}
539                     },
540                     {
541                         "type": ["null", {
542                             "type": "enum",
543                             "symbols": ["a", "b", "c"]
544                         }],
545                         "id": "ex_enum_opt",
546                         "inputBinding": {"position": 1}
547                     }
548                 ],
549                 "outputs": []
550             }
551         },
552         "/var/lib/cwl/cwl.input.json": {
553             "kind": "json",
554             "content": {
555               "ex_string_opt": null,
556               "ex_int_opt": null,
557               "ex_boolean": false,
558               "ex_boolean_opt": true,
559               "ex_dir": {
560                 "class": "Directory",
561                 "location": "keep:1f4b0bc7583c2a7f9102c395f4ffc5e3+45",
562                 "arv:collection": "zzzzz-4zz18-znfnqtbbv4spc3w"
563               },
564               "ex_double": 66.0,
565               "ex_file": {
566                 "class": "File",
567                 "location": "keep:1f4b0bc7583c2a7f9102c395f4ffc5e3+45/foo",
568                 "arv:collection": "zzzzz-4zz18-znfnqtbbv4spc3w/foo"
569               },
570               "ex_float": 55.0,
571               "ex_int": 55,
572               "ex_long": 22,
573               "ex_string": "qq",
574               "ex_enum": "a"
575             }
576         },
577         "stdout": {
578             "kind": "file",
579             "path": "/var/spool/cwl/cwl.output.json"
580         },
581         "/var/spool/cwl": {
582             "kind": "collection",
583             "writable": true
584         }
585     }
586   runtime_constraints:
587     vcpus: 1
588     ram: 256000000
589     API: true
590
591 uncommitted-with-directory-input:
592   uuid: zzzzz-xvhdp-cr4uncommitted2
593   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
594   name: uncommitted with directory input
595   created_at: 2016-01-11 11:11:11.111111111 Z
596   updated_at: 2016-01-11 11:11:11.111111111 Z
597   modified_at: 2016-01-11 11:11:11.111111111 Z
598   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
599   command: ["arvados-cwl-runner", "--local", "--api=containers",
600             "/var/lib/cwl/workflow.json", "/var/lib/cwl/cwl.input.json"]
601   output_path: "/var/spool/cwl"
602   cwd: "/var/spool/cwl"
603   priority: 1
604   state: Uncommitted
605   container_image: fa3c1a9cb6783f85f2ecda037e07b8c3+167
606   mounts: {
607         "/var/lib/cwl/workflow.json": {
608             "kind": "json",
609             "content": {
610                 "cwlVersion": "v1.0",
611                 "class": "CommandLineTool",
612                 "baseCommand": ["echo"],
613                 "inputs": [
614                     {
615                         "type": "Directory",
616                         "id": "directory_type",
617                         "inputBinding": {"position": 1}
618                     }
619                 ],
620                 "outputs": []
621             }
622         },
623         "/var/lib/cwl/cwl.input.json": {
624             "kind": "json",
625             "content": {}
626         },
627         "stdout": {
628             "kind": "file",
629             "path": "/var/spool/cwl/cwl.output.json"
630         },
631         "/var/spool/cwl": {
632             "kind": "collection",
633             "writable": true
634         }
635     }
636   runtime_constraints:
637     vcpus: 1
638     ram: 256000000
639     API: true
640
641 uncommitted-with-file-input:
642   uuid: zzzzz-xvhdp-cr4uncommittedf
643   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
644   name: uncommitted with directory input
645   created_at: 2016-01-11 11:11:11.111111111 Z
646   updated_at: 2016-01-11 11:11:11.111111111 Z
647   modified_at: 2016-01-11 11:11:11.111111111 Z
648   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
649   command: ["arvados-cwl-runner", "--local", "--api=containers",
650             "/var/lib/cwl/workflow.json", "/var/lib/cwl/cwl.input.json"]
651   output_path: "/var/spool/cwl"
652   cwd: "/var/spool/cwl"
653   priority: 1
654   state: Uncommitted
655   container_image: fa3c1a9cb6783f85f2ecda037e07b8c3+167
656   mounts: {
657         "/var/lib/cwl/workflow.json": {
658             "kind": "json",
659             "content": {
660                 "cwlVersion": "v1.0",
661                 "class": "CommandLineTool",
662                 "baseCommand": ["echo"],
663                 "inputs": [
664                     {
665                         "type": "File",
666                         "id": "file_type",
667                         "inputBinding": {"position": 1}
668                     }
669                 ],
670                 "outputs": []
671             }
672         },
673         "/var/lib/cwl/cwl.input.json": {
674             "kind": "json",
675             "content": {}
676         },
677         "stdout": {
678             "kind": "file",
679             "path": "/var/spool/cwl/cwl.output.json"
680         },
681         "/var/spool/cwl": {
682             "kind": "collection",
683             "writable": true
684         }
685     }
686   runtime_constraints:
687     vcpus: 1
688     ram: 256000000
689     API: true
690
691 uncommitted-with-required-and-optional-inputs:
692   uuid: zzzzz-xvhdp-cr4uncommitted3
693   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
694   name: uncommitted with required and optional inputs
695   created_at: 2016-01-11 11:11:11.111111111 Z
696   updated_at: 2016-01-11 11:11:11.111111111 Z
697   modified_at: 2016-01-11 11:11:11.111111111 Z
698   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
699   command: ["arvados-cwl-runner", "--local", "--api=containers",
700             "/var/lib/cwl/workflow.json", "/var/lib/cwl/cwl.input.json"]
701   output_path: "/var/spool/cwl"
702   cwd: "/var/spool/cwl"
703   priority: 1
704   state: Uncommitted
705   container_image: fa3c1a9cb6783f85f2ecda037e07b8c3+167
706   mounts: {
707         "/var/lib/cwl/workflow.json": {
708             "kind": "json",
709             "content": {
710                 "cwlVersion": "v1.0",
711                 "class": "CommandLineTool",
712                 "baseCommand": ["echo"],
713                 "inputs": [
714                     {
715                         "type": "int",
716                         "id": "int_required",
717                         "inputBinding": {"position": 1}
718                     },
719                     {
720                         "type": ["null", "int"],
721                         "id": "int_optional",
722                         "inputBinding": {"position": 1}
723                     }
724                 ],
725                 "outputs": []
726             }
727         },
728         "/var/lib/cwl/cwl.input.json": {
729             "kind": "json",
730             "content": {}
731         },
732         "stdout": {
733             "kind": "file",
734             "path": "/var/spool/cwl/cwl.output.json"
735         },
736         "/var/spool/cwl": {
737             "kind": "collection",
738             "writable": true
739         }
740     }
741   runtime_constraints:
742     vcpus: 1
743     ram: 256000000
744     API: true
745
746 # Test Helper trims the rest of the file
747
748 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper
749
750 # container requests in project_with_2_pipelines_and_60_crs
751 <% for i in 1..60 do %>
752 cr_<%=i%>_of_60:
753   uuid: zzzzz-xvhdp-oneof60crs<%= i.to_s.rjust(5, '0') %>
754   created_at: <%= ((i+5)/5).hour.ago.to_s(:db) %>
755   owner_uuid: zzzzz-j7d0g-nnncrspipelines
756   name: cr-<%= i.to_s %>
757   output_path: test
758   command: ["echo", "hello"]
759 <% end %>
760
761 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper