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 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 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 DEBUG:botocore.hooks:Event before-call.iam.CreateRole: calling handler 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': , 'has_streaming_input': False, 'auth_type': None}} DEBUG:botocore.hooks:Event request-created.iam.CreateRole: calling handler > DEBUG:botocore.hooks:Event choose-signer.iam.CreateRole: calling handler 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: 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'd91a3d39-a8c1-48b3-9bcf-1eabfe9d8716S3Access/arn:aws:iam::b0deaeb043024d5984d6c1701637b910:role/S3Access2021-11-30T16:51:27.568Z3600{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"AWS":["arn:aws:iam::a4c52e22f45b4a0fa3ea3b9a42b35808:root"]},"Action":["sts:AssumeRole"]}]}tx0000000000000011d8208-0061a6568f-17252491-default' DEBUG:botocore.hooks:Event needs-retry.iam.CreateRole: calling handler DEBUG:botocore.retryhandler:No retry needed. DEBUG:botocore.hooks:Event after-call.iam.CreateRole: calling handler DEBUG:botocore.hooks:Event before-parameter-build.iam.PutRolePolicy: calling handler DEBUG:botocore.hooks:Event before-call.iam.PutRolePolicy: calling handler 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': , 'has_streaming_input': False, 'auth_type': None}} DEBUG:botocore.hooks:Event request-created.iam.PutRolePolicy: calling handler > DEBUG:botocore.hooks:Event choose-signer.iam.PutRolePolicy: calling handler 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: 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'tx0000000000000011d820a-0061a6568f-17252491-default' DEBUG:botocore.hooks:Event needs-retry.iam.PutRolePolicy: calling handler DEBUG:botocore.retryhandler:No retry needed. DEBUG:botocore.hooks:Event after-call.iam.PutRolePolicy: calling handler DEBUG:botocore.hooks:Event choose-service-name: calling handler 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 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 DEBUG:botocore.hooks:Event before-call.sts.AssumeRole: calling handler 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': , 'has_streaming_input': False, 'auth_type': None}} DEBUG:botocore.hooks:Event request-created.sts.AssumeRole: calling handler > DEBUG:botocore.hooks:Event choose-signer.sts.AssumeRole: calling handler 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: 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'3Gai378UvYEOcB3QSis2021-11-30T17:51:27.784098831ZVYHUR4LU31UZ52X0OYD3Z9W5WKNR34P1T8JB8P2zlhStuyAIYG+k31se8XP53GznxWvdXRuSgQ43g0UYVr4Jw+KhNNccu0m112T7G2RUvmIQY4NLRoeFsIUCiahNNCfnN9hLMcjROZ6tkG/oG0WA4w088UWton1BQXZum5c+58Je6r4u8fm9E8J74cXj3JpaqDkkslVWWyxCW71wF/mauMY9D3YnsbVK7k1TXkHn4nfePijr/67gVeTd6VjXqI02Uad9pZOR+A9WJhepqnfq0SrjTg8PRFtZGy+GcYdEhfSI2J+cSdfdD05Yj6t0zQN0QdEQkIG5sxoyI91PTQ1KEOXHPhDZ3PrmvO8920y7pEm+jn9mmL9iup2CtFQ56shIbL9xqss1a6YqN7DySHGVEmPgw9N1KvjNN8iKhn58d7V4qgJE16sInRsseavmw==arn:aws:sts::b0deaeb043024d5984d6c1701637b910:assumed-role/S3Access/Bobd91a3d39-a8c1-48b3-9bcf-1eabfe9d8716:Bob0' DEBUG:botocore.hooks:Event needs-retry.sts.AssumeRole: calling handler DEBUG:botocore.retryhandler:No retry needed. DEBUG:botocore.hooks:Event choose-service-name: calling handler 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 DEBUG:botocore.hooks:Event creating-client-class.s3: calling handler ._handler at 0x7f4406ae7e20> DEBUG:botocore.hooks:Event creating-client-class.s3: calling handler 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 DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler > DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler > DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler > DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler 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': , 'has_streaming_input': False, 'auth_type': None, 'signing': {'bucket': None}}} DEBUG:botocore.hooks:Event request-created.s3.ListBuckets: calling handler > DEBUG:botocore.hooks:Event choose-signer.s3.ListBuckets: calling handler > DEBUG:botocore.hooks:Event choose-signer.s3.ListBuckets: calling handler DEBUG:botocore.hooks:Event before-sign.s3.ListBuckets: calling handler > 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: 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'a4c52e22f45b4a0fa3ea3b9a42b35808$a4c52e22f45b4a0fa3ea3b9a42b35808my-bucket-22021-11-29T11:20:02.867Zsquirrel-live-059ab4cd-71cc-5fd5-a70e-8a2c7600571d2021-04-27T09:53:14.572Zsquirrel-live-19a61a7d-3730-5449-a081-4b0eecdcb6292021-04-27T14:48:31.516Zsquirrel-live-287cf11d-69a0-5734-836b-d17ae2c9a7912021-07-02T15:54:07.224Z' DEBUG:botocore.hooks:Event needs-retry.s3.ListBuckets: calling handler DEBUG:botocore.retryhandler:No retry needed. DEBUG:botocore.hooks:Event needs-retry.s3.ListBuckets: calling handler > DEBUG:botocore.hooks:Event choose-service-name: calling handler DEBUG:botocore.hooks:Event creating-client-class.s3: calling handler DEBUG:botocore.hooks:Event creating-client-class.s3: calling handler ._handler at 0x7f4406ae7e20> DEBUG:botocore.hooks:Event creating-client-class.s3: calling handler 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 DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler > DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler > DEBUG:botocore.hooks:Event before-parameter-build.s3.ListBuckets: calling handler DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler > DEBUG:botocore.hooks:Event before-call.s3.ListBuckets: calling handler 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': , 'has_streaming_input': False, 'auth_type': None, 'signing': {'bucket': None}}} DEBUG:botocore.hooks:Event request-created.s3.ListBuckets: calling handler > DEBUG:botocore.hooks:Event choose-signer.s3.ListBuckets: calling handler > DEBUG:botocore.hooks:Event choose-signer.s3.ListBuckets: calling handler DEBUG:botocore.hooks:Event before-sign.s3.ListBuckets: calling handler > 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: 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'b0deaeb043024d5984d6c1701637b910$b0deaeb043024d5984d6c1701637b910nichos24_projectcore-infra-state2020-10-23T22:06:18.269Zcore-infra-state-archive2020-10-23T22:06:18.241Zcross-account-poc2021-11-23T17:39:39.097Zterraform-state2020-10-23T22:21:20.083Zterraform-state-archive2020-10-23T22:21:20.060Z' DEBUG:botocore.hooks:Event needs-retry.s3.ListBuckets: calling handler DEBUG:botocore.retryhandler:No retry needed. DEBUG:botocore.hooks:Event needs-retry.s3.ListBuckets: calling handler > Traceback (most recent call last): File "/home/samn/projects/cloudfit/fiddles/sts-docs-example.py", line 62, in assert(bucket_list == bucket_list_2) AssertionError