17778: update docs.
[arvados.git] / services / api / test / fixtures / containers.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 queued:
6   uuid: zzzzz-dz642-queuedcontainer
7   owner_uuid: zzzzz-tpzed-000000000000000
8   state: Queued
9   priority: 1
10   created_at: 2016-01-11 11:11:11.111111111 Z
11   updated_at: 2016-01-11 11:11:11.111111111 Z
12   container_image: test
13   cwd: test
14   output_path: test
15   command: ["echo", "hello"]
16   runtime_constraints:
17     ram: 12000000000
18     vcpus: 4
19   mounts:
20     /tmp:
21       kind: tmp
22       capacity: 24000000000
23     /var/spool/cwl:
24       kind: tmp
25       capacity: 24000000000
26
27 running:
28   uuid: zzzzz-dz642-runningcontainr
29   owner_uuid: zzzzz-tpzed-000000000000000
30   state: Running
31   priority: 12
32   created_at: <%= 1.minute.ago.to_s(:db) %>
33   updated_at: <%= 1.minute.ago.to_s(:db) %>
34   started_at: <%= 1.minute.ago.to_s(:db) %>
35   container_image: test
36   cwd: test
37   output_path: test
38   command: ["echo", "hello"]
39   runtime_constraints:
40     ram: 12000000000
41     vcpus: 4
42   secret_mounts:
43     /secret/6x9:
44       kind: text
45       content: "42\n"
46   secret_mounts_md5: <%= Digest::MD5.hexdigest(SafeJSON.dump({'/secret/6x9' => {'content' => "42\n", 'kind' => 'text'}})) %>
47   auth_uuid: zzzzz-gj3su-077z32aux8dg2s2
48
49 running_older:
50   uuid: zzzzz-dz642-runningcontain2
51   owner_uuid: zzzzz-tpzed-000000000000000
52   state: Running
53   priority: 1
54   created_at: <%= 2.minute.ago.to_s(:db) %>
55   updated_at: <%= 2.minute.ago.to_s(:db) %>
56   started_at: <%= 2.minute.ago.to_s(:db) %>
57   container_image: test
58   cwd: test
59   output_path: test
60   command: ["echo", "hello"]
61   runtime_constraints:
62     ram: 12000000000
63     vcpus: 4
64   secret_mounts: {}
65   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
66
67 locked:
68   uuid: zzzzz-dz642-lockedcontainer
69   owner_uuid: zzzzz-tpzed-000000000000000
70   state: Locked
71   locked_by_uuid: zzzzz-gj3su-k9dvestay1plssr
72   priority: 2
73   created_at: <%= 2.minute.ago.to_s(:db) %>
74   updated_at: <%= 2.minute.ago.to_s(:db) %>
75   modified_at: <%= 2.minute.ago.to_s(:db) %>
76   container_image: test
77   cwd: test
78   output_path: test
79   command: ["echo", "hello"]
80   runtime_constraints:
81     ram: 12000000000
82     vcpus: 4
83   secret_mounts: {}
84   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
85
86 completed:
87   uuid: zzzzz-dz642-compltcontainer
88   owner_uuid: zzzzz-tpzed-000000000000000
89   state: Complete
90   exit_code: 0
91   priority: 1
92   created_at: 2016-01-11 11:11:11.111111111 Z
93   updated_at: 2016-01-11 11:11:11.111111111 Z
94   started_at: 2016-01-11 11:11:11.111111111 Z
95   finished_at: 2016-01-12 11:12:13.111111111 Z
96   container_image: test
97   cwd: test
98   log: ea10d51bcf88862dbcc36eb292017dfd+45
99   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
100   output_path: test
101   command: ["echo", "hello", "/bin/sh", "-c", "'cat' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/foobar' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/baz' '|' 'gzip' '>' '/dev/null'"]
102   runtime_constraints:
103     ram: 12000000000
104     vcpus: 4
105   secret_mounts: {}
106   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
107
108 completed_older:
109   uuid: zzzzz-dz642-compltcontainr2
110   owner_uuid: zzzzz-tpzed-000000000000000
111   state: Complete
112   exit_code: 0
113   priority: 1
114   created_at: 2016-01-11 11:11:11.111111111 Z
115   updated_at: 2016-01-11 11:11:11.111111111 Z
116   started_at: 2016-01-13 11:11:11.111111111 Z
117   finished_at: 2016-01-14 11:12:13.111111111 Z
118   container_image: test
119   cwd: test
120   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
121   output_path: test
122   command: ["echo", "hello"]
123   runtime_constraints:
124     ram: 12000000000
125     vcpus: 4
126   secret_mounts: {}
127   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
128
129 diagnostics_completed_requester:
130   uuid: zzzzz-dz642-diagcompreq0001
131   owner_uuid: zzzzz-tpzed-000000000000000
132   state: Complete
133   exit_code: 0
134   priority: 562948349145881771
135   created_at: 2020-11-02T00:03:50.192697000Z
136   modified_at: 2020-11-02T00:20:43.987275000Z
137   started_at: 2020-11-02T00:08:07.186711000Z
138   finished_at: 2020-11-02T00:20:43.975416000Z
139   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
140   cwd: /var/spool/cwl
141   log: 6129e376cb05c942f75a0c36083383e8+244
142   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
143   output_path: /var/spool/cwl
144   command: [
145              "arvados-cwl-runner",
146              "--local",
147              "--api=containers",
148              "--no-log-timestamps",
149              "--disable-validate",
150              "--disable-color",
151              "--eval-timeout=20",
152              "--thread-count=1",
153              "--disable-reuse",
154              "--collection-cache-size=256",
155              "--on-error=continue",
156              "/var/lib/cwl/workflow.json#main",
157              "/var/lib/cwl/cwl.input.json"
158            ]
159   runtime_constraints:
160     API: true
161     keep_cache_ram: 268435456
162     ram: 1342177280
163     vcpus: 1
164
165 diagnostics_completed_hasher1:
166   uuid: zzzzz-dz642-diagcomphasher1
167   owner_uuid: zzzzz-tpzed-000000000000000
168   state: Complete
169   exit_code: 0
170   priority: 562948349145881771
171   created_at: 2020-11-02T00:08:18.829222000Z
172   modified_at: 2020-11-02T00:16:55.142023000Z
173   started_at: 2020-11-02T00:16:52.375871000Z
174   finished_at: 2020-11-02T00:16:55.105985000Z
175   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
176   cwd: /var/spool/cwl
177   log: fed8fb19fe8e3a320c29fed0edab12dd+220
178   output: d3a687732e84061f3bae15dc7e313483+62
179   output_path: /var/spool/cwl
180   command: [
181              "md5sum",
182              "/keep/9f26a86b6030a69ad222cf67d71c9502+65/hasher-input-file.txt"
183            ]
184   runtime_constraints:
185     API: true
186     keep_cache_ram: 268435456
187     ram: 268435456
188     vcpus: 1
189
190 diagnostics_completed_hasher2:
191   uuid: zzzzz-dz642-diagcomphasher2
192   owner_uuid: zzzzz-tpzed-000000000000000
193   state: Complete
194   exit_code: 0
195   priority: 562948349145881771
196   created_at: 2020-11-02T00:17:07.026493000Z
197   modified_at: 2020-11-02T00:20:23.505908000Z
198   started_at: 2020-11-02T00:20:21.513185000Z
199   finished_at: 2020-11-02T00:20:23.478317000Z
200   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
201   cwd: /var/spool/cwl
202   log: 4fc03b95fc2646b0dec7383dbb7d56d8+221
203   output: 6bd770f6cf8f83e7647c602eecfaeeb8+62
204   output_path: /var/spool/cwl
205   command: [
206              "md5sum",
207              "/keep/d3a687732e84061f3bae15dc7e313483+62/hasher1.md5sum.txt"
208            ]
209   runtime_constraints:
210     API: true
211     keep_cache_ram: 268435456
212     ram: 268435456
213     vcpus: 2
214
215 diagnostics_completed_hasher3:
216   uuid: zzzzz-dz642-diagcomphasher3
217   owner_uuid: zzzzz-tpzed-000000000000000
218   state: Complete
219   exit_code: 0
220   priority: 562948349145881771
221   created_at: 2020-11-02T00:20:30.943856000Z
222   modified_at: 2020-11-02T00:20:38.746541000Z
223   started_at: 2020-11-02T00:20:36.748957000Z
224   finished_at: 2020-11-02T00:20:38.732199000Z
225   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
226   cwd: /var/spool/cwl
227   log: 1eeaf70de0f65b1346e54c59f09e848d+210
228   output: 11b5fdaa380102e760c3eb6de80a9876+62
229   output_path: /var/spool/cwl
230   command: [
231              "md5sum",
232              "/keep/6bd770f6cf8f83e7647c602eecfaeeb8+62/hasher2.md5sum.txt"
233            ]
234   runtime_constraints:
235     API: true
236     keep_cache_ram: 268435456
237     ram: 268435456
238     vcpus: 1
239
240 diagnostics_completed_requester2:
241   uuid: zzzzz-dz642-diagcompreq0002
242   owner_uuid: zzzzz-tpzed-000000000000000
243   state: Complete
244   exit_code: 0
245   priority: 1124295487972526
246   created_at: 2020-11-03T15:54:36.504661000Z
247   modified_at: 2020-11-03T16:17:53.242868000Z
248   started_at: 2020-11-03T16:09:51.123659000Z
249   finished_at: 2020-11-03T16:17:53.220358000Z
250   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
251   cwd: /var/spool/cwl
252   log: f1933bf5191f576613ea7f65bd0ead53+244
253   output: 941b71a57208741ce8742eca62352fb1+123
254   output_path: /var/spool/cwl
255   command: [
256              "arvados-cwl-runner",
257              "--local",
258              "--api=containers",
259              "--no-log-timestamps",
260              "--disable-validate",
261              "--disable-color",
262              "--eval-timeout=20",
263              "--thread-count=1",
264              "--disable-reuse",
265              "--collection-cache-size=256",
266              "--on-error=continue",
267              "/var/lib/cwl/workflow.json#main",
268              "/var/lib/cwl/cwl.input.json"
269            ]
270   runtime_constraints:
271     API: true
272     keep_cache_ram: 268435456
273     ram: 1342177280
274     vcpus: 1
275
276 requester:
277   uuid: zzzzz-dz642-requestingcntnr
278   owner_uuid: zzzzz-tpzed-000000000000000
279   state: Complete
280   exit_code: 0
281   priority: 1
282   created_at: 2016-01-11 11:11:11.111111111 Z
283   updated_at: 2016-01-11 11:11:11.111111111 Z
284   container_image: test
285   cwd: test
286   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
287   output_path: test
288   command: ["echo", "hello"]
289   runtime_constraints:
290     ram: 12000000000
291     vcpus: 4
292   secret_mounts: {}
293   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
294
295 requester_container:
296   uuid: zzzzz-dz642-requestercntnr1
297   owner_uuid: zzzzz-tpzed-000000000000000
298   state: Complete
299   exit_code: 0
300   priority: 1
301   created_at: 2016-01-11 11:11:11.111111111 Z
302   updated_at: 2016-01-11 11:11:11.111111111 Z
303   container_image: test
304   cwd: test
305   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
306   output_path: test
307   command: ["echo", "hello"]
308   runtime_constraints:
309     ram: 12000000000
310     vcpus: 4
311   secret_mounts: {}
312   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
313
314 failed_container:
315   uuid: zzzzz-dz642-failedcontainr1
316   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
317   state: Complete
318   exit_code: 33
319   priority: 1
320   created_at: 2016-01-11 11:11:11.111111111 Z
321   updated_at: 2016-01-11 11:11:11.111111111 Z
322   container_image: test
323   cwd: test
324   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
325   output_path: test
326   command: ["echo", "hello"]
327   runtime_constraints:
328     ram: 12000000000
329     vcpus: 4
330   secret_mounts: {}
331   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
332
333 ancient_container_with_logs:
334   uuid: zzzzz-dz642-logscontainer01
335   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
336   state: Complete
337   exit_code: 0
338   priority: 1
339   created_at: <%= 2.year.ago.to_s(:db) %>
340   updated_at: <%= 2.year.ago.to_s(:db) %>
341   container_image: test
342   cwd: test
343   output_path: test
344   command: ["echo", "hello"]
345   runtime_constraints:
346     ram: 12000000000
347     vcpus: 4
348   finished_at: <%= 2.year.ago.to_s(:db) %>
349   log: ea10d51bcf88862dbcc36eb292017dfd+45
350   output: test
351   secret_mounts: {}
352   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
353
354 previous_container_with_logs:
355   uuid: zzzzz-dz642-logscontainer02
356   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
357   state: Complete
358   exit_code: 0
359   priority: 1
360   created_at: <%= 1.month.ago.to_s(:db) %>
361   updated_at: <%= 1.month.ago.to_s(:db) %>
362   container_image: test
363   cwd: test
364   output_path: test
365   command: ["echo", "hello"]
366   runtime_constraints:
367     ram: 12000000000
368     vcpus: 4
369   finished_at: <%= 1.month.ago.to_s(:db) %>
370   log: ea10d51bcf88862dbcc36eb292017dfd+45
371   output: test
372   secret_mounts: {}
373   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
374
375 running_container_with_logs:
376   uuid: zzzzz-dz642-logscontainer03
377   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
378   state: Running
379   priority: 1
380   created_at: <%= 1.hour.ago.to_s(:db) %>
381   updated_at: <%= 1.hour.ago.to_s(:db) %>
382   container_image: test
383   cwd: test
384   output_path: test
385   command: ["echo", "hello"]
386   runtime_constraints:
387     ram: 12000000000
388     vcpus: 4
389   secret_mounts: {}
390   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
391
392 running_to_be_deleted:
393   uuid: zzzzz-dz642-runnincntrtodel
394   owner_uuid: zzzzz-tpzed-000000000000000
395   state: Running
396   priority: 1
397   created_at: <%= 1.minute.ago.to_s(:db) %>
398   updated_at: <%= 1.minute.ago.to_s(:db) %>
399   started_at: <%= 1.minute.ago.to_s(:db) %>
400   container_image: test
401   cwd: test
402   output_path: test
403   command: ["echo", "hello"]
404   runtime_constraints:
405     ram: 12000000000
406     vcpus: 4
407   auth_uuid: zzzzz-gj3su-ty6lvu9d7u7c2sq
408   secret_mounts: {}
409   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
410
411 runtime_token:
412   uuid: zzzzz-dz642-20isqbkl8xwnsao
413   owner_uuid: zzzzz-tpzed-000000000000000
414   state: Locked
415   locked_by_uuid: zzzzz-gj3su-jrriu629zljsnuf
416   priority: 1
417   created_at: 2016-01-11 11:11:11.111111111 Z
418   updated_at: 2016-01-11 11:11:11.111111111 Z
419   container_image: test
420   cwd: test
421   output_path: test
422   command: ["echo", "hello"]
423   runtime_token: v2/zzzzz-gj3su-2nj68s291f50gd9/2d19ue6ofx26o3mm7fs9u6t7hov9um0v92dzwk1o2xed3abprw
424   runtime_user_uuid: zzzzz-tpzed-l3skomkti0c4vg4
425   runtime_auth_scopes: ["all"]
426   runtime_constraints:
427     ram: 12000000000
428     vcpus: 4
429   mounts:
430     /tmp:
431       kind: tmp
432       capacity: 24000000000
433     /var/spool/cwl:
434       kind: tmp
435       capacity: 24000000000