-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Terraform Support for Dataproc Batches. #10619
Conversation
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_dataproc_batch" "primary" {
environment_config {
execution_config {
idle_ttl = # value needed
kms_key = # value needed
network_tags = # value needed
service_account = # value needed
staging_bucket = # value needed
subnetwork_uri = # value needed
ttl = # value needed
}
peripherals_config {
metastore_service = # value needed
spark_history_server_config {
dataproc_cluster = # value needed
}
}
}
labels = # value needed
pyspark_batch {
archive_uris = # value needed
args = # value needed
file_uris = # value needed
jar_file_uris = # value needed
python_file_uris = # value needed
}
runtime_config {
container_image = # value needed
repository_config {
pypi_repository_config {
pypi_repository = # value needed
}
}
version = # value needed
}
spark_batch {
archive_uris = # value needed
file_uris = # value needed
main_jar_file_uri = # value needed
}
spark_r_batch {
archive_uris = # value needed
args = # value needed
file_uris = # value needed
main_r_file_uri = # value needed
}
spark_sql_batch {
jar_file_uris = # value needed
query_variables = # value needed
}
state_history {
state = # value needed
state_message = # value needed
}
}
Resource: resource "google_dataproc_batch_iam_binding" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
Resource: resource "google_dataproc_batch_iam_member" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
|
Tests analyticsTotal tests: Click here to see the affected service packages
Action takenFound 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataprocBatchIamBindingGenerated|TestAccDataprocBatchIamMemberGenerated|TestAccDataprocBatchIamPolicyGenerated|TestAccDataprocBatch_dataprocBatchPysparkExample|TestAccDataprocBatch_dataprocBatchSparkExample|TestAccDataprocBatch_dataprocBatchSparksqlExample |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_dataproc_batch" "primary" {
environment_config {
execution_config {
idle_ttl = # value needed
kms_key = # value needed
network_tags = # value needed
service_account = # value needed
staging_bucket = # value needed
subnetwork_uri = # value needed
ttl = # value needed
}
peripherals_config {
metastore_service = # value needed
spark_history_server_config {
dataproc_cluster = # value needed
}
}
}
labels = # value needed
pyspark_batch {
archive_uris = # value needed
args = # value needed
file_uris = # value needed
jar_file_uris = # value needed
python_file_uris = # value needed
}
runtime_config {
container_image = # value needed
repository_config {
pypi_repository_config {
pypi_repository = # value needed
}
}
version = # value needed
}
spark_batch {
archive_uris = # value needed
file_uris = # value needed
main_jar_file_uri = # value needed
}
spark_r_batch {
archive_uris = # value needed
args = # value needed
file_uris = # value needed
main_r_file_uri = # value needed
}
spark_sql_batch {
jar_file_uris = # value needed
query_variables = # value needed
}
state_history {
state = # value needed
state_message = # value needed
}
}
Resource: resource "google_dataproc_batch_iam_binding" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
Resource: resource "google_dataproc_batch_iam_member" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
|
Tests analyticsTotal tests: Click here to see the affected service packages
Action takenFound 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataprocBatchIamBindingGenerated|TestAccDataprocBatchIamMemberGenerated|TestAccDataprocBatchIamPolicyGenerated|TestAccDataprocBatch_dataprocBatchPysparkExample|TestAccDataprocBatch_dataprocBatchSparkExample|TestAccDataprocBatch_dataprocBatchSparksqlExample |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Errors
|
Tests analyticsTotal tests: Click here to see the affected service packages
Non-exercised testsTests were added that are skipped in VCR:
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Errors
|
Tests analyticsTotal tests: Click here to see the affected service packagesall service packages are affected Non-exercised testsTests were added that are skipped in VCR:
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Errors
|
Tests analyticsTotal tests: Click here to see the affected service packagesall service packages are affected Non-exercised testsTests were added that are skipped in VCR:
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Errors
|
Tests analyticsTotal tests: Click here to see the affected service packagesall service packages are affected Non-exercised testsTests were added that are skipped in VCR:
|
This comment was marked as outdated.
This comment was marked as outdated.
1 similar comment
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_dataproc_batch" "primary" {
environment_config {
execution_config {
idle_ttl = # value needed
kms_key = # value needed
network_uri = # value needed
service_account = # value needed
staging_bucket = # value needed
}
peripherals_config {
metastore_service = # value needed
spark_history_server_config {
dataproc_cluster = # value needed
}
}
}
pyspark_batch {
archive_uris = # value needed
args = # value needed
file_uris = # value needed
jar_file_uris = # value needed
python_file_uris = # value needed
}
runtime_config {
container_image = # value needed
repository_config {
pypi_repository_config {
pypi_repository = # value needed
}
}
version = # value needed
}
spark_batch {
archive_uris = # value needed
file_uris = # value needed
main_jar_file_uri = # value needed
}
spark_r_batch {
archive_uris = # value needed
file_uris = # value needed
}
spark_sql_batch {
jar_file_uris = # value needed
query_variables = # value needed
}
state_history {
state = # value needed
state_message = # value needed
}
}
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Tests analyticsTotal tests: 3924 Click here to see the affected service packages
Action takenFound 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
I'm marking this as ready for review so it will show up in my review queue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests are failing in beta because they get a 404 from the create endpoint. For example:
POST /v1beta2/projects/analog-ace-309318/locations/us-central1/batches?alt=json&batchId=tf-test-batch28n9wsuk9x
They're passing when I run them locally in GA, though. Possibly this resource doesn't exist in the beta API?
We would need this resource to be supported in the beta API, or for the beta API to be removed from provider.yaml (if that wouldn't have negative impacts on AutoscalingPolicy - it looks like there aren't any beta-only features on that resource so it should be fine?)
It would be great to also address the missing tests identified by the CI pipeline.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a few minor tweaks to clean up the previous compilation errors - hope you don't mind! I'm waiting for the acceptance tests to run, but in the meantime some additional test cases would be great.
The TestAccComputeInstanceTemplate_withNamePrefix failures are unrelated to this PR.
New: "2.2.100", | ||
ExpectDiffSuppress: true, | ||
}, | ||
// Additional cases excluded for brevity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add additional cases
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_dataproc_batch" "primary" {
environment_config {
execution_config {
idle_ttl = # value needed
kms_key = # value needed
network_uri = # value needed
service_account = # value needed
staging_bucket = # value needed
}
peripherals_config {
metastore_service = # value needed
spark_history_server_config {
dataproc_cluster = # value needed
}
}
}
pyspark_batch {
archive_uris = # value needed
args = # value needed
file_uris = # value needed
jar_file_uris = # value needed
python_file_uris = # value needed
}
runtime_config {
container_image = # value needed
repository_config {
pypi_repository_config {
pypi_repository = # value needed
}
}
version = # value needed
}
spark_batch {
archive_uris = # value needed
file_uris = # value needed
main_jar_file_uri = # value needed
}
spark_r_batch {
archive_uris = # value needed
file_uris = # value needed
}
spark_sql_batch {
jar_file_uris = # value needed
query_variables = # value needed
}
}
|
Tests analyticsTotal tests: 3905 Click here to see the affected service packages
Tests were added that are skipped in VCR:
Action takenFound 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made. Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple additional things from the acceptance test run! The tests are failing in beta because they get a 404 from the create endpoint. For example:
POST /v1beta2/projects/analog-ace-309318/locations/us-central1/batches?alt=json&batchId=tf-test-batch28n9wsuk9x
They're passing when I run them locally in GA, though. Possibly this resource doesn't exist in the beta API?
We would need this resource to be supported in the beta API, or for the beta API to be removed from provider.yaml (if that wouldn't have negative impacts on AutoscalingPolicy - it looks like there aren't any beta-only features on that resource so it should be fine?)
It would be great to also address the missing tests identified by the CI pipeline (if possible)
@melinath , is it a breaking change to remove the beta API for AutoscalingPolicy resource? |
I believe that if the GA API behaves the same way it's not something we consider a breaking change. We could call it out in the release notes though. |
@animeshnandanwar, this PR is waiting for action from you. Please address any comments or change requests, or re-request review from a core reviewer if no action is required. If no action is taken, this PR will be closed in 28 days. This notification can be disabled with the |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_looker_instance" "primary" {
psc_config {
service_attachments {
local_fqdn = # value needed
target_service_attachment_uri = # value needed
}
}
}
|
Tests analyticsTotal tests: 7 Click here to see the affected service packages
View the build log |
I opened a new PR |
Release Note Template for Downstream PRs (will be copied)