X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c2aceca339ec3a6f3d853865cebd0efe348ff518..bf4193eeaa390cec08bbb8333a53fbc89edfd7f3:/services/api/test/fixtures/containers.yml diff --git a/services/api/test/fixtures/containers.yml b/services/api/test/fixtures/containers.yml index e7cd0abd1f..46bc1e50f9 100644 --- a/services/api/test/fixtures/containers.yml +++ b/services/api/test/fixtures/containers.yml @@ -16,6 +16,10 @@ queued: runtime_constraints: ram: 12000000000 vcpus: 4 + cuda: + driver_version: "" + hardware_capability: "" + device_count: 0 mounts: /tmp: kind: tmp @@ -29,9 +33,9 @@ running: owner_uuid: zzzzz-tpzed-000000000000000 state: Running 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) %> + created_at: <%= 1.minute.ago.to_fs(:db) %> + updated_at: <%= 1.minute.ago.to_fs(:db) %> + started_at: <%= 1.minute.ago.to_fs(:db) %> container_image: test cwd: /tmp output_path: /tmp @@ -55,9 +59,9 @@ running_older: owner_uuid: zzzzz-tpzed-000000000000000 state: Running priority: 1 - created_at: <%= 2.minute.ago.to_s(:db) %> - updated_at: <%= 2.minute.ago.to_s(:db) %> - started_at: <%= 2.minute.ago.to_s(:db) %> + created_at: <%= 2.minute.ago.to_fs(:db) %> + updated_at: <%= 2.minute.ago.to_fs(:db) %> + started_at: <%= 2.minute.ago.to_fs(:db) %> container_image: test cwd: /tmp output_path: /tmp @@ -77,10 +81,10 @@ locked: 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) %> - modified_at: <%= 2.minute.ago.to_s(:db) %> + priority: 0 + created_at: <%= 2.minute.ago.to_fs(:db) %> + updated_at: <%= 2.minute.ago.to_fs(:db) %> + modified_at: <%= 2.minute.ago.to_fs(:db) %> container_image: test cwd: test output_path: test @@ -166,6 +170,7 @@ diagnostics_completed_requester: ] runtime_constraints: API: true + keep_cache_disk: 0 keep_cache_ram: 268435456 ram: 1342177280 vcpus: 1 @@ -191,6 +196,7 @@ diagnostics_completed_hasher1: ] runtime_constraints: API: true + keep_cache_disk: 0 keep_cache_ram: 268435456 ram: 268435456 vcpus: 1 @@ -216,6 +222,7 @@ diagnostics_completed_hasher2: ] runtime_constraints: API: true + keep_cache_disk: 0 keep_cache_ram: 268435456 ram: 268435456 vcpus: 2 @@ -241,6 +248,7 @@ diagnostics_completed_hasher3: ] runtime_constraints: API: true + keep_cache_disk: 0 keep_cache_ram: 268435456 ram: 268435456 vcpus: 1 @@ -277,6 +285,7 @@ diagnostics_completed_requester2: ] runtime_constraints: API: true + keep_cache_disk: 0 keep_cache_ram: 268435456 ram: 1342177280 vcpus: 1 @@ -344,8 +353,8 @@ ancient_container_with_logs: state: Complete exit_code: 0 priority: 1 - created_at: <%= 2.year.ago.to_s(:db) %> - updated_at: <%= 2.year.ago.to_s(:db) %> + created_at: <%= 2.year.ago.to_fs(:db) %> + updated_at: <%= 2.year.ago.to_fs(:db) %> container_image: test cwd: test output_path: test @@ -353,7 +362,7 @@ ancient_container_with_logs: runtime_constraints: ram: 12000000000 vcpus: 4 - finished_at: <%= 2.year.ago.to_s(:db) %> + finished_at: <%= 2.year.ago.to_fs(:db) %> log: ea10d51bcf88862dbcc36eb292017dfd+45 output: test secret_mounts: {} @@ -365,8 +374,8 @@ previous_container_with_logs: state: Complete exit_code: 0 priority: 1 - created_at: <%= 1.month.ago.to_s(:db) %> - updated_at: <%= 1.month.ago.to_s(:db) %> + created_at: <%= 1.month.ago.to_fs(:db) %> + updated_at: <%= 1.month.ago.to_fs(:db) %> container_image: test cwd: test output_path: test @@ -374,7 +383,7 @@ previous_container_with_logs: runtime_constraints: ram: 12000000000 vcpus: 4 - finished_at: <%= 1.month.ago.to_s(:db) %> + finished_at: <%= 1.month.ago.to_fs(:db) %> log: ea10d51bcf88862dbcc36eb292017dfd+45 output: test secret_mounts: {} @@ -385,8 +394,8 @@ running_container_with_logs: 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) %> + created_at: <%= 1.hour.ago.to_fs(:db) %> + updated_at: <%= 1.hour.ago.to_fs(:db) %> container_image: test cwd: test output_path: test @@ -400,15 +409,16 @@ running_container_with_logs: vcpus: 4 secret_mounts: {} secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b + auth_uuid: zzzzz-gj3su-n4xycwjpvvi776n 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) %> + created_at: <%= 1.minute.ago.to_fs(:db) %> + updated_at: <%= 1.minute.ago.to_fs(:db) %> + started_at: <%= 1.minute.ago.to_fs(:db) %> container_image: test cwd: test output_path: test @@ -449,3 +459,29 @@ runtime_token: /var/spool/cwl: kind: tmp capacity: 24000000000 + +cuda_container: + uuid: zzzzz-dz642-cudagpcontainer + 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 + started_at: 2016-01-11 11:11:11.111111111 Z + finished_at: 2016-01-12 11:12:13.111111111 Z + container_image: test + cwd: test + log: ea10d51bcf88862dbcc36eb292017dfd+45 + output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 + output_path: test + command: ["echo", "hello", "/bin/sh", "-c", "'cat' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/foobar' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/baz' '|' 'gzip' '>' '/dev/null'"] + runtime_constraints: + ram: 12000000000 + vcpus: 4 + cuda: + driver_version: "11.0" + hardware_capability: "9.0" + device_count: 1 + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b