https://pulumi.com logo
#python
Title
# python
h

happy-grass-868

08/16/2023, 11:35 PM
Hi! I’m tying to use
ActionsSecret
from
pulumi-github
but it’s returning a
panic: runtime error: invalid memory address or nil pointer dereference
. Any idea what would cause this? Code and lengthy error message below in thread.
code and using pulumi-github==5.16.0
Copy code
gx_actions_secret = github.ActionsSecret("role_arn",
                     repository=github_repo,
                     secret_name="ROLE_ARN",
                     plaintext_value=gx_role.arn
                     )
error
Copy code
pulumi:providers:github (default_5_16_0):
    error: rpc error: code = Unavailable desc = error reading from server: EOF

  pulumi:pulumi:Stack (gx-demo-gx):
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x207b4dc]
    goroutine 39 [running]:
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.parseCheckError({0x29268a0|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.parseCheckError({0x29268a0>, 0xc000b3c570}, 0x0?, {0x2910c80?, 0xc000acb7b0})
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.57.0/pkg/tfbridge/adapt_check_failures.go:94 +0x33c
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).adaptCheckFailures(0xc0003df8c0|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).adaptCheckFailures(0xc0003df8c0>, {0x0?, 0x0?}, {0xc00004c380, 0x3f}, 0x0?, {0x29268a0, 0xc000b3c570}, 0x0?, {0xc0006a84c0, ...})
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.57.0/pkg/tfbridge/adapt_check_failures.go:46 +0x125
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.validateProviderConfig({0x2921528|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.validateProviderConfig({0x2921528>, 0xc0008dc330}, {0xc00004c380, 0x3f}, 0xc0003df8c0, {0x2916f60?, 0xc0008dc600?})
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.57.0/pkg/tfbridge/provider.go:416 +0x472
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).CheckConfig(0xc0003df8c0|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).CheckConfig(0xc0003df8c0>, {0x2921528, 0xc0008dc330}, 0xc00051e7e0)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.57.0/pkg/tfbridge/provider.go:336 +0x414
    <http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_CheckConfig_Handler.func1({0x2921528|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_CheckConfig_Handler.func1({0x2921528>, 0xc0008dc330}, {0x23c4600?, 0xc00051e7e0})
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.76.1/proto/go/provider_grpc.pb.go:426 +0x78
    <http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x2921528|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x2921528>, 0xc00084b110}, {0x23c4600, 0xc00051e7e0}, 0xc000aae4c0, 0xc000678a80)
        /home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x3e8
    <http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_CheckConfig_Handler({0x247d6e0|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_CheckConfig_Handler({0x247d6e0>?, 0xc0003df8c0}, {0x2921528, 0xc00084b110}, 0xc0004e0380, 0xc0005e0e00)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.76.1/proto/go/provider_grpc.pb.go:428 +0x138
    <http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc0007b6000|google.golang.org/grpc.(*Server).processUnaryRPC(0xc0007b6000>, {0x2929220, 0xc000102820}, 0xc00089e120, 0xc0007ac2a0, 0x35ff558, 0x0)
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.56.1/server.go:1337 +0xdf3
    <http://google.golang.org/grpc.(*Server).handleStream(0xc0007b6000|google.golang.org/grpc.(*Server).handleStream(0xc0007b6000>, {0x2929220, 0xc000102820}, 0xc00089e120, 0x0)
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.56.1/server.go:1714 +0xa36
    <http://google.golang.org/grpc.(*Server).serveStreams.func1.1()|google.golang.org/grpc.(*Server).serveStreams.func1.1()>
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.56.1/server.go:959 +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.56.1/server.go:957 +0x18c
e

enough-garden-22763

08/22/2023, 2:20 PM
I'm sorry you're seeing this! Could you please file the panic and repro steps in https://github.com/pulumi/pulumi-github/issues - panics are P1 and get quick attention from my team, this will help us get it prioritized and fixed. Thank you very much!
2 Views