2025-12-12 13:26:46,003 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-12-12 13:26:46,004 - INFO - ya.test - pytest_runtest_setup: test_error[v1-client0-json_each_row]
2025-12-12 13:26:46,004 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-12-12 13:26:46,004 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-12-12 13:26:46,061 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_insert.py::TestS3, test_name: test_error[v1-client0-json_each_row])
2025-12-12 13:26:46,062 - DEBUG - botocore.hooks - _emit: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f51af1290d0>
2025-12-12 13:26:46,064 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f51af238dd0>
2025-12-12 13:26:46,064 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function lazy_call.<locals>._handler at 0x7f51ae4d8050>
2025-12-12 13:26:46,065 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f51af238ad0>
2025-12-12 13:26:46,067 - DEBUG - botocore.endpoint - create_endpoint: Setting s3 timeout as (60, 60)
2025-12-12 13:26:46,071 - DEBUG - botocore.client - _register_legacy_retries: Registering retry handlers for service: s3
2025-12-12 13:26:46,072 - DEBUG - botocore.utils - register: Registering S3 region redirector handler
2025-12-12 13:26:46,073 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:s3
2025-12-12 13:26:46,074 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:Bucket
2025-12-12 13:26:46,075 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming Bucket attribute name
2025-12-12 13:26:46,076 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.Bucket: calling handler <function lazy_call.<locals>._handler at 0x7f51ae4d8ad0>
2025-12-12 13:26:46,077 - DEBUG - boto3.resources.action - __call__: Calling s3:create_bucket with {'Bucket': 'error_bucket', 'ACL': 'public-write'}
2025-12-12 13:26:46,078 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function validate_bucket_name at 0x7f51af12af90>
2025-12-12 13:26:46,078 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function remove_bucket_from_url_paths_from_model at 0x7f51af151850>
2025-12-12 13:26:46,078 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f5193345050>>
2025-12-12 13:26:46,078 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function generate_idempotent_uuid at 0x7f51af12ad50>
2025-12-12 13:26:46,079 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f51af151a90>
2025-12-12 13:26:46,079 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f5193345050>>
2025-12-12 13:26:46,079 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'error_bucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:12075', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableAccessPoints': True, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2025-12-12 13:26:46,080 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:12075/error_bucket
2025-12-12 13:26:46,081 - DEBUG - botocore.regions - auth_schemes_to_signing_ctx: Selecting from endpoint provider's list of auth schemes: "sigv4". User selected auth scheme is: "None"
2025-12-12 13:26:46,081 - DEBUG - botocore.regions - auth_schemes_to_signing_ctx: Selected auth type "v4" as "v4" with signing context params: {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}
2025-12-12 13:26:46,082 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_expect_header at 0x7f51af12b410>
2025-12-12 13:26:46,082 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_recursion_detection_header at 0x7f51af129310>
2025-12-12 13:26:46,082 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function inject_api_version_header_if_needed at 0x7f51af150e90>
2025-12-12 13:26:46,082 - DEBUG - botocore.endpoint - make_request: Making request for OperationModel(name=CreateBucket) with params: {'url_path': '', 'query_string': {}, 'method': 'PUT', 'headers': {'x-amz-acl': 'public-write', 'User-Agent': 'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource'}, 'body': b'', 'auth_path': '/error_bucket/', 'url': 'http://localhost:12075/error_bucket', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7f51940525e0>, 'has_streaming_input': False, 'auth_type': 'v4', 's3_redirect': {'redirected': False, 'bucket': 'error_bucket', 'params': {'Bucket': 'error_bucket', 'ACL': 'public-write'}}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}}}
2025-12-12 13:26:46,083 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f5194052fe0>>
2025-12-12 13:26:46,084 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.CreateBucket: calling handler <bound method ClientCreator._default_s3_presign_to_sigv2 of <botocore.client.ClientCreator object at 0x7f51941da630>>
2025-12-12 13:26:46,084 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.CreateBucket: calling handler <function set_operation_specific_signer at 0x7f51af12abd0>
2025-12-12 13:26:46,084 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <function remove_arn_from_signing_path at 0x7f51af1519d0>
2025-12-12 13:26:46,085 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-12-12 13:26:46,085 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
PUT
/error_bucket

host:localhost:12075
x-amz-acl:public-write
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251212T132646Z

host;x-amz-acl;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-12-12 13:26:46,085 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251212T132646Z
20251212/yandex/s3/aws4_request
4ca57b76515016137f4042425a53eb4444a76908661cbb3326cca40d195ca269
2025-12-12 13:26:46,085 - DEBUG - botocore.auth - add_auth: Signature:
1b651853d2a6b99eb1c2138ce6206db20d11a804dc065bd18045e89d4807f07e
2025-12-12 13:26:46,086 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <function add_retry_headers at 0x7f51af151790>
2025-12-12 13:26:46,086 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=PUT, url=http://localhost:12075/error_bucket, headers={'x-amz-acl': b'public-write', 'User-Agent': b'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource', 'X-Amz-Date': b'20251212T132646Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251212/yandex/s3/aws4_request, SignedHeaders=host;x-amz-acl;x-amz-content-sha256;x-amz-date, Signature=1b651853d2a6b99eb1c2138ce6206db20d11a804dc065bd18045e89d4807f07e', 'amz-sdk-invocation-id': b'cd23f982-6362-490a-aa7b-5d80b55350e6', 'amz-sdk-request': b'attempt=1', 'Content-Length': '0'}>
2025-12-12 13:26:46,094 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.9', 'Date': 'Fri, 12 Dec 2025 13:26:46 GMT', 'x-amzn-requestid': 'UxcnRlc2SqVbTaO4Ta4jBnDHbG4yAaMYngA97n3EwBfZkviLSp7E', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '166', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-12-12 13:26:46,094 - DEBUG - botocore.parsers - parse: Response body:
b'<CreateBucketResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01"><CreateBucketResponse><Bucket>error_bucket</Bucket></CreateBucketResponse></CreateBucketResponse>'
2025-12-12 13:26:46,095 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <botocore.retryhandler.RetryHandler object at 0x7f519415ecc0>
2025-12-12 13:26:46,095 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-12-12 13:26:46,096 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f5193345050>>
2025-12-12 13:26:46,096 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': 'UxcnRlc2SqVbTaO4Ta4jBnDHbG4yAaMYngA97n3EwBfZkviLSp7E', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.9', 'date': 'Fri, 12 Dec 2025 13:26:46 GMT', 'x-amzn-requestid': 'UxcnRlc2SqVbTaO4Ta4jBnDHbG4yAaMYngA97n3EwBfZkviLSp7E', 'content-type': 'text/html; charset=utf-8', 'content-length': '166', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}}
2025-12-12 13:26:46,097 - DEBUG - boto3.resources.collection - pages: Calling paginated s3:list_objects with {'Bucket': 'error_bucket'}
2025-12-12 13:26:46,098 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function set_list_objects_encoding_type_url at 0x7f51af150890>
2025-12-12 13:26:46,098 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function validate_bucket_name at 0x7f51af12af90>
2025-12-12 13:26:46,098 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function remove_bucket_from_url_paths_from_model at 0x7f51af151850>
2025-12-12 13:26:46,098 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f5193345050>>
2025-12-12 13:26:46,098 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.ListObjects: calling handler <function generate_idempotent_uuid at 0x7f51af12ad50>
2025-12-12 13:26:46,099 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f51af151a90>
2025-12-12 13:26:46,099 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f5193345050>>
2025-12-12 13:26:46,103 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'error_bucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:12075', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2025-12-12 13:26:46,105 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:12075/error_bucket
2025-12-12 13:26:46,108 - DEBUG - botocore.regions - auth_schemes_to_signing_ctx: Selecting from endpoint provider's list of auth schemes: "sigv4". User selected auth scheme is: "None"
2025-12-12 13:26:46,108 - DEBUG - botocore.regions - auth_schemes_to_signing_ctx: Selected auth type "v4" as "v4" with signing context params: {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}
2025-12-12 13:26:46,109 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_expect_header at 0x7f51af12b410>
2025-12-12 13:26:46,109 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function add_recursion_detection_header at 0x7f51af129310>
2025-12-12 13:26:46,109 - DEBUG - botocore.hooks - _emit: Event before-call.s3.ListObjects: calling handler <function inject_api_version_header_if_needed at 0x7f51af150e90>
2025-12-12 13:26:46,110 - DEBUG - botocore.endpoint - make_request: Making request for OperationModel(name=ListObjects) with params: {'url_path': '', 'query_string': {'encoding-type': 'url'}, 'method': 'GET', 'headers': {'User-Agent': 'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource'}, 'body': b'', 'auth_path': '/error_bucket/', 'url': 'http://localhost:12075/error_bucket?encoding-type=url', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7f51940525e0>, 'has_streaming_input': False, 'auth_type': 'v4', 'encoding_type_auto_set': True, 's3_redirect': {'redirected': False, 'bucket': 'error_bucket', 'params': {'Bucket': 'error_bucket', 'EncodingType': 'url'}}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}}}
2025-12-12 13:26:46,111 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f5194052fe0>>
2025-12-12 13:26:46,111 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.ListObjects: calling handler <bound method ClientCreator._default_s3_presign_to_sigv2 of <botocore.client.ClientCreator object at 0x7f51941da630>>
2025-12-12 13:26:46,111 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.ListObjects: calling handler <function set_operation_specific_signer at 0x7f51af12abd0>
2025-12-12 13:26:46,112 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.ListObjects: calling handler <function remove_arn_from_signing_path at 0x7f51af1519d0>
2025-12-12 13:26:46,112 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-12-12 13:26:46,113 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
GET
/error_bucket
encoding-type=url
host:localhost:12075
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251212T132646Z

host;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-12-12 13:26:46,113 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251212T132646Z
20251212/yandex/s3/aws4_request
863c32f7c98ff75f49559bc90297142b21428c918862a063829f5d7a04ce36ce
2025-12-12 13:26:46,113 - DEBUG - botocore.auth - add_auth: Signature:
ce941009be43cb1a807ab3efc2f9774aee578e99be00a78ea154d2cc7fda1222
2025-12-12 13:26:46,113 - DEBUG - botocore.hooks - _emit: Event request-created.s3.ListObjects: calling handler <function add_retry_headers at 0x7f51af151790>
2025-12-12 13:26:46,114 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=GET, url=http://localhost:12075/error_bucket?encoding-type=url, headers={'User-Agent': b'Boto3/1.29.6 md/Botocore#1.31.80 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.9 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80 Resource', 'X-Amz-Date': b'20251212T132646Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251212/yandex/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=ce941009be43cb1a807ab3efc2f9774aee578e99be00a78ea154d2cc7fda1222', 'amz-sdk-invocation-id': b'17d78626-3d8b-460b-b0e8-dad4c6c7715d', 'amz-sdk-request': b'attempt=1'}>
2025-12-12 13:26:46,121 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.9', 'Date': 'Fri, 12 Dec 2025 13:26:46 GMT', 'x-amzn-requestid': 'iodFLZb6RXZx8rWXxfxcrtiFOkVn0V0u52iqSTtI25oxy8rlsp4u', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '235', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-12-12 13:26:46,121 - DEBUG - botocore.parsers - parse: Response body:
b'<?xml version="1.0" encoding="UTF-8"?><ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>error_bucket</Name><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated></ListBucketResult>'
2025-12-12 13:26:46,123 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <botocore.retryhandler.RetryHandler object at 0x7f519415ecc0>
2025-12-12 13:26:46,123 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-12-12 13:26:46,123 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.ListObjects: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f5193345050>>
2025-12-12 13:26:46,124 - DEBUG - botocore.hooks - _emit: Event after-call.s3.ListObjects: calling handler <function decode_list_object at 0x7f51af150950>
2025-12-12 13:26:46,124 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:ObjectSummary
2025-12-12 13:26:46,125 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming ObjectSummary attribute key
2025-12-12 13:26:46,129 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.ObjectSummary: calling handler <function lazy_call.<locals>._handler at 0x7f51ae4d8c50>
2025-12-12 13:26:46,130 - DEBUG - root - wait_bootstrap: Wait for node 1 to bootstrap
2025-12-12 13:26:46,158 - DEBUG - root - wait_bootstrap: Node 1 has been bootstrapped
2025-12-12 13:26:46,184 - DEBUG - root - create_query_impl: Request: content {
  type: ANALYTICS
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            insert into `h391446261658104826_test_errorebucket`.`json_each_row/` with (format=json_each_row)\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u|>,<|foo:456, bar:\"yyy\"u|>]);\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "599618ec-fe34-4ac1-8bf3-9defa7bf0103"

2025-12-12 13:26:46,204 - DEBUG - root - create_query_impl: Result: query_id: "ptqudq7r4neqg2m8ard9"

2025-12-12 13:26:46,216 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudq7r4neqg2m8ard9"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765546006
        nanos: 189546000
      }
      modified_at {
        seconds: 1765546006
        nanos: 189546000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudq7r4neqetf90m2f-ptqudq7r4neqg2m8ard9"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1765546006
      nanos: 189546000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            insert into `h391446261658104826_test_errorebucket`.`json_each_row/` with (format=json_each_row)\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u|>,<|foo:456, bar:\"yyy\"u|>]);\n            "
    syntax: YQL_V1
  }
}

2025-12-12 13:26:46,740 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-12-12 13:26:47,250 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudq7r4neqg2m8ard9"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765546006
        nanos: 189546000
      }
      modified_at {
        seconds: 1765546006
        nanos: 189546000
      }
      revision: 1
    }
    started_at {
      seconds: 1765546006
      nanos: 975000000
    }
    finished_at {
      seconds: 1765546007
      nanos: 157000000
    }
    execute_mode: RUN
    status: COMPLETED
    last_job_query_revision: 1
    last_job_id: "ptjudq7r4neqetf90m2f-ptqudq7r4neqg2m8ard9"
    result_expire_at {
      seconds: 1765632406
      nanos: 963969000
    }
    started_by: "root@builtin"
    submitted_at {
      seconds: 1765546006
      nanos: 189546000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            insert into `h391446261658104826_test_errorebucket`.`json_each_row/` with (format=json_each_row)\n            select * from AS_TABLE([<|foo:123, bar:\"xxx\"u|>,<|foo:456, bar:\"yyy\"u|>]);\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"AsStruct\"},{\"Name\":\"AsList\"},{\"Name\":\"ToFlow\"},{\"Name\":\"S3SinkOutput\"}]}},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":1}},\"Basic\":{\"nodes\":[{\"id\":3,\"level\":1,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":2,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":3,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"70ms\",\"count\":1,\"avg\":\"70ms\",\"max\":\"70ms\",\"min\":\"70ms\"},\"EgressBytes\":{\"sum\":48,\"count\":1,\"avg\":48,\"max\":48,\"min\":48},\"EgressRows\":{\"sum\":2,\"count\":1,\"avg\":2,\"max\":2,\"min\":2},\"MaxMemoryUsage\":{\"sum\":196608,\"count\":1,\"avg\":196608,\"max\":196608,\"min\":196608},\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0}}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'\"s3\" \'\"h391446261658104826_test_errorebucket\"))\n(let $3 (S3SinkSettings \'\"json_each_row/\" \'(\'(\'\"multipart\" \'\"true\")) (SecureParam \'\"cluster:default_h391446261658104826_test_errorebucket\") \'\".json\" (StructType \'(\'\"bar\" (DataType \'Utf8)) \'(\'\"foo\" (DataType \'Int32)))))\n(return (Commit! (DqQuery! $1 \'((DqStage \'() (lambda \'() (block \'(\n  (let $4 \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\") \'(\'\"file_size_limit\" \'\"52428800\")))\n  (return (S3SinkOutput (ToFlow (AsList (AsStruct \'(\'\"bar\" (Utf8 \'\"xxx\")) \'(\'\"foo\" (Int32 \'\"123\"))) (AsStruct \'(\'\"bar\" (Utf8 \'\"yyy\")) \'(\'\"foo\" (Int32 \'\"456\"))))) \'\"json_each_row\" \'() $4))\n))) \'() \'((DqSink \'0 $2 $3))))) $2))\n)\n"
  }
}

2025-12-12 13:26:47,250 - DEBUG - root - create_query_impl: Request: content {
  type: ANALYTICS
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            select foo, bar from `h391446261658104826_test_errorebucket`.`json_each_row/` with (format=json_each_row, schema(\n                foo Int NOT NULL,\n                bar String NOT NULL\n            ))\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "cbb28cd8-1c9b-4044-8f89-9d6b9b23c4bb"

2025-12-12 13:26:47,270 - DEBUG - root - create_query_impl: Result: query_id: "ptqudq7r4me96ld6elri"

2025-12-12 13:26:47,281 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudq7r4me96ld6elri"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765546007
        nanos: 255840000
      }
      modified_at {
        seconds: 1765546007
        nanos: 255840000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudq7r4me9586ouke4-ptqudq7r4me96ld6elri"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1765546007
      nanos: 255840000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select foo, bar from `h391446261658104826_test_errorebucket`.`json_each_row/` with (format=json_each_row, schema(\n                foo Int NOT NULL,\n                bar String NOT NULL\n            ))\n            "
    syntax: YQL_V1
  }
}

2025-12-12 13:26:47,795 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-12-12 13:26:48,054 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-12 13:26:48,054 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
2025-12-12 13:26:48,060 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-12-12 13:26:48,061 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, b31e45ab-b29b-4b9e-956c-50f765d75dd6, localhost:20303): creating call state
2025-12-12 13:26:48,062 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, b31e45ab-b29b-4b9e-956c-50f765d75dd6, localhost:20303): request = { database: "local" }
2025-12-12 13:26:48,065 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, b31e45ab-b29b-4b9e-956c-50f765d75dd6, localhost:20303): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-qsiocfpt6q.auto.internal" port: 20303 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" service: "view" location: "1" node_id: 1 } self_location: "1" } } } }
2025-12-12 13:26:48,066 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-qsiocfpt6q.auto.internal:20303, location 1, ssl: False>]>
2025-12-12 13:26:48,066 - INFO - ydb.connection - close: Closing channel for endpoint localhost:20303
2025-12-12 13:26:48,316 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudq7r4me96ld6elri"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765546007
        nanos: 255840000
      }
      modified_at {
        seconds: 1765546007
        nanos: 255840000
      }
      revision: 1
    }
    started_at {
      seconds: 1765546007
      nanos: 976000000
    }
    execute_mode: RUN
    status: FAILING
    last_job_query_revision: 1
    last_job_id: "ptjudq7r4me9586ouke4-ptqudq7r4me96ld6elri"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1765546007
      nanos: 255840000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select foo, bar from `h391446261658104826_test_errorebucket`.`json_each_row/` with (format=json_each_row, schema(\n                foo Int NOT NULL,\n                bar String NOT NULL\n            ))\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":2,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":8,\"level\":1,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":2,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":3,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  issue {
    message: "Query failed with code EXTERNAL_ERROR at 2025-12-12T13:26:48.144424Z"
    severity: 1
    issues {
      message: "Error while reading file json_each_row/ptjudq7r4neqetf90m2f_0_jxbXwJ5ge0SAHcLD9ZupshQ4iLGxNlB3.json (appeared 1 time at 2025-12-12T13:26:48.136026Z)"
      severity: 1
      issues {
        message: "HTTP error code: 403"
        severity: 1
      }
    }
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"54ms\",\"count\":2,\"avg\":\"27ms\",\"max\":\"54ms\",\"min\":\"0.00s\"},\"MaxMemoryUsage\":{\"sum\":131072,\"count\":1,\"avg\":131072,\"max\":131072,\"min\":131072},\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0}}}"
  }
  result_set_meta {
    column {
      name: "foo"
      type {
        type_id: INT32
      }
    }
    column {
      name: "bar"
      type {
        type_id: STRING
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 \'\"h391446261658104826_test_errorebucket\")\n(let $4 (DataSource \'\"s3\" $3))\n(let $5 \'\"Paths {\\n  Name: \\\"json_each_row\\\"\\n  Children {\\n    Name: \\\"ptjudq7r4neqetf90m2f_0_jxbXwJ5ge0SAHcLD9ZupshQ4iLGxNlB3.json\\\"\\n    Size: 48\\n    Read: true\\n  }\\n  IsDirectory: true\\n}\\n\")\n(let $6 (Bool \'\"true\"))\n(let $7 (StructType \'(\'\"bar\" (DataType \'String)) \'(\'\"foo\" (DataType \'Int32))))\n(let $8 (S3ParseSettings world \'(\'((String $5) $6 (AsStruct))) (SecureParam \'\"cluster:default_h391446261658104826_test_errorebucket\") \'\"\" \'\"json_each_row/ \" \'\"json_each_row\" $7 (lambda \'($13) $6) \'()))\n(let $9 (DqStage \'((DqSource $4 $8)) (lambda \'($14) (block \'(\n  (let $15 (DqSourceWideWrap $14 $4 $7 \'(\'(\'format \'\"json_each_row\"))))\n  (return (NarrowMap $15 (lambda \'($16 $17) (AsStruct \'(\'\"bar\" $16) \'(\'\"foo\" $17)))))\n))) \'(\'(\'\"_logical_id\" \'200046))))\n(let $10 (DqStage \'((DqCnUnionAll (TDqOutput $9 \'\"0\"))) (lambda \'($18) $18) \'(\'(\'\"_logical_id\" \'200085))))\n(let $11 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"foo\" \'\"bar\"))))\n(let $12 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $10 \'\"0\") \'()) $11 \'\"dq\"))\n(return (Commit! (Commit! $12 $2) (DataSink \'\"s3\" $3)))\n)\n"
  }
}

2025-12-12 13:26:48,828 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-12-12 13:26:49,338 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudq7r4me96ld6elri"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1765546007
        nanos: 255840000
      }
      modified_at {
        seconds: 1765546007
        nanos: 255840000
      }
      revision: 1
    }
    started_at {
      seconds: 1765546007
      nanos: 976000000
    }
    finished_at {
      seconds: 1765546008
      nanos: 980000000
    }
    execute_mode: RUN
    status: FAILED
    last_job_query_revision: 1
    last_job_id: "ptjudq7r4me9586ouke4-ptqudq7r4me96ld6elri"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1765546007
      nanos: 255840000
    }
  }
  content {
    type: ANALYTICS
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            select foo, bar from `h391446261658104826_test_errorebucket`.`json_each_row/` with (format=json_each_row, schema(\n                foo Int NOT NULL,\n                bar String NOT NULL\n            ))\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":2,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":8,\"level\":1,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":2,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":3,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  issue {
    message: "Query failed with code EXTERNAL_ERROR at 2025-12-12T13:26:48.144424Z"
    severity: 1
    issues {
      message: "Error while reading file json_each_row/ptjudq7r4neqetf90m2f_0_jxbXwJ5ge0SAHcLD9ZupshQ4iLGxNlB3.json (appeared 1 time at 2025-12-12T13:26:48.136026Z)"
      severity: 1
      issues {
        message: "HTTP error code: 403"
        severity: 1
      }
    }
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"54ms\",\"count\":2,\"avg\":\"27ms\",\"max\":\"54ms\",\"min\":\"0.00s\"},\"MaxMemoryUsage\":{\"sum\":131072,\"count\":1,\"avg\":131072,\"max\":131072,\"min\":131072},\"IngressQueuedBytes\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":1,\"avg\":0,\"max\":0,\"min\":0}}}"
  }
  result_set_meta {
    column {
      name: "foo"
      type {
        type_id: INT32
      }
    }
    column {
      name: "bar"
      type {
        type_id: STRING
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 \'\"h391446261658104826_test_errorebucket\")\n(let $4 (DataSource \'\"s3\" $3))\n(let $5 \'\"Paths {\\n  Name: \\\"json_each_row\\\"\\n  Children {\\n    Name: \\\"ptjudq7r4neqetf90m2f_0_jxbXwJ5ge0SAHcLD9ZupshQ4iLGxNlB3.json\\\"\\n    Size: 48\\n    Read: true\\n  }\\n  IsDirectory: true\\n}\\n\")\n(let $6 (Bool \'\"true\"))\n(let $7 (StructType \'(\'\"bar\" (DataType \'String)) \'(\'\"foo\" (DataType \'Int32))))\n(let $8 (S3ParseSettings world \'(\'((String $5) $6 (AsStruct))) (SecureParam \'\"cluster:default_h391446261658104826_test_errorebucket\") \'\"\" \'\"json_each_row/ \" \'\"json_each_row\" $7 (lambda \'($13) $6) \'()))\n(let $9 (DqStage \'((DqSource $4 $8)) (lambda \'($14) (block \'(\n  (let $15 (DqSourceWideWrap $14 $4 $7 \'(\'(\'format \'\"json_each_row\"))))\n  (return (NarrowMap $15 (lambda \'($16 $17) (AsStruct \'(\'\"bar\" $16) \'(\'\"foo\" $17)))))\n))) \'(\'(\'\"_logical_id\" \'200046))))\n(let $10 (DqStage \'((DqCnUnionAll (TDqOutput $9 \'\"0\"))) (lambda \'($18) $18) \'(\'(\'\"_logical_id\" \'200085))))\n(let $11 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"foo\" \'\"bar\"))))\n(let $12 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $10 \'\"0\") \'()) $11 \'\"dq\"))\n(return (Commit! (Commit! $12 $2) (DataSink \'\"s3\" $3)))\n)\n"
  }
}

2025-12-12 13:26:49,347 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-12-12 13:26:49,453 - DEBUG - root - control_query: Result: 
2025-12-12 13:26:49,461 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-12-12 13:26:49,463 - INFO - ya.test - pytest_runtest_teardown: Test teardown
