Skip to content

Instantly share code, notes, and snippets.

@saurabh-hirani
Last active June 19, 2020 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabh-hirani/85f658f2be92ea3772c459e815b195ff to your computer and use it in GitHub Desktop.
Save saurabh-hirani/85f658f2be92ea3772c459e815b195ff to your computer and use it in GitHub Desktop.
ignore-errors-test-output.md
@saurabh-hirani
Copy link
Author

=== RUN   TestNukeAllResources
=== PAUSE TestNukeAllResources
=== CONT  TestNukeAllResources
=== RUN   TestNukeAllResources/AllPerms
time="2020-06-19T21:44:34+05:30" level=debug msg="Bucket: cloud-nuke-test-clcupkefszwm - creating"
time="2020-06-19T21:44:37+05:30" level=debug msg="Created test s3 - cloud-nuke-test-clcupkefszwm"
time="2020-06-19T21:44:57+05:30" level=debug msg="Created test ec2 - cloud-nuke-test-era7XG"
time="2020-06-19T21:44:57+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:44:59+05:30" level=debug msg="S3 - creating session - region us-east-1"
time="2020-06-19T21:44:59+05:30" level=info msg="Getting - 1-2 buckets of batch 1/1"
time="2020-06-19T21:45:00+05:30" level=debug msg="Expected: GetAllResources passed"
time="2020-06-19T21:45:00+05:30" level=debug msg="region - us-east-1 resourcetype - ec2 resourceIdentifiers - [i-0feccc4139cf69cc3]"
time="2020-06-19T21:45:00+05:30" level=debug msg="Expected: Post get check: ec2 exists"
time="2020-06-19T21:45:00+05:30" level=debug msg="region - us-east-1 resourcetype - s3 resourceIdentifiers - [cloud-nuke-test-0ajmpap5flma cloud-nuke-test-clcupkefszwm]"
time="2020-06-19T21:45:00+05:30" level=debug msg="Expected: Post get check: s3 exists"
time="2020-06-19T21:45:00+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:45:00+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:45:00+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-clcupkefszwm"
time="2020-06-19T21:45:01+05:30" level=info msg="Bucket: cloud-nuke-test-clcupkefszwm - empty - skipping object deletion"
time="2020-06-19T21:45:02+05:30" level=info msg="[OK] - 1/1 - Bucket: cloud-nuke-test-clcupkefszwm - deleted"
time="2020-06-19T21:45:02+05:30" level=info msg="[OK] - 1/1 - S3 bucket(s) deleted in us-east-1"
time="2020-06-19T21:45:02+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:45:02+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-0feccc4139cf69cc3]"
time="2020-06-19T21:45:02+05:30" level=info msg="[OK] triggered termination of 1 instance(s) in us-east-1"
time="2020-06-19T21:45:02+05:30" level=debug msg="Expected: NukeAllResources passed"
time="2020-06-19T21:45:02+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:45:03+05:30" level=debug msg="S3 - creating session - region us-east-1"
time="2020-06-19T21:45:03+05:30" level=info msg="Getting - 1-1 buckets of batch 1/1"
time="2020-06-19T21:45:03+05:30" level=debug msg="Expected: GetAllResources passed"
time="2020-06-19T21:45:03+05:30" level=debug msg="region - us-east-1 resourcetype - s3 resourceIdentifiers - [cloud-nuke-test-0ajmpap5flma]"
time="2020-06-19T21:45:03+05:30" level=debug msg="Expected: Post nuke check - ec2 deleted"
time="2020-06-19T21:45:03+05:30" level=debug msg="Expected: Post nuke check - s3 deleted"
time="2020-06-19T21:45:03+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:45:03+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:45:03+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-clcupkefszwm"
time="2020-06-19T21:45:04+05:30" level=error msg="[Failed] - 1/1 - Bucket: cloud-nuke-test-clcupkefszwm - object deletion error - NoSuchBucket: The specified bucket does not exist\n\tstatus code: 404, request id: DA22E883EAEDDD21, host id: NumZf44Okfh76lGWAZdPPw2r03u7EydujMIo5SQrw6iqjfIa/HdLzPywW+AIlQ0CFgSJszZNsPc="
time="2020-06-19T21:45:04+05:30" level=error msg="[Failed] - 1/1 - S3 bucket(s) failed deletion in us-east-1"
time="2020-06-19T21:45:04+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:45:04+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-0feccc4139cf69cc3]"
time="2020-06-19T21:45:04+05:30" level=info msg="[OK] triggered termination of 1 instance(s) in us-east-1"
=== RUN   TestNukeAllResources/NoPerms
time="2020-06-19T21:45:06+05:30" level=debug msg="Created test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-1-noperms"
time="2020-06-19T21:45:06+05:30" level=debug msg="Bucket: cloud-nuke-test-zwf2a0uss4wu - creating"
time="2020-06-19T21:45:08+05:30" level=debug msg="Created test s3 - cloud-nuke-test-zwf2a0uss4wu"
time="2020-06-19T21:45:27+05:30" level=debug msg="Created test ec2 - cloud-nuke-test-AyyZ3n"
time="2020-06-19T21:45:27+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:45:28+05:30" level=debug msg="Expected: GetAllResources failed"
time="2020-06-19T21:45:28+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:45:28+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:45:28+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-zwf2a0uss4wu"
time="2020-06-19T21:45:29+05:30" level=info msg="Bucket: cloud-nuke-test-zwf2a0uss4wu - empty - skipping object deletion"
time="2020-06-19T21:47:10+05:30" level=error msg="[Failed] - 1/1 - Bucket: cloud-nuke-test-zwf2a0uss4wu - bucket deletion error - ResourceNotReady: exceeded wait attempts"
time="2020-06-19T21:47:10+05:30" level=error msg="[Failed] - 1/1 - S3 bucket(s) failed deletion in us-east-1"
time="2020-06-19T21:47:10+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:47:10+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-024d3432987ec07eb]"
time="2020-06-19T21:47:12+05:30" level=info msg="[OK] triggered termination of 1 instance(s) in us-east-1"
time="2020-06-19T21:47:14+05:30" level=debug msg="Deleted test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-1-noperms"
=== RUN   TestNukeAllResources/NoPermsIgnoreErrors
time="2020-06-19T21:47:15+05:30" level=debug msg="Created test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-2-noperms"
time="2020-06-19T21:47:15+05:30" level=debug msg="Bucket: cloud-nuke-test-fihy9d0mufz0 - creating"
time="2020-06-19T21:47:18+05:30" level=debug msg="Created test s3 - cloud-nuke-test-fihy9d0mufz0"
time="2020-06-19T21:47:38+05:30" level=debug msg="Created test ec2 - cloud-nuke-test-dklenN"
time="2020-06-19T21:47:38+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:47:39+05:30" level=warning msg="Ignoring get resources error - ec2 - UnauthorizedOperation: You are not authorized to perform this operation.\n\tstatus code: 403, request id: b4da1df2-a9ff-45d9-9c80-1e301b0baee1"
time="2020-06-19T21:47:40+05:30" level=warning msg="Ignoring get resources error - s3 - AccessDenied: Access Denied\n\tstatus code: 403, request id: B512192E6F1C3C3E, host id: ZY5rVBT9x6lb7G8xuUO98lWCcdlodpxrKELqpseIU/iWplfEwYqw3LRO6rzbgJ1QH+ekspiSvgY="
time="2020-06-19T21:47:40+05:30" level=debug msg="Expected: GetAllResources passed"
time="2020-06-19T21:47:40+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:47:40+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:47:40+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-fihy9d0mufz0"
time="2020-06-19T21:47:41+05:30" level=error msg="[Failed] - 1/1 - Bucket: cloud-nuke-test-fihy9d0mufz0 - object deletion error - AccessDenied: Access Denied\n\tstatus code: 403, request id: 1F4834F0674176F0, host id: LNeNC6qxzvZmlWx4nsE2/kWfB1FNaPcPeWJKUup3CSflE4CQXvOlPDvMSW6zeRX9FACEuNpXnDM="
time="2020-06-19T21:47:41+05:30" level=error msg="[Failed] - 1/1 - S3 bucket(s) failed deletion in us-east-1"
time="2020-06-19T21:47:41+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:47:41+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-0a7d6e68d8064db51]"
time="2020-06-19T21:47:42+05:30" level=error msg="[Failed] UnauthorizedOperation: You are not authorized to perform this operation. Encoded authorization failure message: 8l1I_Rz1fhEopZv1kur_zXK2wFJmtp4sOY0TWpNu4ztixR1G-POPFdfUKb41SXyWuTyOc913ScW7uTO0IAKtDIg9RqaqnjeUjcolIWFoe28oukxpoCD6r2imZ62SkM3rtUWJYcfSUVRdzFbTaFMBJt5LdJ35iVO7Dhobxa70WqQQZelIrC08Tu97lBp62YHVhmfsJvXWdlDTe6O11HGG1sk-eeqLb6E6RR4POosIN9cAsT8fPxBie4XAAwP7h-GxsH4thrzcgRywgDqPv1spFesFWk1jSsVDMP5o9vhNSgmOmbFRYGkNdccNzft9RlqhqbQBiSOjI-Yid8Ch3Lj7byW53Sp-mtZg29mfWLosjIWiUrBbmYzKSuKZRHsY-d0gCANAL-EcQBFCeQnRhM_SeAN5bak51kz1vXqBU4hnDyRYpnmFOvcaiikQx4yVUnRA2wu7oZzkdlKuB062C_XQ5Aam_00bnXEZGuj25mphwDATahCVQZxy_ik7lGNWfs-5t6h7_Zb7bbryDpOfWwBWbOzyE6pyYarg2mMrKAc1qSx6gCGYD6s_pQCnv_4QDibbDeVsXKomFhCOr1egFkMb3izrSfagN1K2F1xlTcv6Dm_Bn1Kwtvb8tsu49GcsRa1o-kvZ1ApMpUU2iybVs3Pxp1nTEp7537MGdv78R-0QhAm0O3kLLpiwkAqI-mDirkdgjBUJoX3udVAUNqNmybsTOy7EmZzJy8lrXRY95WWddEUG_Ci85zEZgRUNsM3_98TqzdUuDDb5biWUv8dU0ph6FUQjpWkiZDib9yupBd4Z-240O1GR1O68so8Y\n\tstatus code: 403, request id: 3a8b7f33-3066-4352-804d-cd54b58e005d"
time="2020-06-19T21:47:42+05:30" level=warning msg="Ignoring nuke resources error - ec2 - UnauthorizedOperation: You are not authorized to perform this operation. Encoded authorization failure message: 8l1I_Rz1fhEopZv1kur_zXK2wFJmtp4sOY0TWpNu4ztixR1G-POPFdfUKb41SXyWuTyOc913ScW7uTO0IAKtDIg9RqaqnjeUjcolIWFoe28oukxpoCD6r2imZ62SkM3rtUWJYcfSUVRdzFbTaFMBJt5LdJ35iVO7Dhobxa70WqQQZelIrC08Tu97lBp62YHVhmfsJvXWdlDTe6O11HGG1sk-eeqLb6E6RR4POosIN9cAsT8fPxBie4XAAwP7h-GxsH4thrzcgRywgDqPv1spFesFWk1jSsVDMP5o9vhNSgmOmbFRYGkNdccNzft9RlqhqbQBiSOjI-Yid8Ch3Lj7byW53Sp-mtZg29mfWLosjIWiUrBbmYzKSuKZRHsY-d0gCANAL-EcQBFCeQnRhM_SeAN5bak51kz1vXqBU4hnDyRYpnmFOvcaiikQx4yVUnRA2wu7oZzkdlKuB062C_XQ5Aam_00bnXEZGuj25mphwDATahCVQZxy_ik7lGNWfs-5t6h7_Zb7bbryDpOfWwBWbOzyE6pyYarg2mMrKAc1qSx6gCGYD6s_pQCnv_4QDibbDeVsXKomFhCOr1egFkMb3izrSfagN1K2F1xlTcv6Dm_Bn1Kwtvb8tsu49GcsRa1o-kvZ1ApMpUU2iybVs3Pxp1nTEp7537MGdv78R-0QhAm0O3kLLpiwkAqI-mDirkdgjBUJoX3udVAUNqNmybsTOy7EmZzJy8lrXRY95WWddEUG_Ci85zEZgRUNsM3_98TqzdUuDDb5biWUv8dU0ph6FUQjpWkiZDib9yupBd4Z-240O1GR1O68so8Y\n\tstatus code: 403, request id: 3a8b7f33-3066-4352-804d-cd54b58e005d"
time="2020-06-19T21:47:42+05:30" level=debug msg="Expected: NukeAllResources passed"
time="2020-06-19T21:47:42+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:47:44+05:30" level=debug msg="S3 - creating session - region us-east-1"
time="2020-06-19T21:47:44+05:30" level=info msg="Getting - 1-2 buckets of batch 1/1"
time="2020-06-19T21:47:45+05:30" level=debug msg="Expected: GetAllResources passed"
time="2020-06-19T21:47:45+05:30" level=debug msg="region - us-east-1 resourcetype - ec2 resourceIdentifiers - [i-0a7d6e68d8064db51]"
time="2020-06-19T21:47:45+05:30" level=debug msg="region - us-east-1 resourcetype - s3 resourceIdentifiers - [cloud-nuke-test-fihy9d0mufz0 cloud-nuke-test-0ajmpap5flma]"
time="2020-06-19T21:47:45+05:30" level=debug msg="Expected: Post nuke check - ec2 exists"
time="2020-06-19T21:47:45+05:30" level=debug msg="Expected: Post nuke check - s3 exists"
time="2020-06-19T21:47:45+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:47:45+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:47:45+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-fihy9d0mufz0"
time="2020-06-19T21:47:46+05:30" level=info msg="Bucket: cloud-nuke-test-fihy9d0mufz0 - empty - skipping object deletion"
time="2020-06-19T21:47:46+05:30" level=info msg="[OK] - 1/1 - Bucket: cloud-nuke-test-fihy9d0mufz0 - deleted"
time="2020-06-19T21:47:46+05:30" level=info msg="[OK] - 1/1 - S3 bucket(s) deleted in us-east-1"
time="2020-06-19T21:47:46+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:47:46+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-0a7d6e68d8064db51]"
time="2020-06-19T21:47:47+05:30" level=info msg="[OK] triggered termination of 1 instance(s) in us-east-1"
time="2020-06-19T21:47:48+05:30" level=debug msg="Deleted test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-2-noperms"
=== RUN   TestNukeAllResources/NoPermsIgnoreErrorsOnlyForS3
time="2020-06-19T21:47:49+05:30" level=debug msg="Created test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-3-noperms"
time="2020-06-19T21:47:49+05:30" level=debug msg="Bucket: cloud-nuke-test-psb0hykkkqyi - creating"
time="2020-06-19T21:47:52+05:30" level=debug msg="Created test s3 - cloud-nuke-test-psb0hykkkqyi"
time="2020-06-19T21:48:26+05:30" level=debug msg="Created test ec2 - cloud-nuke-test-4ruXFP"
time="2020-06-19T21:48:26+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:48:27+05:30" level=debug msg="Expected: GetAllResources failed"
time="2020-06-19T21:48:27+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:48:27+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:48:27+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-psb0hykkkqyi"
time="2020-06-19T21:48:28+05:30" level=info msg="Bucket: cloud-nuke-test-psb0hykkkqyi - empty - skipping object deletion"
time="2020-06-19T21:50:08+05:30" level=error msg="[Failed] - 1/1 - Bucket: cloud-nuke-test-psb0hykkkqyi - bucket deletion error - ResourceNotReady: exceeded wait attempts"
time="2020-06-19T21:50:08+05:30" level=error msg="[Failed] - 1/1 - S3 bucket(s) failed deletion in us-east-1"
time="2020-06-19T21:50:08+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:50:08+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-010e13c099754ec77]"
time="2020-06-19T21:50:09+05:30" level=info msg="[OK] triggered termination of 1 instance(s) in us-east-1"
time="2020-06-19T21:50:11+05:30" level=debug msg="Deleted test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-3-noperms"
=== RUN   TestNukeAllResources/ROPerms
time="2020-06-19T21:50:13+05:30" level=debug msg="Created test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-4-roperms"
time="2020-06-19T21:50:13+05:30" level=debug msg="Bucket: cloud-nuke-test-acbb2ledftio - creating"
time="2020-06-19T21:50:15+05:30" level=debug msg="Created test s3 - cloud-nuke-test-acbb2ledftio"
time="2020-06-19T21:50:34+05:30" level=debug msg="Created test ec2 - cloud-nuke-test-rxmOeJ"
time="2020-06-19T21:50:34+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:50:38+05:30" level=debug msg="S3 - creating session - region us-east-1"
time="2020-06-19T21:50:38+05:30" level=info msg="Getting - 1-2 buckets of batch 1/1"
time="2020-06-19T21:50:39+05:30" level=debug msg="Expected: GetAllResources passed"
time="2020-06-19T21:50:39+05:30" level=debug msg="region - us-east-1 resourcetype - ec2 resourceIdentifiers - [i-0e993265e2cc46a5f]"
time="2020-06-19T21:50:39+05:30" level=debug msg="Expected: Post get check: ec2 exists"
time="2020-06-19T21:50:39+05:30" level=debug msg="region - us-east-1 resourcetype - s3 resourceIdentifiers - [cloud-nuke-test-0ajmpap5flma cloud-nuke-test-acbb2ledftio]"
time="2020-06-19T21:50:39+05:30" level=debug msg="Expected: Post get check: s3 exists"
time="2020-06-19T21:50:39+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:50:39+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:50:39+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-acbb2ledftio"
time="2020-06-19T21:50:40+05:30" level=info msg="Bucket: cloud-nuke-test-acbb2ledftio - empty - skipping object deletion"
time="2020-06-19T21:50:40+05:30" level=error msg="[Failed] - 1/1 - Bucket: cloud-nuke-test-acbb2ledftio - bucket deletion error - AccessDenied: Access Denied\n\tstatus code: 403, request id: A7A6841CAB7D8C1F, host id: /efuDSs11mKoQVDJxjp68yu6J0P8eoOIHx6wxHK342huaKf+aJ5CvMvefYDDBHYXY4P7PsnV/i4="
time="2020-06-19T21:50:40+05:30" level=error msg="[Failed] - 1/1 - S3 bucket(s) failed deletion in us-east-1"
time="2020-06-19T21:50:40+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:50:40+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-0e993265e2cc46a5f]"
time="2020-06-19T21:50:40+05:30" level=error msg="[Failed] UnauthorizedOperation: You are not authorized to perform this operation. Encoded authorization failure message: rXvDqA3kQAqi66BiN_C_ZiEPKJAHPU-irHw0fmzS6wZoCX-dBHaG0iEUXB2ONzD-HKj7axoHaup62sGlwy2t4i4xAEpcV-QzGEEmfvQEj6vCRsCBiepiMJo2fsxwEu_kyMIZnMeHNg20Of1T2NH0igNaPhaDXq3E0iE151ZXc9P2jJFMMPXJygGGToVSM6PQrMhJNA0QXUa0Q39SBIE133z-QddqSt6n8Z_LTsfUNzhlPdn0uQITKj7NbB8JltN-S4pGYgwgcFYstQaENyV5nJq6WWR2HEcXrcBvIdsnFWrFYJ8kXiWaJG17na5ReW-QDQn6NmdZo-7ucus556dANdZs3mKYLj5IbkW-L4YXKdnyB9UWg2xLiTtg3XcijcV49fNlvn466IRo9CPtEf5Vwi2OD6WgPTrcEPO-SSzNRi7kdVt0R38D7XxZ4wfyVVQgl_hIFiz-nNkJzNyHEiDSRZSr5jViJZoFInG3_4rTDaXEeiPrK0xCvwRTX-4HbXShQZ2j_bXGGa-h5X66q2T8yNsk8er-zRRZ2zaxWod2fBcJwfgbKDBxMkS9jYFC_U4xEbIirfuqg0lgZevu0qdBj3-On6BHEgMznD7femWitxMuaMbbxJTpCSWcaYqx1Tnif5TqYXV0QFHGbFuCsXfboAZymnGqeNVJKzaVgiZ440qPyO-qAgRyp3Mk2yEbYtXvMR6CdwdmUBWl-ncujHWZ72yhg3MiJQaLMekOit2wBreWV-vZrIl8Kl8LtB_jv2XS1Ko8Bc6gwAmLUrPxfak8aUBjXKtcumeit0-1W1_4S6ddp8TocXvKSt_6qg\n\tstatus code: 403, request id: bef7ec06-1f86-4150-abf5-61de2289c3e6"
time="2020-06-19T21:50:40+05:30" level=debug msg="Expected: NukeAllResources failed"
time="2020-06-19T21:50:40+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:50:40+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:50:40+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-acbb2ledftio"
time="2020-06-19T21:50:41+05:30" level=info msg="Bucket: cloud-nuke-test-acbb2ledftio - empty - skipping object deletion"
time="2020-06-19T21:50:42+05:30" level=info msg="[OK] - 1/1 - Bucket: cloud-nuke-test-acbb2ledftio - deleted"
time="2020-06-19T21:50:42+05:30" level=info msg="[OK] - 1/1 - S3 bucket(s) deleted in us-east-1"
time="2020-06-19T21:50:42+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:50:42+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-0e993265e2cc46a5f]"
time="2020-06-19T21:50:43+05:30" level=info msg="[OK] triggered termination of 1 instance(s) in us-east-1"
time="2020-06-19T21:50:44+05:30" level=debug msg="Deleted test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-4-roperms"
=== RUN   TestNukeAllResources/ROPermsIgnoreErrors
time="2020-06-19T21:50:45+05:30" level=debug msg="Created test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-5-roperms"
time="2020-06-19T21:50:45+05:30" level=debug msg="Bucket: cloud-nuke-test-nexdjwqwkldq - creating"
time="2020-06-19T21:50:47+05:30" level=debug msg="Created test s3 - cloud-nuke-test-nexdjwqwkldq"
time="2020-06-19T21:51:06+05:30" level=debug msg="Created test ec2 - cloud-nuke-test-rWfuJc"
time="2020-06-19T21:51:06+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:51:08+05:30" level=debug msg="S3 - creating session - region us-east-1"
time="2020-06-19T21:51:08+05:30" level=info msg="Getting - 1-2 buckets of batch 1/1"
time="2020-06-19T21:51:09+05:30" level=debug msg="Expected: GetAllResources passed"
time="2020-06-19T21:51:09+05:30" level=debug msg="region - us-east-1 resourcetype - ec2 resourceIdentifiers - [i-073200f092e7fe038]"
time="2020-06-19T21:51:09+05:30" level=debug msg="Expected: Post get check: ec2 exists"
time="2020-06-19T21:51:09+05:30" level=debug msg="region - us-east-1 resourcetype - s3 resourceIdentifiers - [cloud-nuke-test-0ajmpap5flma cloud-nuke-test-nexdjwqwkldq]"
time="2020-06-19T21:51:09+05:30" level=debug msg="Expected: Post get check: s3 exists"
time="2020-06-19T21:51:09+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:51:09+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:51:09+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-nexdjwqwkldq"
time="2020-06-19T21:51:10+05:30" level=info msg="Bucket: cloud-nuke-test-nexdjwqwkldq - empty - skipping object deletion"
time="2020-06-19T21:51:10+05:30" level=error msg="[Failed] - 1/1 - Bucket: cloud-nuke-test-nexdjwqwkldq - bucket deletion error - AccessDenied: Access Denied\n\tstatus code: 403, request id: 0196C70D0EE9AD94, host id: VTmufMPs1Lw/d4GTri9lCsVCYvL/PNYfCMVEoZ9auYwPrmcbSrrIay+8fs9oGkp6GiBxQCE9NMg="
time="2020-06-19T21:51:10+05:30" level=error msg="[Failed] - 1/1 - S3 bucket(s) failed deletion in us-east-1"
time="2020-06-19T21:51:10+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:51:10+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-073200f092e7fe038]"
time="2020-06-19T21:51:11+05:30" level=error msg="[Failed] UnauthorizedOperation: You are not authorized to perform this operation. Encoded authorization failure message: X45utopRe7h-QLLYVi0tJeqC6dighdu8U7pPjXuVuvxpb8Y3kAG5TZogijBBi4U2goXO9UF9ibrxyr1tIZ5vO9Lr3q8eq_6u4TgZDN3pCaCxHr80OcEo5aJmswytemuFukkEWTBE0tlenQKm64MXz1GmnLSoR-kbHm-eq1j0fr9Sk1CyvZuSwPrqTdPGgCy-i-wmWDaF0-G_OM_eCDBMtSHJtPNOAstgBvHf6EwMqX8ntk9PevOfecgXfQAUs1qIHauwYBHyB0cVyRvNsLyY5cM4B4tXInATLR8MLQ6uLKEJ7rV9ARaCc5B2bSBFCfNc2QJhGLFM1YYkkRC04pjkBnhFKIT8SVX-aN8wPzTFLbgPADPqv4FkULtMvTlv_0pNT7sietJiPggx6MNXMfUZWjM-_mIgPgTz7x5QWqzn3UlhubmaZi8evFf6HmpIwIza_L6qB1T53lA1AgKd3vQz5VT7ktwPUu1WLVIwE93E5S8idvZsQVA-ZxpmXWCHiqx3c-W6QwaEOnV0JywbMUhQYVbGjXkNMW2A3Dw4-fAG5-RfpwuQAd2Le1ia7vy1fPt6dfeN0SBUUISX1omitMbj_EQ9qwRubdRhbbyhln-HsRBKq15YUvP6TS1g4uUJ8V2XMCUjdylaAYuLaW82vhVZmi9u3X1efrwO1Ss5pnbb-IbNUhhlbUI1fnuL6MEs9bMgR-nsyKDcKMxxk0Znwnce54oIC7db_XslPwte03ZgA7qAss_kVkwhyaxRvti0i_cKkaA0RWDKzWDolmFuXrplczM19nZr5ctEwHpCGKNEs6wgD-KBBVQHilZizg\n\tstatus code: 403, request id: 71886976-7df4-41b1-964c-e303564f517e"
time="2020-06-19T21:51:11+05:30" level=warning msg="Ignoring nuke resources error - ec2 - UnauthorizedOperation: You are not authorized to perform this operation. Encoded authorization failure message: X45utopRe7h-QLLYVi0tJeqC6dighdu8U7pPjXuVuvxpb8Y3kAG5TZogijBBi4U2goXO9UF9ibrxyr1tIZ5vO9Lr3q8eq_6u4TgZDN3pCaCxHr80OcEo5aJmswytemuFukkEWTBE0tlenQKm64MXz1GmnLSoR-kbHm-eq1j0fr9Sk1CyvZuSwPrqTdPGgCy-i-wmWDaF0-G_OM_eCDBMtSHJtPNOAstgBvHf6EwMqX8ntk9PevOfecgXfQAUs1qIHauwYBHyB0cVyRvNsLyY5cM4B4tXInATLR8MLQ6uLKEJ7rV9ARaCc5B2bSBFCfNc2QJhGLFM1YYkkRC04pjkBnhFKIT8SVX-aN8wPzTFLbgPADPqv4FkULtMvTlv_0pNT7sietJiPggx6MNXMfUZWjM-_mIgPgTz7x5QWqzn3UlhubmaZi8evFf6HmpIwIza_L6qB1T53lA1AgKd3vQz5VT7ktwPUu1WLVIwE93E5S8idvZsQVA-ZxpmXWCHiqx3c-W6QwaEOnV0JywbMUhQYVbGjXkNMW2A3Dw4-fAG5-RfpwuQAd2Le1ia7vy1fPt6dfeN0SBUUISX1omitMbj_EQ9qwRubdRhbbyhln-HsRBKq15YUvP6TS1g4uUJ8V2XMCUjdylaAYuLaW82vhVZmi9u3X1efrwO1Ss5pnbb-IbNUhhlbUI1fnuL6MEs9bMgR-nsyKDcKMxxk0Znwnce54oIC7db_XslPwte03ZgA7qAss_kVkwhyaxRvti0i_cKkaA0RWDKzWDolmFuXrplczM19nZr5ctEwHpCGKNEs6wgD-KBBVQHilZizg\n\tstatus code: 403, request id: 71886976-7df4-41b1-964c-e303564f517e"
time="2020-06-19T21:51:11+05:30" level=debug msg="Expected: NukeAllResources passed"
time="2020-06-19T21:51:11+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:51:11+05:30" level=debug msg="S3 - creating session - region us-east-1"
time="2020-06-19T21:51:11+05:30" level=info msg="Getting - 1-2 buckets of batch 1/1"
time="2020-06-19T21:51:12+05:30" level=debug msg="Expected: GetAllResources passed"
time="2020-06-19T21:51:12+05:30" level=debug msg="region - us-east-1 resourcetype - ec2 resourceIdentifiers - [i-073200f092e7fe038]"
time="2020-06-19T21:51:12+05:30" level=debug msg="region - us-east-1 resourcetype - s3 resourceIdentifiers - [cloud-nuke-test-nexdjwqwkldq cloud-nuke-test-0ajmpap5flma]"
time="2020-06-19T21:51:12+05:30" level=debug msg="Expected: Post nuke check - ec2 exists"
time="2020-06-19T21:51:12+05:30" level=debug msg="Expected: Post nuke check - s3 exists"
time="2020-06-19T21:51:12+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:51:12+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:51:12+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-nexdjwqwkldq"
time="2020-06-19T21:51:12+05:30" level=info msg="Bucket: cloud-nuke-test-nexdjwqwkldq - empty - skipping object deletion"
time="2020-06-19T21:51:13+05:30" level=info msg="[OK] - 1/1 - Bucket: cloud-nuke-test-nexdjwqwkldq - deleted"
time="2020-06-19T21:51:13+05:30" level=info msg="[OK] - 1/1 - S3 bucket(s) deleted in us-east-1"
time="2020-06-19T21:51:13+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:51:13+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-073200f092e7fe038]"
time="2020-06-19T21:51:13+05:30" level=info msg="[OK] triggered termination of 1 instance(s) in us-east-1"
time="2020-06-19T21:51:14+05:30" level=debug msg="Deleted test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-5-roperms"
=== RUN   TestNukeAllResources/EC2ROS3RWPerms
time="2020-06-19T21:51:16+05:30" level=debug msg="Created test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-6-ec2ros3rwperms"
time="2020-06-19T21:51:16+05:30" level=debug msg="Bucket: cloud-nuke-test-qc2z02sz1oel - creating"
time="2020-06-19T21:51:17+05:30" level=debug msg="Created test s3 - cloud-nuke-test-qc2z02sz1oel"
time="2020-06-19T21:51:36+05:30" level=debug msg="Created test ec2 - cloud-nuke-test-8wTpwP"
time="2020-06-19T21:51:36+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:51:38+05:30" level=debug msg="S3 - creating session - region us-east-1"
time="2020-06-19T21:51:38+05:30" level=info msg="Getting - 1-2 buckets of batch 1/1"
time="2020-06-19T21:51:40+05:30" level=debug msg="Expected: GetAllResources passed"
time="2020-06-19T21:51:40+05:30" level=debug msg="region - us-east-1 resourcetype - ec2 resourceIdentifiers - [i-05371241dd56b0077]"
time="2020-06-19T21:51:40+05:30" level=debug msg="Expected: Post get check: ec2 exists"
time="2020-06-19T21:51:40+05:30" level=debug msg="region - us-east-1 resourcetype - s3 resourceIdentifiers - [cloud-nuke-test-0ajmpap5flma cloud-nuke-test-qc2z02sz1oel]"
time="2020-06-19T21:51:40+05:30" level=debug msg="Expected: Post get check: s3 exists"
time="2020-06-19T21:51:40+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:51:40+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:51:40+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-qc2z02sz1oel"
time="2020-06-19T21:51:40+05:30" level=info msg="Bucket: cloud-nuke-test-qc2z02sz1oel - empty - skipping object deletion"
time="2020-06-19T21:51:41+05:30" level=info msg="[OK] - 1/1 - Bucket: cloud-nuke-test-qc2z02sz1oel - deleted"
time="2020-06-19T21:51:41+05:30" level=info msg="[OK] - 1/1 - S3 bucket(s) deleted in us-east-1"
time="2020-06-19T21:51:41+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:51:41+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-05371241dd56b0077]"
time="2020-06-19T21:51:41+05:30" level=error msg="[Failed] UnauthorizedOperation: You are not authorized to perform this operation. Encoded authorization failure message: 3y10-QnES27okBzqZcJbTnYkGmoXH-2Kcq_gyFNmwUWjO54apsG-zQjwdgNWGMaq7iCDydTWlbAvRf_1sTH6wgsC9OvAYBLmaTYWJFRRram6jDS8txY4SZ7hy5K0GZilZgcL9iEv4r7NAH46pTgnNPMj9xdnoP3rdCjZnywOc3d18qpg3ljBH24RpNUqJZbZXjIYGAAcqpNNSTJpufqbba-Y8fb73_qNo0S73eVeLkX4Y5x8izR8ZsmUGVVLZ7oKL3VT71-pxkoq02692ATCFXUIztBgJtXJweg9DERJF0o0mCwDyWvhUMTcvcfuXHsJupTh5U9Px-_s4jPY0YjGD7biuzNVQ87eYN3hfTEUhrTFWw-py9u31hLV1OAbV0i3khgOpHQubnjihTAsk5TaIEKOu9rET89nLCkcESoFybuwRwrLJ5giyN8lj43e4Rd2NJysS7xQEL8PU8ivATKxe2a3w60HG0_bWxK7yp8MHK7VvUHJJJ78bEG7jzjDUgPFKKR1bzyHrNYnBvp_RfQkwkhe0-QtHK2urabasakPwvoMAzCfdt846gjE0FOBdDlA1FIJfaBRyBsIYjVUfS585pwPNQRFuHTGkmIS03xjPKGiQVCgXFB01vbQ5YNjacCEAXXuQyotBKHSK3t5gfRc-KDGKHSBggvLR70iSGJ3DW14E6NK8qIszMeOEixxOE2QtmxUWmDrbnm5K9l08AgDJ6zX0XGyZvj4dpXMvA9Btxi64IxdKU1Ewy14rtDtJpvgfeh8GGw6lnU5LeFyH3S-rWXgqpiVp6qGceucefW3eafilRSiinbnr1FLYy9WEpwcrg\n\tstatus code: 403, request id: c021c210-91a8-4f8e-bafd-1f096582e982"
time="2020-06-19T21:51:41+05:30" level=debug msg="Expected: NukeAllResources failed"
time="2020-06-19T21:51:41+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:51:41+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:51:41+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-qc2z02sz1oel"
time="2020-06-19T21:51:42+05:30" level=error msg="[Failed] - 1/1 - Bucket: cloud-nuke-test-qc2z02sz1oel - object deletion error - NoSuchBucket: The specified bucket does not exist\n\tstatus code: 404, request id: D86DCF7E31B9E8DB, host id: otrOihcutdiMuWF7M+CQtDg7zCXotX0iidfLXm8ch1pQrfNFBLvm1XytX/iyYFnO+rnxm3B0lQA="
time="2020-06-19T21:51:42+05:30" level=error msg="[Failed] - 1/1 - S3 bucket(s) failed deletion in us-east-1"
time="2020-06-19T21:51:42+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:51:42+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-05371241dd56b0077]"
time="2020-06-19T21:51:44+05:30" level=info msg="[OK] triggered termination of 1 instance(s) in us-east-1"
time="2020-06-19T21:51:45+05:30" level=debug msg="Deleted test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-6-ec2ros3rwperms"
=== RUN   TestNukeAllResources/EC2ROS3RWPermsIgnoreErrors
time="2020-06-19T21:51:46+05:30" level=debug msg="Created test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-7-ec2ros3rwperms"
time="2020-06-19T21:51:46+05:30" level=debug msg="Bucket: cloud-nuke-test-bzveqwovkalg - creating"
time="2020-06-19T21:51:47+05:30" level=debug msg="Created test s3 - cloud-nuke-test-bzveqwovkalg"
time="2020-06-19T21:52:07+05:30" level=debug msg="Created test ec2 - cloud-nuke-test-GCQ1vV"
time="2020-06-19T21:52:07+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:52:09+05:30" level=debug msg="S3 - creating session - region us-east-1"
time="2020-06-19T21:52:09+05:30" level=info msg="Getting - 1-2 buckets of batch 1/1"
time="2020-06-19T21:52:10+05:30" level=debug msg="Expected: GetAllResources passed"
time="2020-06-19T21:52:10+05:30" level=debug msg="region - us-east-1 resourcetype - ec2 resourceIdentifiers - [i-02906d5ada91fb925]"
time="2020-06-19T21:52:10+05:30" level=debug msg="Expected: Post get check: ec2 exists"
time="2020-06-19T21:52:10+05:30" level=debug msg="region - us-east-1 resourcetype - s3 resourceIdentifiers - [cloud-nuke-test-0ajmpap5flma cloud-nuke-test-bzveqwovkalg]"
time="2020-06-19T21:52:10+05:30" level=debug msg="Expected: Post get check: s3 exists"
time="2020-06-19T21:52:10+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:52:10+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:52:10+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-bzveqwovkalg"
time="2020-06-19T21:52:11+05:30" level=info msg="Bucket: cloud-nuke-test-bzveqwovkalg - empty - skipping object deletion"
time="2020-06-19T21:52:11+05:30" level=info msg="[OK] - 1/1 - Bucket: cloud-nuke-test-bzveqwovkalg - deleted"
time="2020-06-19T21:52:11+05:30" level=info msg="[OK] - 1/1 - S3 bucket(s) deleted in us-east-1"
time="2020-06-19T21:52:11+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:52:11+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-02906d5ada91fb925]"
time="2020-06-19T21:52:11+05:30" level=error msg="[Failed] UnauthorizedOperation: You are not authorized to perform this operation. Encoded authorization failure message: PGcbKOt4IHUkNK61B4yLZs0msyg9Dqgw2KZ3U_8wkZIucSer1-YDtervKEOS-MQd2StNwTkZ4GQyhdhJuYR2sDwoeAFuSciJnolZ1X0NSYkWam10C77cOgcn-sHiMYNA42azm1PY_brjGSeW6mEIMKUQf09guIWRQEAaQC-SIHTgeqiTvZZ81dwcQBlUpR1Y0WZ_uhhzrlYpe_mxQNfz4ObZmwyqDHez7uyDhFgHm57tYwnGKxcx6FIXVEFhYbq0bA3wbAbozfdag3OCWY445i6emtpCcvTMONIGjw5twZaiVRuD5sFnHCPHKDgfXY3CinDksUejoVjk0w7TUisCo3ILYFfKOWlM20cUEsY7FniM7CZ5rdwtKe2DtwB7_KLUe79p52bG3FC7xG3DFczFGqJcoezcecEC0-_z4ffhXui0Rjy6fTyTLh4JP0Fc00cfhGWehpGm9bmtUEeYpZcm5ckxMH-qiJNTxpWxRUlxBaWdLKJDjsrZiwR2zZymRgFu4QHZZW_whXdnyu8-HaF0cy_zsuF0ZJrkwXXRKUmfYgwuerU2isaR5j5vNo6xcmoNVifeCSjUeHwy-o8TQzBvoRcb4f96ZUEjkkaJZvAEUzycDWPAN35LBYxzaA-DHiAYlSRosDNopI-ScmoWiG45EmTo6EI4nCxgZ38n4JrrFwExDB_DTrt-e_bezL_ZKo9aWS2veZ7Kzp23Tav4Ae258-a_guuj5DpUX0f6I5zktSUBknt-Dk_01BuIzT5K-lQC8xK7RiBx11tg-BiCBxXIUIRy2o2Hi-vhTzxqGbWqycdEMMAJA4NGunnOOb_F5A\n\tstatus code: 403, request id: 230aaa1f-ec17-4d8a-9718-df8889ceac51"
time="2020-06-19T21:52:11+05:30" level=warning msg="Ignoring nuke resources error - ec2 - UnauthorizedOperation: You are not authorized to perform this operation. Encoded authorization failure message: PGcbKOt4IHUkNK61B4yLZs0msyg9Dqgw2KZ3U_8wkZIucSer1-YDtervKEOS-MQd2StNwTkZ4GQyhdhJuYR2sDwoeAFuSciJnolZ1X0NSYkWam10C77cOgcn-sHiMYNA42azm1PY_brjGSeW6mEIMKUQf09guIWRQEAaQC-SIHTgeqiTvZZ81dwcQBlUpR1Y0WZ_uhhzrlYpe_mxQNfz4ObZmwyqDHez7uyDhFgHm57tYwnGKxcx6FIXVEFhYbq0bA3wbAbozfdag3OCWY445i6emtpCcvTMONIGjw5twZaiVRuD5sFnHCPHKDgfXY3CinDksUejoVjk0w7TUisCo3ILYFfKOWlM20cUEsY7FniM7CZ5rdwtKe2DtwB7_KLUe79p52bG3FC7xG3DFczFGqJcoezcecEC0-_z4ffhXui0Rjy6fTyTLh4JP0Fc00cfhGWehpGm9bmtUEeYpZcm5ckxMH-qiJNTxpWxRUlxBaWdLKJDjsrZiwR2zZymRgFu4QHZZW_whXdnyu8-HaF0cy_zsuF0ZJrkwXXRKUmfYgwuerU2isaR5j5vNo6xcmoNVifeCSjUeHwy-o8TQzBvoRcb4f96ZUEjkkaJZvAEUzycDWPAN35LBYxzaA-DHiAYlSRosDNopI-ScmoWiG45EmTo6EI4nCxgZ38n4JrrFwExDB_DTrt-e_bezL_ZKo9aWS2veZ7Kzp23Tav4Ae258-a_guuj5DpUX0f6I5zktSUBknt-Dk_01BuIzT5K-lQC8xK7RiBx11tg-BiCBxXIUIRy2o2Hi-vhTzxqGbWqycdEMMAJA4NGunnOOb_F5A\n\tstatus code: 403, request id: 230aaa1f-ec17-4d8a-9718-df8889ceac51"
time="2020-06-19T21:52:11+05:30" level=debug msg="Expected: NukeAllResources passed"
time="2020-06-19T21:52:11+05:30" level=info msg="Checking region [1/1]: us-east-1"
time="2020-06-19T21:52:13+05:30" level=debug msg="S3 - creating session - region us-east-1"
time="2020-06-19T21:52:13+05:30" level=info msg="Getting - 1-1 buckets of batch 1/1"
time="2020-06-19T21:52:13+05:30" level=debug msg="Expected: GetAllResources passed"
time="2020-06-19T21:52:13+05:30" level=debug msg="region - us-east-1 resourcetype - ec2 resourceIdentifiers - [i-02906d5ada91fb925]"
time="2020-06-19T21:52:13+05:30" level=debug msg="region - us-east-1 resourcetype - s3 resourceIdentifiers - [cloud-nuke-test-0ajmpap5flma]"
time="2020-06-19T21:52:13+05:30" level=debug msg="Expected: Post nuke check - ec2 exists"
time="2020-06-19T21:52:13+05:30" level=debug msg="Expected: Post nuke check - s3 deleted"
time="2020-06-19T21:52:13+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:52:13+05:30" level=info msg="Deleting - 1 S3 Buckets in region us-east-1"
time="2020-06-19T21:52:13+05:30" level=debug msg="Deleting - 1/1 - Bucket: cloud-nuke-test-bzveqwovkalg"
time="2020-06-19T21:52:14+05:30" level=error msg="[Failed] - 1/1 - Bucket: cloud-nuke-test-bzveqwovkalg - object deletion error - NoSuchBucket: The specified bucket does not exist\n\tstatus code: 404, request id: 9A25135B09E91960, host id: sVe9lz3p9iqpXvyIlSC/uVQl37R5QBYExhs1bnBu84shfkWW+3HbUGsV6XHJBzVNcK8Z06WIV3Q="
time="2020-06-19T21:52:14+05:30" level=error msg="[Failed] - 1/1 - S3 bucket(s) failed deletion in us-east-1"
time="2020-06-19T21:52:14+05:30" level=info msg="Terminating 1 resources in batches"
time="2020-06-19T21:52:14+05:30" level=info msg="Terminating target EC2 instances in region us-east-1 - [i-02906d5ada91fb925]"
time="2020-06-19T21:52:14+05:30" level=info msg="[OK] triggered termination of 1 instance(s) in us-east-1"
time="2020-06-19T21:52:15+05:30" level=debug msg="Deleted test role - arn:aws:iam::xxxxxx:role/cloud-nuke-test-7-ec2ros3rwperms"
--- PASS: TestNukeAllResources (462.31s)
    --- PASS: TestNukeAllResources/AllPerms (29.96s)
    --- PASS: TestNukeAllResources/NoPerms (129.94s)
    --- PASS: TestNukeAllResources/NoPermsIgnoreErrors (33.69s)
    --- PASS: TestNukeAllResources/NoPermsIgnoreErrorsOnlyForS3 (143.75s)
    --- PASS: TestNukeAllResources/ROPerms (32.26s)
    --- PASS: TestNukeAllResources/ROPermsIgnoreErrors (30.78s)
    --- PASS: TestNukeAllResources/EC2ROS3RWPerms (30.36s)
    --- PASS: TestNukeAllResources/EC2ROS3RWPermsIgnoreErrors (30.42s)
PASS
ok      command-line-arguments  462.491s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment