Rob Block

Results 16 issues of Rob Block

com.github.ambry.router.UndeleteManagerTest > basicThroughRouterTest 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.UndeleteManagerTest.assertNotDeleted(UndeleteManagerTest.java:356) at com.github.ambry.router.UndeleteManagerTest.verifyUndelete(UndeleteManagerTest.java:377) at com.github.ambry.router.UndeleteManagerTest.basicThroughRouterTest(UndeleteManagerTest.java:152)

test-failure

STITCH, GET_SIGNED_URL, RANGE operations not tested

code cleanup

com.github.ambry.server.ServerSSLTest > undeleteCornerCasesTest[1] FAILED java.lang.AssertionError: 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 org.junit.Assert.assertEquals(Assert.java:454) at com.github.ambry.server.ServerTestUtil.undeleteCornerCasesTest(ServerTestUtil.java:2185) at com.github.ambry.server.ServerSSLTest.undeleteCornerCasesTest(ServerSSLTest.java:169)

test-failure

The method that creates replication threads hardcodes the prefix "Vcr" in the thread name when the startThread argument has value of true. While it currently happens to be the case...

code cleanup

2020/12/04 22:06:09.476 ERROR [MySqlAccountService] [RequestWorker-4] [ambry-frontend] [] Failed updating accounts=[Account[1256,7]] in MySql DB java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '1256-15' for key 'PRIMARY' at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:117) ~[mysql-connector-java-8.0.21.jar:8.0.21] at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) ~[mysql-connector-java-8.0.21.jar:8.0.21] at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-java-8.0.21.jar:8.0.21] at...

The code from here down is nearly identical to getDeadBlobs. Please refactor into a common class that take SqlQuerySpec as argument. _Originally posted by @lightningrob in https://github.com/linkedin/ambry/pull/1646#r509659461_

Used curl to add a container with json missing a field. Got 500 status with no error message. Saw this error in frontend log: ``` 2020/11/13 00:57:26.724 ERROR [NettyResponseChannel] [RequestWorker-1]...

bug

com.github.ambry.router.PutManagerTest > testChannelSizeNotSizeInPropertiesPutSuccess[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.testChannelSizeNotSizeInPropertiesPutSuccess(PutManagerTest.java:755)

test-failure

Note: this test is run 20 total times, in this case it failed on the 11th run. Stacktrace: com.github.ambry.frontend.FrontendIntegrationTest > multipartPostGetHeadUpdateDeleteUndeleteTest[11] FAILED java.lang.IllegalStateException: Should have received response. completion context: ChannelCloseListener::operationComplete...

test-failure

Fails with output: ``` java.lang.AssertionError: Wrong number of queries Expected :6 Actual :1 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 com.github.ambry.cloud.azure.AzureIntegrationTest.testFindEntriesSince(AzureIntegrationTest.java:361) at com.github.ambry.cloud.azure.AzureIntegrationTest.testFindEntriesSinceByChangeFeed(AzureIntegrationTest.java:305) ```