Repository navigation
Fix two flaky GHA integration test failures - #3079
Open
hahn-kev-bot wants to merge 1 commit into
Open
hahn-kev-bot wants to merge 1 commit into
hahn-kev-bot wants to merge 1 commit into
Conversation
Pods never became ready when the kind node's anonymous Docker Hub pulls got 429 Too Many Requests. The node now pulls docker.io images through mirror.gcr.io, falling back to Docker Hub. SendNewProject_Big got a 502 when the lexbox proxy sent the push on a pooled connection just as hgweb's Apache closed it (KeepAliveTimeout 5s against the proxy's 60s pool idle timeout); a streamed body can't be retried. Apache now keeps idle connections 120s and the proxy's 60s is set explicitly. The failure-log step keeps going past a failed command and saves pods and events, and kind keeps up to 200Mi of container log so lexbox-api's log survives to the artifact. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 38 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AI summary
Two rare
GHA integration tests / dotnetfailures, both seen on #3078 and neither caused by it.Pods never became ready (run 45975673919): the pod describe shows
429 Too Many Requestspullingmaildev/maildevfrom Docker Hub. Five images in the GHA manifests come from Docker Hub, pulled anonymously from shared runner IPs.deployment/gha/kind.yamlturns on containerd'sconfig_path, and a newsetup-k8sstep writeshosts.tomlso docker.io pulls go throughmirror.gcr.iofirst, falling back to Docker Hub.lexboxso that step can find its nodes.SendNewProject_Biggot HTTP 502 (run 45980363548): lexbox returned the 502 0.34 s into the 189 MB push, and hgweb has no log line for the request. Apache closes idle connections after 5 s, and the proxy keeps them for 60 s. A push sent on a pooled connection just as Apache closes it fails, and a streamed body can't be retried.lexbox-hgweb:developwith a client configured like the proxy: a 4.9 s wait plus a 200 ms stall failed 8/8, and the same timing passed withKeepAliveTimeout 120. The stall was artificial, so it isn't proven that this exact timing happened in CI.hgweb/httpd.conf:KeepAliveTimeout 120.ProxyKernel.cs:PooledConnectionIdleTimeoutpinned to the 60 s default, with comments linking the two values. This changes production hgweb; Apache's event MPM keeps idle connections cheap.Better evidence next time:
statusstep keeps going past a failed command and also saves pods and events.Two entries added to the "Known flaky" list in
.github/AGENTS.md.Both failures are rare: of the last 100 Develop API CI/CD runs, only these two showed these errors.
Test plan
Develop API CI/CDon this PR: the "Mirror docker.io pulls through mirror.gcr.io" step passes and pods become Ready. Newer kind node images run containerd 2, and the config patch uses the 1.x keyio.containerd.grpc.v1.cri. A green run shows the patch doesn't break cluster creation, not that the mirror is used.lexbox-hgwebis built for this PR, so the integration tests run against the newKeepAliveTimeout.GHA integration tests / dotnetpasses, includingSendNewProject_Big.🤖 Generated with Claude Code