Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conformance tests: WorkflowException missing required secondary file (100) #198

Open
audrium opened this issue Aug 30, 2021 · 0 comments
Open

Comments

@audrium
Copy link
Member

audrium commented Aug 30, 2021

2021-08-30 09:05:13,358 | cwltool | MainThread | INFO | Resolved 'workflow.json#main' to 'file:///var/reana/users/00000000-0000-0000-0000-000000000000/workflows/b63f67bc-2648-468d-bb1e-3fb1c88596f7/workflow.json#main'
Traceback (most recent call last):
  File "/code/reana_workflow_engine_cwl/pipeline.py", line 89, in executor
    for runnable in jobs:
  File "/usr/local/lib/python3.8/site-packages/cwltool/command_line_tool.py", line 846, in job
    builder = self._init_job(job_order, runtimeContext)
  File "/usr/local/lib/python3.8/site-packages/cwltool/process.py", line 910, in _init_job
    builder.bind_input(
  File "/usr/local/lib/python3.8/site-packages/cwltool/builder.py", line 346, in bind_input
    self.bind_input(
  File "/usr/local/lib/python3.8/site-packages/cwltool/builder.py", line 328, in bind_input
    self.bind_input(
  File "/usr/local/lib/python3.8/site-packages/cwltool/builder.py", line 371, in bind_input
    self.bind_input(
  File "/usr/local/lib/python3.8/site-packages/cwltool/builder.py", line 497, in bind_input
    raise WorkflowException(
cwltool.errors.WorkflowException: Missing required secondary file 'ref.fasta.fai' from file object: {
    "class": "File",
    "location": "file:///var/reana/users/00000000-0000-0000-0000-000000000000/workflows/b63f67bc-2648-468d-bb1e-3fb1c88596f7/ref.fasta",
    "size": 12010,
    "basename": "ref.fasta",
    "nameroot": "ref",
    "nameext": ".fasta",
    "secondaryFiles": []
}
ERROR Workflow error, try again with --debug for more information:
Missing required secondary file 'ref.fasta.fai' from file object: {
    "class": "File",
    "location": "file:///var/reana/users/00000000-0000-0000-0000-000000000000/workflows/b63f67bc-2648-468d-bb1e-3fb1c88596f7/ref.fasta",
    "size": 12010,
    "basename": "ref.fasta",
    "nameroot": "ref",
    "nameext": ".fasta",
    "secondaryFiles": []
}
2021-08-30 09:05:15,355 | cwltool | MainThread | ERROR | Workflow error, try again with --debug for more information:
Missing required secondary file 'ref.fasta.fai' from file object: {
    "class": "File",
    "location": "file:///var/reana/users/00000000-0000-0000-0000-000000000000/workflows/b63f67bc-2648-468d-bb1e-3fb1c88596f7/ref.fasta",
    "size": 12010,
    "basename": "ref.fasta",
    "nameroot": "ref",
    "nameext": ".fasta",
    "secondaryFiles": []
}
workflow done

To reproduce:

cwltest --tool /home/amecioni/.virtualenvs/cwl/bin/reana-cwl-runner --test=conformance_test_v1.0.yaml -n100 --basedir /home/amecioni/Documents/tests/common-workflow-language/v1.0   --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant