Skip to content

intermediate files from one subworkflow are unavailable to another when using boot2docker #108

Closed

Description

@dleehr

When using subworkflows, cwltool leaves intermediate files from one subworkflow in the host's temp directory (and not one with a CLI-specified tmpdir-prefix). The next subworkflow in the workflow is not able to read this file if the host is running boot2docker, and the workflow fails.

This is not an issue with intermediate files from tools within a workflow, only subworkflows within a workflow.

See https://github.com/dleehr/cwl-volumebug for example.

Activity

  1. tetron commented on Aug 13, 2015

    @tetron
    Member

    I haven't had a chance to dig into this, but perhaps this is just an issues of tmpdir-prefix not getting propagated to the subworkflows?

  2. dleehr commented on Aug 13, 2015

    @dleehr
    ContributorAuthor

    Could be. I tried to debug a little bit but couldn't trace exactly how subworkflows were instantiated, and also couldn't determine if tmpdir-prefix and outdir-prefix should always be used.

    There are a couple areas where tmpdir/outdir are assigned without respecting the prefix:

    if dockerReq and kwargs.get("use_container"):

    self.outdir = tempfile.mkdtemp()

    I'll tweak those and see if that fixes it.

  3. added a commit that references this issue on Aug 13, 2015
    9939952
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions