X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1650c9eec24fea204cdbf5229ed61d564b48cdb9..509f028df8876fee99e68918c3d23ac36073121d:/services/api/test/fixtures/containers.yml diff --git a/services/api/test/fixtures/containers.yml b/services/api/test/fixtures/containers.yml index b354993046..08fafff3ae 100644 --- a/services/api/test/fixtures/containers.yml +++ b/services/api/test/fixtures/containers.yml @@ -1,13 +1,12 @@ queued: uuid: zzzzz-dz642-queuedcontainer - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Queued priority: 1 created_at: 2016-01-11 11:11:11.111111111 Z updated_at: 2016-01-11 11:11:11.111111111 Z container_image: test cwd: test - output: test output_path: test command: ["echo", "hello"] runtime_constraints: @@ -16,32 +15,31 @@ queued: running: uuid: zzzzz-dz642-runningcontainr - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Running priority: 1 - created_at: 2016-01-11 11:11:11.111111111 Z - updated_at: 2016-01-11 11:11:11.111111111 Z - started_at: 2016-01-11 11:11:11.111111111 Z + created_at: <%= 1.minute.ago.to_s(:db) %> + updated_at: <%= 1.minute.ago.to_s(:db) %> + started_at: <%= 1.minute.ago.to_s(:db) %> container_image: test cwd: test - output: test output_path: test command: ["echo", "hello"] runtime_constraints: ram: 12000000000 vcpus: 4 + auth_uuid: zzzzz-gj3su-077z32aux8dg2s1 -running-older: +running_older: uuid: zzzzz-dz642-runningcontain2 - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Running priority: 1 - created_at: 2016-01-11 11:11:11.111111111 Z - updated_at: 2016-01-11 11:11:11.111111111 Z - started_at: 2016-01-12 11:11:11.111111111 Z + created_at: <%= 2.minute.ago.to_s(:db) %> + updated_at: <%= 2.minute.ago.to_s(:db) %> + started_at: <%= 2.minute.ago.to_s(:db) %> container_image: test cwd: test - output: test output_path: test command: ["echo", "hello"] runtime_constraints: @@ -50,14 +48,13 @@ running-older: locked: uuid: zzzzz-dz642-lockedcontainer - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Locked priority: 2 - created_at: 2016-01-01 11:11:11.111111111 Z - updated_at: 2016-01-01 11:11:11.111111111 Z + created_at: <%= 2.minute.ago.to_s(:db) %> + updated_at: <%= 2.minute.ago.to_s(:db) %> container_image: test cwd: test - output: test output_path: test command: ["echo", "hello"] runtime_constraints: @@ -66,8 +63,9 @@ locked: completed: uuid: zzzzz-dz642-compltcontainer - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Complete + exit_code: 0 priority: 1 created_at: 2016-01-11 11:11:11.111111111 Z updated_at: 2016-01-11 11:11:11.111111111 Z @@ -75,7 +73,8 @@ completed: finished_at: 2016-01-12 11:12:13.111111111 Z container_image: test cwd: test - output: test + log: 0b9a7787660e1fce4a93f33e01376ba6+81 + output: zzzzz-4zz18-znfnqtbbv4spc3w output_path: test command: ["echo", "hello"] runtime_constraints: @@ -84,8 +83,9 @@ completed: completed_older: uuid: zzzzz-dz642-compltcontainr2 - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Complete + exit_code: 0 priority: 1 created_at: 2016-01-11 11:11:11.111111111 Z updated_at: 2016-01-11 11:11:11.111111111 Z @@ -102,8 +102,9 @@ completed_older: requester: uuid: zzzzz-dz642-requestingcntnr - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Complete + exit_code: 0 priority: 1 created_at: 2016-01-11 11:11:11.111111111 Z updated_at: 2016-01-11 11:11:11.111111111 Z @@ -118,8 +119,27 @@ requester: requester_container: uuid: zzzzz-dz642-requestercntnr1 + owner_uuid: zzzzz-tpzed-000000000000000 + state: Complete + exit_code: 0 + priority: 1 + created_at: 2016-01-11 11:11:11.111111111 Z + updated_at: 2016-01-11 11:11:11.111111111 Z + container_image: test + cwd: test + output: test + output_path: test + command: ["echo", "hello"] + runtime_constraints: + ram: 12000000000 + vcpus: 4 + auth_uuid: zzzzz-gj3su-077z32aux8dg2s1 + +failed_container: + uuid: zzzzz-dz642-failedcontainr1 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz state: Complete + exit_code: 33 priority: 1 created_at: 2016-01-11 11:11:11.111111111 Z updated_at: 2016-01-11 11:11:11.111111111 Z @@ -131,3 +151,56 @@ requester_container: runtime_constraints: ram: 12000000000 vcpus: 4 + +ancient_container_with_logs: + uuid: zzzzz-dz642-logscontainer01 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + state: Complete + exit_code: 0 + priority: 1 + created_at: <%= 2.year.ago.to_s(:db) %> + updated_at: <%= 2.year.ago.to_s(:db) %> + container_image: test + cwd: test + output_path: test + command: ["echo", "hello"] + runtime_constraints: + ram: 12000000000 + vcpus: 4 + finished_at: <%= 2.year.ago.to_s(:db) %> + log: ea10d51bcf88862dbcc36eb292017dfd+45 + output: test + +previous_container_with_logs: + uuid: zzzzz-dz642-logscontainer02 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + state: Complete + exit_code: 0 + priority: 1 + created_at: <%= 1.month.ago.to_s(:db) %> + updated_at: <%= 1.month.ago.to_s(:db) %> + container_image: test + cwd: test + output_path: test + command: ["echo", "hello"] + runtime_constraints: + ram: 12000000000 + vcpus: 4 + finished_at: <%= 1.month.ago.to_s(:db) %> + log: ea10d51bcf88862dbcc36eb292017dfd+45 + output: test + +running_container_with_logs: + uuid: zzzzz-dz642-logscontainer03 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + state: Running + priority: 1 + created_at: <%= 1.hour.ago.to_s(:db) %> + updated_at: <%= 1.hour.ago.to_s(:db) %> + container_image: test + cwd: test + output_path: test + command: ["echo", "hello"] + runtime_constraints: + ram: 12000000000 + vcpus: 4