11809: Prune collection cache asynchronously.
[arvados.git] / services / api / test / fixtures / containers.yml
1 queued:
2   uuid: zzzzz-dz642-queuedcontainer
3   owner_uuid: zzzzz-tpzed-000000000000000
4   state: Queued
5   priority: 1
6   created_at: 2016-01-11 11:11:11.111111111 Z
7   updated_at: 2016-01-11 11:11:11.111111111 Z
8   container_image: test
9   cwd: test
10   output_path: test
11   command: ["echo", "hello"]
12   runtime_constraints:
13     ram: 12000000000
14     vcpus: 4
15   mounts:
16     /tmp:
17       kind: tmp
18       capacity: 24000000000
19     /var/spool/cwl:
20       kind: tmp
21       capacity: 24000000000
22
23 running:
24   uuid: zzzzz-dz642-runningcontainr
25   owner_uuid: zzzzz-tpzed-000000000000000
26   state: Running
27   priority: 1
28   created_at: <%= 1.minute.ago.to_s(:db) %>
29   updated_at: <%= 1.minute.ago.to_s(:db) %>
30   started_at: <%= 1.minute.ago.to_s(:db) %>
31   container_image: test
32   cwd: test
33   output_path: test
34   command: ["echo", "hello"]
35   runtime_constraints:
36     ram: 12000000000
37     vcpus: 4
38   auth_uuid: zzzzz-gj3su-077z32aux8dg2s2
39
40 running_older:
41   uuid: zzzzz-dz642-runningcontain2
42   owner_uuid: zzzzz-tpzed-000000000000000
43   state: Running
44   priority: 1
45   created_at: <%= 2.minute.ago.to_s(:db) %>
46   updated_at: <%= 2.minute.ago.to_s(:db) %>
47   started_at: <%= 2.minute.ago.to_s(:db) %>
48   container_image: test
49   cwd: test
50   output_path: test
51   command: ["echo", "hello"]
52   runtime_constraints:
53     ram: 12000000000
54     vcpus: 4
55
56 locked:
57   uuid: zzzzz-dz642-lockedcontainer
58   owner_uuid: zzzzz-tpzed-000000000000000
59   state: Locked
60   locked_by_uuid: zzzzz-gj3su-k9dvestay1plssr
61   priority: 2
62   created_at: <%= 2.minute.ago.to_s(:db) %>
63   updated_at: <%= 2.minute.ago.to_s(:db) %>
64   container_image: test
65   cwd: test
66   output_path: test
67   command: ["echo", "hello"]
68   runtime_constraints:
69     ram: 12000000000
70     vcpus: 4
71
72 completed:
73   uuid: zzzzz-dz642-compltcontainer
74   owner_uuid: zzzzz-tpzed-000000000000000
75   state: Complete
76   exit_code: 0
77   priority: 1
78   created_at: 2016-01-11 11:11:11.111111111 Z
79   updated_at: 2016-01-11 11:11:11.111111111 Z
80   started_at: 2016-01-11 11:11:11.111111111 Z
81   finished_at: 2016-01-12 11:12:13.111111111 Z
82   container_image: test
83   cwd: test
84   log: ea10d51bcf88862dbcc36eb292017dfd+45
85   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
86   output_path: test
87   command: ["echo", "hello"]
88   runtime_constraints:
89     ram: 12000000000
90     vcpus: 4
91
92 completed_older:
93   uuid: zzzzz-dz642-compltcontainr2
94   owner_uuid: zzzzz-tpzed-000000000000000
95   state: Complete
96   exit_code: 0
97   priority: 1
98   created_at: 2016-01-11 11:11:11.111111111 Z
99   updated_at: 2016-01-11 11:11:11.111111111 Z
100   started_at: 2016-01-13 11:11:11.111111111 Z
101   finished_at: 2016-01-14 11:12:13.111111111 Z
102   container_image: test
103   cwd: test
104   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
105   output_path: test
106   command: ["echo", "hello"]
107   runtime_constraints:
108     ram: 12000000000
109     vcpus: 4
110
111 requester:
112   uuid: zzzzz-dz642-requestingcntnr
113   owner_uuid: zzzzz-tpzed-000000000000000
114   state: Complete
115   exit_code: 0
116   priority: 1
117   created_at: 2016-01-11 11:11:11.111111111 Z
118   updated_at: 2016-01-11 11:11:11.111111111 Z
119   container_image: test
120   cwd: test
121   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
122   output_path: test
123   command: ["echo", "hello"]
124   runtime_constraints:
125     ram: 12000000000
126     vcpus: 4
127
128 requester_container:
129   uuid: zzzzz-dz642-requestercntnr1
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   auth_uuid: zzzzz-gj3su-077z32aux8dg2s3
145
146 failed_container:
147   uuid: zzzzz-dz642-failedcontainr1
148   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
149   state: Complete
150   exit_code: 33
151   priority: 1
152   created_at: 2016-01-11 11:11:11.111111111 Z
153   updated_at: 2016-01-11 11:11:11.111111111 Z
154   container_image: test
155   cwd: test
156   output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
157   output_path: test
158   command: ["echo", "hello"]
159   runtime_constraints:
160     ram: 12000000000
161     vcpus: 4
162
163 ancient_container_with_logs:
164   uuid: zzzzz-dz642-logscontainer01
165   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
166   state: Complete
167   exit_code: 0
168   priority: 1
169   created_at: <%= 2.year.ago.to_s(:db) %>
170   updated_at: <%= 2.year.ago.to_s(:db) %>
171   container_image: test
172   cwd: test
173   output_path: test
174   command: ["echo", "hello"]
175   runtime_constraints:
176     ram: 12000000000
177     vcpus: 4
178   finished_at: <%= 2.year.ago.to_s(:db) %>
179   log: ea10d51bcf88862dbcc36eb292017dfd+45
180   output: test
181
182 previous_container_with_logs:
183   uuid: zzzzz-dz642-logscontainer02
184   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
185   state: Complete
186   exit_code: 0
187   priority: 1
188   created_at: <%= 1.month.ago.to_s(:db) %>
189   updated_at: <%= 1.month.ago.to_s(:db) %>
190   container_image: test
191   cwd: test
192   output_path: test
193   command: ["echo", "hello"]
194   runtime_constraints:
195     ram: 12000000000
196     vcpus: 4
197   finished_at: <%= 1.month.ago.to_s(:db) %>
198   log: ea10d51bcf88862dbcc36eb292017dfd+45
199   output: test
200
201 running_container_with_logs:
202   uuid: zzzzz-dz642-logscontainer03
203   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
204   state: Running
205   priority: 1
206   created_at: <%= 1.hour.ago.to_s(:db) %>
207   updated_at: <%= 1.hour.ago.to_s(:db) %>
208   container_image: test
209   cwd: test
210   output_path: test
211   command: ["echo", "hello"]
212   runtime_constraints:
213     ram: 12000000000
214     vcpus: 4