Skip to content

The Singularity container platform doesn't change automatically to the mounted stage directory #2580

@rsarm

Description

@rsarm

In the Singularity container platform the change to the mounted stage directory is done with

if self.workdir:
run_opts.append(f'-W {self.workdir}')

but -W doesn't change the directory like docker or sarus. From singularity --help:

  -W, --workdir string         working directory to be used for /tmp,
                               /var/tmp and $HOME (if -c/--contain was
                               also used)

As a result the test doesn't start in the stage directory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions