-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub actions log is >2hr behind actual AWS run #474
Comments
Maybe it's just log output to GitHub that's stuck instead? I didn't check locally or on aws, just in GitHub actions logs. |
Logs are further ahead on AWS. Maybe behind in GH Action logs due to Python output buffering? |
Can we somehow fix the output buffering? I love being able to see status in the Gh logs but it's useless if it's behind. |
Nvm, I'm connected to the same job locally and my logs are in sync with the AWS Cloudwatch logs. This is something specific to the GH Action workflow. |
Ah, this is an issue in the GH Action runners: actions/runner#1031 There is slow down because they have to scan every line to mask any potential secrets in the logs. |
Wowee. |
From actions/runner#1031:
The log linked in the input description has 2583 lines and all are under 1500 characters long, most under 400. This doesn't seem that bad. Maybe something else is happening. Likely nothing we can do here if this is specific to GH Actions? |
Is the issue that stdout is block-buffered since GitHub Actions redirects it to a non-interactive destination? If Python's default block size is high on the runners—it can vary machine to machine, IIRC—it might take a bit to fill the block up before it's flushed. We could try running under |
I just noticed that ingest is seemingly stuck for at least 2 hours without doing anything? It hasn't yet started any curation. It's not fetching from Genbank nor from GISAID, yet nothing is happening. This is very strange.
@joverlee521 do you have an idea what is going on. I ran these with fetching deselected
https://github.com/nextstrain/ncov-ingest/actions/runs/10513067722/job/29127832018
The text was updated successfully, but these errors were encountered: