amazon-genomics-cli icon indicating copy to clipboard operation
amazon-genomics-cli copied to clipboard

logs not displaying for individual snakemake jobs

Open vinay-swamy opened this issue 2 years ago • 0 comments

As per the walkthough, the command agc logs workflow <workflow_name> should print out the logs for individual jobs. When using snakemake, I tried to look at the logs for individual jobs with agc logs workflow <workflow_name>, and the job ids are printed out, but the actual logs aren't printed out, and I get the following error message.

RunId: fd705e15-079c-4e35-9ce8-8318c4a393f5
State: COMPLETE
Tasks: 
        Name                            JobId                                   StartTime                               StopTime            ExitCode
        snakejob_select_by_country_10_sh29b749bb-a07a-4bde-92e4-573127257538    2022-06-07 15:43:04.81 +0000 UTC        2022-06-07 15:43:07.745 +0000 UTC    0

# not showing all the other jobs

2022-06-07T17:05:46Z ✘  Could not retrieve standard output from snakemakeSnakemakeEngin-0e41ee2854dcd20/default/c8f1cd8a1e4448f48627fda823da57b8: 404 Not Found

This happened for multiple workflows, including the demo example.

Steps to reproduce: Using the example workflow in demo-snakemake-project

agc context deploy onDemandContext
agc workflow run countries
## wait for workflow start running 
agc logs workflow countries

Operating System: AGC Version: 1.5 Was AGC setup with a custom bucket: No Was AGC setup with a custom VPC: No

vinay-swamy avatar Jun 07 '22 17:06 vinay-swamy