ydb/tests/stress/kafka/workload/__init__.py:61: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
  tar.extractall(path=TEST_FILES_DIRECTORY)
org.apache.kafka.streams.errors.StreamsException: org.apache.kafka.common.KafkaException: Unexpected error in fetch offset response for partition test-topic-5: A request illegally referred to a resource that does not exist.
	at org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:653)
	at org.apache.kafka.streams.processor.internals.StreamThread.run(StreamThread.java:575)
Caused by: org.apache.kafka.common.KafkaException: Unexpected error in fetch offset response for partition test-topic-5: A request illegally referred to a resource that does not exist.
	at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator$OffsetFetchResponseHandler.handle(ConsumerCoordinator.java:1535)
	at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator$OffsetFetchResponseHandler.handle(ConsumerCoordinator.java:1485)
	at org.apache.kafka.clients.consumer.internals.AbstractCoordinator$CoordinatorResponseHandler.onSuccess(AbstractCoordinator.java:1260)
	at org.apache.kafka.clients.consumer.internals.AbstractCoordinator$CoordinatorResponseHandler.onSuccess(AbstractCoordinator.java:1235)
	at org.apache.kafka.clients.consumer.internals.RequestFuture$1.onSuccess(RequestFuture.java:206)
	at org.apache.kafka.clients.consumer.internals.RequestFuture.fireSuccess(RequestFuture.java:169)
	at org.apache.kafka.clients.consumer.internals.RequestFuture.complete(RequestFuture.java:129)
	at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient$RequestFutureCompletionHandler.fireCompletion(ConsumerNetworkClient.java:617)
	at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.firePendingCompletedRequests(ConsumerNetworkClient.java:427)
	at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:312)
	at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:230)
	at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:214)
	at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.fetchCommittedOffsets(ConsumerCoordinator.java:1011)
	at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.refreshCommittedOffsetsIfNeeded(ConsumerCoordinator.java:953)
	at org.apache.kafka.clients.consumer.KafkaConsumer.updateFetchPositions(KafkaConsumer.java:2456)
	at org.apache.kafka.clients.consumer.KafkaConsumer.updateAssignmentMetadataIfNeeded(KafkaConsumer.java:1276)
	at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1236)
	at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1216)
	at org.apache.kafka.streams.processor.internals.StreamThread.pollRequests(StreamThread.java:1007)
	at org.apache.kafka.streams.processor.internals.StreamThread.pollPhase(StreamThread.java:955)
	at org.apache.kafka.streams.processor.internals.StreamThread.runOnce(StreamThread.java:762)
	at org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:613)
	... 1 more
org.apache.kafka.streams.errors.StreamsException: Error encountered sending record to topic target-topic-0 for task 0_2 due to:
org.apache.kafka.common.errors.UnknownServerException: Unexpected termination
Written offsets would not be recorded and no more records would be sent since this is a fatal error.
	at org.apache.kafka.streams.processor.internals.RecordCollectorImpl.recordSendError(RecordCollectorImpl.java:267)
	at org.apache.kafka.streams.processor.internals.RecordCollectorImpl.lambda$send$1(RecordCollectorImpl.java:254)
	at org.apache.kafka.clients.producer.KafkaProducer$AppendCallbacks.onCompletion(KafkaProducer.java:1505)
	at org.apache.kafka.clients.producer.internals.ProducerBatch.completeFutureAndFireCallbacks(ProducerBatch.java:273)
	at org.apache.kafka.clients.producer.internals.ProducerBatch.done(ProducerBatch.java:234)
	at org.apache.kafka.clients.producer.internals.ProducerBatch.completeExceptionally(ProducerBatch.java:198)
	at org.apache.kafka.clients.producer.internals.Sender.failBatch(Sender.java:766)
	at org.apache.kafka.clients.producer.internals.Sender.failBatch(Sender.java:751)
	at org.apache.kafka.clients.producer.internals.Sender.failBatch(Sender.java:703)
	at org.apache.kafka.clients.producer.internals.Sender.completeBatch(Sender.java:642)
	at org.apache.kafka.clients.producer.internals.Sender.lambda$null$1(Sender.java:583)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.apache.kafka.clients.producer.internals.Sender.lambda$handleProduceResponse$2(Sender.java:570)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at org.apache.kafka.clients.producer.internals.Sender.handleProduceResponse(Sender.java:570)
	at org.apache.kafka.clients.producer.internals.Sender.lambda$sendProduceRequest$5(Sender.java:844)
	at org.apache.kafka.clients.ClientResponse.onComplete(ClientResponse.java:109)
	at org.apache.kafka.clients.NetworkClient.completeResponses(NetworkClient.java:583)
	at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:575)
	at org.apache.kafka.clients.producer.internals.Sender.runOnce(Sender.java:328)
	at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:243)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.apache.kafka.common.errors.UnknownServerException: Unexpected termination
org.apache.kafka.streams.errors.StreamsException: Error encountered trying to send record to topic target-topic-0 [stream-thread [main]]
	at org.apache.kafka.streams.processor.internals.StreamsProducer.send(StreamsProducer.java:273)
	at org.apache.kafka.streams.processor.internals.RecordCollectorImpl.send(RecordCollectorImpl.java:223)
	at org.apache.kafka.streams.processor.internals.RecordCollectorImpl.send(RecordCollectorImpl.java:176)
	at org.apache.kafka.streams.processor.internals.SinkNode.process(SinkNode.java:85)
	at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forwardInternal(ProcessorContextImpl.java:290)
	at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:269)
	at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:228)
	at tech.ydb.kafka.api.E2eTest$AddTsAndStoreProcessor.process(E2eTest.java:112)
	at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:157)
	at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forwardInternal(ProcessorContextImpl.java:290)
	at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:269)
	at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:228)
	at org.apache.kafka.streams.processor.internals.SourceNode.process(SourceNode.java:84)
	at org.apache.kafka.streams.processor.internals.StreamTask.lambda$doProcess$1(StreamTask.java:792)
	at org.apache.kafka.streams.processor.internals.metrics.StreamsMetricsImpl.maybeMeasureLatency(StreamsMetricsImpl.java:872)
	at org.apache.kafka.streams.processor.internals.StreamTask.doProcess(StreamTask.java:792)
	at org.apache.kafka.streams.processor.internals.StreamTask.process(StreamTask.java:723)
	at org.apache.kafka.streams.processor.internals.TaskExecutor.processTask(TaskExecutor.java:97)
	at org.apache.kafka.streams.processor.internals.TaskExecutor.process(TaskExecutor.java:78)
	at org.apache.kafka.streams.processor.internals.TaskManager.process(TaskManager.java:1708)
	at org.apache.kafka.streams.processor.internals.StreamThread.runOnce(StreamThread.java:796)
	at org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:613)
	at org.apache.kafka.streams.processor.internals.StreamThread.run(StreamThread.java:575)
Caused by: org.apache.kafka.common.KafkaException: Cannot execute transactional method because we are in an error state
	at org.apache.kafka.clients.producer.internals.TransactionManager.maybeFailWithError(TransactionManager.java:1010)
	at org.apache.kafka.clients.producer.internals.TransactionManager.maybeAddPartition(TransactionManager.java:328)
	at org.apache.kafka.clients.producer.KafkaProducer.doSend(KafkaProducer.java:1061)
	at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:962)
	at org.apache.kafka.streams.processor.internals.StreamsProducer.send(StreamsProducer.java:261)
	... 22 more
Caused by: org.apache.kafka.common.errors.UnknownServerException: Unexpected termination
Traceback (most recent call last):
  File "contrib/tools/python3/Lib/runpy.py", line 198, in _run_module_as_main
    return _run_code(code, main_globals, None,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "contrib/tools/python3/Lib/runpy.py", line 88, in _run_code
    exec(code, run_globals)
  File "ydb/tests/stress/kafka/__main__.py", line 27, in <module>
    workload.loop()
  File "ydb/tests/stress/kafka/workload/__init__.py", line 125, in loop
    assert totalMessCountTest == totalMessCountTarget, f"Source and target {self.target_topic_path}-{i} topics total messages count are not equal:" + \
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Source and target target-topic-0 topics total messages count are not equal:{totalMessCountTest} and {totalMessCountTarget} respectively.
contrib/tools/python3/Lib/subprocess.py:1127: ResourceWarning: subprocess 231269 is still running
ResourceWarning: Enable tracemalloc to get the object allocation traceback
contrib/tools/python3/Lib/subprocess.py:1127: ResourceWarning: subprocess 231268 is still running
ResourceWarning: Enable tracemalloc to get the object allocation traceback
contrib/tools/python3/Lib/subprocess.py:1127: ResourceWarning: subprocess 231226 is still running
ResourceWarning: Enable tracemalloc to get the object allocation traceback
contrib/tools/python3/Lib/subprocess.py:1127: ResourceWarning: subprocess 231225 is still running
ResourceWarning: Enable tracemalloc to get the object allocation traceback
contrib/tools/python3/Lib/subprocess.py:1127: ResourceWarning: subprocess 231209 is still running
ResourceWarning: Enable tracemalloc to get the object allocation traceback
contrib/tools/python3/Lib/subprocess.py:1127: ResourceWarning: subprocess 231208 is still running
ResourceWarning: Enable tracemalloc to get the object allocation traceback
