Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final sagemaker retries #9799

Merged
merged 1 commit into from
Aug 20, 2019
Merged

Final sagemaker retries #9799

merged 1 commit into from
Aug 20, 2019

Conversation

ryndaniels
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Relates #7873

Release note for CHANGELOG:

BUG FIXES
* resource/aws_sagemaker_model: Final retry after timeout deleting model
* resource/aws_sagemaker_notebook_instance: Final retry after timeout updating instance

Output from acceptance testing:

$ make testacc TESTARGS="-run=TestAccAWSSagemakerModel"       
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -parallel 20 -run=TestAccAWSSagemakerModel -timeout 120m
?       github.com/terraform-providers/terraform-provider-aws   [no test files]
=== RUN   TestAccAWSSagemakerModel_basic
=== PAUSE TestAccAWSSagemakerModel_basic
=== RUN   TestAccAWSSagemakerModel_tags
=== PAUSE TestAccAWSSagemakerModel_tags
=== RUN   TestAccAWSSagemakerModel_primaryContainerModelDataUrl
=== PAUSE TestAccAWSSagemakerModel_primaryContainerModelDataUrl
=== RUN   TestAccAWSSagemakerModel_primaryContainerHostname
=== PAUSE TestAccAWSSagemakerModel_primaryContainerHostname
=== RUN   TestAccAWSSagemakerModel_primaryContainerEnvironment
=== PAUSE TestAccAWSSagemakerModel_primaryContainerEnvironment
=== RUN   TestAccAWSSagemakerModel_containers
=== PAUSE TestAccAWSSagemakerModel_containers
=== RUN   TestAccAWSSagemakerModel_vpcConfig
=== PAUSE TestAccAWSSagemakerModel_vpcConfig
=== RUN   TestAccAWSSagemakerModel_networkIsolation
=== PAUSE TestAccAWSSagemakerModel_networkIsolation
=== CONT  TestAccAWSSagemakerModel_basic
=== CONT  TestAccAWSSagemakerModel_containers
=== CONT  TestAccAWSSagemakerModel_primaryContainerEnvironment
=== CONT  TestAccAWSSagemakerModel_networkIsolation
=== CONT  TestAccAWSSagemakerModel_primaryContainerHostname
=== CONT  TestAccAWSSagemakerModel_primaryContainerModelDataUrl
=== CONT  TestAccAWSSagemakerModel_tags
=== CONT  TestAccAWSSagemakerModel_vpcConfig
--- PASS: TestAccAWSSagemakerModel_primaryContainerEnvironment (45.14s)
--- PASS: TestAccAWSSagemakerModel_networkIsolation (48.30s)
--- PASS: TestAccAWSSagemakerModel_basic (52.88s)
--- PASS: TestAccAWSSagemakerModel_containers (57.61s)
--- PASS: TestAccAWSSagemakerModel_primaryContainerHostname (66.31s)
--- PASS: TestAccAWSSagemakerModel_vpcConfig (67.07s)
--- PASS: TestAccAWSSagemakerModel_tags (69.60s)
--- PASS: TestAccAWSSagemakerModel_primaryContainerModelDataUrl (84.11s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       85.215s

make testacc TESTARGS="-run=TestAccAWSSagemakerNotebookInstance"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -parallel 20 -run=TestAccAWSSagemakerNotebookInstance -timeout 120m
?       github.com/terraform-providers/terraform-provider-aws   [no test files]
=== RUN   TestAccAWSSagemakerNotebookInstanceLifecycleConfiguration_Basic
=== PAUSE TestAccAWSSagemakerNotebookInstanceLifecycleConfiguration_Basic
=== RUN   TestAccAWSSagemakerNotebookInstanceLifecycleConfiguration_Update
=== PAUSE TestAccAWSSagemakerNotebookInstanceLifecycleConfiguration_Update
=== RUN   TestAccAWSSagemakerNotebookInstance_basic
=== PAUSE TestAccAWSSagemakerNotebookInstance_basic
=== RUN   TestAccAWSSagemakerNotebookInstance_update
=== PAUSE TestAccAWSSagemakerNotebookInstance_update
=== RUN   TestAccAWSSagemakerNotebookInstance_LifecycleConfigName
=== PAUSE TestAccAWSSagemakerNotebookInstance_LifecycleConfigName
=== RUN   TestAccAWSSagemakerNotebookInstance_tags
=== PAUSE TestAccAWSSagemakerNotebookInstance_tags
=== RUN   TestAccAWSSagemakerNotebookInstance_disappears
=== PAUSE TestAccAWSSagemakerNotebookInstance_disappears
=== CONT  TestAccAWSSagemakerNotebookInstanceLifecycleConfiguration_Basic
=== CONT  TestAccAWSSagemakerNotebookInstance_disappears
=== CONT  TestAccAWSSagemakerNotebookInstance_basic
=== CONT  TestAccAWSSagemakerNotebookInstance_update
=== CONT  TestAccAWSSagemakerNotebookInstance_tags
=== CONT  TestAccAWSSagemakerNotebookInstance_LifecycleConfigName
=== CONT  TestAccAWSSagemakerNotebookInstanceLifecycleConfiguration_Update
--- PASS: TestAccAWSSagemakerNotebookInstanceLifecycleConfiguration_Basic (26.17s)
--- PASS: TestAccAWSSagemakerNotebookInstanceLifecycleConfiguration_Update (44.28s)
--- PASS: TestAccAWSSagemakerNotebookInstance_basic (272.94s)
--- PASS: TestAccAWSSagemakerNotebookInstance_LifecycleConfigName (310.80s)
--- PASS: TestAccAWSSagemakerNotebookInstance_disappears (341.28s)
--- PASS: TestAccAWSSagemakerNotebookInstance_tags (369.65s)
--- PASS: TestAccAWSSagemakerNotebookInstance_update (568.52s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       569.662s

@ryndaniels ryndaniels requested a review from a team August 16, 2019 15:09
@ghost ghost added size/S Managed by automation to categorize the size of a PR. service/sagemaker Issues and PRs that pertain to the sagemaker service. labels Aug 16, 2019
@ryndaniels ryndaniels added the bug Addresses a defect in current functionality. label Aug 16, 2019
@ryndaniels ryndaniels added this to the v2.25.0 milestone Aug 16, 2019
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

(test failure unrelated)

--- PASS: TestAccAWSSagemakerNotebookInstanceLifecycleConfiguration_Basic (11.00s)
--- PASS: TestAccAWSSagemakerNotebookInstanceLifecycleConfiguration_Update (15.58s)
--- FAIL: TestAccAWSSagemakerModel_tags (21.84s)
--- PASS: TestAccAWSSagemakerModel_primaryContainerHostname (25.71s)
--- PASS: TestAccAWSSagemakerModel_vpcConfig (28.04s)
--- PASS: TestAccAWSSagemakerModel_containers (29.97s)
--- PASS: TestAccAWSSagemakerModel_primaryContainerModelDataUrl (39.68s)
--- PASS: TestAccAWSSagemakerModel_basic (40.71s)
--- PASS: TestAccAWSSagemakerModel_networkIsolation (45.71s)
--- PASS: TestAccAWSSagemakerModel_primaryContainerEnvironment (46.14s)
--- PASS: TestAccAWSSagemakerNotebookInstance_disappears (282.61s)
--- PASS: TestAccAWSSagemakerNotebookInstance_tags (291.34s)
--- PASS: TestAccAWSSagemakerNotebookInstance_LifecycleConfigName (300.53s)
--- PASS: TestAccAWSSagemakerNotebookInstance_basic (305.88s)
--- PASS: TestAccAWSSagemakerNotebookInstance_update (607.55s)

@ryndaniels ryndaniels merged commit d50ae33 into master Aug 20, 2019
@ryndaniels ryndaniels deleted the rfd-retry-sagemaker branch August 20, 2019 10:02
@ghost
Copy link

ghost commented Aug 23, 2019

This has been released in version 2.25.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Nov 1, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/sagemaker Issues and PRs that pertain to the sagemaker service. size/S Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants