Project

General

Profile

Actions

Bug #3195

closed

minimum_script_version field in job submission doesn't seem to work

Added by Peter Amstutz almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
-
Story points:
-

Description

When I try to use minimum_script_version in a component of a pipeline, the job submission fails with the following error. Using new-style 'filters' on job submission does work.

2014-07-05_00:44:33.48783 arv-run-pipeline-instance 25798: create job: ["#<ArgumentError: Invalid operand type 'NilClass' for 'in' ope
rator in filters>"] with attributes {:script=>"run-command", :script_parameters=>{:command=>["bwa", "mem", "-t", "4", "-R", "@RG\\tID:
group_id\\tPL:illumina\\tSM:sample_id", "$(dir $(reference_collection))/$(reference_name)", "$(file $(R1))", "$(file $(R2))"], :refere
nce_collection=>"e26a8b984b361b8eb9de17733e254c20+5819", :reference_name=>"human_g1k_v37.fasta", :R1=>"7eb6160977c6161fee4f365765d3380
1+2370/HWI-ST1027_129_D0THKACXX.1_1.fastq.gz", :R2=>"7eb6160977c6161fee4f365765d33801+2370/HWI-ST1027_129_D0THKACXX.1_2.fastq.gz", :st
dout=>"A.$(reference_name).sam"}, :script_version=>"master", :repository=>"arvados", :nondeterministic=>nil, :output_is_persistent=>fa
lse, :runtime_constraints=>{:docker_image=>"arvados/jobs-java-bwa-samtools"}, :owner_uuid=>"4xphq-j7d0g-ur9v47pkvxu1hds"}

Subtasks 1 (0 open1 closed)

Task #3210: Review 3195-bugfix-job-min-script-verResolvedTim Pierce07/08/2014Actions
Actions #1

Updated by Peter Amstutz almost 10 years ago

  • Description updated (diff)
Actions #2

Updated by Brett Smith almost 10 years ago

  • Assigned To set to Brett Smith
Actions #3

Updated by Brett Smith almost 10 years ago

Do you have a record of the Job you submitted that triggered this error? The API server has tests for basic cases using the original parameter, and those still pass. At first glance, based only on the exception text, it looks like your search resolved to no commits, and that led to a nonsense filter internally. Definitely the Jobs controller needs to guard against that case. But it'd be helpful to double-check if there's something else going on.

Actions #4

Updated by Brett Smith almost 10 years ago

3195-bugfix-job-min-script-ver is up for review to better guard against bogus git refspecs, and render a nicer error when one is provided. That's the most I know to do for now. The parameters in the original bug report don't specify a minimum script version, so it's hard to know what more specifically to test.

Actions #5

Updated by Brett Smith almost 10 years ago

  • Status changed from New to Resolved

Applied in changeset arvados|commit:f85c6cf14fada8b2ad4b6b7e6e7e9cf9852ce83d.

Actions

Also available in: Atom PDF