9623: Added method to find a reusable container, used by ContainerRequest#resolve...
[arvados.git] / services / api / test / fixtures / containers.yml
1 queued:
2   uuid: zzzzz-dz642-queuedcontainer
3   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
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: test
11   output_path: test
12   command: ["echo", "hello"]
13   runtime_constraints:
14     ram: 12000000000
15     vcpus: 4
16
17 running:
18   uuid: zzzzz-dz642-runningcontainr
19   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
20   state: Running
21   priority: 1
22   created_at: <%= 1.minute.ago.to_s(:db) %>
23   updated_at: <%= 1.minute.ago.to_s(:db) %>
24   started_at: <%= 1.minute.ago.to_s(:db) %>
25   container_image: test
26   cwd: test
27   output: test
28   output_path: test
29   command: ["echo", "hello"]
30   runtime_constraints:
31     ram: 12000000000
32     vcpus: 4
33   auth_uuid: zzzzz-gj3su-077z32aux8dg2s1
34
35 running-older:
36   uuid: zzzzz-dz642-runningcontain2
37   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
38   state: Running
39   priority: 1
40   created_at: <%= 2.minute.ago.to_s(:db) %>
41   updated_at: <%= 2.minute.ago.to_s(:db) %>
42   started_at: <%= 2.minute.ago.to_s(:db) %>
43   container_image: test
44   cwd: test
45   output: test
46   output_path: test
47   command: ["echo", "hello"]
48   runtime_constraints:
49     ram: 12000000000
50     vcpus: 4
51
52 locked:
53   uuid: zzzzz-dz642-lockedcontainer
54   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
55   state: Locked
56   priority: 2
57   created_at: <%= 2.minute.ago.to_s(:db) %>
58   updated_at: <%= 2.minute.ago.to_s(:db) %>
59   container_image: test
60   cwd: test
61   output: test
62   output_path: test
63   command: ["echo", "hello"]
64   runtime_constraints:
65     ram: 12000000000
66     vcpus: 4
67
68 completed:
69   uuid: zzzzz-dz642-compltcontainer
70   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
71   state: Complete
72   exit_code: 0
73   priority: 1
74   created_at: 2016-01-11 11:11:11.111111111 Z
75   updated_at: 2016-01-11 11:11:11.111111111 Z
76   started_at: 2016-01-11 11:11:11.111111111 Z
77   finished_at: 2016-01-12 11:12:13.111111111 Z
78   container_image: test
79   cwd: test
80   log: ea10d51bcf88862dbcc36eb292017dfd+45
81   output: zzzzz-4zz18-znfnqtbbv4spc3w
82   output_path: test
83   command: ["echo", "hello"]
84   mounts:
85     test:
86       kind: json
87   environment:
88     var: test
89   runtime_constraints:
90     ram: 12000000000
91     vcpus: 4
92
93 completed_older:
94   uuid: zzzzz-dz642-compltcontainr2
95   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
96   state: Complete
97   exit_code: 0
98   priority: 1
99   created_at: 2016-01-11 11:11:11.111111111 Z
100   updated_at: 2016-01-11 11:11:11.111111111 Z
101   started_at: 2016-01-13 11:11:11.111111111 Z
102   finished_at: 2016-01-14 11:12:13.111111111 Z
103   container_image: test
104   cwd: test
105   output: test
106   output_path: test
107   command: ["echo", "hello"]
108   runtime_constraints:
109     ram: 12000000000
110     vcpus: 4
111
112 requester:
113   uuid: zzzzz-dz642-requestingcntnr
114   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
115   state: Complete
116   exit_code: 0
117   priority: 1
118   created_at: 2016-01-11 11:11:11.111111111 Z
119   updated_at: 2016-01-11 11:11:11.111111111 Z
120   container_image: test
121   cwd: test
122   output: test
123   output_path: test
124   command: ["echo", "hello"]
125   runtime_constraints:
126     ram: 12000000000
127     vcpus: 4
128
129 requester_container:
130   uuid: zzzzz-dz642-requestercntnr1
131   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
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: test
140   output_path: test
141   command: ["echo", "hello"]
142   runtime_constraints:
143     ram: 12000000000
144     vcpus: 4
145   auth_uuid: zzzzz-gj3su-077z32aux8dg2s1
146
147 failed_container:
148   uuid: zzzzz-dz642-failedcntnr
149   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
150   state: Complete
151   exit_code: 33
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: test
158   output_path: test
159   command: ["echo", "hello"]
160   runtime_constraints:
161     ram: 12000000000
162     vcpus: 4