==== TMockDiscovery server started on port 45267
==== TMockDiscovery set good endpoint nodes 
==== TMockDiscovery add endpoints, firstNodeId 1, nodeCount 1, port 1665
====TYdbPqTestRetryPolicy()
====ExpectBreakDown
=== Create write session
==== ListEndpoints request: database: "local"
==== ListEndpoints response: operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "localhost" port: 1665 node_id: 1 } } } }
2025-12-12T11:55:06.260346Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Write session: try to update token
2025-12-12T11:55:06.260569Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Get partition location async, partition 1, delay 0.000000s
=== Wait for retries
2025-12-12T11:55:06.260600Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0]  Getting partition location, partition 1
2025-12-12T11:55:06.263344Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Got PartitionLocation response. Status BAD_REQUEST, proto:
====CreateRetryState
====CreateRetryState Initialized
Test retry state: get retry delay
2025-12-12T11:55:06.263388Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Got error. Status: BAD_REQUEST, Description: <main>: Error: Failed to get partition location     <main>: Error: No partition 1 in topic, code: 500003 
2025-12-12T11:55:06.263393Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Write session will restart in 2.000000s
2025-12-12T11:55:06.263400Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Get partition location async, partition 1, delay 2.000000s
2025-12-12T11:55:08.264405Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0]  Getting partition location, partition 1
2025-12-12T11:55:08.265899Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Got PartitionLocation response. Status BAD_REQUEST, proto:
Test retry state: get retry delay
2025-12-12T11:55:08.265942Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Got error. Status: BAD_REQUEST, Description: <main>: Error: Failed to get partition location     <main>: Error: No partition 1 in topic, code: 500003 
2025-12-12T11:55:08.265947Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Write session will restart in 2.000000s
2025-12-12T11:55:08.265953Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Get partition location async, partition 1, delay 2.000000s
E1212 11:55:10.016203319 2873080 chttp2_transport.cc:1143]             ipv4:0.0.0.0:45267: Received a GOAWAY with error code ENHANCE_YOUR_CALM and debug data equal to "too_many_pings". Current keepalive time (before throttling): 1250ms
2025-12-12T11:55:10.266364Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0]  Getting partition location, partition 1
2025-12-12T11:55:10.267712Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Got PartitionLocation response. Status BAD_REQUEST, proto:
Test retry state: get retry delay
2025-12-12T11:55:10.267768Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Got error. Status: BAD_REQUEST, Description: <main>: Error: Failed to get partition location     <main>: Error: No partition 1 in topic, code: 500003 
2025-12-12T11:55:10.267773Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Write session will restart in 2.000000s
2025-12-12T11:55:10.267789Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Get partition location async, partition 1, delay 2.000000s
=== Alter partition count
=== Wait for repair
2025-12-12T11:55:12.268360Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0]  Getting partition location, partition 1
2025-12-12T11:55:12.469968Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  partition_id: 1
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:55:12.469993Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [0] GetPreferredEndpoint: partitionId 1, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:55:12.470001Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:55:12.470329Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [1] Write session: direct write to partition: 1, generation 1
2025-12-12T11:55:12.470373Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/LocalPartition-DirectRead_DescribeBadPartition/test-topic" producer_id: "test-producer" partition_with_generation { partition_id: 1 generation: 1 } }
2025-12-12T11:55:12.470529Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:55:12.479118Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:55:12.479149Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [1] Counters: { Errors: 3 CurrentSessionLifetimeMs: 1765540512479 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:55:12.479186Z :INFO: [local]  TraceId []  SessionId []  PartitionId [1]  Generation [1] Write session established. Init response: session_id: "test-producer|c396fcd0-f7d02a2f-71f46476-604da35a_0" partition_id: 1
====StateDestroyed
=== Close write session
2025-12-12T11:55:12.479284Z :INFO: [local]  TraceId []  SessionId [test-producer|c396fcd0-f7d02a2f-71f46476-604da35a_0]  PartitionId [1]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:55:12.479292Z :INFO: [local]  TraceId []  SessionId [test-producer|c396fcd0-f7d02a2f-71f46476-604da35a_0]  PartitionId [1]  Generation [1] Write session will now close
2025-12-12T11:55:12.479300Z :DEBUG: [local]  TraceId []  SessionId [test-producer|c396fcd0-f7d02a2f-71f46476-604da35a_0]  PartitionId [1]  Generation [1] Write session: aborting
2025-12-12T11:55:12.479468Z :INFO: [local]  TraceId []  SessionId [test-producer|c396fcd0-f7d02a2f-71f46476-604da35a_0]  PartitionId [1]  Generation [1] Write session: gracefully shut down, all writes complete
2025-12-12T11:55:12.479480Z :DEBUG: [local]  TraceId []  SessionId [test-producer|c396fcd0-f7d02a2f-71f46476-604da35a_0]  PartitionId [1]  Generation [1] Write session: destroy
