[debug] Isolate replicateBlobV2MultipleCases flake#3243
Closed
[debug] Isolate replicateBlobV2MultipleCases flake#3243
Conversation
…l debug logs
Goal: capture verbose logs of the flaky `replicateBlobV2MultipleCases`
failure ("expected:<BlobNotFound> but was:<NoError>" or
"expected:<NoError> but was:<ReplicaUnavailable>") that intermittently
breaks server-int-test on master.
Changes (debug-only, do NOT merge):
- Disable all jobs except server-int-test in the workflow.
- Restrict server-int-test gradle args to:
--scan --info --warning-mode=summary :ambry-server:intTest
--tests "com.github.ambry.server.ServerHttp2Test.replicateBlobV2MultipleCases"
- log4j-test-config/log4j2.xml:
- Root level: info -> debug
- Re-enable BlockingChannelConnectionPool, BlockingChannelInfo,
ReplicThread loggers (they were `off` to suppress noise; we want
that noise now).
- intTest retry budget: maxRetries 2 -> 0 so first failure is captured
cleanly (no retry-masked attempts).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Gradle's --tests filter doesn't match parameterized variants ([0], [1]) without a trailing wildcard. Filter "...replicateBlobV2MultipleCases" matched 0 tests; "...replicateBlobV2MultipleCases*" matches both parameter values. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Why
Master's
server-int-teststarted failing intermittently after PR #3235 merged. The recurring offender isServerHttp2Test.replicateBlobV2MultipleCaseswith two related symptoms:expected:<BlobNotFound> but was:<NoError>(a state assertion ingetBlobAndVerify)expected:<NoError> but was:<ReplicaUnavailable>(replica startup race)Goal: capture verbose logs from a green-vs-red comparison so we can see what the test sees vs expects, instead of guessing.
Setup
server-int-test.:ambry-server:intTest --tests "com.github.ambry.server.ServerHttp2Test.replicateBlobV2MultipleCases"(both parameter variants).info→debug. Re-enabledBlockingChannelConnectionPool,BlockingChannelInfo,ReplicThread(master silences these because end-to-end tests are noisy; we want the noise now).intTestretry budget:maxRetries 2 → 0so the first failure is captured cleanly.Do not merge.
🤖 Generated with Claude Code