rapid-parrot-24984
12/09/2024, 11:04 AMupgrade-provider job, can anyone help?
Error: ../../../../go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20230912190043-e6d96b3b8f7e/helper/schema/provider.go:511:9: cannot use NewGRPCProviderServer(p) (value of type *GRPCProviderServer) as tfprotov5.ProviderServer value in return statement: *GRPCProviderServer does not implement tfprotov5.ProviderServer (missing method CallFunction)
Error reference: https://github.com/pulumiverse/pulumi-cpln/actions/runs/12229415412/job/34109156135#step:2:765
Workflow: https://github.com/pulumiverse/pulumi-cpln/blob/main/.github/workflows/upgrade-provider.ymlbig-architect-71258
12/09/2024, 11:06 AMrapid-parrot-24984
12/26/2024, 5:47 PMbig-architect-71258
12/29/2024, 3:12 PMbig-architect-71258
12/29/2024, 3:35 PM---- Setting Up Environment ----
- ✓ GOWORK="off": done
- ✓ PULUMI_MISSING_DOCS_ERROR="true": done
- ✓ PULUMI_CONVERT_EXAMPLES_CACHE_DIR="": done
---- Discovering Repository ----
- Ensure 'github.com/pulumiverse/pulumi-time'
- ✓ Expected Location: /home/vagrant/work/pulumi-time
- ✓ Downloading: skipped - already exists
- ✓ Validating: done
- pull default branch
- ✓ /usr/bin/git ls-remote --heads origin: done
- ✓ finding default branch: main
- ✓ /usr/bin/git fetch: done
- ✓ /usr/bin/git checkout main: done
- ✓ /usr/bin/git pull origin: done
- ✓ Repo kind: shimmed
- X Planning Provider Update: exit status 1
Secondly it wasn't able to upgrade to the required terraform bridge version correctly:
---- Setting Up Environment ----
- ✓ GOWORK="off": done
- ✓ PULUMI_MISSING_DOCS_ERROR="true": done
- ✓ PULUMI_CONVERT_EXAMPLES_CACHE_DIR="": done
---- Discovering Repository ----
- Ensure 'github.com/pulumiverse/pulumi-time'
- ✓ Expected Location: /home/vagrant/work/pulumi-time
- ✓ Downloading: skipped - already exists
- ✓ Validating: done
- pull default branch
- ✓ /usr/bin/git ls-remote --heads origin: done
- ✓ finding default branch: main
- ✓ /usr/bin/git fetch: done
- ✓ /usr/bin/git checkout main: done
- ✓ /usr/bin/git pull origin: done
- ✓ Repo kind: shimmed
- ✓ Planning Bridge Update: v3.89.1 -> v3.98.0
---- Update Artifacts ----
- Ensure Branch
- ✓ /usr/bin/git branch: done
- ✓ Already exists: no
- ✓ /usr/bin/git checkout -b upgrade-pulumi-terraform-bridge-to-v3.98.0: done
- ✓ /usr/bin/git checkout upgrade-pulumi-terraform-bridge-to-v3.98.0: done
- ✓ /home/vagrant/.gobrew/current/bin/go get github.com/pulumi/pulumi-terraform-brid...: done
- X /home/vagrant/.gobrew/current/bin/go mod tidy: exit status 1:
go: downloading github.com/pulumi/pulumi-terraform-bridge/pf v0.42.1
go: downloading github.com/hashicorp/terraform-provider-time v0.12.0
go: downloading github.com/hashicorp/terraform-plugin-sdk v1.7.0
go: downloading github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10
go: downloading github.com/hashicorp/terraform-plugin-framework v1.11.0
go: downloading github.com/zclconf/go-cty v1.14.4
go: downloading github.com/hashicorp/terraform-plugin-framework-validators v0.13.0
go: downloading github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8
go: downloading github.com/hashicorp/go-version v1.7.0
go: downloading github.com/hashicorp/terraform-plugin-framework-timetypes v0.4.0
go: downloading github.com/hashicorp/terraform-plugin-testing v1.9.0
go: downloading github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940
go: downloading github.com/hashicorp/terraform-json v0.22.1
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/ProtonMail/go-crypto v1.1.0-alpha.2
go: downloading github.com/hashicorp/hc-install v0.7.0
go: downloading github.com/stretchr/objx v0.5.2
go: downloading cloud.google.com/go/compute v1.25.0
go: downloading github.com/hashicorp/terraform-registry-address v0.2.3
go: downloading github.com/hashicorp/go-checkpoint v0.5.0
go: finding module for package github.com/pulumi/pulumi-terraform-bridge/v3/unstable/logging
go: downloading github.com/pulumi/pulumi-terraform-bridge v1.8.4
go: github.com/pulumiverse/pulumi-time/provider imports
github.com/pulumi/pulumi-terraform-bridge/pf/tfbridge imports
github.com/pulumi/pulumi-terraform-bridge/v3/unstable/logging: module github.com/pulumi/pulumi-terraform-bridge/v3@latest found (v3.98.0), but does not contain package github.com/pulumi/pulumi-terraform-bridge/v3/unstable/logging
By using my manual approach to upgrade terraform bridge everything worked well. (screenshot)rapid-parrot-24984
01/01/2025, 11:32 AMbuild-sdk (python) workflow keeps failing.
https://github.com/pulumiverse/pulumi-cpln/actions/runs/12570159925/job/35039650331?pr=60
At this point I am not sure what to do, can you take a look at this PR I created for the implementation?
https://github.com/pulumiverse/pulumi-cpln/pull/60big-architect-71258
01/02/2025, 10:17 AMmake build_sdks and check in and push the changes.
The GitHub workflows for the Pulumi providers always contain a step to verify that the language SDKs are not out of sync with the provider. And exactly that step is failing for Python.