Skip to content

Nextflow log retrieval fails in recent tw CLI versions due to work directory cleanup in community workspace #70

@ejseqera

Description

@ejseqera

Description of the bug

In Platform CLI versions >0.9.2, the Nextflow log file is included in the archive generated by tw runs dump. However, users pulling archives for runs in the community/showcase using the test profile will experience test failures because these runs have been deleted from the work directory bucket. While we could prevent the issue by not upgrading the tw CLI version, users running the CLI locally will still encounter this problem.

Command used and terminal output

tw runs dump -id 4Bi5xBK6E2Nbhj -w community/showcase -o test-community.tar.gz
- Tower info
- Workflow general information
- Workflow metadata
- Workflow load data
- Workflow launch
- Workflow metrics
- Task details
- Workflow nextflow.log

 ERROR: Unable to get S3 object: s3://nf-tower-bucket/scratch/4Bi5xBK6E2Nbhj/nf-4Bi5xBK6E2Nbhj.log

Relevant files

No response

System information

tw --version
Tower CLI version 0.10.3 (build a86eeed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions