Skip to content

[all] change OpenTelemetry version to 1.33.0 (#1353) #754

[all] change OpenTelemetry version to 1.33.0 (#1353)

[all] change OpenTelemetry version to 1.33.0 (#1353) #754

GitHub Actions / JUnit Test Report failed Nov 29, 2024 in 0s

6796 tests run, 6786 passed, 0 skipped, 10 failed.

Annotations

Check failure on line 1 in clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithTWiseAndBufferAfterLeaderTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SITWithTWiseAndBufferAfterLeaderTest.testProcessConsumerActionsError

Wanted but not invoked:
leaderFollowerStoreIngestionTask.reportError(
    <any string>,
    1,
    <Capturing argument>
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.reportError(StoreIngestionTask.java:4148)

However, there were exactly 35 interactions with this mock:
leaderFollowerStoreIngestionTask.subscribePartition(
    TestTopic_7307027ea3_9a49d906_v1-1
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:872)

leaderFollowerStoreIngestionTask.subscribePartition(
    TestTopic_7307027ea3_9a49d906_v1-1,
    true
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:593)

leaderFollowerStoreIngestionTask.throwIfNotRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:607)

leaderFollowerStoreIngestionTask.isRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.throwIfNotRunning(StoreIngestionTask.java:554)

leaderFollowerStoreIngestionTask.getIsRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.isRunning(StoreIngestionTask.java:3990)

leaderFollowerStoreIngestionTask.nextSeqNum();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:616)

leaderFollowerStoreIngestionTask.run();
-> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

leaderFollowerStoreIngestionTask.isRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1592)

leaderFollowerStoreIngestionTask.getIsRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.isRunning(StoreIngestionTask.java:3990)

leaderFollowerStoreIngestionTask.updateIngestionRoleIfStoreChanged(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1594)

leaderFollowerStoreIngestionTask.isHybridMode();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.updateIngestionRoleIfStoreChanged(StoreIngestionTask.java:1511)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1595)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.reportIfCatchUpVersionTopicOffset(
    PCS{replicaId=TestTopic_7307027ea3_9a49d906_v1-1, hybrid=false, latestProcessedLocalVersionTopicOffset=-1, latestProcessedUpstreamVersionTopicOffset=-1, latestProcessedUpstreamRTOffsetMap={}, latestIgnoredUpstreamRTOffsetMap={}, latestRTOffsetTriedToProduceToVTMap{}, offsetRecord=OffsetRecord{localVersionTopicOffset=-1, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}, errorReported=false, started=false, lagCaughtUp=false, processedRecordSizeSinceLastSync=0, leaderFollowerState=STANDBY}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2108)

leaderFollowerStoreIngestionTask.updateLeaderTopicOnFollower(
    PCS{replicaId=TestTopic_7307027ea3_9a49d906_v1-1, hybrid=false, latestProcessedLocalVersionTopicOffset=-1, latestProcessedUpstreamVersionTopicOffset=-1, latestProcessedUpstreamRTOffsetMap={}, latestIgnoredUpstreamRTOffsetMap={}, latestRTOffsetTriedToProduceToVTMap{}, offsetRecord=OffsetRecord{localVersionTopicOffset=-1, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}, errorReported=false, started=false, lagCaughtUp=false, processedRecordSizeSinceLastSync=0, leaderFollowerState=STANDBY}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2113)

leaderFollowerStoreIngestionTask.consumerSubscribe(
    TestTopic_7307027ea3_9a49d906_v1-1,
    -1L,
    "local_InMemoryKafkaBroker:41937"
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2119)

leaderFollowerStoreIngestionTask.createKafkaConsumerProperties(
    {"kafka.bootstrap.servers" = "local_InMemoryKafkaBroker:41937"},
    "local_InMemoryKafkaBroker:41937",
    false
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.consumerSubscribe(StoreIngestionTask.java:3498)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.StorePartitionDataReceiver.destinationIdentifier(StorePartitionDataReceiver.java:86)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.StorePartitionDataReceiver.destinationIdentifier(StorePartitionDataReceiver.java:86)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.checkLongRunningTaskState();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1596)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:764)

leaderFollowerStoreIngestionTask.checkIngestionProgress(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1597)

leaderFollowerStoreIngestionTask.consumerHasAnySubscription();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.checkIngestionProgress(StoreIngestionTask.java:1464)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)
Raw output
Wanted but not invoked:
leaderFollowerStoreIngestionTask.reportError(
    <any string>,
    1,
    <Capturing argument>
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.reportError(StoreIngestionTask.java:4148)

However, there were exactly 35 interactions with this mock:
leaderFollowerStoreIngestionTask.subscribePartition(
    TestTopic_7307027ea3_9a49d906_v1-1
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:872)

leaderFollowerStoreIngestionTask.subscribePartition(
    TestTopic_7307027ea3_9a49d906_v1-1,
    true
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:593)

leaderFollowerStoreIngestionTask.throwIfNotRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:607)

leaderFollowerStoreIngestionTask.isRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.throwIfNotRunning(StoreIngestionTask.java:554)

leaderFollowerStoreIngestionTask.getIsRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.isRunning(StoreIngestionTask.java:3990)

leaderFollowerStoreIngestionTask.nextSeqNum();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:616)

leaderFollowerStoreIngestionTask.run();
-> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

leaderFollowerStoreIngestionTask.isRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1592)

leaderFollowerStoreIngestionTask.getIsRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.isRunning(StoreIngestionTask.java:3990)

leaderFollowerStoreIngestionTask.updateIngestionRoleIfStoreChanged(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1594)

leaderFollowerStoreIngestionTask.isHybridMode();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.updateIngestionRoleIfStoreChanged(StoreIngestionTask.java:1511)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1595)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.reportIfCatchUpVersionTopicOffset(
    PCS{replicaId=TestTopic_7307027ea3_9a49d906_v1-1, hybrid=false, latestProcessedLocalVersionTopicOffset=-1, latestProcessedUpstreamVersionTopicOffset=-1, latestProcessedUpstreamRTOffsetMap={}, latestIgnoredUpstreamRTOffsetMap={}, latestRTOffsetTriedToProduceToVTMap{}, offsetRecord=OffsetRecord{localVersionTopicOffset=-1, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}, errorReported=false, started=false, lagCaughtUp=false, processedRecordSizeSinceLastSync=0, leaderFollowerState=STANDBY}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2108)

leaderFollowerStoreIngestionTask.updateLeaderTopicOnFollower(
    PCS{replicaId=TestTopic_7307027ea3_9a49d906_v1-1, hybrid=false, latestProcessedLocalVersionTopicOffset=-1, latestProcessedUpstreamVersionTopicOffset=-1, latestProcessedUpstreamRTOffsetMap={}, latestIgnoredUpstreamRTOffsetMap={}, latestRTOffsetTriedToProduceToVTMap{}, offsetRecord=OffsetRecord{localVersionTopicOffset=-1, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}, errorReported=false, started=false, lagCaughtUp=false, processedRecordSizeSinceLastSync=0, leaderFollowerState=STANDBY}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2113)

leaderFollowerStoreIngestionTask.consumerSubscribe(
    TestTopic_7307027ea3_9a49d906_v1-1,
    -1L,
    "local_InMemoryKafkaBroker:41937"
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2119)

leaderFollowerStoreIngestionTask.createKafkaConsumerProperties(
    {"kafka.bootstrap.servers" = "local_InMemoryKafkaBroker:41937"},
    "local_InMemoryKafkaBroker:41937",
    false
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.consumerSubscribe(StoreIngestionTask.java:3498)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.StorePartitionDataReceiver.destinationIdentifier(StorePartitionDataReceiver.java:86)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.StorePartitionDataReceiver.destinationIdentifier(StorePartitionDataReceiver.java:86)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.checkLongRunningTaskState();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1596)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:764)

leaderFollowerStoreIngestionTask.checkIngestionProgress(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1597)

leaderFollowerStoreIngestionTask.consumerHasAnySubscription();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.checkIngestionProgress(StoreIngestionTask.java:1464)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)


	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTask.reportError(StoreIngestionTask.java:4148)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5119)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:879)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:773)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:633)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.testProcessConsumerActionsError(StoreIngestionTaskTest.java:5105)

Check failure on line 1 in clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithTWiseWithoutBufferAfterLeaderTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SITWithTWiseWithoutBufferAfterLeaderTest.testNotifier[0](AA_ON)

org.mockito.exceptions.verification.ArgumentsAreDifferent: Argument(s) are different! Wanted:
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=3, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=true, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testNotifier$34(StoreIngestionTaskTest.java:1606)
Actual invocations have different arguments:
storageMetadataService.getLastOffset(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.getLastOffset(DeepCopyOffsetManager.java:49)
storageMetadataService.getLastOffset(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.getLastOffset(DeepCopyOffsetManager.java:49)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@55d55577
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@376b6ce6
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2,
    OffsetRecord{localVersionTopicOffset=1, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683253, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=1, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683253, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2,
    OffsetRecord{localVersionTopicOffset=2, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683254, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@232e58fb
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=2, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683254, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@5e3715c4
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
Raw output
org.mockito.exceptions.verification.ArgumentsAreDifferent: Argument(s) are different! Wanted:
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=3, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=true, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testNotifier$34(StoreIngestionTaskTest.java:1606)
Actual invocations have different arguments:
storageMetadataService.getLastOffset(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.getLastOffset(DeepCopyOffsetManager.java:49)
storageMetadataService.getLastOffset(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.getLastOffset(DeepCopyOffsetManager.java:49)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@55d55577
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@376b6ce6
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2,
    OffsetRecord{localVersionTopicOffset=1, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683253, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=1, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683253, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2,
    OffsetRecord{localVersionTopicOffset=2, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683254, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@232e58fb
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=2, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683254, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@5e3715c4
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)

	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testNotifier$34(StoreIngestionTaskTest.java:1606)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:879)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:773)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:633)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.testNotifier(StoreIngestionTaskTest.java:1584)

Check failure on line 1 in clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithTWiseWithoutBufferAfterLeaderTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SITWithTWiseWithoutBufferAfterLeaderTest.testRecordLevelMetricForCurrentVersion[1](true)

org.mockito.exceptions.verification.TooFewActualInvocations: 
hostLevelIngestionStats.recordTotalBytesConsumed(
    <any long>
);
Wanted 3 times:
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:492)
But was 2 times:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2535)
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2535)
Raw output
org.mockito.exceptions.verification.TooFewActualInvocations: 
hostLevelIngestionStats.recordTotalBytesConsumed(
    <any long>
);
Wanted 3 times:
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:492)
But was 2 times:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2535)
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2535)

	at app//com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:492)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testRecordLevelMetricForCurrentVersion$27(StoreIngestionTaskTest.java:1409)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:879)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:773)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.testRecordLevelMetricForCurrentVersion(StoreIngestionTaskTest.java:1417)

Check failure on line 133 in clients/da-vinci-client/src/test/java/com/linkedin/davinci/repository/NativeMetadataRepositoryTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

NativeMetadataRepositoryTest.testNativeMetadataRepositoryStats

java.lang.AssertionError: expected [2000.0] but found [1000.0]
Raw output
java.lang.AssertionError: expected [2000.0] but found [1000.0]
	at org.testng.Assert.fail(Assert.java:96)
	at org.testng.Assert.failNotEquals(Assert.java:776)
	at org.testng.Assert.assertEqualsImpl(Assert.java:137)
	at org.testng.Assert.assertEquals(Assert.java:118)
	at org.testng.Assert.assertEquals(Assert.java:442)
	at com.linkedin.davinci.repository.NativeMetadataRepositoryTest.lambda$testNativeMetadataRepositoryStats$5(NativeMetadataRepositoryTest.java:136)
	at com.linkedin.venice.utils.TestUtils.waitForNonDeterministicAssertion(TestUtils.java:240)
	at com.linkedin.venice.utils.TestUtils.waitForNonDeterministicAssertion(TestUtils.java:225)
	at com.linkedin.venice.utils.TestUtils.waitForNonDeterministicAssertion(TestUtils.java:217)
	at com.linkedin.davinci.repository.NativeMetadataRepositoryTest.testNativeMetadataRepositoryStats(NativeMetadataRepositoryTest.java:133)

Check failure on line 65 in clients/venice-client/src/test/java/com/linkedin/venice/fastclient/BatchGetAvroStoreClientUnitTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

BatchGetAvroStoreClientUnitTest.testSimpleStreamingBatchGet

org.testng.internal.thread.ThreadTimeoutException: Method com.linkedin.venice.fastclient.BatchGetAvroStoreClientUnitTest.testSimpleStreamingBatchGet() didn't finish within the time-out 5000
Raw output
org.testng.internal.thread.ThreadTimeoutException: Method com.linkedin.venice.fastclient.BatchGetAvroStoreClientUnitTest.testSimpleStreamingBatchGet() didn't finish within the time-out 5000
	at [email protected]/java.lang.System.checkKey(System.java:959)
	at [email protected]/java.lang.System.getProperty(System.java:827)
	at app//org.apache.avro.io.BinaryDecoder.<init>(BinaryDecoder.java:102)
	at app//org.apache.avro.io.BinaryDecoder.<init>(BinaryDecoder.java:121)
	at app//org.apache.avro.io.Avro110BinaryDecoderAccessUtil.newBinaryDecoder(Avro110BinaryDecoderAccessUtil.java:22)
	at app//com.linkedin.avroutil1.compatibility.avro110.Avro110Adapter.newBinaryDecoder(Avro110Adapter.java:177)
	at app//com.linkedin.avroutil1.compatibility.AvroCompatibilityHelper.newBinaryDecoder(AvroCompatibilityHelper.java:192)
	at app//com.linkedin.venice.serializer.AvroGenericDeserializer.deserialize(AvroGenericDeserializer.java:58)
	at app//com.linkedin.venice.serializer.AvroGenericDeserializer.deserialize(AvroGenericDeserializer.java:51)
	at app//com.linkedin.venice.fastclient.utils.TestClientSimulator.restRequest(TestClientSimulator.java:265)
	at app//com.linkedin.venice.fastclient.transport.R2TransportClient.post(R2TransportClient.java:51)
	at app//com.linkedin.venice.fastclient.DispatchingAvroGenericStoreClient.multiKeyStreamingRequest(DispatchingAvroGenericStoreClient.java:479)
	at app//com.linkedin.venice.fastclient.DispatchingAvroGenericStoreClient.streamingBatchGet(DispatchingAvroGenericStoreClient.java:365)
	at app//com.linkedin.venice.fastclient.DelegatingAvroStoreClient.streamingBatchGet(DelegatingAvroStoreClient.java:99)
	at app//com.linkedin.venice.fastclient.StatsAvroGenericStoreClient.streamingBatchGet(StatsAvroGenericStoreClient.java:70)
	at app//com.linkedin.venice.fastclient.InternalAvroStoreClient.streamingBatchGet(InternalAvroStoreClient.java:65)
	at app//com.linkedin.venice.fastclient.BatchGetAvroStoreClientUnitTest.callStreamingBatchGetAndVerifyResults(BatchGetAvroStoreClientUnitTest.java:770)
	at app//com.linkedin.venice.fastclient.BatchGetAvroStoreClientUnitTest.callStreamingBatchGetAndVerifyResults(BatchGetAvroStoreClientUnitTest.java:759)
	at app//com.linkedin.venice.fastclient.BatchGetAvroStoreClientUnitTest.testSimpleStreamingBatchGet(BatchGetAvroStoreClientUnitTest.java:65)

Check failure on line 1 in clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithTWiseAndBufferAfterLeaderTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SITWithTWiseAndBufferAfterLeaderTest.testProcessConsumerActionsError

Wanted but not invoked:
leaderFollowerStoreIngestionTask.reportError(
    <any string>,
    1,
    <Capturing argument>
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.reportError(StoreIngestionTask.java:4148)

However, there were exactly 35 interactions with this mock:
leaderFollowerStoreIngestionTask.subscribePartition(
    TestTopic_7307027ea3_9a49d906_v1-1
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:872)

leaderFollowerStoreIngestionTask.subscribePartition(
    TestTopic_7307027ea3_9a49d906_v1-1,
    true
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:593)

leaderFollowerStoreIngestionTask.throwIfNotRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:607)

leaderFollowerStoreIngestionTask.isRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.throwIfNotRunning(StoreIngestionTask.java:554)

leaderFollowerStoreIngestionTask.getIsRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.isRunning(StoreIngestionTask.java:3990)

leaderFollowerStoreIngestionTask.nextSeqNum();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:616)

leaderFollowerStoreIngestionTask.run();
-> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

leaderFollowerStoreIngestionTask.isRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1592)

leaderFollowerStoreIngestionTask.getIsRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.isRunning(StoreIngestionTask.java:3990)

leaderFollowerStoreIngestionTask.updateIngestionRoleIfStoreChanged(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1594)

leaderFollowerStoreIngestionTask.isHybridMode();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.updateIngestionRoleIfStoreChanged(StoreIngestionTask.java:1511)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1595)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.reportIfCatchUpVersionTopicOffset(
    PCS{replicaId=TestTopic_7307027ea3_9a49d906_v1-1, hybrid=false, latestProcessedLocalVersionTopicOffset=-1, latestProcessedUpstreamVersionTopicOffset=-1, latestProcessedUpstreamRTOffsetMap={}, latestIgnoredUpstreamRTOffsetMap={}, latestRTOffsetTriedToProduceToVTMap{}, offsetRecord=OffsetRecord{localVersionTopicOffset=-1, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}, errorReported=false, started=false, lagCaughtUp=false, processedRecordSizeSinceLastSync=0, leaderFollowerState=STANDBY}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2108)

leaderFollowerStoreIngestionTask.updateLeaderTopicOnFollower(
    PCS{replicaId=TestTopic_7307027ea3_9a49d906_v1-1, hybrid=false, latestProcessedLocalVersionTopicOffset=-1, latestProcessedUpstreamVersionTopicOffset=-1, latestProcessedUpstreamRTOffsetMap={}, latestIgnoredUpstreamRTOffsetMap={}, latestRTOffsetTriedToProduceToVTMap{}, offsetRecord=OffsetRecord{localVersionTopicOffset=-1, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}, errorReported=false, started=false, lagCaughtUp=false, processedRecordSizeSinceLastSync=0, leaderFollowerState=STANDBY}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2113)

leaderFollowerStoreIngestionTask.consumerSubscribe(
    TestTopic_7307027ea3_9a49d906_v1-1,
    -1L,
    "local_InMemoryKafkaBroker:41937"
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2119)

leaderFollowerStoreIngestionTask.createKafkaConsumerProperties(
    {"kafka.bootstrap.servers" = "local_InMemoryKafkaBroker:41937"},
    "local_InMemoryKafkaBroker:41937",
    false
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.consumerSubscribe(StoreIngestionTask.java:3498)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.StorePartitionDataReceiver.destinationIdentifier(StorePartitionDataReceiver.java:86)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.StorePartitionDataReceiver.destinationIdentifier(StorePartitionDataReceiver.java:86)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.checkLongRunningTaskState();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1596)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:764)

leaderFollowerStoreIngestionTask.checkIngestionProgress(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1597)

leaderFollowerStoreIngestionTask.consumerHasAnySubscription();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.checkIngestionProgress(StoreIngestionTask.java:1464)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)
Raw output
Wanted but not invoked:
leaderFollowerStoreIngestionTask.reportError(
    <any string>,
    1,
    <Capturing argument>
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.reportError(StoreIngestionTask.java:4148)

However, there were exactly 35 interactions with this mock:
leaderFollowerStoreIngestionTask.subscribePartition(
    TestTopic_7307027ea3_9a49d906_v1-1
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:872)

leaderFollowerStoreIngestionTask.subscribePartition(
    TestTopic_7307027ea3_9a49d906_v1-1,
    true
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:593)

leaderFollowerStoreIngestionTask.throwIfNotRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:607)

leaderFollowerStoreIngestionTask.isRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.throwIfNotRunning(StoreIngestionTask.java:554)

leaderFollowerStoreIngestionTask.getIsRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.isRunning(StoreIngestionTask.java:3990)

leaderFollowerStoreIngestionTask.nextSeqNum();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.subscribePartition(StoreIngestionTask.java:616)

leaderFollowerStoreIngestionTask.run();
-> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

leaderFollowerStoreIngestionTask.isRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1592)

leaderFollowerStoreIngestionTask.getIsRunning();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.isRunning(StoreIngestionTask.java:3990)

leaderFollowerStoreIngestionTask.updateIngestionRoleIfStoreChanged(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1594)

leaderFollowerStoreIngestionTask.isHybridMode();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.updateIngestionRoleIfStoreChanged(StoreIngestionTask.java:1511)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1595)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.reportIfCatchUpVersionTopicOffset(
    PCS{replicaId=TestTopic_7307027ea3_9a49d906_v1-1, hybrid=false, latestProcessedLocalVersionTopicOffset=-1, latestProcessedUpstreamVersionTopicOffset=-1, latestProcessedUpstreamRTOffsetMap={}, latestIgnoredUpstreamRTOffsetMap={}, latestRTOffsetTriedToProduceToVTMap{}, offsetRecord=OffsetRecord{localVersionTopicOffset=-1, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}, errorReported=false, started=false, lagCaughtUp=false, processedRecordSizeSinceLastSync=0, leaderFollowerState=STANDBY}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2108)

leaderFollowerStoreIngestionTask.updateLeaderTopicOnFollower(
    PCS{replicaId=TestTopic_7307027ea3_9a49d906_v1-1, hybrid=false, latestProcessedLocalVersionTopicOffset=-1, latestProcessedUpstreamVersionTopicOffset=-1, latestProcessedUpstreamRTOffsetMap={}, latestIgnoredUpstreamRTOffsetMap={}, latestRTOffsetTriedToProduceToVTMap{}, offsetRecord=OffsetRecord{localVersionTopicOffset=-1, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}, errorReported=false, started=false, lagCaughtUp=false, processedRecordSizeSinceLastSync=0, leaderFollowerState=STANDBY}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2113)

leaderFollowerStoreIngestionTask.consumerSubscribe(
    TestTopic_7307027ea3_9a49d906_v1-1,
    -1L,
    "local_InMemoryKafkaBroker:41937"
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processCommonConsumerAction(StoreIngestionTask.java:2119)

leaderFollowerStoreIngestionTask.createKafkaConsumerProperties(
    {"kafka.bootstrap.servers" = "local_InMemoryKafkaBroker:41937"},
    "local_InMemoryKafkaBroker:41937",
    false
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.consumerSubscribe(StoreIngestionTask.java:3498)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.StorePartitionDataReceiver.destinationIdentifier(StorePartitionDataReceiver.java:86)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.StorePartitionDataReceiver.destinationIdentifier(StorePartitionDataReceiver.java:86)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995},
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerActions(StoreIngestionTask.java:1864)

leaderFollowerStoreIngestionTask.processCommonConsumerAction(
    KafkaTaskMessage{type=SUBSCRIBE, topicPartition=TestTopic_7307027ea3_9a49d906_v1-1, attempts=4, sequenceNumber=1, createdTimestampInMs=1732852680995}
);
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.processConsumerAction(LeaderFollowerStoreIngestionTask.java:565)

leaderFollowerStoreIngestionTask.checkLongRunningTaskState();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1596)

leaderFollowerStoreIngestionTask.getVersionTopic();
-> at com.linkedin.davinci.kafka.consumer.LeaderFollowerStoreIngestionTask.checkLongRunningTaskState(LeaderFollowerStoreIngestionTask.java:764)

leaderFollowerStoreIngestionTask.checkIngestionProgress(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.run(StoreIngestionTask.java:1597)

leaderFollowerStoreIngestionTask.consumerHasAnySubscription();
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.checkIngestionProgress(StoreIngestionTask.java:1464)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)

leaderFollowerStoreIngestionTask.processConsumerActions(
    Mock for Store, hashCode: 1324277514
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5113)


	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTask.reportError(StoreIngestionTask.java:4148)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testProcessConsumerActionsError$156(StoreIngestionTaskTest.java:5119)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:879)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:773)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:633)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.testProcessConsumerActionsError(StoreIngestionTaskTest.java:5105)

Check failure on line 1 in clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithTWiseWithoutBufferAfterLeaderTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SITWithTWiseWithoutBufferAfterLeaderTest.testNotifier[0](AA_ON)

