Merge branch '14873-api-rails5-upgrade'
[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   container_image: test
76   cwd: test
77   output_path: test
78   command: ["echo", "hello"]
79   runtime_constraints:
80     ram: 12000000000
81     vcpus: 4
82   secret_mounts: {}
83   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
84
85 completed:
86   uuid: zzzzz-dz642-compltcontainer
87   owner_uuid: zzzzz-tpzed-000000000000000
88   state: Complete
89   exit_code: 0
90   priority: 1
91   created_at: 2016-01-11 11:11:11.111111111 Z
92   updated_at: 2016-01-11 11:11:11.111111111 Z
93   started_at: 2016-01-11 11:11:11.111111111 Z
94   finished_at: 2016-01-12 11:12:13.111111111 Z
95   container_image: test
96   cwd: test
97   log: ea10d51bcf88862dbcc36eb292017dfd+45
98   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
99   output_path: test
100   command: ["echo", "hello", "/bin/sh", "-c", "'cat' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/foobar' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/baz' '|' 'gzip' '>' '/dev/null'"]
101   runtime_constraints:
102     ram: 12000000000
103     vcpus: 4
104   secret_mounts: {}
105   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
106
107 completed_older:
108   uuid: zzzzz-dz642-compltcontainr2
109   owner_uuid: zzzzz-tpzed-000000000000000
110   state: Complete
111   exit_code: 0
112   priority: 1
113   created_at: 2016-01-11 11:11:11.111111111 Z
114   updated_at: 2016-01-11 11:11:11.111111111 Z
115   started_at: 2016-01-13 11:11:11.111111111 Z
116   finished_at: 2016-01-14 11:12:13.111111111 Z
117   container_image: test
118   cwd: test
119   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
120   output_path: test
121   command: ["echo", "hello"]
122   runtime_constraints:
123     ram: 12000000000
124     vcpus: 4
125   secret_mounts: {}
126   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
127
128 requester:
129   uuid: zzzzz-dz642-requestingcntnr
130   owner_uuid: zzzzz-tpzed-000000000000000
131   state: Complete
132   exit_code: 0
133   priority: 1
134   created_at: 2016-01-11 11:11:11.111111111 Z
135   updated_at: 2016-01-11 11:11:11.111111111 Z
136   container_image: test
137   cwd: test
138   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
139   output_path: test
140   command: ["echo", "hello"]
141   runtime_constraints:
142     ram: 12000000000
143     vcpus: 4
144   secret_mounts: {}
145   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
146
147 requester_container:
148   uuid: zzzzz-dz642-requestercntnr1
149   owner_uuid: zzzzz-tpzed-000000000000000
150   state: Complete
151   exit_code: 0
152   priority: 1
153   created_at: 2016-01-11 11:11:11.111111111 Z
154   updated_at: 2016-01-11 11:11:11.111111111 Z
155   container_image: test
156   cwd: test
157   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
158   output_path: test
159   command: ["echo", "hello"]
160   runtime_constraints:
161     ram: 12000000000
162     vcpus: 4
163   secret_mounts: {}
164   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
165
166 failed_container:
167   uuid: zzzzz-dz642-failedcontainr1
168   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
169   state: Complete
170   exit_code: 33
171   priority: 1
172   created_at: 2016-01-11 11:11:11.111111111 Z
173   updated_at: 2016-01-11 11:11:11.111111111 Z
174   container_image: test
175   cwd: test
176   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
177   output_path: test
178   command: ["echo", "hello"]
179   runtime_constraints:
180     ram: 12000000000
181     vcpus: 4
182   secret_mounts: {}
183   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
184
185 ancient_container_with_logs:
186   uuid: zzzzz-dz642-logscontainer01
187   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
188   state: Complete
189   exit_code: 0
190   priority: 1
191   created_at: <%= 2.year.ago.to_s(:db) %>
192   updated_at: <%= 2.year.ago.to_s(:db) %>
193   container_image: test
194   cwd: test
195   output_path: test
196   command: ["echo", "hello"]
197   runtime_constraints:
198     ram: 12000000000
199     vcpus: 4
200   finished_at: <%= 2.year.ago.to_s(:db) %>
201   log: ea10d51bcf88862dbcc36eb292017dfd+45
202   output: test
203   secret_mounts: {}
204   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
205
206 previous_container_with_logs:
207   uuid: zzzzz-dz642-logscontainer02
208   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
209   state: Complete
210   exit_code: 0
211   priority: 1
212   created_at: <%= 1.month.ago.to_s(:db) %>
213   updated_at: <%= 1.month.ago.to_s(:db) %>
214   container_image: test
215   cwd: test
216   output_path: test
217   command: ["echo", "hello"]
218   runtime_constraints:
219     ram: 12000000000
220     vcpus: 4
221   finished_at: <%= 1.month.ago.to_s(:db) %>
222   log: ea10d51bcf88862dbcc36eb292017dfd+45
223   output: test
224   secret_mounts: {}
225   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
226
227 running_container_with_logs:
228   uuid: zzzzz-dz642-logscontainer03
229   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
230   state: Running
231   priority: 1
232   created_at: <%= 1.hour.ago.to_s(:db) %>
233   updated_at: <%= 1.hour.ago.to_s(:db) %>
234   container_image: test
235   cwd: test
236   output_path: test
237   command: ["echo", "hello"]
238   runtime_constraints:
239     ram: 12000000000
240     vcpus: 4
241   secret_mounts: {}
242   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
243
244 running_to_be_deleted:
245   uuid: zzzzz-dz642-runnincntrtodel
246   owner_uuid: zzzzz-tpzed-000000000000000
247   state: Running
248   priority: 1
249   created_at: <%= 1.minute.ago.to_s(:db) %>
250   updated_at: <%= 1.minute.ago.to_s(:db) %>
251   started_at: <%= 1.minute.ago.to_s(:db) %>
252   container_image: test
253   cwd: test
254   output_path: test
255   command: ["echo", "hello"]
256   runtime_constraints:
257     ram: 12000000000
258     vcpus: 4
259   auth_uuid: zzzzz-gj3su-ty6lvu9d7u7c2sq
260   secret_mounts: {}
261   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
262
263 runtime_token:
264   uuid: zzzzz-dz642-20isqbkl8xwnsao
265   owner_uuid: zzzzz-tpzed-000000000000000
266   state: Locked
267   locked_by_uuid: zzzzz-gj3su-jrriu629zljsnuf
268   priority: 1
269   created_at: 2016-01-11 11:11:11.111111111 Z
270   updated_at: 2016-01-11 11:11:11.111111111 Z
271   container_image: test
272   cwd: test
273   output_path: test
274   command: ["echo", "hello"]
275   runtime_token: v2/zzzzz-gj3su-2nj68s291f50gd9/2d19ue6ofx26o3mm7fs9u6t7hov9um0v92dzwk1o2xed3abprw
276   runtime_user_uuid: zzzzz-tpzed-l3skomkti0c4vg4
277   runtime_auth_scopes: ["all"]
278   runtime_constraints:
279     ram: 12000000000
280     vcpus: 4
281   mounts:
282     /tmp:
283       kind: tmp
284       capacity: 24000000000
285     /var/spool/cwl:
286       kind: tmp
287       capacity: 24000000000