Merge branch '8784-dir-listings'
[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: 1
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   auth_uuid: zzzzz-gj3su-077z32aux8dg2s3
149
150 failed_container:
151   uuid: zzzzz-dz642-failedcontainr1
152   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
153   state: Complete
154   exit_code: 33
155   priority: 1
156   created_at: 2016-01-11 11:11:11.111111111 Z
157   updated_at: 2016-01-11 11:11:11.111111111 Z
158   container_image: test
159   cwd: test
160   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
161   output_path: test
162   command: ["echo", "hello"]
163   runtime_constraints:
164     ram: 12000000000
165     vcpus: 4
166
167 ancient_container_with_logs:
168   uuid: zzzzz-dz642-logscontainer01
169   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
170   state: Complete
171   exit_code: 0
172   priority: 1
173   created_at: <%= 2.year.ago.to_s(:db) %>
174   updated_at: <%= 2.year.ago.to_s(:db) %>
175   container_image: test
176   cwd: test
177   output_path: test
178   command: ["echo", "hello"]
179   runtime_constraints:
180     ram: 12000000000
181     vcpus: 4
182   finished_at: <%= 2.year.ago.to_s(:db) %>
183   log: ea10d51bcf88862dbcc36eb292017dfd+45
184   output: test
185
186 previous_container_with_logs:
187   uuid: zzzzz-dz642-logscontainer02
188   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
189   state: Complete
190   exit_code: 0
191   priority: 1
192   created_at: <%= 1.month.ago.to_s(:db) %>
193   updated_at: <%= 1.month.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: <%= 1.month.ago.to_s(:db) %>
202   log: ea10d51bcf88862dbcc36eb292017dfd+45
203   output: test
204
205 running_container_with_logs:
206   uuid: zzzzz-dz642-logscontainer03
207   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
208   state: Running
209   priority: 1
210   created_at: <%= 1.hour.ago.to_s(:db) %>
211   updated_at: <%= 1.hour.ago.to_s(:db) %>
212   container_image: test
213   cwd: test
214   output_path: test
215   command: ["echo", "hello"]
216   runtime_constraints:
217     ram: 12000000000
218     vcpus: 4