Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't refresh action runner group #323

Closed
AleksandrAksenov opened this issue Mar 14, 2023 · 3 comments
Closed

Can't refresh action runner group #323

AleksandrAksenov opened this issue Mar 14, 2023 · 3 comments
Assignees
Labels
impact/panic This bug represents a panic or unexpected crash kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed

Comments

@AleksandrAksenov
Copy link

What happened?

I get the error when i try to run:

pulumi refresh

The error is:

    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x2 addr=0x48 pc=0x102f73ecc]
    goroutine 81 [running]:
    github.com/integrations/terraform-provider-github/v5/github.resourceGithubActionsRunnerGroupRead(0x14000320460, {0x103904740?, 0x14000888ac0?})
    	/home/runner/go/pkg/mod/github.com/integrations/terraform-provider-github/[email protected]/github/resource_github_actions_runner_group.go:203 +0x72c
    github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).Refresh(0x140009d7860, 0x140000aae60, {0x103904740, 0x14000888ac0})
    	/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/helper/schema/resource.go:526 +0x1cc
    github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Provider).Refresh(0x140001e6e80, 0x140008d34c0, 0x1b?)
    	/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/helper/schema/provider.go:333 +0x60
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v1.v1Provider.Refresh({0x14000959290?}, {0x1034304cc?, 0x140009d7860?}, {0x103c344d8?, 0x14000801e00?})
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfshim/sdk-v1/provider.go:102 +0x78
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Read(0x140009d8a00, {0x103c332e8?, 0x140008fc7b0?}, 0x140001a37a0)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/provider.go:980 +0x4b0
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler.func1({0x103c332e8, 0x140008fc7b0}, {0x103b37720?, 0x140001a37a0})
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/[email protected]/proto/go/provider_grpc.pb.go:591 +0x74
    github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x103c332e8, 0x140008fc2d0}, {0x103b37720, 0x140001a37a0}, 0x14000808320, 0x140007fc570)
    	/home/runner/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/go/otgrpc/server.go:57 +0x30c
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler({0x103bde640?, 0x140009d8a00}, {0x103c332e8, 0x140008fc2d0}, 0x140003201c0, 0x14000992b20)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/[email protected]/proto/go/provider_grpc.pb.go:593 +0x138
    google.golang.org/grpc.(*Server).processUnaryRPC(0x140002d63c0, {0x103c3aa20, 0x140004c8340}, 0x1400033ac60, 0x14000435770, 0x1047a9378, 0x0)
    	/home/runner/go/pkg/mod/google.golang.org/[email protected]/server.go:1340 +0xb7c
    google.golang.org/grpc.(*Server).handleStream(0x140002d63c0, {0x103c3aa20, 0x140004c8340}, 0x1400033ac60, 0x0)
    	/home/runner/go/pkg/mod/google.golang.org/[email protected]/server.go:1713 +0x82c
    google.golang.org/grpc.(*Server).serveStreams.func1.2()
    	/home/runner/go/pkg/mod/google.golang.org/[email protected]/server.go:965 +0x84
    created by google.golang.org/grpc.(*Server).serveStreams.func1
    	/home/runner/go/pkg/mod/google.golang.org/[email protected]/server.go:963 +0x290

Expected Behavior

Pulumi should refresh the state

Steps to reproduce

  • Create an action runner group on GitHub
  • Import the action runner group
  • Run pulumi up
  • Run pulumi refesh

Output of pulumi about

Version      3.57.1
Go Version   go1.20.2
Go Compiler  gc

Plugins
NAME        VERSION
aws         5.31.0
github      5.5.0
hcloud      1.10.3
kubernetes  3.24.1
python      unknown
random      4.12.0

Host
OS       darwin
Version  11.7.4
Arch     arm64

This project is written in python: executable='/Users//.pyenv/shims/python3' version='3.10.8
'

Current Stack: actionrunnergroups.prod

TYPE                                                URN
pulumi:pulumi:Stack                                 urn:pulumi:actionrunnergroups.prod::actionrunnergroups::pulumi:pulumi:Stack::actionrunnergroups-actionrunnergroups.prod
pulumi:providers:pulumi                             urn:pulumi:actionrunnergroups.prod::actionrunnergroups::pulumi:providers:pulumi::default
pulumi:pulumi:StackReference                        urn:pulumi:actionrunnergroups.prod::actionrunnergroups::pulumi:pulumi:StackReference::repositories.prod
pulumi:providers:github                             urn:pulumi:actionrunnergroups.prod::actionrunnergroups::pulumi:providers:github::default_5_5_0
github:index/actionsRunnerGroup:ActionsRunnerGroup  urn:pulumi:actionrunnergroups.prod::actionrunnergroups::github:index/actionsRunnerGroup:ActionsRunnerGroup::action-runner-group-build
github:index/actionsRunnerGroup:ActionsRunnerGroup  urn:pulumi:actionrunnergroups.prod::actionrunnergroups::github:index/actionsRunnerGroup:ActionsRunnerGroup::action-runner-group-test
github:index/actionsRunnerGroup:ActionsRunnerGroup  urn:pulumi:actionrunnergroups.prod::actionrunnergroups::github:index/actionsRunnerGroup:ActionsRunnerGroup::action-runner-group-Default
github:index/actionsRunnerGroup:ActionsRunnerGroup  urn:pulumi:actionrunnergroups.prod::actionrunnergroups::github:index/actionsRunnerGroup:ActionsRunnerGroup::action-runner-group-demo
github:index/actionsRunnerGroup:ActionsRunnerGroup  urn:pulumi:actionrunnergroups.prod::actionrunnergroups::github:index/actionsRunnerGroup:ActionsRunnerGroup::action-runner-group-prod


Found no pending operations associated with actionrunnergroups.prod

Backend
Name           LAPTOP_NAME
URL            s3://pulumigithub?endpoint=server:9000&s3ForcePathStyle=true&profile=miniogithub&region=eu-central-1
User           user
Organizations

Dependencies:
NAME               VERSION
boto3              1.26.89
pip                23.0.1
pulumi-aws         5.31.0
pulumi-github      5.5.0
pulumi-hcloud      1.10.3
pulumi-kubernetes  3.24.1
pulumi-policy      1.5.0
pulumi-random      4.12.0
setuptools         65.4.1

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@AleksandrAksenov AleksandrAksenov added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Mar 14, 2023
@aq17 aq17 added awaiting-feedback Blocked on input from the author and removed needs-triage Needs attention from the triage team labels Mar 15, 2023
@aq17
Copy link
Contributor

aq17 commented Mar 15, 2023

@AleksandrAksenov
Copy link
Author

@aq17 Thank you very much that you linked.
Sorry that duplicated but I couldn't find similar problems.

@EvanBoyle EvanBoyle added the impact/panic This bug represents a panic or unexpected crash label Jul 3, 2023
@mikhailshilkov mikhailshilkov added awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). and removed awaiting-feedback Blocked on input from the author labels Aug 11, 2023
@mikhailshilkov mikhailshilkov self-assigned this Sep 19, 2024
@mikhailshilkov mikhailshilkov added resolution/fixed This issue was fixed and removed awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). labels Sep 19, 2024
@mikhailshilkov
Copy link
Member

mikhailshilkov commented Sep 19, 2024

The upstream issue integrations/terraform-provider-github#1524 has been resolved as fixed, so I'll close this issue too. Please report a new issue if the problem occurs again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/panic This bug represents a panic or unexpected crash kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Projects
None yet
Development

No branches or pull requests

4 participants