X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6ac8cc38894119c40ec7f4ae7475a5798a3a87ce..d637371ad13e3f4851313f241270b257ff5f9256:/services/api/test/fixtures/jobs.yml diff --git a/services/api/test/fixtures/jobs.yml b/services/api/test/fixtures/jobs.yml index eb0da8b083..140f370839 100644 --- a/services/api/test/fixtures/jobs.yml +++ b/services/api/test/fixtures/jobs.yml @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + running: uuid: zzzzz-8i9sb-pshmckwoma9plh7 owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso @@ -183,6 +187,23 @@ previous_job_run: state: Complete script_parameters_digest: a5f03bbfb8ba88a2efe4a7852671605b +previous_job_run_nil_log: + uuid: zzzzz-8i9sb-cjs4pklxxjykqq3 + created_at: <%= 14.minute.ago.to_s(:db) %> + finished_at: <%= 13.minutes.ago.to_s(:db) %> + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + repository: active/foo + script: hash + script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577 + script_parameters: + input: fa7aeb5140e2848d39b416daeef4ffc5+45 + an_integer: "3" + success: true + log: ~ + output: ea10d51bcf88862dbcc36eb292017dfd+45 + state: Complete + script_parameters_digest: 445702df4029b8a6e7075b451ff1256a + previous_ancient_job_run: uuid: zzzzz-8i9sb-ahd7cie8jah9qui created_at: <%= 366.days.ago.to_s(:db) %> @@ -217,6 +238,7 @@ previous_docker_job_run: docker_image_locator: fa3c1a9cb6783f85f2ecda037e07b8c3+167 state: Complete script_parameters_digest: a5f03bbfb8ba88a2efe4a7852671605b + log: ea10d51bcf88862dbcc36eb292017dfd+45 previous_ancient_docker_image_job_run: uuid: zzzzz-8i9sb-t3b460aolxxuldl @@ -255,6 +277,7 @@ previous_job_run_with_arvados_sdk_version: output: ea10d51bcf88862dbcc36eb292017dfd+45 state: Complete script_parameters_digest: a5f03bbfb8ba88a2efe4a7852671605b + log: ea10d51bcf88862dbcc36eb292017dfd+45 previous_job_run_no_output: uuid: zzzzz-8i9sb-cjs4pklxxjykppp @@ -392,6 +415,17 @@ job_in_subproject: state: Complete script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b +job_in_trashed_project: + uuid: zzzzz-8i9sb-subprojectjob02 + created_at: 2014-10-15 12:00:00 + owner_uuid: zzzzz-j7d0g-trashedproject2 + log: ~ + repository: active/foo + script: hash + script_version: 4fe459abe02d9b365932b8f5dc419439ab4e2577 + state: Complete + script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b + running_will_be_completed: uuid: zzzzz-8i9sb-rshmckwoma9pjh8 owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso @@ -557,3 +591,178 @@ running_job_with_components: component1: zzzzz-8i9sb-jyq01m7in1jlofj component2: zzzzz-d1hrv-partdonepipelin script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b + +# This main level job is in running state with one job and one pipeline instance components +running_job_with_components_at_level_1: + uuid: zzzzz-8i9sb-jobcomponentsl1 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + cancelled_at: ~ + cancelled_by_user_uuid: ~ + cancelled_by_client_uuid: ~ + created_at: <%= 12.hour.ago.to_s(:db) %> + started_at: <%= 12.hour.ago.to_s(:db) %> + finished_at: ~ + repository: active/foo + script: hash + script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332 + script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b + running: true + success: ~ + output: ~ + priority: 0 + log: ~ + is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz + tasks_summary: + failed: 0 + todo: 3 + running: 1 + done: 1 + runtime_constraints: {} + state: Running + components: + component1: zzzzz-8i9sb-jobcomponentsl2 + component2: zzzzz-d1hrv-picomponentsl02 + +# This running job, a child of level_1, has one child component +running_job_with_components_at_level_2: + uuid: zzzzz-8i9sb-jobcomponentsl2 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + cancelled_at: ~ + cancelled_by_user_uuid: ~ + cancelled_by_client_uuid: ~ + created_at: <%= 12.hour.ago.to_s(:db) %> + started_at: <%= 12.hour.ago.to_s(:db) %> + finished_at: ~ + repository: active/foo + script: hash + script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332 + script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b + running: true + success: ~ + output: ~ + priority: 0 + log: ~ + is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz + tasks_summary: + failed: 0 + todo: 3 + running: 1 + done: 1 + runtime_constraints: {} + state: Running + components: + component1: zzzzz-8i9sb-job1atlevel3noc + +# The below two running jobs, children of level_2, have no child components +running_job_1_with_components_at_level_3: + uuid: zzzzz-8i9sb-job1atlevel3noc + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + cancelled_at: ~ + cancelled_by_user_uuid: ~ + cancelled_by_client_uuid: ~ + created_at: <%= 12.hour.ago.to_s(:db) %> + started_at: <%= 12.hour.ago.to_s(:db) %> + finished_at: ~ + repository: active/foo + script: hash + script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332 + script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b + running: true + success: ~ + output: ~ + priority: 0 + log: ~ + is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz + tasks_summary: + failed: 0 + todo: 3 + running: 1 + done: 1 + runtime_constraints: {} + state: Running + +running_job_2_with_components_at_level_3: + uuid: zzzzz-8i9sb-job2atlevel3noc + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + cancelled_at: ~ + cancelled_by_user_uuid: ~ + cancelled_by_client_uuid: ~ + created_at: <%= 12.hour.ago.to_s(:db) %> + started_at: <%= 12.hour.ago.to_s(:db) %> + finished_at: ~ + repository: active/foo + script: hash + script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332 + script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b + running: true + success: ~ + output: ~ + priority: 0 + log: ~ + is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz + tasks_summary: + failed: 0 + todo: 3 + running: 1 + done: 1 + runtime_constraints: {} + state: Running + +# The two jobs below are so confused, they have circular relationship +running_job_1_with_circular_component_relationship: + uuid: zzzzz-8i9sb-job1withcirculr + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + cancelled_at: ~ + cancelled_by_user_uuid: ~ + cancelled_by_client_uuid: ~ + created_at: <%= 12.hour.ago.to_s(:db) %> + started_at: <%= 12.hour.ago.to_s(:db) %> + finished_at: ~ + repository: active/foo + script: hash + script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332 + script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b + running: true + success: ~ + output: ~ + priority: 0 + log: ~ + is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz + tasks_summary: + failed: 0 + todo: 3 + running: 1 + done: 1 + runtime_constraints: {} + state: Running + components: + component1: zzzzz-8i9sb-job2withcirculr + +running_job_2_with_circular_component_relationship: + uuid: zzzzz-8i9sb-job2withcirculr + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + cancelled_at: ~ + cancelled_by_user_uuid: ~ + cancelled_by_client_uuid: ~ + created_at: <%= 12.hour.ago.to_s(:db) %> + started_at: <%= 12.hour.ago.to_s(:db) %> + finished_at: ~ + repository: active/foo + script: hash + script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332 + script_parameters_digest: 99914b932bd37a50b983c5e7c90ae93b + running: true + success: ~ + output: ~ + priority: 0 + log: ~ + is_locked_by_uuid: zzzzz-tpzed-xurymjxw79nv3jz + tasks_summary: + failed: 0 + todo: 3 + running: 1 + done: 1 + runtime_constraints: {} + state: Running + components: + component1: zzzzz-8i9sb-job1withcirculr