Skip to content

tests/service/sagemaker: Serialize or Enable Configurable Synchronization for Domain Testing #17402

@bflad

Description

@bflad

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Many of the SageMaker Domain and User Profile tests are failing in the main testing account:

=== CONT  TestAccAWSSagemakerDomain_kms
resource_aws_sagemaker_domain_test.go:109: Step 1/2 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerDomain_kms (31.54s)

=== CONT  TestAccAWSSagemakerDomain_tags
resource_aws_sagemaker_domain_test.go:135: Step 1/4 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerDomain_tags (28.42s)

=== CONT  TestAccAWSSagemakerDomain_sharingSettings
resource_aws_sagemaker_domain_test.go:214: Step 1/2 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerDomain_sharingSettings (28.79s)

=== CONT  TestAccAWSSagemakerDomain_securityGroup
resource_aws_sagemaker_domain_test.go:179: Step 1/3 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerDomain_securityGroup (30.11s)

=== CONT  TestAccAWSSagemakerDomain_tensorboardAppSettings
resource_aws_sagemaker_domain_test.go:244: Step 1/2 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerDomain_tensorboardAppSettings (30.00s)

=== CONT  TestAccAWSSagemakerDomain_kernelGatewayAppSettings
resource_aws_sagemaker_domain_test.go:303: Step 1/2 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerDomain_kernelGatewayAppSettings (27.80s)

=== CONT  TestAccAWSSagemakerDomain_jupyterServerAppSettings
resource_aws_sagemaker_domain_test.go:332: Step 1/2 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerDomain_jupyterServerAppSettings (27.20s)

=== CONT  TestAccAWSSagemakerDomain_disappears
resource_aws_sagemaker_domain_test.go:361: Step 1/1 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerDomain_disappears (26.42s)

=== CONT  TestAccAWSSagemakerDomain_tensorboardAppSettingsWithImage
resource_aws_sagemaker_domain_test.go:273: Step 1/2 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerDomain_tensorboardAppSettingsWithImage (86.05s)

=== CONT  TestAccAWSSagemakerUserProfile_tensorboardAppSettings
resource_aws_sagemaker_user_profile_test.go:145: Step 1/2 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerUserProfile_tensorboardAppSettings (15.31s)

=== CONT  TestAccAWSSagemakerUserProfile_kernelGatewayAppSettings
resource_aws_sagemaker_user_profile_test.go:204: Step 1/2 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerUserProfile_kernelGatewayAppSettings (9.07s)

=== CONT  TestAccAWSSagemakerUserProfile_jupyterServerAppSettings
resource_aws_sagemaker_user_profile_test.go:233: Step 1/2 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerUserProfile_jupyterServerAppSettings (8.69s)

=== CONT  TestAccAWSSagemakerUserProfile_disappears
resource_aws_sagemaker_user_profile_test.go:262: Step 1/1 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerUserProfile_disappears (8.49s)

=== CONT  TestAccAWSSagemakerUserProfile_tensorboardAppSettingsWithImage
resource_aws_sagemaker_user_profile_test.go:174: Step 1/2 error: Error running apply:
Error: error creating SageMaker domain: ResourceLimitExceeded: The account-level service limit 'Total domains' is 1 Domains, with current utilization of 1 Domains and a request delta of 1 Domains. Please contact AWS support to request an increase for this limit.
--- FAIL: TestAccAWSSagemakerUserProfile_tensorboardAppSettingsWithImage (69.80s)

The acceptance tests likely should be serialized for the default AWS limits so they can pass without special AWS account setup. Otherwise, the test synchronization limit should be looked up or configurable via environment variable.

Affected Resource(s)

  • aws_sagemaker_domain
  • aws_sagemaker_user_profile

Metadata

Metadata

Assignees

No one assigned

    Labels

    service/sagemakerIssues and PRs that pertain to the sagemaker service.technical-debtAddresses areas of the codebase that need refactoring or redesign.testsPRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions