Modify RmdUtils:getLastUpdateTimestamp to fix class cast exception #9160
VeniceCI-StaticAnalysisAndUnitTests.yml
on: pull_request
Matrix: Clients / UT & CodeCov
Matrix: Controller / UT & CodeCov
Matrix: Integrations / UT & CodeCov
Matrix: Internal / UT & CodeCov
Matrix: Router / UT & CodeCov
Matrix: Server / UT & CodeCov
Matrix: StaticAnalysis
ValidateGradleWrapper
10s
StaticAnalysisAndUnitTestsFailureAlert
2s
Annotations
56 errors
|
TestVeniceParentHelixAdminWithAcl.testUpdateAndGetAndDeleteAcl:
services/venice-controller/src/test/java/com/linkedin/venice/controller/TestVeniceParentHelixAdminWithAcl.java#L144
org.mockito.exceptions.misusing.UnfinishedStubbingException:
Unfinished stubbing detected here:
-> at com.linkedin.venice.controller.TestVeniceParentHelixAdminWithAcl.testUpdateAndGetAndDeleteAcl(TestVeniceParentHelixAdminWithAcl.java:144)
E.g. thenReturn() may be missing.
Examples of correct stubbing:
when(mock.isOk()).thenReturn(true);
when(mock.isOk()).thenThrow(exception);
doThrow(exception).when(mock).someVoidMethod();
Hints:
1. missing thenReturn()
2. you are trying to stub a final method, which is not supported
3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed
|
|
TestVeniceParentHelixAdminWithAcl.testUpdateAndGetAndDeleteAcl:
services/venice-controller/src/test/java/com/linkedin/venice/controller/TestVeniceParentHelixAdminWithAcl.java#L144
org.mockito.exceptions.misusing.UnfinishedStubbingException:
Unfinished stubbing detected here:
-> at com.linkedin.venice.controller.TestVeniceParentHelixAdminWithAcl.testUpdateAndGetAndDeleteAcl(TestVeniceParentHelixAdminWithAcl.java:144)
E.g. thenReturn() may be missing.
Examples of correct stubbing:
when(mock.isOk()).thenReturn(true);
when(mock.isOk()).thenThrow(exception);
doThrow(exception).when(mock).someVoidMethod();
Hints:
1. missing thenReturn()
2. you are trying to stub a final method, which is not supported
3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed
|
|
TestVeniceParentHelixAdminWithAcl.testUpdateAndGetAndDeleteAcl:
services/venice-controller/src/test/java/com/linkedin/venice/controller/TestVeniceParentHelixAdminWithAcl.java#L145
org.mockito.exceptions.misusing.UnfinishedStubbingException:
Unfinished stubbing detected here:
-> at com.linkedin.venice.controller.TestVeniceParentHelixAdminWithAcl.testUpdateAndGetAndDeleteAcl(TestVeniceParentHelixAdminWithAcl.java:144)
E.g. thenReturn() may be missing.
Examples of correct stubbing:
when(mock.isOk()).thenReturn(true);
when(mock.isOk()).thenThrow(exception);
doThrow(exception).when(mock).someVoidMethod();
Hints:
1. missing thenReturn()
2. you are trying to stub a final method, which is not supported
3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed
|
|
TestVeniceParentHelixAdminWithAcl.testUpdateAndGetAndDeleteAcl:
services/venice-controller/src/test/java/com/linkedin/venice/controller/TestVeniceParentHelixAdminWithAcl.java#L145
org.mockito.exceptions.misusing.UnfinishedStubbingException:
Unfinished stubbing detected here:
-> at com.linkedin.venice.controller.TestVeniceParentHelixAdminWithAcl.testUpdateAndGetAndDeleteAcl(TestVeniceParentHelixAdminWithAcl.java:144)
E.g. thenReturn() may be missing.
Examples of correct stubbing:
when(mock.isOk()).thenReturn(true);
when(mock.isOk()).thenThrow(exception);
doThrow(exception).when(mock).someVoidMethod();
Hints:
1. missing thenReturn()
2. you are trying to stub a final method, which is not supported
3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
ApacheKafkaConsumerAdapterTest.testPollHoldsLockBlocksPauseUntilPollReturns:
internal/venice-common/src/test/java/com/linkedin/venice/pubsub/adapter/kafka/consumer/ApacheKafkaConsumerAdapterTest.java#L965
java.lang.AssertionError: pause should complete after poll returned, proving mutual exclusion expected [true] but found [false]
|
|
ClassSizeEstimatorTest.testClassOverhead[1](EMPIRICAL_MEASUREMENT):
internal/venice-common/src/test/java/com/linkedin/venice/memory/ClassSizeEstimatorTest.java#L34
java.lang.AssertionError: Class ClassWithOnePublicPrimitiveCharField has a memoryAllocatedPerInstance (10.78832) which is too far from the predictedUsage (16); delta: 0.326; maxAllowedDelta: 0.093. No more attempts left.
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
Internal / UT & CodeCov (17)
Process completed with exit code 1.
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
InstanceSizeEstimatorTest.testInstanceMeasurement:
internal/venice-common/src/test/java/com/linkedin/venice/memory/InstanceSizeEstimatorTest.java#L49
java.lang.AssertionError: Class KafkaKey has a memoryAllocatedPerInstance (45.37664) which is too far from the predictedUsage (48); delta: 0.055; maxAllowedDelta: 0.022. No more attempts left.
|
|
ClassSizeEstimatorTest.testClassOverhead[1](EMPIRICAL_MEASUREMENT):
internal/venice-common/src/test/java/com/linkedin/venice/memory/ClassSizeEstimatorTest.java#L29
java.lang.AssertionError: Class SubclassOfObjectWithNoFields has a memoryAllocatedPerInstance (24.39984) which is too far from the predictedUsage (16); delta: 0.525; maxAllowedDelta: 0.041. No more attempts left.
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
Internal / UT & CodeCov (8)
Process completed with exit code 1.
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
ClassSizeEstimatorTest.testClassOverhead[1](EMPIRICAL_MEASUREMENT):
internal/venice-common/src/test/java/com/linkedin/venice/memory/ClassSizeEstimatorTest.java#L49
java.lang.AssertionError: Class ClassWithTwoPrimitiveDoubleFields has a memoryAllocatedPerInstance (30.096) which is too far from the predictedUsage (32); delta: 0.060; maxAllowedDelta: 0.033. No more attempts left.
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
TestRmdUtils.testGetLastUpdateTimestampWithCollectionFields:
internal/venice-client-common/src/test/java/com/linkedin/venice/schema/rmd/TestRmdUtils.java#L197
java.lang.AssertionError: expected [300] but found [50]
|
|
Internal / UT & CodeCov (11)
Process completed with exit code 1.
|
|
NativeMetadataRepositoryTest.testNativeMetadataRepositoryStats:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/repository/NativeMetadataRepositoryTest.java#L149
java.lang.AssertionError: expected [2000.0] but found [1000.0]
|
|
SITWithSAwarePWiseAndBufferAfterLeaderTest.testRecordLevelMetricForCurrentVersion[2](true):
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithSAwarePWiseAndBufferAfterLeaderTest.java#L1
org.mockito.exceptions.verification.TooFewActualInvocations:
hostLevelIngestionStats.recordTotalBytesConsumed(
<any long>
);
Wanted 3 times:
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:507)
But was 2 times:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2701)
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2701)
|
|
SITWithPWiseWithoutBufferAfterLeaderTest.testRecordLevelMetricForCurrentVersion[0](false):
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithPWiseWithoutBufferAfterLeaderTest.java#L1
Wanted but not invoked:
hostLevelIngestionStats.recordTotalBytesConsumed(
<any long>
);
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:507)
However, there were exactly 27 interactions with this mock:
hostLevelIngestionStats.recordProcessConsumerActionLatency(
7.0d
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:2075)
hostLevelIngestionStats.recordCheckLongRunningTasksLatency(
0.009168d
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:778)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.recordQuotaMetrics(StoreIngestionTask.java:1688)
hostLevelIngestionStats.recordProcessConsumerActionLatency(
0.0d
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:2075)
hostLevelIngestionStats.recordCheckLongRunningTasksLatency(
0.00514d
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:778)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.recordQuotaMetrics(StoreIngestionTask.java:1688)
hostLevelIngestionStats.recordConsumerRecordsQueuePutLatency(
0.16214499999999998d,
1763077431779L
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1386)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1391)
hostLevelIngestionStats.recordConsumerRecordsQueuePutLatency(
0.077095d,
1763077431781L
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1386)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1391)
hostLevelIngestionStats.recordProcessConsumerActionLatency(
0.0d
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:2075)
hostLevelIngestionStats.recordCheckLongRunningTasksLatency(
0.004909d
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:778)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.recordQuotaMetrics(StoreIngestionTask.java:1688)
hostLevelIngestionStats.recordTotalRecordsConsumed();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2693)
hostLevelIngestionStats.recordConsumerRecordsQueuePutLatency(
0.063019d,
1763077431792L
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1386)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1391)
hostLevelIngestionStats.recordProcessConsumerActionLatency(
0.0d
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:2075)
hostLevelIngestionStats.recordCheckLongRunningTasksLatency(
0.059422d
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:778)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.recordQuotaMetrics(StoreIngestionTask.java:1688)
hostLevelIngestionStats.recordProcessConsumerActionLatency(
0.0d
);
-> at com.linkedin
|
|
VeniceChangelogConsumerImplTest.testConsumeAfterImage:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/consumer/VeniceChangelogConsumerImplTest.java#L497
com.linkedin.venice.exceptions.VeniceException: Subscribe to new topic:_166ade0d386_d7d22916_v1 is not successful, error: java.util.concurrent.ExecutionException: java.lang.IllegalThreadStateException
|
|
NativeMetadataRepositoryTest.testNativeMetadataRepositoryStats:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/repository/NativeMetadataRepositoryTest.java#L149
java.lang.AssertionError: expected [2000.0] but found [1000.0]
|
|
SITWithSAwarePWiseAndBufferAfterLeaderTest.testRecordLevelMetricForCurrentVersion[2](true):
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithSAwarePWiseAndBufferAfterLeaderTest.java#L1
org.mockito.exceptions.verification.TooFewActualInvocations:
hostLevelIngestionStats.recordTotalBytesConsumed(
<any long>
);
Wanted 3 times:
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:507)
But was 2 times:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2701)
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2701)
|
|
SITWithPWiseWithoutBufferAfterLeaderTest.testRecordLevelMetricForCurrentVersion[0](false):
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithPWiseWithoutBufferAfterLeaderTest.java#L1
Wanted but not invoked:
hostLevelIngestionStats.recordTotalBytesConsumed(
<any long>
);
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:507)
However, there were exactly 27 interactions with this mock:
hostLevelIngestionStats.recordProcessConsumerActionLatency(
7.0d
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:2075)
hostLevelIngestionStats.recordCheckLongRunningTasksLatency(
0.009168d
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:778)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.recordQuotaMetrics(StoreIngestionTask.java:1688)
hostLevelIngestionStats.recordProcessConsumerActionLatency(
0.0d
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:2075)
hostLevelIngestionStats.recordCheckLongRunningTasksLatency(
0.00514d
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:778)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.recordQuotaMetrics(StoreIngestionTask.java:1688)
hostLevelIngestionStats.recordConsumerRecordsQueuePutLatency(
0.16214499999999998d,
1763077431779L
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1386)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1391)
hostLevelIngestionStats.recordConsumerRecordsQueuePutLatency(
0.077095d,
1763077431781L
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1386)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1391)
hostLevelIngestionStats.recordProcessConsumerActionLatency(
0.0d
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:2075)
hostLevelIngestionStats.recordCheckLongRunningTasksLatency(
0.004909d
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:778)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.recordQuotaMetrics(StoreIngestionTask.java:1688)
hostLevelIngestionStats.recordTotalRecordsConsumed();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2693)
hostLevelIngestionStats.recordConsumerRecordsQueuePutLatency(
0.063019d,
1763077431792L
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1386)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.produceToStoreBufferServiceOrKafka(StoreIngestionTask.java:1391)
hostLevelIngestionStats.recordProcessConsumerActionLatency(
0.0d
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:2075)
hostLevelIngestionStats.recordCheckLongRunningTasksLatency(
0.059422d
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:778)
hostLevelIngestionStats.recordStorageQuotaUsed(
NaNd
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.recordQuotaMetrics(StoreIngestionTask.java:1688)
hostLevelIngestionStats.recordProcessConsumerActionLatency(
0.0d
);
-> at com.linkedin
|
|
VeniceChangelogConsumerImplTest.testConsumeAfterImage:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/consumer/VeniceChangelogConsumerImplTest.java#L497
com.linkedin.venice.exceptions.VeniceException: Subscribe to new topic:_166ade0d386_d7d22916_v1 is not successful, error: java.util.concurrent.ExecutionException: java.lang.IllegalThreadStateException
|
|
NativeMetadataRepositoryTest.testNativeMetadataRepositoryStats:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/repository/NativeMetadataRepositoryTest.java#L148
org.mockito.exceptions.misusing.UnfinishedStubbingException:
Unfinished stubbing detected here:
-> at com.linkedin.davinci.repository.NativeMetadataRepositoryTest.testNativeMetadataRepositoryStats(NativeMetadataRepositoryTest.java:148)
E.g. thenReturn() may be missing.
Examples of correct stubbing:
when(mock.isOk()).thenReturn(true);
when(mock.isOk()).thenThrow(exception);
doThrow(exception).when(mock).someVoidMethod();
Hints:
1. missing thenReturn()
2. you are trying to stub a final method, which is not supported
3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed
|
|
VeniceChangelogConsumerImplTest.testConsumeAfterImage:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/consumer/VeniceChangelogConsumerImplTest.java#L493
java.lang.AssertionError: expected [true] but found [false]
|
|
NativeMetadataRepositoryTest.testNativeMetadataRepositoryStats:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/repository/NativeMetadataRepositoryTest.java#L148
org.mockito.exceptions.misusing.UnfinishedStubbingException:
Unfinished stubbing detected here:
-> at com.linkedin.davinci.repository.NativeMetadataRepositoryTest.testNativeMetadataRepositoryStats(NativeMetadataRepositoryTest.java:148)
E.g. thenReturn() may be missing.
Examples of correct stubbing:
when(mock.isOk()).thenReturn(true);
when(mock.isOk()).thenThrow(exception);
doThrow(exception).when(mock).someVoidMethod();
Hints:
1. missing thenReturn()
2. you are trying to stub a final method, which is not supported
3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed
|
|
VeniceChangelogConsumerImplTest.testConsumeAfterImage:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/consumer/VeniceChangelogConsumerImplTest.java#L493
java.lang.AssertionError: expected [true] but found [false]
|
|
SITWithPWiseWithoutBufferAfterLeaderTest.testRecordLevelMetricForCurrentVersion[0](false):
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithPWiseWithoutBufferAfterLeaderTest.java#L1
org.mockito.exceptions.verification.TooFewActualInvocations:
hostLevelIngestionStats.recordTotalBytesConsumed(
<any long>
);
Wanted 2 times:
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:507)
But was 1 time:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2701)
|
|
SITWithPWiseAndBufferAfterLeaderTest.testRecordLevelMetricForCurrentVersion[0](false):
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithPWiseAndBufferAfterLeaderTest.java#L1
org.mockito.exceptions.verification.TooFewActualInvocations:
hostLevelIngestionStats.recordTotalBytesConsumed(
<any long>
);
Wanted 2 times:
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:507)
But was 1 time:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2701)
|
|
VeniceChangelogConsumerImplTest.testConsumeAfterImage:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/consumer/VeniceChangelogConsumerImplTest.java#L497
com.linkedin.venice.exceptions.VeniceException: Subscribe to new topic:_6b71fbabc0_b2561b14_v1 is not successful, error: java.util.concurrent.ExecutionException: java.lang.IllegalThreadStateException
|
|
SITWithPWiseWithoutBufferAfterLeaderTest.testRecordLevelMetricForCurrentVersion[0](false):
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithPWiseWithoutBufferAfterLeaderTest.java#L1
org.mockito.exceptions.verification.TooFewActualInvocations:
hostLevelIngestionStats.recordTotalBytesConsumed(
<any long>
);
Wanted 2 times:
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:507)
But was 1 time:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2701)
|
|
SITWithPWiseAndBufferAfterLeaderTest.testRecordLevelMetricForCurrentVersion[0](false):
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithPWiseAndBufferAfterLeaderTest.java#L1
org.mockito.exceptions.verification.TooFewActualInvocations:
hostLevelIngestionStats.recordTotalBytesConsumed(
<any long>
);
Wanted 2 times:
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:507)
But was 1 time:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2701)
|
|
VeniceChangelogConsumerImplTest.testConsumeAfterImage:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/consumer/VeniceChangelogConsumerImplTest.java#L497
com.linkedin.venice.exceptions.VeniceException: Subscribe to new topic:_6b71fbabc0_b2561b14_v1 is not successful, error: java.util.concurrent.ExecutionException: java.lang.IllegalThreadStateException
|
|
StaticAnalysisAndUnitTestsFailureAlert
Process completed with exit code 1.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
StaticAnalysis
|
922 KB |
sha256:8b4397d6eb49d9625f1be9c079503bfb92a21b59c40324216ab923857087b211
|
|
|
clients-jdk11
|
2.94 MB |
sha256:ea9c568706f12928cb6d489cb1d71d19ae55241bb15207b42f571124eefa92bb
|
|
|
clients-jdk17
|
2.96 MB |
sha256:892bc17ec673612888de9e7c1884e69d2c073e09e34799a279fdf65a9771d2ac
|
|
|
clients-jdk8
|
2.9 MB |
sha256:411cdadaf2d16f9a8b1da3b552d5452102ce3eca0adbcd2b1be3418923037e81
|
|
|
controller-jdk11
|
1.96 MB |
sha256:8b58e68f2f6aff2734ca97ccd01a4b93d2b65dfa293f9c1cfbe8c2d98bc7a986
|
|
|
controller-jdk17
|
1.94 MB |
sha256:0850bd46a02956f39d20725da6b86cc66707ee427944dc130657ae14baf98c1a
|
|
|
controller-jdk8
|
1.95 MB |
sha256:34a89095041d7fe42b5723829cc96ad27973b84d3fc78443a6545b9c91421b1f
|
|
|
integrations-jdk11
|
538 KB |
sha256:cc54c8bcd64e1cfc4b0888e4e22eb24ada4dfc264b7bbc5ec5bf01a73bb6519f
|
|
|
integrations-jdk17
|
546 KB |
sha256:817a2ce7146e71797e8328bddc56f55a3e567d55df63731d08b9febf962e6913
|
|
|
integrations-jdk8
|
525 KB |
sha256:e79a934b036738548c66ca8f36c475cf064051894f7efc2b35a8bbbeb4ab0986
|
|
|
internal-jdk11
|
3.27 MB |
sha256:fd53dfd605b20c431596534389b5707729a2c245efeef5cbd895d28972a006f4
|
|
|
internal-jdk17
|
3.28 MB |
sha256:bd2a81f8a93e35d18d07c3abae893438f33a1c9c7b33523ecd6467c826ed4f64
|
|
|
internal-jdk8
|
3.26 MB |
sha256:9015bb7c75cf120c5867345ddaafffd69a378679ace67990cbe93080f11358fe
|
|
|
router-jdk11
|
763 KB |
sha256:29d206cf898043fe97eb02528bab6abf60d6c708d4476165743bd41416fe26e4
|
|
|
router-jdk17
|
768 KB |
sha256:25cb60bdb395cb112270ec63ba518d870009509a678214ac572db62707cdbf75
|
|
|
router-jdk8
|
754 KB |
sha256:b171f916c761052fc8cf220735a82652b70c7584b5b9e4e7bb33a0e1894a69ae
|
|
|
server-jdk11
|
10.4 MB |
sha256:d90133e170b7d92fdcc41845c27fe77ab3b7f807aade5e47bb9ab2a7ae226ddf
|
|
|
server-jdk17
|
10.4 MB |
sha256:d8437322d9002d3949a2c469958ba3da48ccea559d594cfde1e8990bc491a8e4
|
|
|
server-jdk8
|
10.1 MB |
sha256:34c3734238052ad284f4bc72fdc3a532ec319302fdb0ddb3b60b9c05bbf699ce
|
|