Bug #10722

[CWL] KeyError 'id' with RunInSingleContainer and embedded subworkflows

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

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
12/30/2016
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-

Description

Error:

/usr/bin/arvados-cwl-runner 3cb54d529632df28dd14d1973f70d5fdbd98e2bb 1.0.20161102211912, arvados-python-client 0.1.20161031135838, cwltool 1.0.20161007181528
Unexpected exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cwltool/workflow.py", line 538, in job
    **kwargs):
  File "/usr/lib/python2.7/site-packages/arvados_cwl/arvworkflow.py", line 65, in job
    document_loader, workflowobj, uri = (self.doc_loader, self.doc_loader.fetch(self.tool["id"]), self.tool["id"])
KeyError: 'id'
2016-12-14 08:11:42 arvados.cwl-runner[10117] ERROR: Caught unhandled exception, marking pipeline as failed.  Error was: 'id'
Workflow error, try again with --debug for more information:
  Workflow did not return a result.

Subtasks

Task #10743: Review 10722-cwl-subworkflowResolvedLucas Di Pentima

Associated revisions

Revision 1fa9990d
Added by Peter Amstutz almost 5 years ago

Merge branch '10722-cwl-subworkflow' closes #10722

History

#1 Updated by Peter Amstutz almost 5 years ago

  • Description updated (diff)

#2 Updated by Tom Morris almost 5 years ago

  • Target version set to 2017-01-04 sprint

#3 Updated by Peter Amstutz almost 5 years ago

  • Assigned To set to Peter Amstutz

#4 Updated by Peter Amstutz almost 5 years ago

  • Status changed from New to In Progress

Branch 10722-cwl-subworkflow

This should report a better error now:

tests/wf/scatter2.cwl:27:7: Workflow object must have 'id'

#5 Updated by Lucas Di Pentima almost 5 years ago

LGTM.

#6 Updated by Peter Amstutz almost 5 years ago

  • Status changed from In Progress to Resolved

Applied in changeset arvados|commit:1fa9990d33e5cde82d5986b382851b8ea0314553.

Also available in: Atom PDF