rich-agency-75207
11/06/2023, 11:15 AMpulumi new
remote GitLab project e.g. pulumi new <mailto:git@gitlab.com|git@gitlab.com>:group/project.git
and have been specifically using the SSH URL.
This worked fine with v3.91.0.
I just installed v3.91.1 to test and conclusively confirm. v3.92.0 is, once again, producing a fatal error:
================================================================================
The Pulumi CLI encountered a fatal error. This is a bug!
We would appreciate a report: <https://github.com/pulumi/pulumi/issues/>
Please provide all of the below text in your report.
================================================================================
Pulumi Version: v3.92.0
Go Version: go1.21.3
Go Compiler: gc
Architecture: amd64
Operating System: linux
Panic: runtime error: invalid memory address or nil pointer dereference
I'm almost 100% confident that this relates to the use of the SSH URL as I have encountered this before.goroutine 1 [running]:
runtime/debug.Stack()
/opt/hostedtoolcache/go/1.21.3/x64/src/runtime/debug/stack.go:24 +0x5e
main.panicHandler(0xc001bbff07)
/home/runner/work/pulumi/pulumi/pkg/cmd/pulumi/main.go:35 +0x45
panic({0x2671940?, 0x481e270?})
/opt/hostedtoolcache/go/1.21.3/x64/src/runtime/panic.go:914 +0x21f
<http://github.com/pulumi/pulumi/sdk/v3/go/common/workspace.isZIPTemplateURL({0x7ffcc717328d|github.com/pulumi/pulumi/sdk/v3/go/common/workspace.isZIPTemplateURL({0x7ffcc717328d>?, 0x6?})
/home/runner/work/pulumi/pulumi/sdk/go/common/workspace/templates_zip.go:41 +0x18
<http://github.com/pulumi/pulumi/sdk/v3/go/common/workspace.RetrieveTemplates({0x7ffcc717328d|github.com/pulumi/pulumi/sdk/v3/go/common/workspace.RetrieveTemplates({0x7ffcc717328d>, 0x44}, 0x0?, 0x100?)
/home/runner/work/pulumi/pulumi/sdk/go/common/workspace/templates.go:287 +0x4a
main.runNew({0x32a49a0?, 0x48a58c0}, {{0x48a58c0, 0x0, 0x0}, 0x0, {0x0, 0x0}, {0x0, 0x0}, ...})
/home/runner/work/pulumi/pulumi/pkg/cmd/pulumi/new.go:146 +0x54a
main.newNewCmd.func2(0x0?, {0xc001a2d880, 0x1, 0x0?})
/home/runner/work/pulumi/pulumi/pkg/cmd/pulumi/new.go:479 +0x118
main.newNewCmd.RunFunc.func4(0x0?, {0xc001a2d880?, 0x0?, 0x0?})
/home/runner/work/pulumi/pulumi/sdk/go/common/util/cmdutil/exit.go:99 +0x1c
main.newNewCmd.RunFunc.RunResultFunc.func7(0xc001b4a100?, {0xc001a2d880, 0x1, 0x8})
/home/runner/work/pulumi/pulumi/sdk/go/common/util/cmdutil/exit.go:115 +0x38
<http://github.com/spf13/cobra.(*Command).execute(0xc00168ac00|github.com/spf13/cobra.(*Command).execute(0xc00168ac00>, {0xc001a2d800, 0x8, 0x8})
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:944 +0x863
<http://github.com/spf13/cobra.(*Command).ExecuteC(0xc00168a900)|github.com/spf13/cobra.(*Command).ExecuteC(0xc00168a900)>
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5
<http://github.com/spf13/cobra.(*Command).Execute(...)|github.com/spf13/cobra.(*Command).Execute(...)>
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
main.main()
/home/runner/work/pulumi/pulumi/pkg/cmd/pulumi/main.go:56 +0x58
salmon-account-74572
11/06/2023, 12:50 PMechoing-dinner-19531
11/06/2023, 1:13 PMrich-agency-75207
11/06/2023, 1:30 PMnarrow-monitor-83965
11/07/2023, 9:33 PMechoing-dinner-19531
11/07/2023, 9:47 PM