[jira] (KAFKA-15103) Flaky test KRaftClusterTest.testCreateClusterAndPerformReassignment

2023-06-19 Thread Josep Prat (Jira)


[ https://issues.apache.org/jira/browse/KAFKA-15103 ]


Josep Prat deleted comment on KAFKA-15103:


was (Author: jlprat):
h3. Standard Output
{code:java}
[2023-06-16 18:39:33,807] WARN [QuorumController id=3001] Renouncing the 
leadership due to a metadata log event. We were the leader at epoch 1, but in 
the new epoch 2, the leader is (none). Reverting to last committed offset -1. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:33,816] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:33,869] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:35,082] 
WARN [QuorumController id=3002] Renouncing the leadership due to a metadata log 
event. We were the leader at epoch 2, but in the new epoch 3, the leader is 
(none). Reverting to last committed offset 6. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:35,487] 
ERROR [QuorumController id=3002] processBrokerHeartbeat: unable to start 
processing because of NotControllerException. Reason: The active controller 
appears to be node 3000. (org.apache.kafka.controller.QuorumController:467) 
[2023-06-16 18:39:36,107] WARN [RaftManager id=3001] Connection to node 3002 
(localhost/127.0.0.1:38565) could not be established. Broker may not be 
available. (org.apache.kafka.clients.NetworkClient:814) [2023-06-16 
18:39:36,199] WARN [QuorumController id=3000] Renouncing the leadership due to 
a metadata log event. We were the leader at epoch 3, but in the new epoch 4, 
the leader is (none). Reverting to last committed offset 9. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:36,223] 
WARN [RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) 
could not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,409] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,841] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:37,461] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,021] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,605] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,132] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,710] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,231] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,817] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:41,117] WARN 
[RaftManager id=3001] Graceful shutdown timed out after 5000ms 
(org.apache.kafka.raft.KafkaRaftClient:2444) [2023-06-16 18:39:41,119] ERROR 
[kafka-3001-raft-io-thread]: Graceful shutdown of RaftClient failed 
(kafka.raft.KafkaRaftManager$RaftIoThread:76) 
java.util.concurrent.TimeoutException: Timeout expired before graceful shutdown 
completed at 
org.apache.kafka.raft.KafkaRaftClient$GracefulShutdown.failWithTimeout(KafkaRaftClient.java:2445)
 at 
org.apache.kafka.raft.KafkaRaftClient.maybeCompleteShutdown(KafkaRaftClient.java:2191)
 at org.apache.kafka.raft.KafkaRaftClient.poll(KafkaRaftClient.java:2256) at 
kafka.raft.KafkaRaftManager$RaftIoThread.doWork(RaftManager.scala:64) at 
org.apache.kafka.server.util.ShutdownableThread.run(ShutdownableThread.java:127)
 [2023-06-16 18:39:41,150] ERROR [QuorumController id=3001] writeNoOpRecord: 
unable to start processing because of Reject

[jira] (KAFKA-15103) Flaky test KRaftClusterTest.testCreateClusterAndPerformReassignment

2023-06-19 Thread Josep Prat (Jira)


[ https://issues.apache.org/jira/browse/KAFKA-15103 ]


Josep Prat deleted comment on KAFKA-15103:


was (Author: jlprat):
h3. Standard Output
{code:java}
[2023-06-16 18:39:33,807] WARN [QuorumController id=3001] Renouncing the 
leadership due to a metadata log event. We were the leader at epoch 1, but in 
the new epoch 2, the leader is (none). Reverting to last committed offset -1. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:33,816] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:33,869] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:35,082] 
WARN [QuorumController id=3002] Renouncing the leadership due to a metadata log 
event. We were the leader at epoch 2, but in the new epoch 3, the leader is 
(none). Reverting to last committed offset 6. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:35,487] 
ERROR [QuorumController id=3002] processBrokerHeartbeat: unable to start 
processing because of NotControllerException. Reason: The active controller 
appears to be node 3000. (org.apache.kafka.controller.QuorumController:467) 
[2023-06-16 18:39:36,107] WARN [RaftManager id=3001] Connection to node 3002 
(localhost/127.0.0.1:38565) could not be established. Broker may not be 
available. (org.apache.kafka.clients.NetworkClient:814) [2023-06-16 
18:39:36,199] WARN [QuorumController id=3000] Renouncing the leadership due to 
a metadata log event. We were the leader at epoch 3, but in the new epoch 4, 
the leader is (none). Reverting to last committed offset 9. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:36,223] 
WARN [RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) 
could not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,409] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,841] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:37,461] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,021] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,605] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,132] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,710] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,231] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,817] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:41,117] WARN 
[RaftManager id=3001] Graceful shutdown timed out after 5000ms 
(org.apache.kafka.raft.KafkaRaftClient:2444) [2023-06-16 18:39:41,119] ERROR 
[kafka-3001-raft-io-thread]: Graceful shutdown of RaftClient failed 
(kafka.raft.KafkaRaftManager$RaftIoThread:76) 
java.util.concurrent.TimeoutException: Timeout expired before graceful shutdown 
completed at 
org.apache.kafka.raft.KafkaRaftClient$GracefulShutdown.failWithTimeout(KafkaRaftClient.java:2445)
 at 
org.apache.kafka.raft.KafkaRaftClient.maybeCompleteShutdown(KafkaRaftClient.java:2191)
 at org.apache.kafka.raft.KafkaRaftClient.poll(KafkaRaftClient.java:2256) at 
kafka.raft.KafkaRaftManager$RaftIoThread.doWork(RaftManager.scala:64) at 
org.apache.kafka.server.util.ShutdownableThread.run(ShutdownableThread.java:127)
 [2023-06-16 18:39:41,150] ERROR [QuorumController id=3001] writeNoOpRecord: 
unable to start processing because of Reject

[jira] (KAFKA-15103) Flaky test KRaftClusterTest.testCreateClusterAndPerformReassignment

2023-06-19 Thread Josep Prat (Jira)


[ https://issues.apache.org/jira/browse/KAFKA-15103 ]


Josep Prat deleted comment on KAFKA-15103:


was (Author: jlprat):
h3. Standard Output
{code:java}
[2023-06-16 18:39:33,807] WARN [QuorumController id=3001] Renouncing the 
leadership due to a metadata log event. We were the leader at epoch 1, but in 
the new epoch 2, the leader is (none). Reverting to last committed offset -1. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:33,816] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:33,869] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:35,082] 
WARN [QuorumController id=3002] Renouncing the leadership due to a metadata log 
event. We were the leader at epoch 2, but in the new epoch 3, the leader is 
(none). Reverting to last committed offset 6. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:35,487] 
ERROR [QuorumController id=3002] processBrokerHeartbeat: unable to start 
processing because of NotControllerException. Reason: The active controller 
appears to be node 3000. (org.apache.kafka.controller.QuorumController:467) 
[2023-06-16 18:39:36,107] WARN [RaftManager id=3001] Connection to node 3002 
(localhost/127.0.0.1:38565) could not be established. Broker may not be 
available. (org.apache.kafka.clients.NetworkClient:814) [2023-06-16 
18:39:36,199] WARN [QuorumController id=3000] Renouncing the leadership due to 
a metadata log event. We were the leader at epoch 3, but in the new epoch 4, 
the leader is (none). Reverting to last committed offset 9. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:36,223] 
WARN [RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) 
could not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,409] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,841] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:37,461] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,021] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,605] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,132] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,710] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,231] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,817] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:41,117] WARN 
[RaftManager id=3001] Graceful shutdown timed out after 5000ms 
(org.apache.kafka.raft.KafkaRaftClient:2444) [2023-06-16 18:39:41,119] ERROR 
[kafka-3001-raft-io-thread]: Graceful shutdown of RaftClient failed 
(kafka.raft.KafkaRaftManager$RaftIoThread:76) 
java.util.concurrent.TimeoutException: Timeout expired before graceful shutdown 
completed at 
org.apache.kafka.raft.KafkaRaftClient$GracefulShutdown.failWithTimeout(KafkaRaftClient.java:2445)
 at 
org.apache.kafka.raft.KafkaRaftClient.maybeCompleteShutdown(KafkaRaftClient.java:2191)
 at org.apache.kafka.raft.KafkaRaftClient.poll(KafkaRaftClient.java:2256) at 
kafka.raft.KafkaRaftManager$RaftIoThread.doWork(RaftManager.scala:64) at 
org.apache.kafka.server.util.ShutdownableThread.run(ShutdownableThread.java:127)
 [2023-06-16 18:39:41,150] ERROR [QuorumController id=3001] writeNoOpRecord: 
unable to start processing because of Reject

[jira] (KAFKA-15103) Flaky test KRaftClusterTest.testCreateClusterAndPerformReassignment

2023-06-19 Thread Josep Prat (Jira)


[ https://issues.apache.org/jira/browse/KAFKA-15103 ]


Josep Prat deleted comment on KAFKA-15103:


was (Author: jlprat):
h3. Standard Output
{code:java}
[2023-06-16 18:39:33,807] WARN [QuorumController id=3001] Renouncing the 
leadership due to a metadata log event. We were the leader at epoch 1, but in 
the new epoch 2, the leader is (none). Reverting to last committed offset -1. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:33,816] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:33,869] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:35,082] 
WARN [QuorumController id=3002] Renouncing the leadership due to a metadata log 
event. We were the leader at epoch 2, but in the new epoch 3, the leader is 
(none). Reverting to last committed offset 6. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:35,487] 
ERROR [QuorumController id=3002] processBrokerHeartbeat: unable to start 
processing because of NotControllerException. Reason: The active controller 
appears to be node 3000. (org.apache.kafka.controller.QuorumController:467) 
[2023-06-16 18:39:36,107] WARN [RaftManager id=3001] Connection to node 3002 
(localhost/127.0.0.1:38565) could not be established. Broker may not be 
available. (org.apache.kafka.clients.NetworkClient:814) [2023-06-16 
18:39:36,199] WARN [QuorumController id=3000] Renouncing the leadership due to 
a metadata log event. We were the leader at epoch 3, but in the new epoch 4, 
the leader is (none). Reverting to last committed offset 9. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:36,223] 
WARN [RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) 
could not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,409] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,841] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:37,461] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,021] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,605] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,132] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,710] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,231] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,817] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:41,117] WARN 
[RaftManager id=3001] Graceful shutdown timed out after 5000ms 
(org.apache.kafka.raft.KafkaRaftClient:2444) [2023-06-16 18:39:41,119] ERROR 
[kafka-3001-raft-io-thread]: Graceful shutdown of RaftClient failed 
(kafka.raft.KafkaRaftManager$RaftIoThread:76) 
java.util.concurrent.TimeoutException: Timeout expired before graceful shutdown 
completed at 
org.apache.kafka.raft.KafkaRaftClient$GracefulShutdown.failWithTimeout(KafkaRaftClient.java:2445)
 at 
org.apache.kafka.raft.KafkaRaftClient.maybeCompleteShutdown(KafkaRaftClient.java:2191)
 at org.apache.kafka.raft.KafkaRaftClient.poll(KafkaRaftClient.java:2256) at 
kafka.raft.KafkaRaftManager$RaftIoThread.doWork(RaftManager.scala:64) at 
org.apache.kafka.server.util.ShutdownableThread.run(ShutdownableThread.java:127)
 [2023-06-16 18:39:41,150] ERROR [QuorumController id=3001] writeNoOpRecord: 
unable to start processing because of Reject

[jira] (KAFKA-15103) Flaky test KRaftClusterTest.testCreateClusterAndPerformReassignment

2023-06-19 Thread Josep Prat (Jira)


[ https://issues.apache.org/jira/browse/KAFKA-15103 ]


Josep Prat deleted comment on KAFKA-15103:


was (Author: jlprat):
h3. Standard Output
{code:java}
[2023-06-16 18:39:33,807] WARN [QuorumController id=3001] Renouncing the 
leadership due to a metadata log event. We were the leader at epoch 1, but in 
the new epoch 2, the leader is (none). Reverting to last committed offset -1. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:33,816] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:33,869] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:35,082] 
WARN [QuorumController id=3002] Renouncing the leadership due to a metadata log 
event. We were the leader at epoch 2, but in the new epoch 3, the leader is 
(none). Reverting to last committed offset 6. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:35,487] 
ERROR [QuorumController id=3002] processBrokerHeartbeat: unable to start 
processing because of NotControllerException. Reason: The active controller 
appears to be node 3000. (org.apache.kafka.controller.QuorumController:467) 
[2023-06-16 18:39:36,107] WARN [RaftManager id=3001] Connection to node 3002 
(localhost/127.0.0.1:38565) could not be established. Broker may not be 
available. (org.apache.kafka.clients.NetworkClient:814) [2023-06-16 
18:39:36,199] WARN [QuorumController id=3000] Renouncing the leadership due to 
a metadata log event. We were the leader at epoch 3, but in the new epoch 4, 
the leader is (none). Reverting to last committed offset 9. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:36,223] 
WARN [RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) 
could not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,409] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,841] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:37,461] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,021] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,605] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,132] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,710] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,231] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,817] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:41,117] WARN 
[RaftManager id=3001] Graceful shutdown timed out after 5000ms 
(org.apache.kafka.raft.KafkaRaftClient:2444) [2023-06-16 18:39:41,119] ERROR 
[kafka-3001-raft-io-thread]: Graceful shutdown of RaftClient failed 
(kafka.raft.KafkaRaftManager$RaftIoThread:76) 
java.util.concurrent.TimeoutException: Timeout expired before graceful shutdown 
completed at 
org.apache.kafka.raft.KafkaRaftClient$GracefulShutdown.failWithTimeout(KafkaRaftClient.java:2445)
 at 
org.apache.kafka.raft.KafkaRaftClient.maybeCompleteShutdown(KafkaRaftClient.java:2191)
 at org.apache.kafka.raft.KafkaRaftClient.poll(KafkaRaftClient.java:2256) at 
kafka.raft.KafkaRaftManager$RaftIoThread.doWork(RaftManager.scala:64) at 
org.apache.kafka.server.util.ShutdownableThread.run(ShutdownableThread.java:127)
 [2023-06-16 18:39:41,150] ERROR [QuorumController id=3001] writeNoOpRecord: 
unable to start processing because of Reject

[jira] (KAFKA-15103) Flaky test KRaftClusterTest.testCreateClusterAndPerformReassignment

2023-06-19 Thread Josep Prat (Jira)


[ https://issues.apache.org/jira/browse/KAFKA-15103 ]


Josep Prat deleted comment on KAFKA-15103:


was (Author: jlprat):
h3. Standard Output
{code:java}
[2023-06-16 18:39:33,807] WARN [QuorumController id=3001] Renouncing the 
leadership due to a metadata log event. We were the leader at epoch 1, but in 
the new epoch 2, the leader is (none). Reverting to last committed offset -1. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:33,816] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:33,869] 
ERROR [QuorumController id=3001] registerBroker: unable to start processing 
because of NotControllerException. Reason: No controller appears to be active. 
(org.apache.kafka.controller.QuorumController:467) [2023-06-16 18:39:35,082] 
WARN [QuorumController id=3002] Renouncing the leadership due to a metadata log 
event. We were the leader at epoch 2, but in the new epoch 3, the leader is 
(none). Reverting to last committed offset 6. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:35,487] 
ERROR [QuorumController id=3002] processBrokerHeartbeat: unable to start 
processing because of NotControllerException. Reason: The active controller 
appears to be node 3000. (org.apache.kafka.controller.QuorumController:467) 
[2023-06-16 18:39:36,107] WARN [RaftManager id=3001] Connection to node 3002 
(localhost/127.0.0.1:38565) could not be established. Broker may not be 
available. (org.apache.kafka.clients.NetworkClient:814) [2023-06-16 
18:39:36,199] WARN [QuorumController id=3000] Renouncing the leadership due to 
a metadata log event. We were the leader at epoch 3, but in the new epoch 4, 
the leader is (none). Reverting to last committed offset 9. 
(org.apache.kafka.controller.QuorumController:1072) [2023-06-16 18:39:36,223] 
WARN [RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) 
could not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,409] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:36,841] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:37,461] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,021] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:38,605] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,132] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:39,710] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,231] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:40,817] WARN 
[RaftManager id=3001] Connection to node 3002 (localhost/127.0.0.1:38565) could 
not be established. Broker may not be available. 
(org.apache.kafka.clients.NetworkClient:814) [2023-06-16 18:39:41,117] WARN 
[RaftManager id=3001] Graceful shutdown timed out after 5000ms 
(org.apache.kafka.raft.KafkaRaftClient:2444) [2023-06-16 18:39:41,119] ERROR 
[kafka-3001-raft-io-thread]: Graceful shutdown of RaftClient failed 
(kafka.raft.KafkaRaftManager$RaftIoThread:76) 
java.util.concurrent.TimeoutException: Timeout expired before graceful shutdown 
completed at 
org.apache.kafka.raft.KafkaRaftClient$GracefulShutdown.failWithTimeout(KafkaRaftClient.java:2445)
 at 
org.apache.kafka.raft.KafkaRaftClient.maybeCompleteShutdown(KafkaRaftClient.java:2191)
 at org.apache.kafka.raft.KafkaRaftClient.poll(KafkaRaftClient.java:2256) at 
kafka.raft.KafkaRaftManager$RaftIoThread.doWork(RaftManager.scala:64) at 
org.apache.kafka.server.util.ShutdownableThread.run(ShutdownableThread.java:127)
 [2023-06-16 18:39:41,150] ERROR [QuorumController id=3001] writeNoOpRecord: 
unable to start processing because of Reject