linkedin / linkedin/ambry

Intermittent test failure: com.github.ambry.router.CloudRouterTest » testRouterBasic[1]

Open
#1,369 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

test-failure
Dominant language
Java
Stars
1.8k
Forks
298
Avg merge
21h 43m
Merged PRs (30d)
9

Description

This failed once for me on travis CI and succeeded on the following attempt:
```
com.github.ambry.router.RouterException: Server returned: Blob_Expired. Chunk ID: AAYQAgfuY7wAAQAAAAAAAAAHLlADt2RqSkmfDIZM8yc6KQ Error: BlobExpired
java.util.concurrent.ExecutionException: com.github.ambry.router.RouterException: Server returned: Blob_Expired. Chunk ID: AAYQAgfuY7wAAQAAAAAAAAAHLlADt2RqSkmfDIZM8yc6KQ Error: BlobExpiredOpen stacktrace
Caused by: com.github.ambry.router.RouterException: Server returned: Blob_Expired. Chunk ID: AAYQAgfuY7wAAQAAAAAAAAAHLlADt2RqSkmfDIZM8yc6KQ Error: BlobExpiredClose stacktrace
at com.github.ambry.router.GetBlobOperation$GetChunk.buildChunkException(GetBlobOperation.java:1068)
at com.github.ambry.router.GetBlobOperation$GetChunk.processGetBlobResponse(GetBlobOperation.java:937)
at com.github.ambry.router.GetBlobOperation$GetChunk.handleResponse(GetBlobOperation.java:828)
at com.github.ambry.router.GetBlobOperation.handleResponse(GetBlobOperation.java:247)
at com.github.ambry.router.GetManager.handleResponse(GetManager.java:226)
at com.github.ambry.router.NonBlockingRouter$OperationController.onResponse(NonBlockingRouter.java:856)
at com.github.ambry.router.NonBlockingRouter$OperationController.run(NonBlockingRouter.java:894)
at java.lang.Thread.run(Thread.java:748)
```

Build scan link: https://scans.gradle.com/s/gfipjv2jcdigm/tests/vw7cjzzt7rohe-s5avd6yx7dauy?open-stacktraces=WzFd

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with CloudRouterTest.testRouterBasic[1] and the failure stack trace in GetBlobOperation.java, then trace the response handling through GetManager and NonBlockingRouter. Reproduce the intermittent BlobExpired failure and determine the test or router behavior that needs correction; done means the test is reliable and passes consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.