Merge branch '12479-wb-structured-vocabulary'
[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   auth_uuid: zzzzz-gj3su-077z32aux8dg2s2
43
44 running_older:
45   uuid: zzzzz-dz642-runningcontain2
46   owner_uuid: zzzzz-tpzed-000000000000000
47   state: Running
48   priority: 1
49   created_at: <%= 2.minute.ago.to_s(:db) %>
50   updated_at: <%= 2.minute.ago.to_s(:db) %>
51   started_at: <%= 2.minute.ago.to_s(:db) %>
52   container_image: test
53   cwd: test
54   output_path: test
55   command: ["echo", "hello"]
56   runtime_constraints:
57     ram: 12000000000
58     vcpus: 4
59
60 locked:
61   uuid: zzzzz-dz642-lockedcontainer
62   owner_uuid: zzzzz-tpzed-000000000000000
63   state: Locked
64   locked_by_uuid: zzzzz-gj3su-k9dvestay1plssr
65   priority: 2
66   created_at: <%= 2.minute.ago.to_s(:db) %>
67   updated_at: <%= 2.minute.ago.to_s(:db) %>
68   container_image: test
69   cwd: test
70   output_path: test
71   command: ["echo", "hello"]
72   runtime_constraints:
73     ram: 12000000000
74     vcpus: 4
75
76 completed:
77   uuid: zzzzz-dz642-compltcontainer
78   owner_uuid: zzzzz-tpzed-000000000000000
79   state: Complete
80   exit_code: 0
81   priority: 1
82   created_at: 2016-01-11 11:11:11.111111111 Z
83   updated_at: 2016-01-11 11:11:11.111111111 Z
84   started_at: 2016-01-11 11:11:11.111111111 Z
85   finished_at: 2016-01-12 11:12:13.111111111 Z
86   container_image: test
87   cwd: test
88   log: ea10d51bcf88862dbcc36eb292017dfd+45
89   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
90   output_path: test
91   command: ["echo", "hello"]
92   runtime_constraints:
93     ram: 12000000000
94     vcpus: 4
95
96 completed_older:
97   uuid: zzzzz-dz642-compltcontainr2
98   owner_uuid: zzzzz-tpzed-000000000000000
99   state: Complete
100   exit_code: 0
101   priority: 1
102   created_at: 2016-01-11 11:11:11.111111111 Z
103   updated_at: 2016-01-11 11:11:11.111111111 Z
104   started_at: 2016-01-13 11:11:11.111111111 Z
105   finished_at: 2016-01-14 11:12:13.111111111 Z
106   container_image: test
107   cwd: test
108   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
109   output_path: test
110   command: ["echo", "hello"]
111   runtime_constraints:
112     ram: 12000000000
113     vcpus: 4
114
115 requester:
116   uuid: zzzzz-dz642-requestingcntnr
117   owner_uuid: zzzzz-tpzed-000000000000000
118   state: Complete
119   exit_code: 0
120   priority: 1
121   created_at: 2016-01-11 11:11:11.111111111 Z
122   updated_at: 2016-01-11 11:11:11.111111111 Z
123   container_image: test
124   cwd: test
125   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
126   output_path: test
127   command: ["echo", "hello"]
128   runtime_constraints:
129     ram: 12000000000
130     vcpus: 4
131
132 requester_container:
133   uuid: zzzzz-dz642-requestercntnr1
134   owner_uuid: zzzzz-tpzed-000000000000000
135   state: Complete
136   exit_code: 0
137   priority: 1
138   created_at: 2016-01-11 11:11:11.111111111 Z
139   updated_at: 2016-01-11 11:11:11.111111111 Z
140   container_image: test
141   cwd: test
142   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
143   output_path: test
144   command: ["echo", "hello"]
145   runtime_constraints:
146     ram: 12000000000
147     vcpus: 4
148
149 failed_container:
150   uuid: zzzzz-dz642-failedcontainr1
151   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
152   state: Complete
153   exit_code: 33
154   priority: 1
155   created_at: 2016-01-11 11:11:11.111111111 Z
156   updated_at: 2016-01-11 11:11:11.111111111 Z
157   container_image: test
158   cwd: test
159   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
160   output_path: test
161   command: ["echo", "hello"]
162   runtime_constraints:
163     ram: 12000000000
164     vcpus: 4
165
166 ancient_container_with_logs:
167   uuid: zzzzz-dz642-logscontainer01
168   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
169   state: Complete
170   exit_code: 0
171   priority: 1
172   created_at: <%= 2.year.ago.to_s(:db) %>
173   updated_at: <%= 2.year.ago.to_s(:db) %>
174   container_image: test
175   cwd: test
176   output_path: test
177   command: ["echo", "hello"]
178   runtime_constraints:
179     ram: 12000000000
180     vcpus: 4
181   finished_at: <%= 2.year.ago.to_s(:db) %>
182   log: ea10d51bcf88862dbcc36eb292017dfd+45
183   output: test
184
185 previous_container_with_logs:
186   uuid: zzzzz-dz642-logscontainer02
187   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
188   state: Complete
189   exit_code: 0
190   priority: 1
191   created_at: <%= 1.month.ago.to_s(:db) %>
192   updated_at: <%= 1.month.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: <%= 1.month.ago.to_s(:db) %>
201   log: ea10d51bcf88862dbcc36eb292017dfd+45
202   output: test
203
204 running_container_with_logs:
205   uuid: zzzzz-dz642-logscontainer03
206   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
207   state: Running
208   priority: 1
209   created_at: <%= 1.hour.ago.to_s(:db) %>
210   updated_at: <%= 1.hour.ago.to_s(:db) %>
211   container_image: test
212   cwd: test
213   output_path: test
214   command: ["echo", "hello"]
215   runtime_constraints:
216     ram: 12000000000
217     vcpus: 4
218
219 running_to_be_deleted:
220   uuid: zzzzz-dz642-runnincntrtodel
221   owner_uuid: zzzzz-tpzed-000000000000000
222   state: Running
223   priority: 1
224   created_at: <%= 1.minute.ago.to_s(:db) %>
225   updated_at: <%= 1.minute.ago.to_s(:db) %>
226   started_at: <%= 1.minute.ago.to_s(:db) %>
227   container_image: test
228   cwd: test
229   output_path: test
230   command: ["echo", "hello"]
231   runtime_constraints:
232     ram: 12000000000
233     vcpus: 4
234   auth_uuid: zzzzz-gj3su-ty6lvu9d7u7c2sq