After upgrading to Pulumi `3.32.0`, I just got thi...
# general
t
After upgrading to Pulumi
3.32.0
, I just got this error:
Copy code
panic: fatal: An assertion has failed: action must be non empty

goroutine 2009 [running]:
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)>
	/private/tmp/pulumi-20220504-79959-1budjvw/sdk/go/common/util/contract/failfast.go:23
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf>(0x0?, {0x1053aa67e?, 0x140010182d0?}, {0x0?, 0x10537c4e7?, 0x3?})
	/private/tmp/pulumi-20220504-79959-1budjvw/sdk/go/common/util/contract/assert.go:33 +0xe4
<http://github.com/pulumi/pulumi/pkg/v3/backend/display.makeActionProgress({0x106864480|github.com/pulumi/pulumi/pkg/v3/backend/display.makeActionProgress({0x106864480>, 0x1}, {0x0, 0x0})
	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:59 +0xa8
<http://github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).refreshColumns(0x14001d94780|github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).refreshColumns(0x14001d94780>, {0x106864480, 0x1}, {0x140021259f0, 0x5, 0x5}, {0x14000a46060, 0x5, 0x5})
	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:437 +0x9c
<http://github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).refreshAllRowsIfInTerminal(0x14001d94780)|github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).refreshAllRowsIfInTerminal(0x14001d94780)>
	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:655 +0x598
<http://github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).processNormalEvent(0x14001d94780|github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).processNormalEvent(0x14001d94780>, {{0x105398980?, 0x7?}, {0x105a667e0?, 0x14000849400?}})
	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:1134 +0xd48
<http://github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).processEvents(0x14002d61e40|github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).processEvents(0x14002d61e40>?, 0x140035a49b0, 0x1400079f6e0)
	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:1202 +0xc0
<http://github.com/pulumi/pulumi/pkg/v3/backend/display.ShowProgressEvents.func1()|github.com/pulumi/pulumi/pkg/v3/backend/display.ShowProgressEvents.func1()>
	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:342 +0x34
created by <http://github.com/pulumi/pulumi/pkg/v3/backend/display.ShowProgressEvents|github.com/pulumi/pulumi/pkg/v3/backend/display.ShowProgressEvents>
	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:341 +0x658
Any ideas why this may happen?
b
@thousands-hairdresser-72380 could you file an issue in pulumi/pulumi with a repro, sorry about this
👍 1
e
@thousands-hairdresser-72380 what version where you on before updating to 3.32? I don't think the .31 to .32 change broke this
t
I was previously on
3.31.1
(I’m fairly certain) I use pulumi daily for work and always update when there’s a an update available.
e
huh that's very surprising. can you try going back to 3.31.1 with
Copy code
curl -fsSL <https://get.pulumi.com> | sh -s -- --version 3.31.1
and confirm that?
t
When I submitted the message above, I then downgraded by downloading
3.31.1
manually and the deploy worked.
Confirmed that was the version I used, as this is what I saw at the end of the successful up:
Copy code
warning: A new version of Pulumi is available. To upgrade from version '3.31.1' to '3.32.0', visit <https://pulumi.com/docs/reference/install/> for manual instructions and release notes.
e
Thanks! That narrows the search down a bit.
t
Let me know if you need any other assistance with troubleshooting!
e
If you could run with
-v11 --logtostderr
and send me those logs (fraser@pulumi.com) they nearly always help
t
Should I upgrade to 3.32 first?
Also, would there need to be active changes to make? If I re-ran it now, it would likely have no updates to make.
e
yes with 3.32 and any run of
preview
or
up
that triggers the panic
t
I’m not able to reproduce the error. I’ll do some more troubleshooting. It may have been stack-related, but I may not be able to touch that stack for a while as it’s actively in use. (I’m testing on another stack)
e
Understood, complicates things that maybe this isn't deterministic but I'll check through the display code to see if I can find anything
💯 1
t
Thank you! I’ll try a few more variations. Perhaps it was a one-off related to some broken state in AWS. (missing property value, etc)
m
I had this happen the other day, since we were playing around with Pulumi I assumed it was something we were doing and did a destroy and up again. Everything worked after that.