Casey Getz

Results 13 comments of Casey Getz

Saw a similar mem leak today: ``` com.github.ambry.router.PutManagerTest > testOptionsFailures[2] FAILED java.lang.AssertionError: DirectMemoryLeak: [allocation|deallocation] before test[62234|60094], after test[62237|60096] expected: but was: at org.junit.Assert.fail(Assert.java:91) at org.junit.Assert.failNotEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:126) at org.junit.Assert.assertEquals(Assert.java:470) at...

Happened here too: https://gradle.com/s/rzds3uifocoby ``` com.github.ambry.router.CloudRouterTest > testRouterBasic[3] FAILED java.util.concurrent.ExecutionException: com.github.ambry.router.RouterException: Server returned: Blob_Expired. Chunk ID: AAYUA1kTXj8AAQAAAAAAAAAD8pfv1R5ZScma5cz6gG27ZQ Error: BlobExpired at com.github.ambry.router.FutureResult.resultOrThrow(FutureResult.java:113) at com.github.ambry.router.FutureResult.get(FutureResult.java:99) at com.github.ambry.router.NonBlockingRouterTest.testRouterBasic(NonBlockingRouterTest.java:309) at com.github.ambry.router.CloudRouterTest.testRouterBasic(CloudRouterTest.java:173) Caused by: com.github.ambry.router.RouterException:...

Hi @divanikus, you are correct that the `preallocateIfNeeded` method makes an assumption that the keep size flag is supported on any linux file system. For non linux systems we do...

If you have the project checked out and want to do some quick experimentation, you can comment out these lines: https://github.com/linkedin/ambry/blob/master/ambry-utils/src/main/java/com.github.ambry.utils/Utils.java#L667-L679 I will try to put up a PR soon...

Similar: ``` com.github.ambry.router.PutManagerTest > testBadCallback[0] FAILED java.lang.AssertionError: blobId should not be null at org.junit.Assert.fail(Assert.java:91) at org.junit.Assert.assertTrue(Assert.java:43) at org.junit.Assert.assertNotNull(Assert.java:524) at com.github.ambry.router.PutManagerTest.assertSuccess(PutManagerTest.java:1038) at com.github.ambry.router.PutManagerTest.submitPutsAndAssertSuccess(PutManagerTest.java:942) at com.github.ambry.router.PutManagerTest.testBadCallback(PutManagerTest.java:395) ``` https://gradle.com/s/syeb56nz2yco6

Possibly related: ``` com.github.ambry.router.CloudRouterTest > testSimpleBlobTtlUpdate[0] FAILED java.util.concurrent.TimeoutException: Timeout after waiting for 10000 ms. at com.github.ambry.router.FutureResult.get(FutureResult.java:106) at com.github.ambry.router.NonBlockingRouterTestBase.doTtlUpdateTest(NonBlockingRouterTestBase.java:553) at com.github.ambry.router.CloudRouterTest.testSimpleBlobTtlUpdate(CloudRouterTest.java:208) ``` https://gradle.com/s/o2gupwb63viwo

I would suggest making this into an "admin" subresource similar to the "Replicas" frontend api instead of a CLI tool. I remember that the CLI tool was a bit hard...

Hi, as of 2020, we build with gradle 5.2.1. Could you check if this issue is resolved?

Hi @salamehsameera, I will try this out on my windows machine later today, but could you try changing the paths to start with `D:/` instead of `/d/` (assuming D is...