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