https://pulumi.com logo
Title
d

delightful-monkey-90700

02/09/2023, 6:51 PM
PULUMI_API='-' PULUMI_CONSOLE_DOMAIN='-' pulumi whoami -v
hangs for ~15s using local state, on a host not connected to the Internet, backtrace in reply
This is from an official build of Pulumi as well:
goroutine 20 [select]:
runtime.gopark(0xc000d14e80?, 0x2?, 0x8?, 0x0?, 0xc000d14e6c?)
	/opt/hostedtoolcache/go/1.20.0/x64/src/runtime/proc.go:381 +0xd6 fp=0xc000d14cd8 sp=0xc000d14cb8 pc=0x4394b6
runtime.selectgo(0xc000d14e80, 0xc000d14e68, 0xc00013ee68?, 0x0, 0xc00013ef30?, 0x1)
	/opt/hostedtoolcache/go/1.20.0/x64/src/runtime/select.go:327 +0x7be fp=0xc000d14e18 sp=0xc000d14cd8 pc=0x4495fe
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/retry.Until({0x2b0a408|github.com/pulumi/pulumi/sdk/v3/go/common/util/retry.Until({0x2b0a408>, 0xc000114000}, {0xc00013ef00?, 0xc00013ef80?, 0xc00013ef70?, 0xc00013ef78?})
	/home/runner/work/pulumi/pulumi/sdk/go/common/util/retry/until.go:80 +0x172 fp=0xc000d14eb0 sp=0xc000d14e18 pc=0x9b6472
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/httputil.doWithRetry(0xc000d0c300|github.com/pulumi/pulumi/sdk/v3/go/common/util/httputil.doWithRetry(0xc000d0c300>, 0x3cb6740, {0xc00013ef80?, 0xc00013ef70?, 0xc00013ef78?, 0xc00013ef68?})
	/home/runner/work/pulumi/pulumi/sdk/go/common/util/httputil/http.go:95 +0x110 fp=0xc000d14f38 sp=0xc000d14eb0 pc=0x9b6610
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/httputil.DoWithRetryOpts(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/httputil.DoWithRetryOpts(...)>
	/home/runner/work/pulumi/pulumi/sdk/go/common/util/httputil/http.go:46
<http://github.com/pulumi/pulumi/pkg/v3/backend/httpstate/client.(*defaultHTTPClient).Do|github.com/pulumi/pulumi/pkg/v3/backend/httpstate/client.(*defaultHTTPClient).Do>(0xc000054108?, 0x2595f1b?, 0x57?)
	/home/runner/work/pulumi/pulumi/pkg/backend/httpstate/client/api.go:151 +0x85 fp=0xc000d14f98 sp=0xc000d14f38 pc=0x158a0c5
<http://github.com/pulumi/pulumi/pkg/v3/backend/httpstate/client.pulumiAPICall({0x2b0a478|github.com/pulumi/pulumi/pkg/v3/backend/httpstate/client.pulumiAPICall({0x2b0a478>?, 0xc000832120}, {0x2b199e0, 0x3ce7560}, {0x2b13d50, 0xc0008320c0}, {0x2aed5e0, 0xc000012030}, {0xc00005600b, 0x1}, ...)
	/home/runner/work/pulumi/pulumi/pkg/backend/httpstate/client/api.go:239 +0x113e fp=0xc000d15200 sp=0xc000d14f98 pc=0x158b25e
<http://github.com/pulumi/pulumi/pkg/v3/backend/httpstate/client.(*defaultRESTClient).Call(0xc000226010|github.com/pulumi/pulumi/pkg/v3/backend/httpstate/client.(*defaultRESTClient).Call(0xc000226010>, {0x2b0a408, 0xc000114000}, {0x2b13d50, 0xc0008320c0}, {0xc00005600b, 0x1}, {0x2558e06, 0x3}, {0x2578451, ...}, ...)
	/home/runner/work/pulumi/pulumi/pkg/backend/httpstate/client/api.go:342 +0x76c fp=0xc000d15490 sp=0xc000d15200 pc=0x158c34c
<http://github.com/pulumi/pulumi/pkg/v3/backend/httpstate/client.(*Client).restCall(...)|github.com/pulumi/pulumi/pkg/v3/backend/httpstate/client.(*Client).restCall(...)>
	/home/runner/work/pulumi/pulumi/pkg/backend/httpstate/client/client.go:106
<http://github.com/pulumi/pulumi/pkg/v3/backend/httpstate/client.(*Client).GetCLIVersionInfo|github.com/pulumi/pulumi/pkg/v3/backend/httpstate/client.(*Client).GetCLIVersionInfo>(0xc000d08000, {0x2b0a408, 0xc000114000})
	/home/runner/work/pulumi/pulumi/pkg/backend/httpstate/client/client.go:248 +0x16c fp=0xc000d156b0 sp=0xc000d15490 pc=0x158e3ac
main.getCLIVersionInfo({0x2b0a408, 0xc000114000})
	/home/runner/work/pulumi/pulumi/pkg/cmd/pulumi/pulumi.go:420 +0x3e5 fp=0xc000d15b38 sp=0xc000d156b0 pc=0x1f09a65
main.checkForUpdate({0x2b0a408, 0xc000114000})
	/home/runner/work/pulumi/pulumi/pkg/cmd/pulumi/pulumi.go:398 +0x2ad fp=0xc000d15fb0 sp=0xc000d15b38 pc=0x1f090ed
main.NewPulumiCmd.func1.2()
	/home/runner/work/pulumi/pulumi/pkg/cmd/pulumi/pulumi.go:237 +0x2a fp=0xc000d15fe0 sp=0xc000d15fb0 pc=0x1f08dca
runtime.goexit()
	/opt/hostedtoolcache/go/1.20.0/x64/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000d15fe8 sp=0xc000d15fe0 pc=0x46c1a1
created by main.NewPulumiCmd.func1
	/home/runner/work/pulumi/pulumi/pkg/cmd/pulumi/pulumi.go:235 +0x2bb
b

billowy-army-68599

02/09/2023, 6:54 PM
please try setting
PULUMI_SKIP_UPDATE_CHECK=1
d

delightful-monkey-90700

02/09/2023, 6:55 PM
Thanks, that works:
$ time PULUMI_SKIP_UPDATE_CHECK=1 PULUMI_API='-' PULUMI_CONSOLE_DOMAIN='-' pulumi whoami -v
User: rkeene
Organizations: 
Backend URL: <file://state>

real	0m0.151s