"runtime error" when deploying a lifecycle job

https://console.qovery.com/organization/12e0c625-6fb8-434b-adeb-041614fa7a46/project/a7f79a8f-8c0e-46a5-8748-1ba9846481c9/environment/84858b1f-c7f1-4bbf-a75e-ac2ee7adf735/services/general

ISSUE

Qovery CLI version 0.73.3

When trying to deploy our lifecycle job named “DB - Clone Staging” from Qovery CLI we are getting the following error since this morning:

❯ qovery lifecycle deploy \
    --organizationmy_org \
    --project WebApp \
    --environment "[PR-11548] feat(DataCollection): Data shared with space can be required" \
    --lifecycle "DB - Clone Staging" \
    --tag e982e6bb412f95d498d9195e47a5548e14d6eddf \
    --watch
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x16e64f0]

goroutine 1 [running]:
github.com/qovery/qovery-cli/cmd.glob..func117(0xc0001fd900?, {0x186010a?, 0x4?, 0x186010e?})
	/home/runner/work/qovery-cli/qovery-cli/cmd/lifecycle_deploy.go:102 +0x190
github.com/spf13/cobra.(*Command).execute(0x1f53f20, {0xc0000ec6e0, 0xb, 0xb})
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:920 +0x863
github.com/spf13/cobra.(*Command).ExecuteC(0x1f478c0)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
github.com/qovery/qovery-cli/cmd.Execute()
	/home/runner/work/qovery-cli/qovery-cli/cmd/root.go:19 +0x1a
main.main()
	/home/runner/work/qovery-cli/qovery-cli/main.go:6 +0xf

Are we doing something wrong or is it the last update of Qovery CLI that introduced that bug?

1 Like

Hello @jmeiss !

We indeed introduced a regression in the CLI. I am on it.

Will keep you posted once fixed ASAP.

Cheers

1 Like

Hey @jmeiss,

A fix has landed in the latest CLI version v0.74.2. Let me know if it’s ok.

Cheers