2025-11-10 10:14:04,376 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-10 10:14:04,376 - INFO - ya.test - pytest_runtest_setup: test_test_s3_connection_uri[v1-client0]
2025-11-10 10:14:04,376 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-10 10:14:04,377 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-10 10:14:04,477 - 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-10 10:14:04,478 - DEBUG - botocore.hooks - _emit: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7fc9d9949e50>
2025-11-10 10:14:04,481 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7fc9d9a6d610>
2025-11-10 10:14:04,481 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function lazy_call.<locals>._handler at 0x7fc9d9553e90>
2025-11-10 10:14:04,481 - DEBUG - botocore.hooks - _emit: Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7fc9d9a6d310>
2025-11-10 10:14:04,485 - DEBUG - botocore.endpoint - create_endpoint: Setting s3 timeout as (60, 60)
2025-11-10 10:14:04,491 - DEBUG - botocore.client - _register_legacy_retries: Registering retry handlers for service: s3
2025-11-10 10:14:04,492 - DEBUG - botocore.utils - register: Registering S3 region redirector handler
2025-11-10 10:14:04,493 - DEBUG - botocore.utils - register: Registering S3Express Identity Resolver
2025-11-10 10:14:04,494 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:s3
2025-11-10 10:14:04,496 - DEBUG - boto3.resources.factory - load_from_definition: Loading s3:Bucket
2025-11-10 10:14:04,496 - DEBUG - boto3.resources.model - _load_name_with_category: Renaming Bucket attribute name
2025-11-10 10:14:04,498 - DEBUG - botocore.hooks - _emit: Event creating-resource-class.s3.Bucket: calling handler <function lazy_call.<locals>._handler at 0x7fc9d958c950>
2025-11-10 10:14:04,499 - DEBUG - boto3.resources.action - __call__: Calling s3:create_bucket with {'Bucket': 'testbucket', 'ACL': 'public-read'}
2025-11-10 10:14:04,500 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function validate_bucket_name at 0x7fc9d994bd10>
2025-11-10 10:14:04,500 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function remove_bucket_from_url_paths_from_model at 0x7fc9d99765d0>
2025-11-10 10:14:04,500 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7fc9bcd6b300>>
2025-11-10 10:14:04,501 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <bound method ClientCreator._inject_s3_input_parameters of <botocore.client.ClientCreator object at 0x7fc9bc0dae50>>
2025-11-10 10:14:04,501 - DEBUG - botocore.hooks - _emit: Event before-parameter-build.s3.CreateBucket: calling handler <function generate_idempotent_uuid at 0x7fc9d994bad0>
2025-11-10 10:14:04,501 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7fc9d9976810>
2025-11-10 10:14:04,502 - DEBUG - botocore.hooks - _emit: Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7fc9bcd6b300>>
2025-11-10 10:14:04,502 - DEBUG - botocore.regions - construct_endpoint: Calling endpoint provider with parameters: {'Bucket': 'testbucket', 'Region': 'yandex', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:20590', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableAccessPoints': True, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True, 'UseS3ExpressControlEndpoint': True}
2025-11-10 10:14:04,504 - DEBUG - botocore.regions - construct_endpoint: Endpoint provider result: http://localhost:20590/testbucket
2025-11-10 10:14:04,504 - 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-10 10:14:04,504 - 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-10 10:14:04,505 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_expect_header at 0x7fc9d99741d0>
2025-11-10 10:14:04,506 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <bound method S3ExpressIdentityResolver.apply_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7fc9c3129a00>>
2025-11-10 10:14:04,506 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function add_recursion_detection_header at 0x7fc9d994a090>
2025-11-10 10:14:04,506 - DEBUG - botocore.hooks - _emit: Event before-call.s3.CreateBucket: calling handler <function inject_api_version_header_if_needed at 0x7fc9d9975c10>
2025-11-10 10:14:04,506 - 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.34.89 md/Botocore#1.34.89 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.12 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.34.89 Resource'}, 'body': b'', 'auth_path': '/testbucket/', 'url': 'http://localhost:20590/testbucket', 'context': {'client_region': 'yandex', 'client_config': <botocore.config.Config object at 0x7fc9d966c2e0>, 'has_streaming_input': False, 'auth_type': 'v4', 's3_redirect': {'redirected': False, 'bucket': 'testbucket', 'params': {'Bucket': 'testbucket', 'ACL': 'public-read'}}, 'input_params': {'Bucket': 'testbucket'}, 'signing': {'region': 'yandex', 'signing_name': 's3', 'disableDoubleEncoding': True}, 'endpoint_properties': {'authSchemes': [{'disableDoubleEncoding': True, 'name': 'sigv4', 'signingName': 's3', 'signingRegion': 'yandex'}]}}}
2025-11-10 10:14:04,507 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7fc9d966d5f0>>
2025-11-10 10:14:04,508 - 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 0x7fc9bc0dae50>>
2025-11-10 10:14:04,508 - DEBUG - botocore.hooks - _emit: Event choose-signer.s3.CreateBucket: calling handler <function set_operation_specific_signer at 0x7fc9d994b950>
2025-11-10 10:14:04,508 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <function remove_arn_from_signing_path at 0x7fc9d9976750>
2025-11-10 10:14:04,509 - DEBUG - botocore.hooks - _emit: Event before-sign.s3.CreateBucket: calling handler <bound method S3ExpressIdentityResolver.resolve_s3express_identity of <botocore.utils.S3ExpressIdentityResolver object at 0x7fc9c3129a00>>
2025-11-10 10:14:04,509 - DEBUG - botocore.auth - add_auth: Calculating signature using v4 auth.
2025-11-10 10:14:04,509 - DEBUG - botocore.auth - add_auth: CanonicalRequest:
PUT
/testbucket

