-
Notifications
You must be signed in to change notification settings - Fork 140
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
Logs are missing when CodeBuild uses Compute fleets #171
Comments
|
Thank you @shuohaoliu. For the context I will add another oddity we've noticed is that all logs in Cloudwatch, when using CodeBuild Compute Fleet, have the same timestamp attached, and that is the timestamp of very first log message. No matter how much |
Issue should have been fixed |
Hi,
We're encountering an issue with the
aws-codebuild-run-build
action when using CodeBuild Compute fleets: the logs are missing, whenever generating output takes more than 60s (default updateInterval 30s).I've checked CloudWatch GetLogEvents metrics and found no errors.
We run this with default update interval of 30 seconds.
First, I thought we were encountering the condition described in this section of the code:
However, it doesn't make sense that everything works as expected when running on On Demand builders, and the issue occurs only when we run the build on CodeBuild Compute Fleet.
The minimal buildspec to reproduce the issue:
Example:
When running CodeBuild On Demand started by this Github Action, GHA outputs:
When running CodeBuild Compute fleets started by this Github Action, CB&GHA output:
Is there anything that can be done to try to pull all missing logs again, once "CODEBUILD COMPLETE" signal is received?
The text was updated successfully, but these errors were encountered: