Merge upstream/main into controller-grpc-migration-cluster-health-stores #463
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
0s
Annotations
12 errors
|
TopicMetadataFetcherTest.testGetEarliestPositionCachedNonBlockingScenarios:
internal/venice-common/src/test/java/com/linkedin/venice/pubsub/manager/TopicMetadataFetcherTest.java#L709
java.lang.AssertionError: expected [1] but found [0]
|
|
InstanceSizeEstimatorTest.testInstanceMeasurement:
internal/venice-common/src/test/java/com/linkedin/venice/memory/InstanceSizeEstimatorTest.java#L49
java.lang.AssertionError: Class KafkaKey has a memoryAllocatedPerInstance (53.24288) which is too far from the predictedUsage (48); delta: 0.109; maxAllowedDelta: 0.019. No more attempts left.
|
|
TopicMetadataFetcherTest.testGetEarliestPositionCachedNonBlockingScenarios:
internal/venice-common/src/test/java/com/linkedin/venice/pubsub/manager/TopicMetadataFetcherTest.java#L709
java.lang.AssertionError: expected [1] but found [0]
|
|
InstanceSizeEstimatorTest.testInstanceMeasurement:
internal/venice-common/src/test/java/com/linkedin/venice/memory/InstanceSizeEstimatorTest.java#L49
java.lang.AssertionError: Class KafkaKey has a memoryAllocatedPerInstance (53.24288) which is too far from the predictedUsage (48); delta: 0.109; maxAllowedDelta: 0.019. No more attempts left.
|
|
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:523)
But was 1 time:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2831)
|
|
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:523)
But was 1 time:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2831)
|
|
SITWithSAwarePWiseWithoutBufferAfterLeaderTest.testResetPartition[0](AA_ON):
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithSAwarePWiseWithoutBufferAfterLeaderTest.java#L1
org.mockito.exceptions.verification.TooFewActualInvocations:
abstractStorageEngine.put(
1,
[(byte) 0x01, (byte) 0x4B, (byte) 0x65, (byte) 0x79, (byte) 0x46, (byte) 0x6F, (byte) 0x72, (byte) 0x50, (byte) 0x61, (byte) 0x72, (byte) 0x74, (byte) 0x69, (byte) 0x74, (byte) 0x69, (byte) 0x6F, (byte) 0x6E, (byte) 0x31, (byte) 0x5F, (byte) 0x33, (byte) 0x30, (byte) 0x64, (byte) 0x62, (byte) 0x63, (byte) 0x30, (byte) 0x64, (byte) 0x30, (byte) 0x66, (byte) 0x36, (byte) 0x5F, (byte) 0x64, (byte) 0x61, (byte) 0x66, (byte) 0x36, (byte) 0x66, (byte) 0x34, (byte) 0x66, (byte) 0x34],
java.nio.HeapByteBuffer[pos=0 lim=17 cap=17]
);
Wanted 2 times:
-> at com.linkedin.davinci.store.AbstractStorageEngine.put(AbstractStorageEngine.java:478)
But was 1 time:
-> at com.linkedin.davinci.kafka.consumer.DeepCopyStorageEngine.put(DeepCopyStorageEngine.java:39)
|
|
SITWithSAwarePWiseWithoutBufferAfterLeaderTest.testResetPartition[0](AA_ON):
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithSAwarePWiseWithoutBufferAfterLeaderTest.java#L1
org.mockito.exceptions.verification.TooFewActualInvocations:
abstractStorageEngine.put(
1,
[(byte) 0x01, (byte) 0x4B, (byte) 0x65, (byte) 0x79, (byte) 0x46, (byte) 0x6F, (byte) 0x72, (byte) 0x50, (byte) 0x61, (byte) 0x72, (byte) 0x74, (byte) 0x69, (byte) 0x74, (byte) 0x69, (byte) 0x6F, (byte) 0x6E, (byte) 0x31, (byte) 0x5F, (byte) 0x33, (byte) 0x30, (byte) 0x64, (byte) 0x62, (byte) 0x63, (byte) 0x30, (byte) 0x64, (byte) 0x30, (byte) 0x66, (byte) 0x36, (byte) 0x5F, (byte) 0x64, (byte) 0x61, (byte) 0x66, (byte) 0x36, (byte) 0x66, (byte) 0x34, (byte) 0x66, (byte) 0x34],
java.nio.HeapByteBuffer[pos=0 lim=17 cap=17]
);
Wanted 2 times:
-> at com.linkedin.davinci.store.AbstractStorageEngine.put(AbstractStorageEngine.java:478)
But was 1 time:
-> at com.linkedin.davinci.kafka.consumer.DeepCopyStorageEngine.put(DeepCopyStorageEngine.java:39)
|
|
SITWithPWiseAndBufferAfterLeaderTest.methodCleanUp:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithPWiseAndBufferAfterLeaderTest.java#L1
org.mockito.exceptions.misusing.CannotStubVoidMethodWithReturnValue:
'recordTotalAvgPartitionsPerConsumer' is a *void method* and it *cannot* be stubbed with a *return value*!
Voids are usually stubbed with Throwables:
doThrow(exception).when(mock).someVoidMethod();
If you need to set the void method to do nothing you can use:
doNothing().when(mock).someVoidMethod();
For more information, check out the javadocs for Mockito.doNothing().
***
If you're unsure why you're getting above error read on.
Due to the nature of the syntax above problem might occur because:
1. The method you are trying to stub is *overloaded*. Make sure you are calling the right overloaded version.
2. Somewhere in your test you are stubbing *final methods*. Sorry, Mockito does not verify/stub final methods.
3. A spy is stubbed using when(spy.foo()).then() syntax. It is safer to stub spies -
- with doReturn|Throw() family of methods. More in javadocs for Mockito.spy() method.
4. Mocking methods declared on non-public parent classes is not supported.
|
|
SITWithPWiseAndBufferAfterLeaderTest.methodSetUp:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithPWiseAndBufferAfterLeaderTest.java#L1
org.mockito.exceptions.misusing.CannotStubVoidMethodWithReturnValue:
'recordTotalPollRequestLatency' is a *void method* and it *cannot* be stubbed with a *return value*!
Voids are usually stubbed with Throwables:
doThrow(exception).when(mock).someVoidMethod();
If you need to set the void method to do nothing you can use:
doNothing().when(mock).someVoidMethod();
For more information, check out the javadocs for Mockito.doNothing().
***
If you're unsure why you're getting above error read on.
Due to the nature of the syntax above problem might occur because:
1. The method you are trying to stub is *overloaded*. Make sure you are calling the right overloaded version.
2. Somewhere in your test you are stubbing *final methods*. Sorry, Mockito does not verify/stub final methods.
3. A spy is stubbed using when(spy.foo()).then() syntax. It is safer to stub spies -
- with doReturn|Throw() family of methods. More in javadocs for Mockito.spy() method.
4. Mocking methods declared on non-public parent classes is not supported.
|
|
SITWithPWiseAndBufferAfterLeaderTest.methodCleanUp:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithPWiseAndBufferAfterLeaderTest.java#L1
org.mockito.exceptions.misusing.CannotStubVoidMethodWithReturnValue:
'recordTotalAvgPartitionsPerConsumer' is a *void method* and it *cannot* be stubbed with a *return value*!
Voids are usually stubbed with Throwables:
doThrow(exception).when(mock).someVoidMethod();
If you need to set the void method to do nothing you can use:
doNothing().when(mock).someVoidMethod();
For more information, check out the javadocs for Mockito.doNothing().
***
If you're unsure why you're getting above error read on.
Due to the nature of the syntax above problem might occur because:
1. The method you are trying to stub is *overloaded*. Make sure you are calling the right overloaded version.
2. Somewhere in your test you are stubbing *final methods*. Sorry, Mockito does not verify/stub final methods.
3. A spy is stubbed using when(spy.foo()).then() syntax. It is safer to stub spies -
- with doReturn|Throw() family of methods. More in javadocs for Mockito.spy() method.
4. Mocking methods declared on non-public parent classes is not supported.
|
|
SITWithPWiseAndBufferAfterLeaderTest.methodSetUp:
clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithPWiseAndBufferAfterLeaderTest.java#L1
org.mockito.exceptions.misusing.CannotStubVoidMethodWithReturnValue:
'recordTotalPollRequestLatency' is a *void method* and it *cannot* be stubbed with a *return value*!
Voids are usually stubbed with Throwables:
doThrow(exception).when(mock).someVoidMethod();
If you need to set the void method to do nothing you can use:
doNothing().when(mock).someVoidMethod();
For more information, check out the javadocs for Mockito.doNothing().
***
If you're unsure why you're getting above error read on.
Due to the nature of the syntax above problem might occur because:
1. The method you are trying to stub is *overloaded*. Make sure you are calling the right overloaded version.
2. Somewhere in your test you are stubbing *final methods*. Sorry, Mockito does not verify/stub final methods.
3. A spy is stubbed using when(spy.foo()).then() syntax. It is safer to stub spies -
- with doReturn|Throw() family of methods. More in javadocs for Mockito.spy() method.
4. Mocking methods declared on non-public parent classes is not supported.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
StaticAnalysis
Expired
|
927 KB |
sha256:f50dac967a97998e17b95bee19ebc15b01e861f2e8e1742b9946cdd9f93485fe
|
|
|
clients-jdk11
Expired
|
3.2 MB |
sha256:901969e09d9ac33e724efb44e267067f628601b4b732da8fcf2996e0c71cffbc
|
|
|
clients-jdk17
Expired
|
3.22 MB |
sha256:3b1a0c06b96b854fc327a581b8b11897ad309cdba65bc5a5c35b10af9e27cc09
|
|
|
clients-jdk8
Expired
|
3.19 MB |
sha256:ea97fb9c7ef4862ae83dc8aa3668ca1b1f3a65b36d83e09a54fda0cc699b4dc0
|
|
|
controller-jdk11
Expired
|
2.05 MB |
sha256:c205de08f8e163b03e13dfdeb1fcfe9d64e256f339c2f1e523d948edfa74d794
|
|
|
controller-jdk17
Expired
|
2.04 MB |
sha256:4d103879658a93f537370f29efe7802d012cbee0e3ab3a4ad12fd922b6749a19
|
|
|
controller-jdk8
Expired
|
2.03 MB |
sha256:33b1ebde1db6a8af8a38586e5df029d971ae1309c9f31b2cf876901302231218
|
|
|
integrations-jdk11
Expired
|
546 KB |
sha256:3d2f02595b2524c366720da2bde69d87122d48fc3d71c102cb8e9ad63a11d1f1
|
|
|
integrations-jdk17
Expired
|
553 KB |
sha256:8f1e5be2b7e77fbe05aedd59be0801fdccbb616bd01709055da325e7a587a563
|
|
|
integrations-jdk8
Expired
|
533 KB |
sha256:2e46231ed195d9b9cafdb75b920058f4006cba1ae20a6f27bc5ea0119600ce70
|
|
|
internal-jdk11
Expired
|
4.36 MB |
sha256:08fd54fb48ac752b6b6a66c1029845c0324169473da74bb11e0c8ee4bd595084
|
|
|
internal-jdk17
Expired
|
4.37 MB |
sha256:3af5233a001eed4ec26ffdb1ef6db8ac0688df32b0bc13a63c6560466ea51691
|
|
|
internal-jdk8
Expired
|
4.34 MB |
sha256:bfd7face0699d5bde11083239053d639c2a73e78a11167e00af163cc8cb58845
|
|
|
router-jdk11
Expired
|
765 KB |
sha256:6d31889c1f9844f910e1ef226e140fda573bbb4caeb8d99d4f56e1f8f3d1639f
|
|
|
router-jdk17
Expired
|
764 KB |
sha256:c7563b43bb476f236f3bd9b36189add0bda45686416b4564ec9cd1a254cde127
|
|
|
router-jdk8
Expired
|
755 KB |
sha256:f964e1e3db54c9b3872ab2c000dba8182dd47854434a92f838b92c71f9e8c6bd
|
|
|
server-jdk11
Expired
|
12.3 MB |
sha256:e5abf8645abc8bd65898af689a51592b5bc0bd56696df3ac9385b9d95e4a25e1
|
|
|
server-jdk17
Expired
|
10.8 MB |
sha256:8d3cb345b1f3f69019b21b4c96b6dde95c65c28e561b26c63d06f1d5f7786597
|
|
|
server-jdk8
Expired
|
10.8 MB |
sha256:e6ee3c94b9f387c81dc07db971b77c6efa8fb6e62b0ba5dff2cdc9c44199af6e
|
|