org.mockito.exceptions.verification.ArgumentsAreDifferent: Argument(s) are different! Wanted:
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=3, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=true, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testNotifier$34(StoreIngestionTaskTest.java:1606)
Actual invocations have different arguments:
storageMetadataService.getLastOffset(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.getLastOffset(DeepCopyOffsetManager.java:49)
storageMetadataService.getLastOffset(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.getLastOffset(DeepCopyOffsetManager.java:49)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@55d55577
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@376b6ce6
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2,
    OffsetRecord{localVersionTopicOffset=1, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683253, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=1, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683253, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2,
    OffsetRecord{localVersionTopicOffset=2, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683254, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@232e58fb
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=2, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683254, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@5e3715c4
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
Raw output
org.mockito.exceptions.verification.ArgumentsAreDifferent: Argument(s) are different! Wanted:
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=3, upstreamOffset=-1, leaderTopic=null, offsetLag=0, eventTimeEpochMs=-1, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=true, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testNotifier$34(StoreIngestionTaskTest.java:1606)
Actual invocations have different arguments:
storageMetadataService.getLastOffset(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.getLastOffset(DeepCopyOffsetManager.java:49)
storageMetadataService.getLastOffset(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.getLastOffset(DeepCopyOffsetManager.java:49)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@55d55577
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@376b6ce6
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2,
    OffsetRecord{localVersionTopicOffset=1, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683253, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=1, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683253, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    2,
    OffsetRecord{localVersionTopicOffset=2, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683254, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@232e58fb
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)
storageMetadataService.put(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    1,
    OffsetRecord{localVersionTopicOffset=2, upstreamOffset=-1, leaderTopic=null, offsetLag=9223372036854775807, eventTimeEpochMs=1732852683254, latestProducerProcessingTimeInMs=0, isEndOfPushReceived=false, databaseInfo={}, realTimeProducerState={}}
);
-> at com.linkedin.venice.offsets.DeepCopyOffsetManager.put(DeepCopyOffsetManager.java:38)
storageMetadataService.computeStoreVersionState(
    "TestTopic_7390cf10ca_ae20ed7a_v1",
    com.linkedin.venice.offsets.DeepCopyStorageMetadataService$$Lambda$979/0x000000080086dc40@5e3715c4
);
-> at com.linkedin.venice.offsets.DeepCopyStorageMetadataService.computeStoreVersionState(DeepCopyStorageMetadataService.java:33)

	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testNotifier$34(StoreIngestionTaskTest.java:1606)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:879)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:773)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:633)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.testNotifier(StoreIngestionTaskTest.java:1584)

Check failure on line 1 in clients/da-vinci-client/src/test/java/com/linkedin/davinci/kafka/consumer/SITWithTWiseWithoutBufferAfterLeaderTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SITWithTWiseWithoutBufferAfterLeaderTest.testRecordLevelMetricForCurrentVersion[1](true)

org.mockito.exceptions.verification.TooFewActualInvocations: 
hostLevelIngestionStats.recordTotalBytesConsumed(
    <any long>
);
Wanted 3 times:
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:492)
But was 2 times:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2535)
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2535)
Raw output
org.mockito.exceptions.verification.TooFewActualInvocations: 
hostLevelIngestionStats.recordTotalBytesConsumed(
    <any long>
);
Wanted 3 times:
-> at com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:492)
But was 2 times:
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2535)
-> at com.linkedin.davinci.kafka.consumer.StoreIngestionTask.processConsumerRecord(StoreIngestionTask.java:2535)

	at app//com.linkedin.davinci.stats.HostLevelIngestionStats.recordTotalBytesConsumed(HostLevelIngestionStats.java:492)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.lambda$testRecordLevelMetricForCurrentVersion$27(StoreIngestionTaskTest.java:1409)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:879)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.runTest(StoreIngestionTaskTest.java:773)
	at app//com.linkedin.davinci.kafka.consumer.StoreIngestionTaskTest.testRecordLevelMetricForCurrentVersion(StoreIngestionTaskTest.java:1417)

Check failure on line 133 in clients/da-vinci-client/src/test/java/com/linkedin/davinci/repository/NativeMetadataRepositoryTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

NativeMetadataRepositoryTest.testNativeMetadataRepositoryStats

java.lang.AssertionError: expected [2000.0] but found [1000.0]
Raw output
java.lang.AssertionError: expected [2000.0] but found [1000.0]
	at org.testng.Assert.fail(Assert.java:96)
	at org.testng.Assert.failNotEquals(Assert.java:776)
	at org.testng.Assert.assertEqualsImpl(Assert.java:137)
	at org.testng.Assert.assertEquals(Assert.java:118)
	at org.testng.Assert.assertEquals(Assert.java:442)
	at com.linkedin.davinci.repository.NativeMetadataRepositoryTest.lambda$testNativeMetadataRepositoryStats$5(NativeMetadataRepositoryTest.java:136)
	at com.linkedin.venice.utils.TestUtils.waitForNonDeterministicAssertion(TestUtils.java:240)
	at com.linkedin.venice.utils.TestUtils.waitForNonDeterministicAssertion(TestUtils.java:225)
	at com.linkedin.venice.utils.TestUtils.waitForNonDeterministicAssertion(TestUtils.java:217)
	at com.linkedin.davinci.repository.NativeMetadataRepositoryTest.testNativeMetadataRepositoryStats(NativeMetadataRepositoryTest.java:133)

Check failure on line 65 in clients/venice-client/src/test/java/com/linkedin/venice/fastclient/BatchGetAvroStoreClientUnitTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

BatchGetAvroStoreClientUnitTest.testSimpleStreamingBatchGet

org.testng.internal.thread.ThreadTimeoutException: Method com.linkedin.venice.fastclient.BatchGetAvroStoreClientUnitTest.testSimpleStreamingBatchGet() didn't finish within the time-out 5000
Raw output
org.testng.internal.thread.ThreadTimeoutException: Method com.linkedin.venice.fastclient.BatchGetAvroStoreClientUnitTest.testSimpleStreamingBatchGet() didn't finish within the time-out 5000
	at [email protected]/java.lang.System.checkKey(System.java:959)
	at [email protected]/java.lang.System.getProperty(System.java:827)
	at app//org.apache.avro.io.BinaryDecoder.<init>(BinaryDecoder.java:102)
	at app//org.apache.avro.io.BinaryDecoder.<init>(BinaryDecoder.java:121)
	at app//org.apache.avro.io.Avro110BinaryDecoderAccessUtil.newBinaryDecoder(Avro110BinaryDecoderAccessUtil.java:22)
	at app//com.linkedin.avroutil1.compatibility.avro110.Avro110Adapter.newBinaryDecoder(Avro110Adapter.java:177)
	at app//com.linkedin.avroutil1.compatibility.AvroCompatibilityHelper.newBinaryDecoder(AvroCompatibilityHelper.java:192)
	at app//com.linkedin.venice.serializer.AvroGenericDeserializer.deserialize(AvroGenericDeserializer.java:58)
	at app//com.linkedin.venice.serializer.AvroGenericDeserializer.deserialize(AvroGenericDeserializer.java:51)
	at app//com.linkedin.venice.fastclient.utils.TestClientSimulator.restRequest(TestClientSimulator.java:265)
	at app//com.linkedin.venice.fastclient.transport.R2TransportClient.post(R2TransportClient.java:51)
	at app//com.linkedin.venice.fastclient.DispatchingAvroGenericStoreClient.multiKeyStreamingRequest(DispatchingAvroGenericStoreClient.java:479)
	at app//com.linkedin.venice.fastclient.DispatchingAvroGenericStoreClient.streamingBatchGet(DispatchingAvroGenericStoreClient.java:365)
	at app//com.linkedin.venice.fastclient.DelegatingAvroStoreClient.streamingBatchGet(DelegatingAvroStoreClient.java:99)
	at app//com.linkedin.venice.fastclient.StatsAvroGenericStoreClient.streamingBatchGet(StatsAvroGenericStoreClient.java:70)
	at app//com.linkedin.venice.fastclient.InternalAvroStoreClient.streamingBatchGet(InternalAvroStoreClient.java:65)
	at app//com.linkedin.venice.fastclient.BatchGetAvroStoreClientUnitTest.callStreamingBatchGetAndVerifyResults(BatchGetAvroStoreClientUnitTest.java:770)
	at app//com.linkedin.venice.fastclient.BatchGetAvroStoreClientUnitTest.callStreamingBatchGetAndVerifyResults(BatchGetAvroStoreClientUnitTest.java:759)
	at app//com.linkedin.venice.fastclient.BatchGetAvroStoreClientUnitTest.testSimpleStreamingBatchGet(BatchGetAvroStoreClientUnitTest.java:65)