Merge branch '15928-fs-deadlock'
[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 requester:
130   uuid: zzzzz-dz642-requestingcntnr
131   owner_uuid: zzzzz-tpzed-000000000000000
132   state: Complete
133   exit_code: 0
134   priority: 1
135   created_at: 2016-01-11 11:11:11.111111111 Z
136   updated_at: 2016-01-11 11:11:11.111111111 Z
137   container_image: test
138   cwd: test
139   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
140   output_path: test
141   command: ["echo", "hello"]
142   runtime_constraints:
143     ram: 12000000000
144     vcpus: 4
145   secret_mounts: {}
146   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
147
148 requester_container:
149   uuid: zzzzz-dz642-requestercntnr1
150   owner_uuid: zzzzz-tpzed-000000000000000
151   state: Complete
152   exit_code: 0
153   priority: 1
154   created_at: 2016-01-11 11:11:11.111111111 Z
155   updated_at: 2016-01-11 11:11:11.111111111 Z
156   container_image: test
157   cwd: test
158   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
159   output_path: test
160   command: ["echo", "hello"]
161   runtime_constraints:
162     ram: 12000000000
163     vcpus: 4
164   secret_mounts: {}
165   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
166
167 failed_container:
168   uuid: zzzzz-dz642-failedcontainr1
169   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
170   state: Complete
171   exit_code: 33
172   priority: 1
173   created_at: 2016-01-11 11:11:11.111111111 Z
174   updated_at: 2016-01-11 11:11:11.111111111 Z
175   container_image: test
176   cwd: test
177   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
178   output_path: test
179   command: ["echo", "hello"]
180   runtime_constraints:
181     ram: 12000000000
182     vcpus: 4
183   secret_mounts: {}
184   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
185
186 ancient_container_with_logs:
187   uuid: zzzzz-dz642-logscontainer01
188   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
189   state: Complete
190   exit_code: 0
191   priority: 1
192   created_at: <%= 2.year.ago.to_s(:db) %>
193   updated_at: <%= 2.year.ago.to_s(:db) %>
194   container_image: test
195   cwd: test
196   output_path: test
197   command: ["echo", "hello"]
198   runtime_constraints:
199     ram: 12000000000
200     vcpus: 4
201   finished_at: <%= 2.year.ago.to_s(:db) %>
202   log: ea10d51bcf88862dbcc36eb292017dfd+45
203   output: test
204   secret_mounts: {}
205   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
206
207 previous_container_with_logs:
208   uuid: zzzzz-dz642-logscontainer02
209   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
210   state: Complete
211   exit_code: 0
212   priority: 1
213   created_at: <%= 1.month.ago.to_s(:db) %>
214   updated_at: <%= 1.month.ago.to_s(:db) %>
215   container_image: test
216   cwd: test
217   output_path: test
218   command: ["echo", "hello"]
219   runtime_constraints:
220     ram: 12000000000
221     vcpus: 4
222   finished_at: <%= 1.month.ago.to_s(:db) %>
223   log: ea10d51bcf88862dbcc36eb292017dfd+45
224   output: test
225   secret_mounts: {}
226   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
227
228 running_container_with_logs:
229   uuid: zzzzz-dz642-logscontainer03
230   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
231   state: Running
232   priority: 1
233   created_at: <%= 1.hour.ago.to_s(:db) %>
234   updated_at: <%= 1.hour.ago.to_s(:db) %>
235   container_image: test
236   cwd: test
237   output_path: test
238   command: ["echo", "hello"]
239   runtime_constraints:
240     ram: 12000000000
241     vcpus: 4
242   secret_mounts: {}
243   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
244
245 running_to_be_deleted:
246   uuid: zzzzz-dz642-runnincntrtodel
247   owner_uuid: zzzzz-tpzed-000000000000000
248   state: Running
249   priority: 1
250   created_at: <%= 1.minute.ago.to_s(:db) %>
251   updated_at: <%= 1.minute.ago.to_s(:db) %>
252   started_at: <%= 1.minute.ago.to_s(:db) %>
253   container_image: test
254   cwd: test
255   output_path: test
256   command: ["echo", "hello"]
257   runtime_constraints:
258     ram: 12000000000
259     vcpus: 4
260   auth_uuid: zzzzz-gj3su-ty6lvu9d7u7c2sq
261   secret_mounts: {}
262   secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b
263
264 runtime_token:
265   uuid: zzzzz-dz642-20isqbkl8xwnsao
266   owner_uuid: zzzzz-tpzed-000000000000000
267   state: Locked
268   locked_by_uuid: zzzzz-gj3su-jrriu629zljsnuf
269   priority: 1
270   created_at: 2016-01-11 11:11:11.111111111 Z
271   updated_at: 2016-01-11 11:11:11.111111111 Z
272   container_image: test
273   cwd: test
274   output_path: test
275   command: ["echo", "hello"]
276   runtime_token: v2/zzzzz-gj3su-2nj68s291f50gd9/2d19ue6ofx26o3mm7fs9u6t7hov9um0v92dzwk1o2xed3abprw
277   runtime_user_uuid: zzzzz-tpzed-l3skomkti0c4vg4
278   runtime_auth_scopes: ["all"]
279   runtime_constraints:
280     ram: 12000000000
281     vcpus: 4
282   mounts:
283     /tmp:
284       kind: tmp
285       capacity: 24000000000
286     /var/spool/cwl:
287       kind: tmp
288       capacity: 24000000000