host:localhost:20590
x-amz-acl:public-read
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20251110T101404Z

host;x-amz-acl;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2025-11-10 10:14:04,510 - DEBUG - botocore.auth - add_auth: StringToSign:
AWS4-HMAC-SHA256
20251110T101404Z
20251110/yandex/s3/aws4_request
02f1f57876041ebafb646ea4abb2c9acbed0a3910a186dc195725e806fe5d343
2025-11-10 10:14:04,510 - DEBUG - botocore.auth - add_auth: Signature:
14b18ccff7fc8923869bcb53ee4f46cd330ac278a7e7b589f27159953f7aa3bc
2025-11-10 10:14:04,510 - DEBUG - botocore.hooks - _emit: Event request-created.s3.CreateBucket: calling handler <function add_retry_headers at 0x7fc9d9976510>
2025-11-10 10:14:04,511 - DEBUG - botocore.endpoint - _do_get_response: Sending http request: <AWSPreparedRequest stream_output=False, method=PUT, url=http://localhost:20590/testbucket, headers={'x-amz-acl': b'public-read', 'User-Agent': b'Boto3/1.34.89 md/Botocore#1.34.89 ua/2.0 os/linux#5.15.0-157-generic md/arch#x86_64 lang/python#3.12.12 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.34.89 Resource', 'X-Amz-Date': b'20251110T101404Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=key/20251110/yandex/s3/aws4_request, SignedHeaders=host;x-amz-acl;x-amz-content-sha256;x-amz-date, Signature=14b18ccff7fc8923869bcb53ee4f46cd330ac278a7e7b589f27159953f7aa3bc', 'amz-sdk-invocation-id': b'74f992a6-6ece-4956-8af1-c3c19d273bbc', 'amz-sdk-request': b'attempt=1', 'Content-Length': '0'}>
2025-11-10 10:14:04,527 - DEBUG - botocore.parsers - parse: Response headers: {'Server': 'Werkzeug/2.2.3 Python/3.12.12', 'Date': 'Mon, 10 Nov 2025 10:14:04 GMT', 'x-amzn-requestid': 'SgoRd3dHS49GqvV6OIN4yxOmVFk33zbnLP9kfWYqqbdKNBF9ocjx', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '164', 'Access-Control-Allow-Origin': '*', 'Connection': 'close'}
2025-11-10 10:14:04,527 - 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-10 10:14:04,529 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <botocore.retryhandler.RetryHandler object at 0x7fc9c3129b40>
2025-11-10 10:14:04,529 - DEBUG - botocore.retryhandler - __call__: No retry needed.
2025-11-10 10:14:04,529 - DEBUG - botocore.hooks - _emit: Event needs-retry.s3.CreateBucket: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7fc9bcd6b300>>
2025-11-10 10:14:04,530 - DEBUG - boto3.resources.action - __call__: Response: {'ResponseMetadata': {'RequestId': 'SgoRd3dHS49GqvV6OIN4yxOmVFk33zbnLP9kfWYqqbdKNBF9ocjx', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Werkzeug/2.2.3 Python/3.12.12', 'date': 'Mon, 10 Nov 2025 10:14:04 GMT', 'x-amzn-requestid': 'SgoRd3dHS49GqvV6OIN4yxOmVFk33zbnLP9kfWYqqbdKNBF9ocjx', 'content-type': 'text/html; charset=utf-8', 'content-length': '164', 'access-control-allow-origin': '*', 'connection': 'close'}, 'RetryAttempts': 0}}
2025-11-10 10:14:04,564 - INFO - ya.test - pytest_runtest_teardown: Test teardown
