2025-11-14 10:09:48,412 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 10:09:48,412 - INFO - ya.test - pytest_runtest_setup: test_test_s3_connection_uri[v1-client0]
2025-11-14 10:09:48,413 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 10:09:48,413 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-14 10:09:48,518 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_test_connection.py::TestConnection, test_name: test_test_s3_connection_uri[v1-client0])
2025-11-14 10:09:48,519 - DEBUG - botocore.hooks - _emit: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7ff41e920dd0>
2025-11-14 10:09:48,525 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7ff41ea30ad0>
2025-11-14 10:09:48,525 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function lazy_call.<locals>._handler at 0x7ff41e6af890>
2025-11-14 10:09:48,526 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7ff41ea307d0>
2025-11-14 10:09:48,529 - DEBUG - botocore.endpoint - create_endpoint: Setting s3 timeout as (60, 60)
2025-11-14 10:09:48,534 - DEBUG - botocore.client - _register_legacy_retries: Registering retry handlers for service: s3
2025-11-14 10:09:48,535 - DEBUG - botocore.utils - register: Registering S3 region redirector handler
2025-11-14 10:09:48,537 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:s3
2025-11-14 10:09:48,539 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:Bucket
2025-11-14 10:09:48,539 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming Bucket attribute name
2025-11-14 10:09:48,541 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.Bucket: calling handler <function lazy_call.<locals>._handler at 0x7ff402ebc350>
2025-11-14 10:09:48,541 - DEBUG - boto3.resources.action - __call__: Calling s3:create_bucket with {'Bucket': 'testbucket', 'ACL': 'public-read'}
2025-11-14 10:09:48,543 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function validate_bucket_name at 0x7ff41e922c90>
2025-11-14 10:09:48,543 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function remove_bucket_from_url_paths_from_model at 0x7ff41e945550>
2025-11-14 10:09:48,543 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7ff402861eb0>>
2025-11-14 10:09:48,543 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function generate_idempotent_uuid at 0x7ff41e922a50>
2025-11-14 10:09:48,544 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7ff41e945790>
2025-11-14 10:09:48,544 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7ff402861eb0>>
2025-11-14 10:09:48,544 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'testbucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:17462', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableAccessPoints': True, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2025-11-14 10:09:48,546 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:17462/testbucket
2025-11-14 10:09:48,546 - 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-11-14 10:09:48,546 - 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-11-14 10:09:48,547 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_expect_header at 0x7ff41e923110>
2025-11-14 10:09:48,547 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_recursion_detection_header at 0x7ff41e921010>
2025-11-14 10:09:48,548 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function inject_api_version_header_if_needed at 0x7ff41e944b90>
2025-11-14 10:09:48,548 - DEBUG - botocore.endpoint - make_request: Making request for OperationModel(name=CreateBucket) with params: {'url_path': '', 'query_string': {}, 'method': 'PUT', 'headers': {'x-amz-acl': 'public-read', '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': '/testbucket/', 'url': 'http://localhost:17462/testbucket', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7ff41e5dd230>, 'has_streaming_input': False, 'auth_type': 'v4', 's3_redirect': {'redirected': False, 'bucket': 'testbucket', 'params': {'Bucket': 'testbucket', 'ACL': 'public-read'}}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}}}
2025-11-14 10:09:48,548 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7ff41e5de400>>
2025-11-14 10:09:48,549 - 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 0x7ff40282b620>>
2025-11-14 10:09:48,549 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.CreateBucket: calling handler <function set_operation_specific_signer at 0x7ff41e9228d0>
2025-11-14 10:09:48,549 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <function remove_arn_from_signing_path at 0x7ff41e9456d0>
2025-11-14 10:09:48,550 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-14 10:09:48,550 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
PUT
/testbucket

host:localhost:17462
x-amz-acl:public-read
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251114T100948Z

host;x-amz-acl;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-11-14 10:09:48,551 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251114T100948Z
20251114/yandex/s3/aws4_request
c023cec4eb260289cdfd6eddf9083ad1d058dbdc427bc9ea28ba8bd24d5742eb
2025-11-14 10:09:48,551 - DEBUG - botocore.auth - add_auth: Signature:
709a01c9308d3277b36c799ac76e91f8cae80693b9a38704f90b5eb0fcb4af95
2025-11-14 10:09:48,551 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <function add_retry_headers at 0x7ff41e945490>
2025-11-14 10:09:48,552 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=PUT, url=http://localhost:17462/testbucket, headers={'x-amz-acl': b'public-read', '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'20251114T100948Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251114/yandex/s3/aws4_request, SignedHeaders=host;x-amz-acl;x-amz-content-sha256;x-amz-date, Signature=709a01c9308d3277b36c799ac76e91f8cae80693b9a38704f90b5eb0fcb4af95', 'amz-sdk-invocation-id': b'138ef3d8-b550-4f65-be13-475b77d9c9ad', 'amz-sdk-request': b'attempt=1', 'Content-Length': '0'}>
2025-11-14 10:09:48,569 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.9', 'Date': 'Fri, 14 Nov 2025 10:09:48 GMT', 'x-amzn-requestid': 'yAlpHEoGtvysUW6d4izSJPyXkW1JkUwTyebm9BzKUrbbTJgxyzAj', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '164', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-14 10:09:48,570 - DEBUG - botocore.parsers - parse: Response body:
b'<CreateBucketResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01"><CreateBucketResponse><Bucket>testbucket</Bucket></CreateBucketResponse></CreateBucketResponse>'
2025-11-14 10:09:48,571 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <botocore.retryhandler.RetryHandler object at 0x7ff4028739e0>
2025-11-14 10:09:48,571 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-14 10:09:48,571 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7ff402861eb0>>
2025-11-14 10:09:48,572 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': 'yAlpHEoGtvysUW6d4izSJPyXkW1JkUwTyebm9BzKUrbbTJgxyzAj', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.9', 'date': 'Fri, 14 Nov 2025 10:09:48 GMT', 'x-amzn-requestid': 'yAlpHEoGtvysUW6d4izSJPyXkW1JkUwTyebm9BzKUrbbTJgxyzAj', 'content-type': 'text/html; charset=utf-8', 'content-length': '164', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}}
2025-11-14 10:09:48,673 - INFO - ya.test - pytest_runtest_teardown: Test teardown
