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

Remove hardcoded AMIs in spot instance request tests #14082

Merged
merged 1 commit into from
Jul 27, 2020

Conversation

YakDriver
Copy link
Member

@YakDriver YakDriver commented Jul 7, 2020

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" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Central management issue: #12994

Release note for CHANGELOG:

NONE

See AWSAT002

Current stats of acceptance tests for this PR:

Partition Passing Failing Test
us-gov 5 6* With-PR
us-gov 0 11 Pre-PR
standard 11 0 With-PR
standard 11 0 Pre-PR
  • All the current failures are the same. I think we'll need to handle them in a separate PR (not sure of the cause):
Error: Error while waiting for spot request ({
          ...
          State: "open",
          Status: {
            Code: "pending-evaluation",
            Message: "Your Spot request has been submitted for review, and is pending evaluation.",
            UpdateTime: 2020-07-07 23:40:40 +0000 UTC
          },
          Type: "persistent"
        }) to resolve: unexpected state 'bad-parameters', wanted target 'fulfilled'. last error: %!s(<nil>)

@YakDriver YakDriver requested a review from a team July 7, 2020 21:52
@ghost ghost added size/M Managed by automation to categorize the size of a PR. service/ec2 Issues and PRs that pertain to the ec2 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Jul 7, 2020
@YakDriver YakDriver force-pushed the seespot branch 4 times, most recently from 11634aa to 24a8a1d Compare July 7, 2020 22:01
@YakDriver YakDriver changed the title Remove hardcoded AMIs in spot instance request tests [WIP] Remove hardcoded AMIs in spot instance request tests Jul 8, 2020
@YakDriver YakDriver marked this pull request as draft July 8, 2020 13:13
@YakDriver YakDriver force-pushed the seespot branch 4 times, most recently from 1e23433 to 4d991d0 Compare July 9, 2020 21:10
@ghost ghost added size/S Managed by automation to categorize the size of a PR. and removed size/M Managed by automation to categorize the size of a PR. labels Jul 9, 2020
@YakDriver YakDriver marked this pull request as ready for review July 9, 2020 21:24
@YakDriver YakDriver changed the title [WIP] Remove hardcoded AMIs in spot instance request tests Remove hardcoded AMIs in spot instance request tests Jul 9, 2020
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.

These changes look good, looks like other technical debt is preventing them from getting clean testing runs 🚀

Output from acceptance testing in AWS Commercial (unrelated test failure is very recently flaky with capacity-not-available, likely to be fixed with upcoming instance type data source changes):

--- FAIL: TestAccAWSSpotInstanceRequest_withBlockDuration (22.07s)

--- PASS: TestAccAWSSpotInstanceRequest_withLaunchGroup (76.04s)
--- PASS: TestAccAWSSpotInstanceRequest_vpc (77.05s)
--- PASS: TestAccAWSSpotInstanceRequest_SubnetAndSGAndPublicIpAddress (79.02s)
--- PASS: TestAccAWSSpotInstanceRequest_NetworkInterfaceAttributes (79.97s)
--- PASS: TestAccAWSSpotInstanceRequest_basic (86.02s)
--- PASS: TestAccAWSSpotInstanceRequest_validUntil (86.45s)
--- PASS: TestAccAWSSpotInstanceRequest_withoutSpotPrice (96.39s)
--- PASS: TestAccAWSSpotInstanceRequest_getPasswordData (213.13s)
--- PASS: TestAccAWSSpotInstanceRequest_InterruptStop (287.00s)
--- PASS: TestAccAWSSpotInstanceRequest_InterruptHibernate (297.01s)

Output from acceptance testing in AWS GovCloud (US) (unrelated test failures will require separate investigation/fixes):

--- FAIL: TestAccAWSSpotInstanceRequest_withLaunchGroup (19.61s)
--- FAIL: TestAccAWSSpotInstanceRequest_basic (19.80s)
--- FAIL: TestAccAWSSpotInstanceRequest_validUntil (20.12s)
--- FAIL: TestAccAWSSpotInstanceRequest_withoutSpotPrice (20.49s)
--- FAIL: TestAccAWSSpotInstanceRequest_withBlockDuration (20.38s)
--- FAIL: TestAccAWSSpotInstanceRequest_getPasswordData (20.53s)
--- PASS: TestAccAWSSpotInstanceRequest_SubnetAndSGAndPublicIpAddress (103.85s)
--- PASS: TestAccAWSSpotInstanceRequest_vpc (113.31s)
--- PASS: TestAccAWSSpotInstanceRequest_NetworkInterfaceAttributes (124.58s)
--- PASS: TestAccAWSSpotInstanceRequest_InterruptStop (293.39s)
--- PASS: TestAccAWSSpotInstanceRequest_InterruptHibernate (302.07s)

@YakDriver YakDriver merged commit 3fd275c into hashicorp:master Jul 27, 2020
@YakDriver YakDriver deleted the seespot branch July 27, 2020 20:41
@YakDriver YakDriver added this to the v3.0.0 milestone Jul 27, 2020
@ghost
Copy link

ghost commented Jul 31, 2020

This has been released in version 3.0.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!

@YakDriver YakDriver added the partition/aws-us-gov Pertains to the aws-us-gov partition. label Aug 27, 2020
@ghost
Copy link

ghost commented Aug 27, 2020

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 Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
partition/aws-us-gov Pertains to the aws-us-gov partition. service/ec2 Issues and PRs that pertain to the ec2 service. size/S Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants