Project

General

Profile

Bug #53423 » bucket_list_match.log

Log output from running sts-docs-example-redacted.py - Sam Mesterton-Gibbons, 12/01/2021 11:28 AM

 
DEBUG:botocore.hooks:Changing event name from creating-client-class.iot-data to creating-client-class.iot-data-plane
DEBUG:botocore.hooks:Changing event name from before-call.apigateway to before-call.api-gateway
DEBUG:botocore.hooks:Changing event name from request-created.machinelearning.Predict to request-created.machine-learning.Predict
DEBUG:botocore.hooks:Changing event name from before-parameter-build.autoscaling.CreateLaunchConfiguration to before-parameter-build.auto-scaling.CreateLaunchConfiguration
DEBUG:botocore.hooks:Changing event name from before-parameter-build.route53 to before-parameter-build.route-53
DEBUG:botocore.hooks:Changing event name from request-created.cloudsearchdomain.Search to request-created.cloudsearch-domain.Search
DEBUG:botocore.hooks:Changing event name from docs.*.autoscaling.CreateLaunchConfiguration.complete-section to docs.*.auto-scaling.CreateLaunchConfiguration.complete-section
DEBUG:botocore.hooks:Changing event name from before-parameter-build.logs.CreateExportTask to before-parameter-build.cloudwatch-logs.CreateExportTask
DEBUG:botocore.hooks:Changing event name from docs.*.logs.CreateExportTask.complete-section to docs.*.cloudwatch-logs.CreateExportTask.complete-section
DEBUG:botocore.hooks:Changing event name from before-parameter-build.cloudsearchdomain.Search to before-parameter-build.cloudsearch-domain.Search
DEBUG:botocore.hooks:Changing event name from docs.*.cloudsearchdomain.Search.complete-section to docs.*.cloudsearch-domain.Search.complete-section
DEBUG:botocore.loaders:Loading JSON file: /home/samn/projects/cloudfit/fiddles/.ldv-fiddles/lib/python3.10/site-packages/botocore/data/endpoints.json
DEBUG:botocore.hooks:Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f4406a64160>
DEBUG:botocore.loaders:Loading JSON file: /home/samn/projects/cloudfit/fiddles/.ldv-fiddles/lib/python3.10/site-packages/botocore/data/iam/2010-05-08/service-2.json
DEBUG:botocore.hooks:Event creating-client-class.iam: calling handler <function add_generate_presigned_url at 0x7f4406beecb0>
DEBUG:botocore.regions:Using partition endpoint for iam, RegionOne: aws-global
DEBUG:botocore.endpoint:Setting iam timeout as (60, 60)
DEBUG:botocore.loaders:Loading JSON file: /home/samn/projects/cloudfit/fiddles/.ldv-fiddles/lib/python3.10/site-packages/botocore/data/_retry.json
DEBUG:botocore.client:Registering retry handlers for service: iam
DEBUG:botocore.hooks:Event before-parameter-build.iam.CreateRole: calling handler <function generate_idempotent_uuid at 0x7f4406a67400>
DEBUG:botocore.hooks:Event before-call.iam.CreateRole: calling handler <function inject_api_version_header_if_needed at 0x7f4406a84ca0>
DEBUG:botocore.endpoint:Making request for OperationModel(name=CreateRole) with params: {'url_path': '/', 'query_string': '', 'method': 'POST', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.20.10 Python/3.10.0 Linux/5.4.0-90-generic Botocore/1.23.11'}, 'body': {'Action': 'CreateRole', 'Version': '2010-05-08', 'AssumeRolePolicyDocument': '{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"AWS":["arn:aws:iam::a4c52e22f45b4a0fa3ea3b9a42b35808:root"]},"Action":["sts:AssumeRole"]}]}', 'Path': '/', 'RoleName': 'S3Access'}, 'url': 'https://object.example.com/', 'context': {'client_region': 'RegionOne', 'client_config': <botocore.config.Config object at 0x7f440643f580>, 'has_streaming_input': False, 'auth_type': None}}
DEBUG:botocore.hooks:Event request-created.iam.CreateRole: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f440643f520>>
DEBUG:botocore.hooks:Event choose-signer.iam.CreateRole: calling handler <function set_operation_specific_signer at 0x7f4406a672e0>
DEBUG:botocore.auth:Calculating signature using v4 auth.
DEBUG:botocore.auth:CanonicalRequest:
POST
/

