Skip to content

Read-only filesystem errors from Snakemake in Singularity runtime #274

@tsibley

Description

@tsibley

The Snakemake upgrade in nextstrain/docker-base#136 caused failures for builds in the Singularity runtime due to new filesystem writes that Snakemake now tries to make under $HOME. Currently with our Singularity runner, $HOME and other non-working dirs are read-only.

The failure showed up as scheduled daily CI in this repo starting to fail between nextstrain/base:build-20230407T002437Z (last good) and build-20230411T103027Z (first bad).

I think we can address this by using the --writable-tmpfs flag in the Singularity runner to allow a writable (but temporary and ultimately discarded) filesystem outside of the working dir. This is similar to Docker's default behaviour. There may be other considerations with the change though.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions