21700: Install Bundler system-wide in Rails postinst
[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_fs(:db) %>
37   updated_at: <%= 1.minute.ago.to_fs(:db) %>
38   started_at: <%= 1.minute.ago.to_fs(: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_fs(:db) %>
63   updated_at: <%= 2.minute.ago.to_fs(:db) %>
64   started_at: <%= 2.minute.ago.to_fs(: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: 0
85   created_at: <%= 2.minute.ago.to_fs(:db) %>
86   updated_at: <%= 2.minute.ago.to_fs(:db) %>
87   modified_at: <%= 2.minute.ago.to_fs(: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_disk: 0
174     keep_cache_ram: 268435456
175     ram: 1342177280
176     vcpus: 1
177
178 diagnostics_completed_hasher1:
179   uuid: zzzzz-dz642-diagcomphasher1
180   owner_uuid: zzzzz-tpzed-000000000000000
181   state: Complete
182   exit_code: 0
183   priority: 562948349145881771
184   created_at: 2020-11-02T00:08:18.829222000Z
185   modified_at: 2020-11-02T00:16:55.142023000Z
186   started_at: 2020-11-02T00:16:52.375871000Z
187   finished_at: 2020-11-02T00:16:55.105985000Z
188   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
189   cwd: /var/spool/cwl
190   log: fed8fb19fe8e3a320c29fed0edab12dd+220
191   output: d3a687732e84061f3bae15dc7e313483+62
192   output_path: /var/spool/cwl
193   command: [
194              "md5sum",
195              "/keep/9f26a86b6030a69ad222cf67d71c9502+65/hasher-input-file.txt"
196            ]
197   runtime_constraints:
198     API: true
199     keep_cache_disk: 0
200     keep_cache_ram: 268435456
201     ram: 268435456
202     vcpus: 1
203
204 diagnostics_completed_hasher2:
205   uuid: zzzzz-dz642-diagcomphasher2
206   owner_uuid: zzzzz-tpzed-000000000000000
207   state: Complete
208   exit_code: 0
209   priority: 562948349145881771
210   created_at: 2020-11-02T00:17:07.026493000Z
211   modified_at: 2020-11-02T00:20:23.505908000Z
212   started_at: 2020-11-02T00:20:21.513185000Z
213   finished_at: 2020-11-02T00:20:23.478317000Z
214   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
215   cwd: /var/spool/cwl
216   log: 4fc03b95fc2646b0dec7383dbb7d56d8+221
217   output: 6bd770f6cf8f83e7647c602eecfaeeb8+62
218   output_path: /var/spool/cwl
219   command: [
220              "md5sum",
221              "/keep/d3a687732e84061f3bae15dc7e313483+62/hasher1.md5sum.txt"
222            ]
223   runtime_constraints:
224     API: true
225     keep_cache_disk: 0
226     keep_cache_ram: 268435456
227     ram: 268435456
228     vcpus: 2
229
230 diagnostics_completed_hasher3:
231   uuid: zzzzz-dz642-diagcomphasher3
232   owner_uuid: zzzzz-tpzed-000000000000000
233   state: Complete
234   exit_code: 0
235   priority: 562948349145881771
236   created_at: 2020-11-02T00:20:30.943856000Z
237   modified_at: 2020-11-02T00:20:38.746541000Z
238   started_at: 2020-11-02T00:20:36.748957000Z
239   finished_at: 2020-11-02T00:20:38.732199000Z
240   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
241   cwd: /var/spool/cwl
242   log: 1eeaf70de0f65b1346e54c59f09e848d+210
243   output: 11b5fdaa380102e760c3eb6de80a9876+62
244   output_path: /var/spool/cwl
245   command: [
246              "md5sum",
247              "/keep/6bd770f6cf8f83e7647c602eecfaeeb8+62/hasher2.md5sum.txt"
248            ]
249   runtime_constraints:
250     API: true
251     keep_cache_disk: 0
252     keep_cache_ram: 268435456
253     ram: 268435456
254     vcpus: 1
255
256 diagnostics_completed_requester2:
257   uuid: zzzzz-dz642-diagcompreq0002
258   owner_uuid: zzzzz-tpzed-000000000000000
259   state: Complete
260   exit_code: 0
261   priority: 1124295487972526
262   created_at: 2020-11-03T15:54:36.504661000Z
263   modified_at: 2020-11-03T16:17:53.242868000Z
264   started_at: 2020-11-03T16:09:51.123659000Z
265   finished_at: 2020-11-03T16:17:53.220358000Z
266   container_image: d967ef4a1ca90a096a39f5ce68e4a2e7+261
267   cwd: /var/spool/cwl
268   log: f1933bf5191f576613ea7f65bd0ead53+244
269   output: 941b71a57208741ce8742eca62352fb1+123
270   output_path: /var/spool/cwl
271   command: [
272              "arvados-cwl-runner",
273              "--local",
274              "--api=containers",
275              "--no-log-timestamps",
276              "--disable-validate",
277              "--disable-color",
278              "--eval-timeout=20",
279              "--thread-count=1",
280              "--disable-reuse",
281              "--collection-cache-size=256",
282              "--on-error=continue",
283              "/var/lib/cwl/workflow.json#main",
284              "/var/lib/cwl/cwl.input.json"
285            ]
286   runtime_constraints:
287     API: true
288     keep_cache_disk: 0
289     keep_cache_ram: 268435456
290     ram: 1342177280
291     vcpus: 1
292
293 requester:
294   uuid: zzzzz-dz642-requestingcntnr
295   owner_uuid: zzzzz-tpzed-000000000000000
296   state: Complete
297   exit_code: 0
298   priority: 1
299   created_at: 2016-01-11 11:11:11.111111111 Z
300   updated_at: 2016-01-11 11:11:11.111111111 Z
301   container_image: test
302   cwd: test
303   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
304   output_path: test
305   command: ["echo", "hello"]
306   runtime_constraints:
307     ram: 12000000000
308     vcpus: 4
309   secret_mounts: {}
310   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
311
312 requester_container:
313   uuid: zzzzz-dz642-requestercntnr1
314   owner_uuid: zzzzz-tpzed-000000000000000
315   state: Complete
316   exit_code: 0
317   priority: 1
318   created_at: 2016-01-11 11:11:11.111111111 Z
319   updated_at: 2016-01-11 11:11:11.111111111 Z
320   container_image: test
321   cwd: test
322   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
323   output_path: test
324   command: ["echo", "hello"]
325   runtime_constraints:
326     ram: 12000000000
327     vcpus: 4
328   secret_mounts: {}
329   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
330
331 failed_container:
332   uuid: zzzzz-dz642-failedcontainr1
333   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
334   state: Complete
335   exit_code: 33
336   priority: 1
337   created_at: 2016-01-11 11:11:11.111111111 Z
338   updated_at: 2016-01-11 11:11:11.111111111 Z
339   container_image: test
340   cwd: test
341   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
342   output_path: test
343   command: ["echo", "hello"]
344   runtime_constraints:
345     ram: 12000000000
346     vcpus: 4
347   secret_mounts: {}
348   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
349
350 ancient_container_with_logs:
351   uuid: zzzzz-dz642-logscontainer01
352   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
353   state: Complete
354   exit_code: 0
355   priority: 1
356   created_at: <%= 2.year.ago.to_fs(:db) %>
357   updated_at: <%= 2.year.ago.to_fs(:db) %>
358   container_image: test
359   cwd: test
360   output_path: test
361   command: ["echo", "hello"]
362   runtime_constraints:
363     ram: 12000000000
364     vcpus: 4
365   finished_at: <%= 2.year.ago.to_fs(:db) %>
366   log: ea10d51bcf88862dbcc36eb292017dfd+45
367   output: test
368   secret_mounts: {}
369   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
370
371 previous_container_with_logs:
372   uuid: zzzzz-dz642-logscontainer02
373   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
374   state: Complete
375   exit_code: 0
376   priority: 1
377   created_at: <%= 1.month.ago.to_fs(:db) %>
378   updated_at: <%= 1.month.ago.to_fs(:db) %>
379   container_image: test
380   cwd: test
381   output_path: test
382   command: ["echo", "hello"]
383   runtime_constraints:
384     ram: 12000000000
385     vcpus: 4
386   finished_at: <%= 1.month.ago.to_fs(:db) %>
387   log: ea10d51bcf88862dbcc36eb292017dfd+45
388   output: test
389   secret_mounts: {}
390   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
391
392 running_container_with_logs:
393   uuid: zzzzz-dz642-logscontainer03
394   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
395   state: Running
396   priority: 1
397   created_at: <%= 1.hour.ago.to_fs(:db) %>
398   updated_at: <%= 1.hour.ago.to_fs(:db) %>
399   container_image: test
400   cwd: test
401   output_path: test
402   command: ["echo", "hello"]
403   mounts:
404     /tmp:
405       kind: tmp
406       capacity: 24000000000
407   runtime_constraints:
408     ram: 12000000000
409     vcpus: 4
410   secret_mounts: {}
411   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
412   auth_uuid: zzzzz-gj3su-n4xycwjpvvi776n
413
414 running_to_be_deleted:
415   uuid: zzzzz-dz642-runnincntrtodel
416   owner_uuid: zzzzz-tpzed-000000000000000
417   state: Running
418   priority: 1
419   created_at: <%= 1.minute.ago.to_fs(:db) %>
420   updated_at: <%= 1.minute.ago.to_fs(:db) %>
421   started_at: <%= 1.minute.ago.to_fs(:db) %>
422   container_image: test
423   cwd: test
424   output_path: test
425   command: ["echo", "hello"]
426   mounts:
427     /tmp:
428       kind: tmp
429       capacity: 24000000000
430   runtime_constraints:
431     ram: 12000000000
432     vcpus: 4
433   auth_uuid: zzzzz-gj3su-ty6lvu9d7u7c2sq
434   secret_mounts: {}
435   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
436
437 runtime_token:
438   uuid: zzzzz-dz642-20isqbkl8xwnsao
439   owner_uuid: zzzzz-tpzed-000000000000000
440   state: Locked
441   locked_by_uuid: zzzzz-gj3su-jrriu629zljsnuf
442   priority: 1
443   created_at: 2016-01-11 11:11:11.111111111 Z
444   updated_at: 2016-01-11 11:11:11.111111111 Z
445   container_image: test
446   cwd: test
447   output_path: test
448   command: ["echo", "hello"]
449   runtime_token: v2/zzzzz-gj3su-2nj68s291f50gd9/2d19ue6ofx26o3mm7fs9u6t7hov9um0v92dzwk1o2xed3abprw
450   runtime_user_uuid: zzzzz-tpzed-l3skomkti0c4vg4
451   runtime_auth_scopes: ["all"]
452   runtime_constraints:
453     ram: 12000000000
454     vcpus: 4
455   mounts:
456     /tmp:
457       kind: tmp
458       capacity: 24000000000
459     /var/spool/cwl:
460       kind: tmp
461       capacity: 24000000000
462
463 cuda_container:
464   uuid: zzzzz-dz642-cudagpcontainer
465   owner_uuid: zzzzz-tpzed-000000000000000
466   state: Complete
467   exit_code: 0
468   priority: 1
469   created_at: 2016-01-11 11:11:11.111111111 Z
470   updated_at: 2016-01-11 11:11:11.111111111 Z
471   started_at: 2016-01-11 11:11:11.111111111 Z
472   finished_at: 2016-01-12 11:12:13.111111111 Z
473   container_image: test
474   cwd: test
475   log: ea10d51bcf88862dbcc36eb292017dfd+45
476   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
477   output_path: test
478   command: ["echo", "hello", "/bin/sh", "-c", "'cat' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/foobar' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/baz' '|' 'gzip' '>' '/dev/null'"]
479   runtime_constraints:
480     ram: 12000000000
481     vcpus: 4
482     cuda:
483       driver_version: "11.0"
484       hardware_capability: "9.0"
485       device_count: 1
486   secret_mounts: {}
487   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b