Open johannesploetner opened 5 months ago
Hi @johannesploetner, thanks for the concise description, I will take a look at this
@johannesploetner, I haven't been able to replicate this, could you please provide the .tf file that you used for this
I basically took your code from example folder and just did some minor changes, i.e. updated the required_providers
terraform {
required_providers {
pinot = {
source = "azaurus1/pinot"
version = "0.7.5"
}
}
}
provider "pinot" {
controller_url = "http://localhost:9000"
auth_token = "YWRtaW46dmVyeXNlY3JldA"
}
locals {
kafka_broker = "kafka:9092"
kafka_zk = "kafka:2181"
config_raw = jsondecode(file("realtime_table_example.json"))
## Convert the keys to snake_case
segments_config = {
for key, value in local.config_raw["segmentsConfig"] :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
tenants = {
for key, value in local.config_raw["tenants"] :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
metadata = {
for key, value in try(local.config_raw["metadata"], null) :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
routing = {
for key, value in local.config_raw["routing"] :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
upsert_config = {
for key, value in local.config_raw["upsertConfig"] :
join("_", [for keyName in regexall("(?:[A-Z]+[a-z]*)|(?:[a-z]+)", key) : lower(keyName)]) => value
}
table_index_config = {
for key, value in local.config_raw["tableIndexConfig"] :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
segment_partition_config = try({
for key, value in local.table_index_config["segment_partition_config"] :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}, null)
ingestion_config = {
for key, value in local.config_raw["ingestionConfig"] :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
filter_config = {
for key, value in local.ingestion_config["filter_config"] :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
stream_ingestion_config = {
for key, value in local.ingestion_config["stream_ingestion_config"] :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
transform_configs = [
for value in local.ingestion_config["transform_configs"] :
{ for key, inner_value in value : join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => inner_value }
]
kafka_overrides = {
"stream.kafka.broker.list" : sensitive(local.kafka_broker),
"stream.kafka.zk.broker.url" : sensitive(local.kafka_zk),
"stream.kafka.topic.name" : "ethereum_mainnet_block_headers"
}
parsed_stream_ingestion_config = {
column_major_segment_builder_enabled = true
stream_config_maps = [
for value in local.stream_ingestion_config["stream_config_maps"] : merge(value, local.kafka_overrides)
]
}
schema = {
for key, value in jsondecode(file("realtime_table_schema_example.json")) :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
dimension_field_specs = [
for field in local.schema["dimension_field_specs"] : {
for key, value in field :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
]
metric_field_specs = [
for field in local.schema["metric_field_specs"] : {
for key, value in field :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
]
date_time_field_specs = [
for field in local.schema["date_time_field_specs"] : {
for key, value in field :
join("_", [for keyName in regexall("[A-Z]?[a-z]+", key) : lower(keyName)]) => value
}
]
}
resource "pinot_schema" "realtime_table_schema" {
schema_name = local.schema["schema_name"]
enable_column_based_null_handling = local.schema["enable_column_based_null_handling"]
primary_key_columns = try(local.schema["primary_key_columns"], null)
dimension_field_specs = local.dimension_field_specs
metric_field_specs = local.metric_field_specs
date_time_field_specs = local.date_time_field_specs
}
resource "pinot_table" "realtime_table" {
table_name = "realtime_ethereum_mainnet_block_headers_OFFLINE"
table_type = "OFFLINE"
table = file("realtime_table_example.json")
segments_config = merge(local.segments_config, {
replication = "1"
})
#routing = local.routing
#upsert_config = local.upsert_config
tenants = local.tenants
table_index_config = merge(local.table_index_config, {
optimize_dictionary = false
segment_partition_config = local.segment_partition_config
})
# ingestion_config = merge(local.ingestion_config, {
# segment_time_check_value = true
# continue_on_error = true
# row_time_value_check = true
# stream_ingestion_config = local.parsed_stream_ingestion_config
# transform_configs = local.transform_configs
# filter_config = local.filter_config
# })
metadata = local.metadata
is_dim_table = local.config_raw["isDimTable"]
depends_on = [pinot_schema.realtime_table_schema]
}
Maybe this helps as well:
# terraform -version
Terraform v1.6.3
on darwin_amd64
+ provider registry.terraform.io/azaurus1/pinot v0.7.5
@johannesploetner
hmmm still not able to reproduce it, I have tried:
I have two suggestions for you to try, can you try:
export GODEBUG=asyncpreemptoff=1
- this is a fix for M1 silicon (https://stackoverflow.com/questions/70007818/terraform-the-plugin-encountered-an-error-and-failed-to-respond-to-the-plugin)tfenv
or just updating terraformI could reproduce with the newest terraform version on Mac (Intel Processor):
terraform -version
Terraform v1.8.5
on darwin_amd64
+ provider registry.terraform.io/azaurus1/pinot v0.7.5
It still gives the error:
Plan: 1 to add, 3 to change, 0 to destroy.
╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
Stack trace from the terraform-provider-pinot_v0.7.5 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x10d36829]
goroutine 211 [running]:
terraform-provider-pinot/internal/converter.convertIngestionConfig(0xc0005ab060)
terraform-provider-pinot/internal/converter/converter.go:85 +0x29
terraform-provider-pinot/internal/converter.SetStateFromTable({0x112af888, 0xc0006a6a80}, 0xc000003c80, 0xc0005ab060)
terraform-provider-pinot/internal/converter/converter.go:22 +0x1c5
terraform-provider-pinot/internal/provider.(*tableResource).Read(0xc00013a010, {0x112af888, 0xc0006a6a80}, {{{{0x112b4af8, 0xc0007a2d50}, {0x111a7d60, 0xc00068b5f0}}, {0x112b7ef0, 0xc000600370}}, 0xc00013a020, ...}, ...)
terraform-provider-pinot/internal/provider/tables_resource.go:156 +0x247
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadResource(0xc0000bd6c0, {0x112af888, 0xc0006a6a80}, 0xc0006a6ae0, 0xc0005ab6c8)
github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwserver/server_readresource.go:101 +0x62e
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadResource(0xc0000bd6c0, {0x112af888?, 0xc0006a6990?}, 0xc0003761c0)
github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/proto6server/server_readresource.go:55 +0x38e
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc0001ce6e0, {0x112af888?, 0xc0006a6090?}, 0xc00066ed90)
github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/tf6server/server.go:784 +0x309
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0x1127f7a0, 0xc0001ce6e0}, {0x112af888, 0xc0006a6090}, 0xc000052c00, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:482 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000195000, {0x112af888, 0xc0006a6000}, {0x112b61d8, 0xc000480000}, 0xc00070fc20, 0xc000275b00, 0x117b2fc8, 0x0)
google.golang.org/grpc@v1.63.2/server.go:1369 +0xdf8
google.golang.org/grpc.(*Server).handleStream(0xc000195000, {0x112b61d8, 0xc000480000}, 0xc00070fc20)
google.golang.org/grpc@v1.63.2/server.go:1780 +0xe8b
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/grpc@v1.63.2/server.go:1019 +0x8b
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 20
google.golang.org/grpc@v1.63.2/server.go:1030 +0x125
Error: The terraform-provider-pinot_v0.7.5 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
can you please run:
export TF_LOG=DEBUG
terraform plan
and send the results
sure, here you go:
2024-06-15T16:07:27.094+0200 [INFO] Terraform version: 1.8.5
2024-06-15T16:07:27.094+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.51.0
2024-06-15T16:07:27.094+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.20.0
2024-06-15T16:07:27.094+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2024-06-15T16:07:27.094+0200 [DEBUG] using github.com/zclconf/go-cty v1.14.3
2024-06-15T16:07:27.094+0200 [INFO] Go runtime version: go1.22.1
2024-06-15T16:07:27.094+0200 [INFO] CLI args: []string{"terraform", "plan", "-out=tfplan"}
2024-06-15T16:07:27.094+0200 [DEBUG] Attempting to open CLI config file: /Users/jploetner/.terraformrc
2024-06-15T16:07:27.094+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2024-06-15T16:07:27.095+0200 [DEBUG] checking for credentials in "/Users/jploetner/.terraform.d/plugins"
2024-06-15T16:07:27.095+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2024-06-15T16:07:27.095+0200 [DEBUG] will search for provider plugins in /Users/jploetner/.terraform.d/plugins
2024-06-15T16:07:27.095+0200 [DEBUG] ignoring non-existing provider search directory /Users/jploetner/Library/Application Support/io.terraform/plugins
2024-06-15T16:07:27.095+0200 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2024-06-15T16:07:27.096+0200 [INFO] CLI command args: []string{"plan", "-out=tfplan"}
2024-06-15T16:07:27.099+0200 [DEBUG] New state was assigned lineage "8b9f3fb7-a2b3-a4b8-1892-cb84f62b89fd"
2024-06-15T16:07:27.177+0200 [DEBUG] checking for provisioner in "."
2024-06-15T16:07:27.201+0200 [DEBUG] checking for provisioner in "/usr/local/bin"
2024-06-15T16:07:27.201+0200 [DEBUG] checking for provisioner in "/Users/jploetner/.terraform.d/plugins"
2024-06-15T16:07:27.202+0200 [INFO] backend/local: starting Plan operation
2024-06-15T16:07:27.207+0200 [DEBUG] created provider logger: level=debug
2024-06-15T16:07:27.207+0200 [INFO] provider: configuring client automatic mTLS
2024-06-15T16:07:27.227+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 args=[".terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5"]
2024-06-15T16:07:27.233+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=50700
2024-06-15T16:07:27.233+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5
2024-06-15T16:07:27.249+0200 [INFO] provider.terraform-provider-pinot_v0.7.5: configuring server automatic mTLS: timestamp="2024-06-15T16:07:27.249+0200"
2024-06-15T16:07:27.270+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: plugin address: address=/var/folders/21/rn7pnb9x4533d1bcls0x7g5c0000gn/T/plugin2129713488 network=unix timestamp="2024-06-15T16:07:27.270+0200"
2024-06-15T16:07:27.270+0200 [DEBUG] provider: using plugin: version=6
2024-06-15T16:07:27.300+0200 [DEBUG] No provider meta schema returned
2024-06-15T16:07:27.312+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-06-15T16:07:27.314+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=50700
2024-06-15T16:07:27.314+0200 [DEBUG] provider: plugin exited
2024-06-15T16:07:27.314+0200 [DEBUG] Building and walking validate graph
2024-06-15T16:07:27.314+0200 [DEBUG] ProviderTransformer: "pinot_schema.realtime_table_schema" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/azaurus1/pinot"]
2024-06-15T16:07:27.314+0200 [DEBUG] ProviderTransformer: "pinot_table.realtime_table" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/azaurus1/pinot"]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.filter_config (expand)" references: [local.ingestion_config (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.stream_ingestion_config (expand)" references: [local.ingestion_config (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.ingestion_config (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.dimension_field_specs (expand)" references: [local.schema (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.config_raw (expand)" references: []
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "pinot_schema.realtime_table_schema" references: [local.schema (expand) local.metric_field_specs (expand) local.schema (expand) local.schema (expand) local.date_time_field_specs (expand) local.dimension_field_specs (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "pinot_table.realtime_table" references: [pinot_schema.realtime_table_schema local.tenants (expand) local.table_index_config (expand) local.segment_partition_config (expand) local.metadata (expand) local.config_raw (expand) local.segments_config (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.parsed_stream_ingestion_config (expand)" references: [local.stream_ingestion_config (expand) local.kafka_overrides (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.date_time_field_specs (expand)" references: [local.schema (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.kafka_zk (expand)" references: []
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.table_index_config (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.kafka_overrides (expand)" references: [local.kafka_broker (expand) local.kafka_zk (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.routing (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.kafka_broker (expand)" references: []
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.tenants (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/azaurus1/pinot\"]" references: []
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.upsert_config (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.metadata (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.metric_field_specs (expand)" references: [local.schema (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.transform_configs (expand)" references: [local.ingestion_config (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.segments_config (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.schema (expand)" references: []
2024-06-15T16:07:27.315+0200 [DEBUG] ReferenceTransformer: "local.segment_partition_config (expand)" references: [local.table_index_config (expand)]
2024-06-15T16:07:27.317+0200 [DEBUG] Starting graph walk: walkValidate
2024-06-15T16:07:27.317+0200 [DEBUG] created provider logger: level=debug
2024-06-15T16:07:27.317+0200 [INFO] provider: configuring client automatic mTLS
2024-06-15T16:07:27.326+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 args=[".terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5"]
2024-06-15T16:07:27.331+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=50746
2024-06-15T16:07:27.331+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5
2024-06-15T16:07:27.348+0200 [INFO] provider.terraform-provider-pinot_v0.7.5: configuring server automatic mTLS: timestamp="2024-06-15T16:07:27.347+0200"
2024-06-15T16:07:27.367+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: plugin address: address=/var/folders/21/rn7pnb9x4533d1bcls0x7g5c0000gn/T/plugin3346754097 network=unix timestamp="2024-06-15T16:07:27.367+0200"
2024-06-15T16:07:27.367+0200 [DEBUG] provider: using plugin: version=6
2024-06-15T16:07:27.383+0200 [DEBUG] skipping FixUpBlockAttrs
2024-06-15T16:07:27.391+0200 [DEBUG] skipping FixUpBlockAttrs
2024-06-15T16:07:27.398+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-06-15T16:07:27.399+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=50746
2024-06-15T16:07:27.400+0200 [DEBUG] provider: plugin exited
2024-06-15T16:07:27.400+0200 [INFO] backend/local: plan calling Plan
2024-06-15T16:07:27.400+0200 [DEBUG] Building and walking plan graph for NormalMode
2024-06-15T16:07:27.402+0200 [DEBUG] ProviderTransformer: "pinot_table.realtime_table (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/azaurus1/pinot"]
2024-06-15T16:07:27.402+0200 [DEBUG] ProviderTransformer: "pinot_schema.realtime_table_schema (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/azaurus1/pinot"]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "pinot_schema.realtime_table_schema (expand)" references: [local.dimension_field_specs (expand) local.schema (expand) local.metric_field_specs (expand) local.schema (expand) local.schema (expand) local.date_time_field_specs (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.stream_ingestion_config (expand)" references: [local.ingestion_config (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.tenants (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.metadata (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.kafka_overrides (expand)" references: [local.kafka_broker (expand) local.kafka_zk (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.metric_field_specs (expand)" references: [local.schema (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.routing (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.kafka_zk (expand)" references: []
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.ingestion_config (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.transform_configs (expand)" references: [local.ingestion_config (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.schema (expand)" references: []
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "pinot_table.realtime_table (expand)" references: [pinot_schema.realtime_table_schema (expand) local.tenants (expand) local.table_index_config (expand) local.segment_partition_config (expand) local.metadata (expand) local.config_raw (expand) local.segments_config (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.dimension_field_specs (expand)" references: [local.schema (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.config_raw (expand)" references: []
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.segments_config (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/azaurus1/pinot\"]" references: []
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.filter_config (expand)" references: [local.ingestion_config (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.upsert_config (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.table_index_config (expand)" references: [local.config_raw (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.segment_partition_config (expand)" references: [local.table_index_config (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.date_time_field_specs (expand)" references: [local.schema (expand)]
2024-06-15T16:07:27.405+0200 [DEBUG] ReferenceTransformer: "local.parsed_stream_ingestion_config (expand)" references: [local.stream_ingestion_config (expand) local.kafka_overrides (expand)]
2024-06-15T16:07:27.406+0200 [DEBUG] ReferenceTransformer: "local.kafka_broker (expand)" references: []
2024-06-15T16:07:27.410+0200 [DEBUG] Starting graph walk: walkPlan
2024-06-15T16:07:27.411+0200 [DEBUG] created provider logger: level=debug
2024-06-15T16:07:27.411+0200 [INFO] provider: configuring client automatic mTLS
2024-06-15T16:07:27.418+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 args=[".terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5"]
2024-06-15T16:07:27.424+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=50750
2024-06-15T16:07:27.425+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5
2024-06-15T16:07:27.440+0200 [INFO] provider.terraform-provider-pinot_v0.7.5: configuring server automatic mTLS: timestamp="2024-06-15T16:07:27.440+0200"
2024-06-15T16:07:27.457+0200 [DEBUG] provider: using plugin: version=6
2024-06-15T16:07:27.457+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: plugin address: address=/var/folders/21/rn7pnb9x4533d1bcls0x7g5c0000gn/T/plugin326405742 network=unix timestamp="2024-06-15T16:07:27.457+0200"
2024-06-15T16:07:27.470+0200 [WARN] unexpected data: registry.terraform.io/azaurus1/pinot:stdout="auth type not supported, defaulting to basic auth"
2024-06-15T16:07:27.470+0200 [DEBUG] ReferenceTransformer: "pinot_schema.realtime_table_schema" references: []
pinot_schema.realtime_table_schema: Refreshing state...
2024-06-15T16:07:27.495+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_attribute_path=schema_name tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_rpc=ReadResource timestamp="2024-06-15T16:07:27.495+0200"
2024-06-15T16:07:27.495+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=enable_column_based_null_handling tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema timestamp="2024-06-15T16:07:27.495+0200"
2024-06-15T16:07:27.495+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=dimension_field_specs[0].data_type tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_rpc=ReadResource @module=sdk.framework @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema timestamp="2024-06-15T16:07:27.495+0200"
2024-06-15T16:07:27.495+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_attribute_path=dimension_field_specs[0].not_null tf_rpc=ReadResource tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 timestamp="2024-06-15T16:07:27.495+0200"
2024-06-15T16:07:27.495+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=dimension_field_specs[0].name tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_rpc=ReadResource timestamp="2024-06-15T16:07:27.495+0200"
2024-06-15T16:07:27.495+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_attribute_path=dimension_field_specs[0] tf_provider_addr=hashicorp.com/edu/pinot tf_rpc=ReadResource timestamp="2024-06-15T16:07:27.495+0200"
2024-06-15T16:07:27.496+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema tf_attribute_path=dimension_field_specs[1].name tf_rpc=ReadResource timestamp="2024-06-15T16:07:27.495+0200"
2024-06-15T16:07:27.496+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_rpc=ReadResource tf_attribute_path=dimension_field_specs[1].data_type tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema timestamp="2024-06-15T16:07:27.495+0200"
2024-06-15T16:07:27.496+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=dimension_field_specs[1].not_null tf_provider_addr=hashicorp.com/edu/pinot timestamp="2024-06-15T16:07:27.495+0200"
2024-06-15T16:07:27.496+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=dimension_field_specs[1] tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema timestamp="2024-06-15T16:07:27.495+0200"
2024-06-15T16:07:27.496+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=dimension_field_specs[2].name tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.496+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_attribute_path=dimension_field_specs[2].data_type tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema tf_provider_addr=hashicorp.com/edu/pinot timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.496+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=dimension_field_specs[2].not_null tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.496+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource tf_attribute_path=dimension_field_specs[2] tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.496+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_provider_addr=hashicorp.com/edu/pinot @module=sdk.framework tf_attribute_path=dimension_field_specs[3].data_type tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.497+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=dimension_field_specs[3].not_null tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.497+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=dimension_field_specs[3].name tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_rpc=ReadResource tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.497+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=dimension_field_specs[3] tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema tf_rpc=ReadResource @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.499+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=dimension_field_specs[4].name @module=sdk.framework tf_resource_type=pinot_schema timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.499+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 @module=sdk.framework tf_attribute_path=dimension_field_specs[4].data_type tf_resource_type=pinot_schema tf_rpc=ReadResource timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.499+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=dimension_field_specs[4].not_null tf_resource_type=pinot_schema tf_rpc=ReadResource tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.499+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_attribute_path=dimension_field_specs[4] tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema tf_rpc=ReadResource timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.499+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=dimension_field_specs tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.499+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_resource_type=pinot_schema @module=sdk.framework tf_attribute_path=metric_field_specs[0].name tf_provider_addr=hashicorp.com/edu/pinot @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_rpc=ReadResource timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.499+0200 [DEBUG] skipping FixUpBlockAttrs
2024-06-15T16:07:27.499+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema @module=sdk.framework tf_attribute_path=metric_field_specs[0].data_type @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_rpc=ReadResource timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.499+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=metric_field_specs[0].not_null tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_resource_type=pinot_schema tf_rpc=ReadResource timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.499+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema tf_rpc=ReadResource @module=sdk.framework tf_attribute_path=metric_field_specs[0] tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.499+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_resource_type=pinot_schema tf_rpc=ReadResource @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=metric_field_specs timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.500+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_provider_addr=hashicorp.com/edu/pinot @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_attribute_path=date_time_field_specs[0].format tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema tf_rpc=ReadResource timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.500+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_provider_addr=hashicorp.com/edu/pinot tf_rpc=ReadResource @module=sdk.framework tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=date_time_field_specs[0].granularity timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.500+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=date_time_field_specs[0].name tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.500+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_attribute_path=date_time_field_specs[0].data_type tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.500+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=date_time_field_specs[0].not_null tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_rpc=ReadResource tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.503+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_attribute_path=date_time_field_specs[0] tf_resource_type=pinot_schema tf_rpc=ReadResource timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.503+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=date_time_field_specs tf_provider_addr=hashicorp.com/edu/pinot tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_resource_type=pinot_schema timestamp="2024-06-15T16:07:27.496+0200"
2024-06-15T16:07:27.505+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=primary_key_columns[0] tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema tf_rpc=ReadResource @module=sdk.framework @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 timestamp="2024-06-15T16:07:27.497+0200"
2024-06-15T16:07:27.505+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=primary_key_columns tf_resource_type=pinot_schema tf_req_id=97aa8427-36d7-fe53-ae15-51cad48fe5a9 tf_rpc=ReadResource @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot timestamp="2024-06-15T16:07:27.497+0200"
2024-06-15T16:07:27.512+0200 [DEBUG] ReferenceTransformer: "pinot_table.realtime_table" references: []
pinot_table.realtime_table: Refreshing state...
2024-06-15T16:07:27.538+0200 [INFO] provider.terraform-provider-pinot_v0.7.5: here
: @caller=terraform-provider-pinot/internal/provider/tables_resource.go:143 @module=pinot tf_rpc=ReadResource tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=6747aee6-d959-d9b0-e340-7a8d12577857 tf_resource_type=pinot_table timestamp="2024-06-15T16:07:27.538+0200"
2024-06-15T16:07:27.538+0200 [INFO] provider.terraform-provider-pinot_v0.7.5: setting state
: tf_req_id=6747aee6-d959-d9b0-e340-7a8d12577857 tf_resource_type=pinot_table tf_rpc=ReadResource @caller=terraform-provider-pinot/internal/provider/tables_resource.go:154 @module=pinot tf_provider_addr=hashicorp.com/edu/pinot timestamp="2024-06-15T16:07:27.538+0200"
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: panic: runtime error: invalid memory address or nil pointer dereference
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xfd78829]
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: goroutine 11 [running]:
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/converter.convertIngestionConfig(0xc0001f9060)
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/converter/converter.go:85 +0x29
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/converter.SetStateFromTable({0x102f1888, 0xc000610720}, 0xc000000fc0, 0xc0001f9060)
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/converter/converter.go:22 +0x1c5
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/provider.(*tableResource).Read(0xc000088000, {0x102f1888, 0xc000610720}, {{{{0x102f6af8, 0xc000301200}, {0x101e9d60, 0xc0000bde60}}, {0x102f9ef0, 0xc00030e230}}, 0xc000088030, ...}, ...)
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/provider/tables_resource.go:156 +0x247
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadResource(0xc0001336c0, {0x102f1888, 0xc000610720}, 0xc000610780, 0xc0001f96c8)
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwserver/server_readresource.go:101 +0x62e
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadResource(0xc0001336c0, {0x102f1888?, 0xc000610630?}, 0xc0000b87c0)
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/proto6server/server_readresource.go:55 +0x38e
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc0002226e0, {0x102f1888?, 0xc00021de00?}, 0xc0001df5e0)
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/tf6server/server.go:784 +0x309
2024-06-15T16:07:27.541+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0x102c17a0, 0xc0002226e0}, {0x102f1888, 0xc00021de00}, 0xc000458280, 0x0)
2024-06-15T16:07:27.542+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:482 +0x1a6
2024-06-15T16:07:27.542+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000195000, {0x102f1888, 0xc00021dd70}, {0x102f81d8, 0xc0003fc000}, 0xc0005237a0, 0xc000301ad0, 0x107f4fc8, 0x0)
2024-06-15T16:07:27.542+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc@v1.63.2/server.go:1369 +0xdf8
2024-06-15T16:07:27.542+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc.(*Server).handleStream(0xc000195000, {0x102f81d8, 0xc0003fc000}, 0xc0005237a0)
2024-06-15T16:07:27.542+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc@v1.63.2/server.go:1780 +0xe8b
2024-06-15T16:07:27.542+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc.(*Server).serveStreams.func2.1()
2024-06-15T16:07:27.543+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc@v1.63.2/server.go:1019 +0x8b
2024-06-15T16:07:27.543+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 39
2024-06-15T16:07:27.543+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc@v1.63.2/server.go:1030 +0x125
2024-06-15T16:07:27.544+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=50750 error="exit status 2"
2024-06-15T16:07:27.544+0200 [ERROR] plugin6.(*GRPCProvider).ReadResource: error="rpc error: code = Canceled desc = context canceled"
2024-06-15T16:07:27.544+0200 [ERROR] vertex "pinot_table.realtime_table" error: Request cancelled
2024-06-15T16:07:27.544+0200 [ERROR] vertex "pinot_table.realtime_table (expand)" error: Request cancelled
2024-06-15T16:07:27.545+0200 [WARN] Planning encountered errors, so plan is not applyable
2024-06-15T16:07:27.545+0200 [INFO] backend/local: plan operation completed
2024-06-15T16:07:27.545+0200 [INFO] backend/local: writing plan output to: tfplan
2024-06-15T16:07:27.545+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Canceled desc = context canceled"
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Request cancelled
│
│ The plugin6.(*GRPCProvider).ReadResource request was cancelled.
╵
Stack trace from the terraform-provider-pinot_v0.7.5 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xfd78829]
goroutine 11 [running]:
terraform-provider-pinot/internal/converter.convertIngestionConfig(0xc0001f9060)
terraform-provider-pinot/internal/converter/converter.go:85 +0x29
terraform-provider-pinot/internal/converter.SetStateFromTable({0x102f1888, 0xc000610720}, 0xc000000fc0, 0xc0001f9060)
terraform-provider-pinot/internal/converter/converter.go:22 +0x1c5
terraform-provider-pinot/internal/provider.(*tableResource).Read(0xc000088000, {0x102f1888, 0xc000610720}, {{{{0x102f6af8, 0xc000301200}, {0x101e9d60, 0xc0000bde60}}, {0x102f9ef0, 0xc00030e230}}, 0xc000088030, ...}, ...)
terraform-provider-pinot/internal/provider/tables_resource.go:156 +0x247
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadResource(0xc0001336c0, {0x102f1888, 0xc000610720}, 0xc000610780, 0xc0001f96c8)
github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwserver/server_readresource.go:101 +0x62e
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadResource(0xc0001336c0, {0x102f1888?, 0xc000610630?}, 0xc0000b87c0)
github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/proto6server/server_readresource.go:55 +0x38e
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc0002226e0, {0x102f1888?, 0xc00021de00?}, 0xc0001df5e0)
github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/tf6server/server.go:784 +0x309
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0x102c17a0, 0xc0002226e0}, {0x102f1888, 0xc00021de00}, 0xc000458280, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:482 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000195000, {0x102f1888, 0xc00021dd70}, {0x102f81d8, 0xc0003fc000}, 0xc0005237a0, 0xc000301ad0, 0x107f4fc8, 0x0)
google.golang.org/grpc@v1.63.2/server.go:1369 +0xdf8
google.golang.org/grpc.(*Server).handleStream(0xc000195000, {0x102f81d8, 0xc0003fc000}, 0xc0005237a0)
google.golang.org/grpc@v1.63.2/server.go:1780 +0xe8b
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/grpc@v1.63.2/server.go:1019 +0x8b
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 39
google.golang.org/grpc@v1.63.2/server.go:1030 +0x125
Error: The terraform-provider-pinot_v0.7.5 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
2024-06-15T16:07:27.580+0200 [DEBUG] provider: plugin exited
I'm not totally sure that this is a provider specific issue, from what I can see from other examples of this error it may be related to either your architecture or OS, are you able to confirm if you ran:
export GODEBUG=asyncpreemptoff=1;
terraform plan
?
It behaves same...
$ export GODEBUG=asyncpreemptoff=1;
$ terraform plan
2024-06-16T17:20:47.371+0200 [INFO] Terraform version: 1.8.5
2024-06-16T17:20:47.372+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.51.0
2024-06-16T17:20:47.372+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.20.0
2024-06-16T17:20:47.372+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2024-06-16T17:20:47.372+0200 [DEBUG] using github.com/zclconf/go-cty v1.14.3
2024-06-16T17:20:47.372+0200 [INFO] Go runtime version: go1.22.1
2024-06-16T17:20:47.372+0200 [INFO] CLI args: []string{"terraform", "plan"}
2024-06-16T17:20:47.372+0200 [DEBUG] Attempting to open CLI config file: /Users/jploetner/.terraformrc
2024-06-16T17:20:47.372+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2024-06-16T17:20:47.374+0200 [DEBUG] checking for credentials in "/Users/jploetner/.terraform.d/plugins"
2024-06-16T17:20:47.374+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2024-06-16T17:20:47.374+0200 [DEBUG] will search for provider plugins in /Users/jploetner/.terraform.d/plugins
2024-06-16T17:20:47.375+0200 [DEBUG] ignoring non-existing provider search directory /Users/jploetner/Library/Application Support/io.terraform/plugins
2024-06-16T17:20:47.375+0200 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2024-06-16T17:20:47.376+0200 [INFO] CLI command args: []string{"plan"}
2024-06-16T17:20:47.389+0200 [DEBUG] New state was assigned lineage "fa719e99-981d-0836-1b64-7d0daca50ce4"
2024-06-16T17:20:47.437+0200 [DEBUG] checking for provisioner in "."
2024-06-16T17:20:47.465+0200 [DEBUG] checking for provisioner in "/usr/local/bin"
2024-06-16T17:20:47.465+0200 [DEBUG] checking for provisioner in "/Users/jploetner/.terraform.d/plugins"
2024-06-16T17:20:47.469+0200 [INFO] backend/local: starting Plan operation
2024-06-16T17:20:47.482+0200 [DEBUG] created provider logger: level=debug
2024-06-16T17:20:47.482+0200 [INFO] provider: configuring client automatic mTLS
2024-06-16T17:20:47.501+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 args=[".terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5"]
2024-06-16T17:20:47.505+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=30803
2024-06-16T17:20:47.506+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5
2024-06-16T17:20:47.518+0200 [INFO] provider.terraform-provider-pinot_v0.7.5: configuring server automatic mTLS: timestamp="2024-06-16T17:20:47.517+0200"
2024-06-16T17:20:47.535+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: plugin address: address=/var/folders/21/rn7pnb9x4533d1bcls0x7g5c0000gn/T/plugin3821085134 network=unix timestamp="2024-06-16T17:20:47.535+0200"
2024-06-16T17:20:47.535+0200 [DEBUG] provider: using plugin: version=6
2024-06-16T17:20:47.562+0200 [DEBUG] No provider meta schema returned
2024-06-16T17:20:47.564+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-06-16T17:20:47.564+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=30803
2024-06-16T17:20:47.564+0200 [DEBUG] provider: plugin exited
2024-06-16T17:20:47.565+0200 [DEBUG] Building and walking validate graph
2024-06-16T17:20:47.567+0200 [DEBUG] ProviderTransformer: "pinot_schema.realtime_table_schema" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/azaurus1/pinot"]
2024-06-16T17:20:47.568+0200 [DEBUG] ProviderTransformer: "pinot_table.realtime_table" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/azaurus1/pinot"]
2024-06-16T17:20:47.568+0200 [DEBUG] ReferenceTransformer: "local.date_time_field_specs (expand)" references: [local.schema (expand)]
2024-06-16T17:20:47.568+0200 [DEBUG] ReferenceTransformer: "local.segment_partition_config (expand)" references: [local.table_index_config (expand)]
2024-06-16T17:20:47.568+0200 [DEBUG] ReferenceTransformer: "local.dimension_field_specs (expand)" references: [local.schema (expand)]
2024-06-16T17:20:47.568+0200 [DEBUG] ReferenceTransformer: "local.config_raw (expand)" references: []
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/azaurus1/pinot\"]" references: []
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "pinot_table.realtime_table" references: [pinot_schema.realtime_table_schema local.config_raw (expand) local.metadata (expand) local.tenants (expand) local.segments_config (expand) local.table_index_config (expand) local.segment_partition_config (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.routing (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.schema (expand)" references: []
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.kafka_overrides (expand)" references: [local.kafka_broker (expand) local.kafka_zk (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "pinot_schema.realtime_table_schema" references: [local.schema (expand) local.date_time_field_specs (expand) local.dimension_field_specs (expand) local.schema (expand) local.metric_field_specs (expand) local.schema (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.stream_ingestion_config (expand)" references: [local.ingestion_config (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.upsert_config (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.ingestion_config (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.metadata (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.tenants (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.transform_configs (expand)" references: [local.ingestion_config (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.filter_config (expand)" references: [local.ingestion_config (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.kafka_broker (expand)" references: []
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.parsed_stream_ingestion_config (expand)" references: [local.stream_ingestion_config (expand) local.kafka_overrides (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.kafka_zk (expand)" references: []
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.segments_config (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.metric_field_specs (expand)" references: [local.schema (expand)]
2024-06-16T17:20:47.569+0200 [DEBUG] ReferenceTransformer: "local.table_index_config (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.570+0200 [DEBUG] Starting graph walk: walkValidate
2024-06-16T17:20:47.575+0200 [DEBUG] created provider logger: level=debug
2024-06-16T17:20:47.575+0200 [INFO] provider: configuring client automatic mTLS
2024-06-16T17:20:47.584+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 args=[".terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5"]
2024-06-16T17:20:47.587+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=30810
2024-06-16T17:20:47.587+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5
2024-06-16T17:20:47.599+0200 [INFO] provider.terraform-provider-pinot_v0.7.5: configuring server automatic mTLS: timestamp="2024-06-16T17:20:47.598+0200"
2024-06-16T17:20:47.611+0200 [DEBUG] provider: using plugin: version=6
2024-06-16T17:20:47.611+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: plugin address: address=/var/folders/21/rn7pnb9x4533d1bcls0x7g5c0000gn/T/plugin3087734871 network=unix timestamp="2024-06-16T17:20:47.611+0200"
2024-06-16T17:20:47.623+0200 [DEBUG] skipping FixUpBlockAttrs
2024-06-16T17:20:47.627+0200 [DEBUG] skipping FixUpBlockAttrs
2024-06-16T17:20:47.634+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-06-16T17:20:47.635+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=30810
2024-06-16T17:20:47.635+0200 [DEBUG] provider: plugin exited
2024-06-16T17:20:47.635+0200 [INFO] backend/local: plan calling Plan
2024-06-16T17:20:47.635+0200 [DEBUG] Building and walking plan graph for NormalMode
2024-06-16T17:20:47.637+0200 [DEBUG] ProviderTransformer: "pinot_table.realtime_table (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/azaurus1/pinot"]
2024-06-16T17:20:47.637+0200 [DEBUG] ProviderTransformer: "pinot_schema.realtime_table_schema (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/azaurus1/pinot"]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.schema (expand)" references: []
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.segments_config (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.stream_ingestion_config (expand)" references: [local.ingestion_config (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.segment_partition_config (expand)" references: [local.table_index_config (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.kafka_overrides (expand)" references: [local.kafka_broker (expand) local.kafka_zk (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.table_index_config (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.routing (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.filter_config (expand)" references: [local.ingestion_config (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.metric_field_specs (expand)" references: [local.schema (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "pinot_schema.realtime_table_schema (expand)" references: [local.dimension_field_specs (expand) local.schema (expand) local.metric_field_specs (expand) local.schema (expand) local.schema (expand) local.date_time_field_specs (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.config_raw (expand)" references: []
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.tenants (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.date_time_field_specs (expand)" references: [local.schema (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.parsed_stream_ingestion_config (expand)" references: [local.stream_ingestion_config (expand) local.kafka_overrides (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "pinot_table.realtime_table (expand)" references: [pinot_schema.realtime_table_schema (expand) local.config_raw (expand) local.metadata (expand) local.table_index_config (expand) local.segment_partition_config (expand) local.tenants (expand) local.segments_config (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.kafka_zk (expand)" references: []
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.ingestion_config (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.upsert_config (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.dimension_field_specs (expand)" references: [local.schema (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/azaurus1/pinot\"]" references: []
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.metadata (expand)" references: [local.config_raw (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.transform_configs (expand)" references: [local.ingestion_config (expand)]
2024-06-16T17:20:47.638+0200 [DEBUG] ReferenceTransformer: "local.kafka_broker (expand)" references: []
2024-06-16T17:20:47.639+0200 [DEBUG] Starting graph walk: walkPlan
2024-06-16T17:20:47.640+0200 [DEBUG] created provider logger: level=debug
2024-06-16T17:20:47.640+0200 [INFO] provider: configuring client automatic mTLS
2024-06-16T17:20:47.645+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 args=[".terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5"]
2024-06-16T17:20:47.648+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=30816
2024-06-16T17:20:47.648+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5
2024-06-16T17:20:47.661+0200 [INFO] provider.terraform-provider-pinot_v0.7.5: configuring server automatic mTLS: timestamp="2024-06-16T17:20:47.661+0200"
2024-06-16T17:20:47.677+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: plugin address: network=unix address=/var/folders/21/rn7pnb9x4533d1bcls0x7g5c0000gn/T/plugin742572981 timestamp="2024-06-16T17:20:47.677+0200"
2024-06-16T17:20:47.678+0200 [DEBUG] provider: using plugin: version=6
2024-06-16T17:20:47.692+0200 [WARN] unexpected data: registry.terraform.io/azaurus1/pinot:stdout="auth type not supported, defaulting to basic auth"
2024-06-16T17:20:47.692+0200 [DEBUG] ReferenceTransformer: "pinot_schema.realtime_table_schema" references: []
pinot_schema.realtime_table_schema: Refreshing state...
2024-06-16T17:20:47.762+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema tf_attribute_path=date_time_field_specs[0].not_null tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework timestamp="2024-06-16T17:20:47.762+0200"
2024-06-16T17:20:47.762+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_resource_type=pinot_schema tf_rpc=ReadResource @module=sdk.framework tf_attribute_path=date_time_field_specs[0].format tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c timestamp="2024-06-16T17:20:47.762+0200"
2024-06-16T17:20:47.762+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=date_time_field_specs[0].granularity tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_provider_addr=hashicorp.com/edu/pinot @module=sdk.framework timestamp="2024-06-16T17:20:47.762+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=date_time_field_specs[0].name tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema @module=sdk.framework tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-16T17:20:47.762+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema tf_rpc=ReadResource @module=sdk.framework tf_attribute_path=date_time_field_specs[0].data_type @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-16T17:20:47.762+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=date_time_field_specs[0] tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema tf_rpc=ReadResource timestamp="2024-06-16T17:20:47.762+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_resource_type=pinot_schema @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=date_time_field_specs tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c timestamp="2024-06-16T17:20:47.762+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_attribute_path=primary_key_columns[0] tf_rpc=ReadResource timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_rpc=ReadResource tf_attribute_path=primary_key_columns tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema @module=sdk.framework timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_rpc=ReadResource tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=schema_name tf_provider_addr=hashicorp.com/edu/pinot timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_rpc=ReadResource tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=enable_column_based_null_handling timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=dimension_field_specs[0].name tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_rpc=ReadResource @module=sdk.framework timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_rpc=ReadResource tf_attribute_path=dimension_field_specs[0].data_type tf_provider_addr=hashicorp.com/edu/pinot timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=dimension_field_specs[0].not_null tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema tf_rpc=ReadResource @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_attribute_path=dimension_field_specs[0] timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema @module=sdk.framework tf_attribute_path=dimension_field_specs[1].not_null tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_attribute_path=dimension_field_specs[1].name tf_resource_type=pinot_schema tf_rpc=ReadResource tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=dimension_field_specs[1].data_type tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_resource_type=pinot_schema tf_rpc=ReadResource @module=sdk.framework timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=dimension_field_specs[1] tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema @module=sdk.framework timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c @module=sdk.framework tf_attribute_path=dimension_field_specs[2].name tf_resource_type=pinot_schema tf_rpc=ReadResource timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_attribute_path=dimension_field_specs[2].data_type tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_attribute_path=dimension_field_specs[2].not_null tf_resource_type=pinot_schema tf_rpc=ReadResource @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=dimension_field_specs[2] @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_attribute_path=dimension_field_specs[3].name tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema tf_rpc=ReadResource tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=dimension_field_specs[3].data_type tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_attribute_path=dimension_field_specs[3].not_null tf_provider_addr=hashicorp.com/edu/pinot tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=dimension_field_specs[3] tf_rpc=ReadResource tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_provider_addr=hashicorp.com/edu/pinot timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_attribute_path=dimension_field_specs[4].name tf_resource_type=pinot_schema timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=dimension_field_specs[4].data_type tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=dimension_field_specs[4].not_null tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c @module=sdk.framework tf_resource_type=pinot_schema tf_rpc=ReadResource timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema tf_rpc=ReadResource tf_attribute_path=dimension_field_specs[4] tf_provider_addr=hashicorp.com/edu/pinot timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_resource_type=pinot_schema tf_rpc=ReadResource tf_attribute_path=dimension_field_specs tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c @module=sdk.framework tf_resource_type=pinot_schema tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=metric_field_specs[0].data_type timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema tf_attribute_path=metric_field_specs[0].not_null @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=metric_field_specs[0].name tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_rpc=ReadResource timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=metric_field_specs[0] tf_resource_type=pinot_schema tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.763+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=metric_field_specs tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=3d22d015-a443-9d80-2f5c-da843137e87c tf_resource_type=pinot_schema @caller=github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwschemadata/value_semantic_equality.go:87 tf_rpc=ReadResource timestamp="2024-06-16T17:20:47.763+0200"
2024-06-16T17:20:47.764+0200 [DEBUG] skipping FixUpBlockAttrs
2024-06-16T17:20:47.773+0200 [DEBUG] ReferenceTransformer: "pinot_table.realtime_table" references: []
pinot_table.realtime_table: Refreshing state...
2024-06-16T17:20:47.794+0200 [INFO] provider.terraform-provider-pinot_v0.7.5: here
: tf_resource_type=pinot_table tf_rpc=ReadResource tf_provider_addr=hashicorp.com/edu/pinot @caller=terraform-provider-pinot/internal/provider/tables_resource.go:143 @module=pinot tf_req_id=a80b7926-c992-0812-2b35-f3a44e3b5b20 timestamp="2024-06-16T17:20:47.794+0200"
2024-06-16T17:20:47.794+0200 [INFO] provider.terraform-provider-pinot_v0.7.5: setting state
: @caller=terraform-provider-pinot/internal/provider/tables_resource.go:154 tf_provider_addr=hashicorp.com/edu/pinot tf_req_id=a80b7926-c992-0812-2b35-f3a44e3b5b20 tf_resource_type=pinot_table @module=pinot tf_rpc=ReadResource timestamp="2024-06-16T17:20:47.794+0200"
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: panic: runtime error: invalid memory address or nil pointer dereference
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x2c9d829]
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: goroutine 31 [running]:
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/converter.convertIngestionConfig(0xc00047b060)
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/converter/converter.go:85 +0x29
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/converter.SetStateFromTable({0x3216888, 0xc00011fe60}, 0xc000002840, 0xc00047b060)
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/converter/converter.go:22 +0x1c5
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/provider.(*tableResource).Read(0xc000182030, {0x3216888, 0xc00011fe60}, {{{{0x321baf8, 0xc0004b3710}, {0x310ed60, 0xc0004b2420}}, {0x321eef0, 0xc000438000}}, 0xc000182040, ...}, ...)
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: terraform-provider-pinot/internal/provider/tables_resource.go:156 +0x247
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadResource(0xc0001316c0, {0x3216888, 0xc00011fe60}, 0xc00011fec0, 0xc00047b6c8)
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwserver/server_readresource.go:101 +0x62e
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadResource(0xc0001316c0, {0x3216888?, 0xc00011fd70?}, 0xc0004022c0)
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/proto6server/server_readresource.go:55 +0x38e
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc0002a26e0, {0x3216888?, 0xc00011f590?}, 0xc00029c000)
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/tf6server/server.go:784 +0x309
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0x31e67a0, 0xc0002a26e0}, {0x3216888, 0xc00011f590}, 0xc0006b0000, 0x0)
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:482 +0x1a6
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000215000, {0x3216888, 0xc00011eab0}, {0x321d1d8, 0xc0003c6000}, 0xc000296000, 0xc0002fdb00, 0x3719fc8, 0x0)
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc@v1.63.2/server.go:1369 +0xdf8
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc.(*Server).handleStream(0xc000215000, {0x321d1d8, 0xc0003c6000}, 0xc000296000)
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc@v1.63.2/server.go:1780 +0xe8b
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc.(*Server).serveStreams.func2.1()
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc@v1.63.2/server.go:1019 +0x8b
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 43
2024-06-16T17:20:47.796+0200 [DEBUG] provider.terraform-provider-pinot_v0.7.5: google.golang.org/grpc@v1.63.2/server.go:1030 +0x125
2024-06-16T17:20:47.797+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/azaurus1/pinot/0.7.5/darwin_amd64/terraform-provider-pinot_v0.7.5 pid=30816 error="exit status 2"
2024-06-16T17:20:47.797+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-06-16T17:20:47.798+0200 [ERROR] plugin6.(*GRPCProvider).ReadResource: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-06-16T17:20:47.798+0200 [ERROR] vertex "pinot_table.realtime_table" error: Plugin did not respond
2024-06-16T17:20:47.798+0200 [ERROR] vertex "pinot_table.realtime_table (expand)" error: Plugin did not respond
2024-06-16T17:20:47.798+0200 [WARN] Planning encountered errors, so plan is not applyable
2024-06-16T17:20:47.798+0200 [INFO] backend/local: plan operation completed
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
Stack trace from the terraform-provider-pinot_v0.7.5 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x2c9d829]
goroutine 31 [running]:
terraform-provider-pinot/internal/converter.convertIngestionConfig(0xc00047b060)
terraform-provider-pinot/internal/converter/converter.go:85 +0x29
terraform-provider-pinot/internal/converter.SetStateFromTable({0x3216888, 0xc00011fe60}, 0xc000002840, 0xc00047b060)
terraform-provider-pinot/internal/converter/converter.go:22 +0x1c5
terraform-provider-pinot/internal/provider.(*tableResource).Read(0xc000182030, {0x3216888, 0xc00011fe60}, {{{{0x321baf8, 0xc0004b3710}, {0x310ed60, 0xc0004b2420}}, {0x321eef0, 0xc000438000}}, 0xc000182040, ...}, ...)
terraform-provider-pinot/internal/provider/tables_resource.go:156 +0x247
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadResource(0xc0001316c0, {0x3216888, 0xc00011fe60}, 0xc00011fec0, 0xc00047b6c8)
github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/fwserver/server_readresource.go:101 +0x62e
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadResource(0xc0001316c0, {0x3216888?, 0xc00011fd70?}, 0xc0004022c0)
github.com/hashicorp/terraform-plugin-framework@v1.7.0/internal/proto6server/server_readresource.go:55 +0x38e
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc0002a26e0, {0x3216888?, 0xc00011f590?}, 0xc00029c000)
github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/tf6server/server.go:784 +0x309
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0x31e67a0, 0xc0002a26e0}, {0x3216888, 0xc00011f590}, 0xc0006b0000, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:482 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000215000, {0x3216888, 0xc00011eab0}, {0x321d1d8, 0xc0003c6000}, 0xc000296000, 0xc0002fdb00, 0x3719fc8, 0x0)
google.golang.org/grpc@v1.63.2/server.go:1369 +0xdf8
google.golang.org/grpc.(*Server).handleStream(0xc000215000, {0x321d1d8, 0xc0003c6000}, 0xc000296000)
google.golang.org/grpc@v1.63.2/server.go:1780 +0xe8b
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/grpc@v1.63.2/server.go:1019 +0x8b
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 43
google.golang.org/grpc@v1.63.2/server.go:1030 +0x125
Error: The terraform-provider-pinot_v0.7.5 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
2024-06-16T17:20:47.803+0200 [DEBUG] provider: plugin exited
I am getting this same error on: ❯ terraform version Terraform v1.7.4 on darwin_amd64
This happened on the first attempt to deploy the table.
Does pinot_table need to require the table field still? It does not seem to parse any of the fields when a table config json is passed. All the table configs should be set with in the resource now? Adding tenants, segments_config, table_index_config, and metadata directly to the resource made it work. Those fields were set in the json that was passed but did not pick them up.
I will reach out to Hashicorp about the crashing on darwin_amd64.
@psheets, could you please create a separate issue about the pinot_table field, and we'll look into it there, thanks
The provider (v.0.7.5) currently crashes if a plan is created the second time. This can be reproduced even with the example provided in the repo (I just modified the table from a REALTIME table to a OFFLINE table because I didn't had a Kafka at hand)
steps to reproduce:
expected behavior: "terraform plan" works & no changes to the plan
actual behavior: