https://pulumi.com logo
#general
Title
# general
m

melodic-car-16900

07/29/2022, 1:15 PM
Can anyone throw any light as to why I've started receiving this error during my CI runs?
Copy code
panic: runtime error: invalid memory address or nil pointer dereference

[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xd38807]

error: Preview failed: transport is closing
goroutine 52 [running]:

<http://github.com/digitalocean/terraform-provider-digitalocean/digitalocean.flattenCredentials({0xc0009ac920|github.com/digitalocean/terraform-provider-digitalocean/digitalocean.flattenCredentials({0xc0009ac920>, 0x1b}, {0xc000995678, 0x4}, 0x0)

	/home/runner/go/pkg/mod/github.com/pulumi/terraform-provider-digitalocean@v1.19.1-0.20220406174106-35d0a4be61b3/digitalocean/resource_digitalocean_kubernetes_cluster.go:642 +0x47

<http://github.com/digitalocean/terraform-provider-digitalocean/digitalocean.digitaloceanKubernetesClusterRead(0xc0004ecf00|github.com/digitalocean/terraform-provider-digitalocean/digitalocean.digitaloceanKubernetesClusterRead(0xc0004ecf00>, 0xc0005da000, 0xc0000b4000)

	/home/runner/go/pkg/mod/github.com/pulumi/terraform-provider-digitalocean@v1.19.1-0.20220406174106-35d0a4be61b3/digitalocean/resource_digitalocean_kubernetes_cluster.go:383 +0xaf3

<http://github.com/digitalocean/terraform-provider-digitalocean/digitalocean.resourceDigitalOceanKubernetesClusterRead({0x176b1f8|github.com/digitalocean/terraform-provider-digitalocean/digitalocean.resourceDigitalOceanKubernetesClusterRead({0x176b1f8>, 0xc0000b4008}, 0xc000117d80, {0x1277f60, 0xc000b2c840})

	/home/runner/go/pkg/mod/github.com/pulumi/terraform-provider-digitalocean@v1.19.1-0.20220406174106-35d0a4be61b3/digitalocean/resource_digitalocean_kubernetes_cluster.go:311 +0x1ea

<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc0003ed140|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc0003ed140>, {0x176b1f8, 0xc0000b4008}, 0x24, {0x1277f60, 0xc000b2c840})

	/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20201218231525-9cca98608a5e/helper/schema/resource.go:297 +0x1a3

<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0003ed140|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0003ed140>, {0x176b1f8, 0xc0000b4008}, 0xc0009be540, {0x1277f60, 0xc000b2c840})

	/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20201218231525-9cca98608a5e/helper/schema/resource.go:564 +0x35b

<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.Refresh({0xc0006a3870}|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.Refresh({0xc0006a3870}>, {0x1440b28, 0x1f}, {0x176c0a0, 0xc000850f40})

	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.20.0/pkg/tfshim/sdk-v2/provider.go:125 +0x155

<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Read(0xc00036ab40|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Read(0xc00036ab40>, {0x176b268, 0xc00062c540}, 0xc0004c45a0)

	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.20.0/pkg/tfbridge/provider.go:941 +0x651

<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler.func1({0x176b268|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler.func1({0x176b268>, 0xc00062c540}, {0x139cfe0, 0xc0004c45a0})

	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.27.0/proto/go/provider.pb.go:2647 +0x7b

<http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x176b268|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x176b268>, 0xc00062c4e0}, {0x139cfe0, 0xc0004c45a0}, 0xc000b118e0, 0xc0006fd740)

	/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x425

<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler({0x13de460|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler({0x13de460>, 0xc00036ab40}, {0x176b268, 0xc00062c4e0}, 0xc00007cb40, 0xc0008376a0)

	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.27.0/proto/go/provider.pb.go:2649 +0x138

<http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc000652700|google.golang.org/grpc.(*Server).processUnaryRPC(0xc000652700>, {0x1782e38, 0xc0002d0780}, 0xc0007c9e60, 0xc000358de0, 0x2199a98, 0x0)

	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:1217 +0xc8f

<http://google.golang.org/grpc.(*Server).handleStream(0xc000652700|google.golang.org/grpc.(*Server).handleStream(0xc000652700>, {0x1782e38, 0xc0002d0780}, 0xc0007c9e60, 0x0)

	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:1540 +0xa2a

<http://google.golang.org/grpc.(*Server).serveStreams.func1.2()|google.golang.org/grpc.(*Server).serveStreams.func1.2()>

	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:878 +0x98

created by <http://google.golang.org/grpc.(*Server).serveStreams.func1|google.golang.org/grpc.(*Server).serveStreams.func1>

	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:876 +0x294
e

echoing-dinner-19531

07/29/2022, 1:23 PM
I'd raise a bug at https://github.com/pulumi/pulumi-digitalocean about that, looks like an internal memory bug
m

melodic-car-16900

07/29/2022, 1:38 PM
Awesome, thank you - this is super helpful
49 Views