content-type:application/x-www-form-urlencoded; charset=utf-8
host:object.example.com
x-amz-date:20211130T165127Z

content-type;host;x-amz-date
48bf61579b0fa9e5d81876a909157ea5fb71df59a74f0a354f487e0eb77aff7b
DEBUG:botocore.auth:StringToSign:
AWS4-HMAC-SHA256
20211130T165127Z
20211130/RegionOne/iam/aws4_request
a688429e8bcac9435b3dc5016569e4e3f901aa52aca7e1567fb3695411133466
DEBUG:botocore.auth:Signature:
1c3df6289689828ddc1bb1befbfd1e4f0e7f4cee8a179e39e1e15513f88087d4
DEBUG:botocore.endpoint:Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://object.example.com/, headers={'Content-Type': b'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': b'Boto3/1.20.10 Python/3.10.0 Linux/5.4.0-90-generic Botocore/1.23.11', 'X-Amz-Date': b'20211130T165127Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=dad8ab7372f540cb8f18d5a2b5a24226/20211130/RegionOne/iam/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1c3df6289689828ddc1bb1befbfd1e4f0e7f4cee8a179e39e1e15513f88087d4', 'Content-Length': '343'}>
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): object.example.com:443
DEBUG:urllib3.connectionpool:https://object.example.com:443 "POST / HTTP/1.1" 200 775
DEBUG:botocore.parsers:Response headers: {'x-amz-request-id': 'tx0000000000000011d8208-0061a6568f-17252491-default', 'Content-Type': 'application/xml', 'Content-Length': '775', 'Date': 'Tue, 30 Nov 2021 16:51:27 GMT', 'Connection': 'Keep-Alive'}
DEBUG:botocore.parsers:Response body:
b'<CreateRoleResponse><CreateRoleResult><Role><RoleId>d91a3d39-a8c1-48b3-9bcf-1eabfe9d8716</RoleId><RoleName>S3Access</RoleName><Path>/</Path><Arn>arn:aws:iam::b0deaeb043024d5984d6c1701637b910:role/S3Access</Arn><CreateDate>2021-11-30T16:51:27.568Z</CreateDate><MaxSessionDuration>3600</MaxSessionDuration><AssumeRolePolicyDocument>{&quot;Version&quot;:&quot;2012-10-17&quot;,&quot;Statement&quot;:[{&quot;Effect&quot;:&quot;Allow&quot;,&quot;Principal&quot;:{&quot;AWS&quot;:[&quot;arn:aws:iam::a4c52e22f45b4a0fa3ea3b9a42b35808:root&quot;]},&quot;Action&quot;:[&quot;sts:AssumeRole&quot;]}]}</AssumeRolePolicyDocument></Role></CreateRoleResult><ResponseMetadata><RequestId>tx0000000000000011d8208-0061a6568f-17252491-default</RequestId></ResponseMetadata></CreateRoleResponse>'
DEBUG:botocore.hooks:Event needs-retry.iam.CreateRole: calling handler <botocore.retryhandler.RetryHandler object at 0x7f440643fd00>
DEBUG:botocore.retryhandler:No retry needed.
DEBUG:botocore.hooks:Event after-call.iam.CreateRole: calling handler <function json_decode_policies at 0x7f4406a67f40>
DEBUG:botocore.hooks:Event before-parameter-build.iam.PutRolePolicy: calling handler <function generate_idempotent_uuid at 0x7f4406a67400>
DEBUG:botocore.hooks:Event before-call.iam.PutRolePolicy: calling handler <function inject_api_version_header_if_needed at 0x7f4406a84ca0>
DEBUG:botocore.endpoint:Making request for OperationModel(name=PutRolePolicy) with params: {'url_path': '/', 'query_string': '', 'method': 'POST', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.20.10 Python/3.10.0 Linux/5.4.0-90-generic Botocore/1.23.11'}, 'body': {'Action': 'PutRolePolicy', 'Version': '2010-05-08', 'RoleName': 'S3Access', 'PolicyName': 'Policy1', 'PolicyDocument': '{"Version":"2012-10-17","Statement":{"Effect":"Allow","Action":"s3:*","Resource":"*"}}'}, 'url': 'https://object.example.com/', 'context': {'client_region': 'RegionOne', 'client_config': <botocore.config.Config object at 0x7f440643f580>, 'has_streaming_input': False, 'auth_type': None}}
DEBUG:botocore.hooks:Event request-created.iam.PutRolePolicy: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f440643f520>>
DEBUG:botocore.hooks:Event choose-signer.iam.PutRolePolicy: calling handler <function set_operation_specific_signer at 0x7f4406a672e0>
DEBUG:botocore.auth:Calculating signature using v4 auth.
DEBUG:botocore.auth:CanonicalRequest:
POST
/

content-type:application/x-www-form-urlencoded; charset=utf-8
host:object.example.com
x-amz-date:20211130T165127Z

content-type;host;x-amz-date
21270d57adf39cc7d6dca4304ff29043d54300b882497a1e0452c968f4e63382
DEBUG:botocore.auth:StringToSign:
AWS4-HMAC-SHA256
20211130T165127Z
20211130/RegionOne/iam/aws4_request
2ae856d8bcbd2aa708eb44ac7c1f6d4f472c37843a18de66b0fca86348262404
DEBUG:botocore.auth:Signature:
24079218ff76b0e2f8acf4ea67bb5dd8a981f9fcd858500bbd0b1c7e1bc62649
DEBUG:botocore.endpoint:Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://object.example.com/, headers={'Content-Type': b'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': b'Boto3/1.20.10 Python/3.10.0 Linux/5.4.0-90-generic Botocore/1.23.11', 'X-Amz-Date': b'20211130T165127Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=dad8ab7372f540cb8f18d5a2b5a24226/20211130/RegionOne/iam/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=24079218ff76b0e2f8acf4ea67bb5dd8a981f9fcd858500bbd0b1c7e1bc62649', 'Content-Length': '244'}>
DEBUG:urllib3.connectionpool:https://object.example.com:443 "POST / HTTP/1.1" 200 158
DEBUG:botocore.parsers:Response headers: {'x-amz-request-id': 'tx0000000000000011d820a-0061a6568f-17252491-default', 'Content-Type': 'application/xml', 'Content-Length': '158', 'Date': 'Tue, 30 Nov 2021 16:51:27 GMT', 'Connection': 'Keep-Alive'}
DEBUG:botocore.parsers:Response body:
b'<PutRolePolicyResponse><ResponseMetadata><RequestId>tx0000000000000011d820a-0061a6568f-17252491-default</RequestId></ResponseMetadata></PutRolePolicyResponse>'
DEBUG:botocore.hooks:Event needs-retry.iam.PutRolePolicy: calling handler <botocore.retryhandler.RetryHandler object at 0x7f440643fd00>
DEBUG:botocore.retryhandler:No retry needed.
DEBUG:botocore.hooks:Event after-call.iam.PutRolePolicy: calling handler <function json_decode_policies at 0x7f4406a67f40>
DEBUG:botocore.hooks:Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f4406a64160>
DEBUG:botocore.loaders:Loading JSON file: /home/samn/projects/cloudfit/fiddles/.ldv-fiddles/lib/python3.10/site-packages/botocore/data/sts/2011-06-15/service-2.json
DEBUG:botocore.hooks:Event creating-client-class.sts: calling handler <function add_generate_presigned_url at 0x7f4406beecb0>
DEBUG:botocore.regions:Creating a regex based endpoint for sts, RegionOne
DEBUG:botocore.endpoint:Setting sts timeout as (60, 60)
DEBUG:botocore.client:Registering retry handlers for service: sts
DEBUG:botocore.hooks:Event before-parameter-build.sts.AssumeRole: calling handler <function generate_idempotent_uuid at 0x7f4406a67400>
DEBUG:botocore.hooks:Event before-call.sts.AssumeRole: calling handler <function inject_api_version_header_if_needed at 0x7f4406a84ca0>
DEBUG:botocore.endpoint:Making request for OperationModel(name=AssumeRole) with params: {'url_path': '/', 'query_string': '', 'method': 'POST', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.20.10 Python/3.10.0 Linux/5.4.0-90-generic Botocore/1.23.11'}, 'body': {'Action': 'AssumeRole', 'Version': '2011-06-15', 'RoleArn': 'arn:aws:iam::b0deaeb043024d5984d6c1701637b910:role/S3Access', 'RoleSessionName': 'Bob', 'DurationSeconds': 3600}, 'url': 'https://object.example.com/', 'context': {'client_region': 'RegionOne', 'client_config': <botocore.config.Config object at 0x7f44064917b0>, 'has_streaming_input': False, 'auth_type': None}}
DEBUG:botocore.hooks:Event request-created.sts.AssumeRole: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f4406491720>>
DEBUG:botocore.hooks:Event choose-signer.sts.AssumeRole: calling handler <function set_operation_specific_signer at 0x7f4406a672e0>
DEBUG:botocore.auth:Calculating signature using v4 auth.
DEBUG:botocore.auth:CanonicalRequest:
POST
/

content-type:application/x-www-form-urlencoded; charset=utf-8
host:object.example.com
x-amz-date:20211130T165127Z

content-type;host;x-amz-date
5e77f11f4147bac24d50e121f853ffdb2c631f36e33190ffc559b5b0c9d5532c
DEBUG:botocore.auth:StringToSign:
AWS4-HMAC-SHA256
20211130T165127Z
20211130/RegionOne/sts/aws4_request
bb1be4fd3b225c340524a435a36e85acc27430a981179385e02271c2f3124c32
DEBUG:botocore.auth:Signature:
36532671b16575d84aa184247514ab36f14ba2ab6d4b8ef711d45a34705b7773
DEBUG:botocore.endpoint:Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://object.example.com/, headers={'Content-Type': b'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': b'Boto3/1.20.10 Python/3.10.0 Linux/5.4.0-90-generic Botocore/1.23.11', 'X-Amz-Date': b'20211130T165127Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=cace954a19d843c59c573a7827056152/20211130/RegionOne/sts/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=36532671b16575d84aa184247514ab36f14ba2ab6d4b8ef711d45a34705b7773', 'Content-Length': '157'}>
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): object.example.com:443
DEBUG:urllib3.connectionpool:https://object.example.com:443 "POST / HTTP/1.1" 200 941
DEBUG:botocore.parsers:Response headers: {'x-amz-request-id': 'tx00000000000000119992c-0061a6568f-172cb7b9-default', 'Content-Type': 'application/xml', 'Content-Length': '941', 'Date': 'Tue, 30 Nov 2021 16:51:27 GMT', 'Connection': 'Keep-Alive'}
DEBUG:botocore.parsers:Response body:
b'<AssumeRoleResponse><AssumeRoleResult><Credentials><AccessKeyId>3Gai378UvYEOcB3QSis</AccessKeyId><Expiration>2021-11-30T17:51:27.784098831Z</Expiration><SecretAccessKey>VYHUR4LU31UZ52X0OYD3Z9W5WKNR34P1T8JB8P2</SecretAccessKey><SessionToken>zlhStuyAIYG+k31se8XP53GznxWvdXRuSgQ43g0UYVr4Jw+KhNNccu0m112T7G2RUvmIQY4NLRoeFsIUCiahNNCfnN9hLMcjROZ6tkG/oG0WA4w088UWton1BQXZum5c+58Je6r4u8fm9E8J74cXj3JpaqDkkslVWWyxCW71wF/mauMY9D3YnsbVK7k1TXkHn4nfePijr/67gVeTd6VjXqI02Uad9pZOR+A9WJhepqnfq0SrjTg8PRFtZGy+GcYdEhfSI2J+cSdfdD05Yj6t0zQN0QdEQkIG5sxoyI91PTQ1KEOXHPhDZ3PrmvO8920y7pEm+jn9mmL9iup2CtFQ56shIbL9xqss1a6YqN7DySHGVEmPgw9N1KvjNN8iKhn58d7V4qgJE16sInRsseavmw==</SessionToken></Credentials><AssumedRoleUser><Arn>arn:aws:sts::b0deaeb043024d5984d6c1701637b910:assumed-role/S3Access/Bob</Arn><AssumeRoleId>d91a3d39-a8c1-48b3-9bcf-1eabfe9d8716:Bob</AssumeRoleId></AssumedRoleUser><PackedPolicySize>0</PackedPolicySize></AssumeRoleResult></AssumeRoleResponse>'
DEBUG:botocore.hooks:Event needs-retry.sts.AssumeRole: calling handler <botocore.retryhandler.RetryHandler object at 0x7f4406492080>
DEBUG:botocore.retryhandler:No retry needed.
DEBUG:botocore.hooks:Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f4406a64160>
DEBUG:botocore.loaders:Loading JSON file: /home/samn/projects/cloudfit/fiddles/.ldv-fiddles/lib/python3.10/site-packages/botocore/data/s3/2006-03-01/service-2.json
DEBUG:botocore.hooks:Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f4406beeef0>
DEBUG:botocore.hooks:Event creating-client-class.s3: calling handler <function lazy_call.<locals>._handler at 0x7f4406ae7e20>
DEBUG:botocore.hooks:Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f4406beecb0>
DEBUG:botocore.regions:Creating a regex based endpoint for s3, RegionOne
DEBUG:botocore.endpoint:Setting s3 timeout as (60, 60)
DEBUG:botocore.client:Registering retry handlers for service: s3
DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler <function validate_bucket_name at 0x7f4406a675b0>
DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler <bound method S3RegionRedirector.redirect_from_cache of <botocore.utils.S3RegionRedirector object at 0x7f44061bf160>>
DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler <bound method S3ArnParamHandler.handle_arn of <botocore.utils.S3ArnParamHandler object at 0x7f44061bf130>>
DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler <function generate_idempotent_uuid at 0x7f4406a67400>
DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler <function add_expect_header at 0x7f4406a67910>
DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler <bound method S3RegionRedirector.set_request_url of <botocore.utils.S3RegionRedirector object at 0x7f44061bf160>>
DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler <function inject_api_version_header_if_needed at 0x7f4406a84ca0>
DEBUG:botocore.endpoint:Making request for OperationModel(name=ListBuckets) with params: {'url_path': '/', 'query_string': '', 'method': 'GET', 'headers': {'User-Agent': 'Boto3/1.20.10 Python/3.10.0 Linux/5.4.0-90-generic Botocore/1.23.11'}, 'body': b'', 'url': 'https://object.example.com/', 'context': {'client_region': 'RegionOne', 'client_config': <botocore.config.Config object at 0x7f4406040d90>, 'has_streaming_input': False, 'auth_type': None, 'signing': {'bucket': None}}}
DEBUG:botocore.hooks:Event request-created.s3.ListBuckets: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f44060407c0>>
DEBUG:botocore.hooks:Event choose-signer.s3.ListBuckets: calling handler <bound method S3EndpointSetter.set_signer of <botocore.utils.S3EndpointSetter object at 0x7f44061bf250>>
DEBUG:botocore.hooks:Event choose-signer.s3.ListBuckets: calling handler <function set_operation_specific_signer at 0x7f4406a672e0>
DEBUG:botocore.hooks:Event before-sign.s3.ListBuckets: calling handler <bound method S3EndpointSetter.set_endpoint of <botocore.utils.S3EndpointSetter object at 0x7f44061bf250>>
DEBUG:botocore.utils:Using S3 path style addressing.
DEBUG:botocore.auth:Calculating signature using v4 auth.
DEBUG:botocore.auth:CanonicalRequest:
GET
/

host:object.example.com
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20211130T165127Z
x-amz-security-token:zlhStuyAIYG+k31se8XP53GznxWvdXRuSgQ43g0UYVr4Jw+KhNNccu0m112T7G2RUvmIQY4NLRoeFsIUCiahNNCfnN9hLMcjROZ6tkG/oG0WA4w088UWton1BQXZum5c+58Je6r4u8fm9E8J74cXj3JpaqDkkslVWWyxCW71wF/mauMY9D3YnsbVK7k1TXkHn4nfePijr/67gVeTd6VjXqI02Uad9pZOR+A9WJhepqnfq0SrjTg8PRFtZGy+GcYdEhfSI2J+cSdfdD05Yj6t0zQN0QdEQkIG5sxoyI91PTQ1KEOXHPhDZ3PrmvO8920y7pEm+jn9mmL9iup2CtFQ56shIbL9xqss1a6YqN7DySHGVEmPgw9N1KvjNN8iKhn58d7V4qgJE16sInRsseavmw==

host;x-amz-content-sha256;x-amz-date;x-amz-security-token
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
DEBUG:botocore.auth:StringToSign:
AWS4-HMAC-SHA256
20211130T165127Z
20211130/RegionOne/s3/aws4_request
1193f894ae2f20622236d55ceed31a3030fe62e6a0397ce42a20a33be2ac45a6
DEBUG:botocore.auth:Signature:
c7152bf16bfa16a97f5e7fedbe9ebc701603f3b661b8267694861c14a6c0e387
DEBUG:botocore.endpoint:Sending http request: <AWSPreparedRequest stream_output=False, method=GET, url=https://object.example.com/, headers={'User-Agent': b'Boto3/1.20.10 Python/3.10.0 Linux/5.4.0-90-generic Botocore/1.23.11', 'X-Amz-Date': b'20211130T165127Z', 'X-Amz-Security-Token': b'zlhStuyAIYG+k31se8XP53GznxWvdXRuSgQ43g0UYVr4Jw+KhNNccu0m112T7G2RUvmIQY4NLRoeFsIUCiahNNCfnN9hLMcjROZ6tkG/oG0WA4w088UWton1BQXZum5c+58Je6r4u8fm9E8J74cXj3JpaqDkkslVWWyxCW71wF/mauMY9D3YnsbVK7k1TXkHn4nfePijr/67gVeTd6VjXqI02Uad9pZOR+A9WJhepqnfq0SrjTg8PRFtZGy+GcYdEhfSI2J+cSdfdD05Yj6t0zQN0QdEQkIG5sxoyI91PTQ1KEOXHPhDZ3PrmvO8920y7pEm+jn9mmL9iup2CtFQ56shIbL9xqss1a6YqN7DySHGVEmPgw9N1KvjNN8iKhn58d7V4qgJE16sInRsseavmw==', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=3Gai378UvYEOcB3QSis/20211130/RegionOne/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-amz-security-token, Signature=c7152bf16bfa16a97f5e7fedbe9ebc701603f3b661b8267694861c14a6c0e387'}>
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): object.example.com:443
DEBUG:urllib3.connectionpool:https://object.example.com:443 "GET / HTTP/1.1" 200 None
DEBUG:botocore.parsers:Response headers: {'Transfer-Encoding': 'chunked', 'x-amz-request-id': 'tx0000000000000011d820b-0061a6568f-17252491-default', 'Content-Type': 'application/xml', 'Date': 'Tue, 30 Nov 2021 16:51:27 GMT', 'Connection': 'Keep-Alive'}
DEBUG:botocore.parsers:Response body:
b'<?xml version="1.0" encoding="UTF-8"?><ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>a4c52e22f45b4a0fa3ea3b9a42b35808$a4c52e22f45b4a0fa3ea3b9a42b35808</ID><DisplayName></DisplayName></Owner><Buckets><Bucket><Name>my-bucket-2</Name><CreationDate>2021-11-29T11:20:02.867Z</CreationDate></Bucket><Bucket><Name>squirrel-live-059ab4cd-71cc-5fd5-a70e-8a2c7600571d</Name><CreationDate>2021-04-27T09:53:14.572Z</CreationDate></Bucket><Bucket><Name>squirrel-live-19a61a7d-3730-5449-a081-4b0eecdcb629</Name><CreationDate>2021-04-27T14:48:31.516Z</CreationDate></Bucket><Bucket><Name>squirrel-live-287cf11d-69a0-5734-836b-d17ae2c9a791</Name><CreationDate>2021-07-02T15:54:07.224Z</CreationDate></Bucket></Buckets></ListAllMyBucketsResult>'
DEBUG:botocore.hooks:Event needs-retry.s3.ListBuckets: calling handler <botocore.retryhandler.RetryHandler object at 0x7f44061bf0a0>
DEBUG:botocore.retryhandler:No retry needed.
DEBUG:botocore.hooks:Event needs-retry.s3.ListBuckets: calling handler <bound method S3RegionRedirector.redirect_from_error of <botocore.utils.S3RegionRedirector object at 0x7f44061bf160>>
DEBUG:botocore.hooks:Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f4406a64160>
DEBUG:botocore.hooks:Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f4406beeef0>
DEBUG:botocore.hooks:Event creating-client-class.s3: calling handler <function lazy_call.<locals>._handler at 0x7f4406ae7e20>
DEBUG:botocore.hooks:Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f4406beecb0>
DEBUG:botocore.regions:Creating a regex based endpoint for s3, RegionOne
DEBUG:botocore.endpoint:Setting s3 timeout as (60, 60)
DEBUG:botocore.client:Registering retry handlers for service: s3
DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler <function validate_bucket_name at 0x7f4406a675b0>
DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler <bound method S3RegionRedirector.redirect_from_cache of <botocore.utils.S3RegionRedirector object at 0x7f4405f05660>>
DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler <bound method S3ArnParamHandler.handle_arn of <botocore.utils.S3ArnParamHandler object at 0x7f4405f05630>>
DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler <function generate_idempotent_uuid at 0x7f4406a67400>
DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler <function add_expect_header at 0x7f4406a67910>
DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler <bound method S3RegionRedirector.set_request_url of <botocore.utils.S3RegionRedirector object at 0x7f4405f05660>>
DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler <function inject_api_version_header_if_needed at 0x7f4406a84ca0>
DEBUG:botocore.endpoint:Making request for OperationModel(name=ListBuckets) with params: {'url_path': '/', 'query_string': '', 'method': 'GET', 'headers': {'User-Agent': 'Boto3/1.20.10 Python/3.10.0 Linux/5.4.0-90-generic Botocore/1.23.11'}, 'body': b'', 'url': 'https://object.example.com/', 'context': {'client_region': 'RegionOne', 'client_config': <botocore.config.Config object at 0x7f4405f04b80>, 'has_streaming_input': False, 'auth_type': None, 'signing': {'bucket': None}}}
DEBUG:botocore.hooks:Event request-created.s3.ListBuckets: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f4405f04af0>>
DEBUG:botocore.hooks:Event choose-signer.s3.ListBuckets: calling handler <bound method S3EndpointSetter.set_signer of <botocore.utils.S3EndpointSetter object at 0x7f4405f05750>>
DEBUG:botocore.hooks:Event choose-signer.s3.ListBuckets: calling handler <function set_operation_specific_signer at 0x7f4406a672e0>
DEBUG:botocore.hooks:Event before-sign.s3.ListBuckets: calling handler <bound method S3EndpointSetter.set_endpoint of <botocore.utils.S3EndpointSetter object at 0x7f4405f05750>>
DEBUG:botocore.utils:Using S3 path style addressing.
DEBUG:botocore.auth:Calculating signature using v4 auth.
DEBUG:botocore.auth:CanonicalRequest:
GET
/

host:object.example.com
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20211130T165127Z

host;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
DEBUG:botocore.auth:StringToSign:
AWS4-HMAC-SHA256
20211130T165127Z
20211130/RegionOne/s3/aws4_request
a642c40d392008230f2a13e593ca1b103d205ccc15f326231513f0f15d5c72df
DEBUG:botocore.auth:Signature:
b20a9b8db916c86dd122cf33613402fba903dd79a2dfd40788c5fc20d967fff5
DEBUG:botocore.endpoint:Sending http request: <AWSPreparedRequest stream_output=False, method=GET, url=https://object.example.com/, headers={'User-Agent': b'Boto3/1.20.10 Python/3.10.0 Linux/5.4.0-90-generic Botocore/1.23.11', 'X-Amz-Date': b'20211130T165127Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=dad8ab7372f540cb8f18d5a2b5a24226/20211130/RegionOne/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=b20a9b8db916c86dd122cf33613402fba903dd79a2dfd40788c5fc20d967fff5'}>
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): object.example.com:443
DEBUG:urllib3.connectionpool:https://object.example.com:443 "GET / HTTP/1.1" 200 None
DEBUG:botocore.parsers:Response headers: {'Transfer-Encoding': 'chunked', 'x-amz-request-id': 'tx0000000000000011c7944-0061a6568f-17271e13-default', 'Content-Type': 'application/xml', 'Date': 'Tue, 30 Nov 2021 16:51:27 GMT', 'Connection': 'Keep-Alive'}
DEBUG:botocore.parsers:Response body:
b'<?xml version="1.0" encoding="UTF-8"?><ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>b0deaeb043024d5984d6c1701637b910$b0deaeb043024d5984d6c1701637b910</ID><DisplayName>nichos24_project</DisplayName></Owner><Buckets><Bucket><Name>core-infra-state</Name><CreationDate>2020-10-23T22:06:18.269Z</CreationDate></Bucket><Bucket><Name>core-infra-state-archive</Name><CreationDate>2020-10-23T22:06:18.241Z</CreationDate></Bucket><Bucket><Name>cross-account-poc</Name><CreationDate>2021-11-23T17:39:39.097Z</CreationDate></Bucket><Bucket><Name>terraform-state</Name><CreationDate>2020-10-23T22:21:20.083Z</CreationDate></Bucket><Bucket><Name>terraform-state-archive</Name><CreationDate>2020-10-23T22:21:20.060Z</CreationDate></Bucket></Buckets></ListAllMyBucketsResult>'
DEBUG:botocore.hooks:Event needs-retry.s3.ListBuckets: calling handler <botocore.retryhandler.RetryHandler object at 0x7f4405f055a0>
DEBUG:botocore.retryhandler:No retry needed.
DEBUG:botocore.hooks:Event needs-retry.s3.ListBuckets: calling handler <bound method S3RegionRedirector.redirect_from_error of <botocore.utils.S3RegionRedirector object at 0x7f4405f05660>>
Traceback (most recent call last):
File "/home/samn/projects/cloudfit/fiddles/sts-docs-example.py", line 62, in <module>
assert(bucket_list == bucket_list_2)
AssertionError
(2-2/2)