magic-modules icon indicating copy to clipboard operation
magic-modules copied to clipboard

container - add hugepages config

Open DrFaust92 opened this issue 1 year ago • 6 comments

Closes https://github.com/hashicorp/terraform-provider-google/issues/16497

tested locally:

--- PASS: TestAccContainerNodePool_withHugepageConfig (817.36s)

Release Note Template for Downstream PRs (will be copied)

container: add `hugepages_config` in `linux_node_config` in `google_container_node_pool` resource

DrFaust92 avatar Aug 24 '24 22:08 DrFaust92

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@melinath, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

github-actions[bot] avatar Aug 24 '24 22:08 github-actions[bot]

@melinath This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

github-actions[bot] avatar Aug 29 '24 09:08 github-actions[bot]

Apologies for the delayed review - reassigning since I'll be OOO tomorrow.

melinath avatar Aug 29 '24 22:08 melinath

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 3 files changed, 143 insertions(+), 2 deletions(-)) google-beta provider: Diff ( 3 files changed, 143 insertions(+), 2 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_container_cluster (387 total tests) Please add an acceptance test which includes these fields. The test should include the following:

resource "google_container_cluster" "primary" {
  node_config {
    linux_node_config {
      hugepages_config {
        hugepage_size_1g = # value needed
        hugepage_size_2m = # value needed
      }
    }
  }
  node_pool {
    node_config {
      linux_node_config {
        hugepages_config {
          hugepage_size_1g = # value needed
          hugepage_size_2m = # value needed
        }
      }
    }
  }
}


Resource: google_container_node_pool (74 total tests) Please add an acceptance test which includes these fields. The test should include the following:

resource "google_container_node_pool" "primary" {
  node_config {
    linux_node_config {
      hugepages_config {
        hugepage_size_1g = # value needed
      }
    }
  }
}


modular-magician avatar Aug 29 '24 22:08 modular-magician

Tests analytics

Total tests: 205 Passed tests: 191 Skipped tests: 13 Affected tests: 1

Click here to see the affected service packages
  • container

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccContainerNodePool_withHugepageConfig

Get to know how VCR tests work

modular-magician avatar Aug 29 '24 23:08 modular-magician

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$ TestAccContainerNodePool_withHugepageConfig[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$

View the build log or the debug log for each test

modular-magician avatar Aug 29 '24 23:08 modular-magician

@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

github-actions[bot] avatar Sep 03 '24 09:09 github-actions[bot]

@GoogleCloudPlatform/terraform-team @slevenick This PR has been waiting for review for 1 week. Please take a look! Use the label disable-review-reminders to disable these notifications.

github-actions[bot] avatar Sep 05 '24 09:09 github-actions[bot]

thanks slevenick, added + covered second param in that block as well

DrFaust92 avatar Sep 06 '24 23:09 DrFaust92

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 3 files changed, 144 insertions(+), 2 deletions(-)) google-beta provider: Diff ( 3 files changed, 144 insertions(+), 2 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_container_cluster (387 total tests) Please add an acceptance test which includes these fields. The test should include the following:

resource "google_container_cluster" "primary" {
  node_config {
    linux_node_config {
      hugepages_config {
        hugepage_size_1g = # value needed
        hugepage_size_2m = # value needed
      }
    }
  }
  node_pool {
    node_config {
      linux_node_config {
        hugepages_config {
          hugepage_size_1g = # value needed
          hugepage_size_2m = # value needed
        }
      }
    }
  }
}


modular-magician avatar Sep 09 '24 13:09 modular-magician

Tests analytics

Total tests: 205 Passed tests: 191 Skipped tests: 13 Affected tests: 1

Click here to see the affected service packages
  • container

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccContainerNodePool_withHugepageConfig

Get to know how VCR tests work

modular-magician avatar Sep 09 '24 14:09 modular-magician

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ TestAccContainerNodePool_withHugepageConfig[Error message] [Debug log]

$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$

View the build log or the debug log for each test

modular-magician avatar Sep 09 '24 14:09 modular-magician

thanks slevenick, fixed + tested properly

DrFaust92 avatar Sep 17 '24 14:09 DrFaust92

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 3 files changed, 145 insertions(+), 2 deletions(-)) google-beta provider: Diff ( 3 files changed, 145 insertions(+), 2 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_container_cluster (394 total tests) Please add an acceptance test which includes these fields. The test should include the following:

resource "google_container_cluster" "primary" {
  node_config {
    linux_node_config {
      hugepages_config {
        hugepage_size_1g = # value needed
        hugepage_size_2m = # value needed
      }
    }
  }
  node_pool {
    node_config {
      linux_node_config {
        hugepages_config {
          hugepage_size_1g = # value needed
          hugepage_size_2m = # value needed
        }
      }
    }
  }
}


modular-magician avatar Sep 18 '24 14:09 modular-magician

Tests analytics

Total tests: 211 Passed tests: 197 Skipped tests: 13 Affected tests: 1

Click here to see the affected service packages
  • container

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccContainerNodePool_withHugepageConfig

Get to know how VCR tests work

modular-magician avatar Sep 18 '24 14:09 modular-magician

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$ TestAccContainerNodePool_withHugepageConfig[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$

View the build log or the debug log for each test

modular-magician avatar Sep 18 '24 14:09 modular-magician