X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3678eda6ea138d948919944d1b54e680ba20ea81..296aa66f8770b18dcc1ea6b82cacd7c0c047922b:/services/api/test/fixtures/containers.yml diff --git a/services/api/test/fixtures/containers.yml b/services/api/test/fixtures/containers.yml index 049cd3c6db..7e2de6d8ca 100644 --- a/services/api/test/fixtures/containers.yml +++ b/services/api/test/fixtures/containers.yml @@ -1,40 +1,49 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + 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: ram: 12000000000 vcpus: 4 + mounts: + /tmp: + kind: tmp + capacity: 24000000000 + /var/spool/cwl: + kind: tmp + capacity: 24000000000 running: uuid: zzzzz-dz642-runningcontainr - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Running - priority: 1 + priority: 12 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 + auth_uuid: zzzzz-gj3su-077z32aux8dg2s2 -running-older: +running_older: uuid: zzzzz-dz642-runningcontain2 - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Running priority: 1 created_at: <%= 2.minute.ago.to_s(:db) %> @@ -42,7 +51,6 @@ running-older: started_at: <%= 2.minute.ago.to_s(:db) %> container_image: test cwd: test - output: test output_path: test command: ["echo", "hello"] runtime_constraints: @@ -51,14 +59,14 @@ running-older: locked: uuid: zzzzz-dz642-lockedcontainer - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Locked + locked_by_uuid: zzzzz-gj3su-k9dvestay1plssr priority: 2 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: @@ -67,7 +75,7 @@ locked: completed: uuid: zzzzz-dz642-compltcontainer - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Complete exit_code: 0 priority: 1 @@ -78,7 +86,7 @@ completed: container_image: test cwd: test log: ea10d51bcf88862dbcc36eb292017dfd+45 - output: zzzzz-4zz18-znfnqtbbv4spc3w + output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 output_path: test command: ["echo", "hello"] runtime_constraints: @@ -87,7 +95,7 @@ completed: completed_older: uuid: zzzzz-dz642-compltcontainr2 - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Complete exit_code: 0 priority: 1 @@ -97,7 +105,7 @@ completed_older: finished_at: 2016-01-14 11:12:13.111111111 Z container_image: test cwd: test - output: test + output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 output_path: test command: ["echo", "hello"] runtime_constraints: @@ -106,7 +114,7 @@ completed_older: requester: uuid: zzzzz-dz642-requestingcntnr - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Complete exit_code: 0 priority: 1 @@ -114,7 +122,7 @@ requester: updated_at: 2016-01-11 11:11:11.111111111 Z container_image: test cwd: test - output: test + output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 output_path: test command: ["echo", "hello"] runtime_constraints: @@ -123,7 +131,7 @@ requester: requester_container: uuid: zzzzz-dz642-requestercntnr1 - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 state: Complete exit_code: 0 priority: 1 @@ -131,16 +139,16 @@ requester_container: updated_at: 2016-01-11 11:11:11.111111111 Z container_image: test cwd: test - output: test + output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 output_path: test command: ["echo", "hello"] runtime_constraints: ram: 12000000000 vcpus: 4 - auth_uuid: zzzzz-gj3su-077z32aux8dg2s1 + auth_uuid: zzzzz-gj3su-077z32aux8dg2s3 failed_container: - uuid: zzzzz-dz642-failedcntnr + uuid: zzzzz-dz642-failedcontainr1 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz state: Complete exit_code: 33 @@ -149,9 +157,79 @@ failed_container: updated_at: 2016-01-11 11:11:11.111111111 Z container_image: test cwd: test + output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 + output_path: test + command: ["echo", "hello"] + 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 + +running_to_be_deleted: + uuid: zzzzz-dz642-runnincntrtodel + owner_uuid: zzzzz-tpzed-000000000000000 + state: Running + priority: 1 + 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_path: test command: ["echo", "hello"] runtime_constraints: ram: 12000000000 vcpus: 4 + auth_uuid: zzzzz-gj3su-077z32aux8dg2s2