Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rosa version command fails in the openshift CI #1955

Open
vishnuchalla opened this issue Apr 23, 2024 · 3 comments
Open

rosa version command fails in the openshift CI #1955

vishnuchalla opened this issue Apr 23, 2024 · 3 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@vishnuchalla
Copy link

vishnuchalla commented Apr 23, 2024

rosa version command fails in the openshift CI with below reason.

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x19 pc=0x259f7e0]

goroutine 1 [running]:
github.com/openshift/rosa/cmd/version.(*RosaVersionOptions).BindAndValidate(0xc000bbfbb8?, {0x8c?, 0x7a?})
	/go/src/github.com/openshift/rosa/cmd/version/options.go:58
github.com/openshift/rosa/cmd/version.NewRosaVersionCommand.RosaVersionRunner.func2({0x0?, 0x0?}, 0x0?, 0x0?, {0x0?, 0x0?, 0x0?})
	/go/src/github.com/openshift/rosa/cmd/version/cmd.go:64 +0x45
github.com/openshift/rosa/cmd/version.NewRosaVersionCommand.DefaultRunner.func3(0xc000ef2900?, {0x4326fe0, 0x0, 0x0})
	/go/src/github.com/openshift/rosa/pkg/rosa/runner.go:29 +0x10f
github.com/spf13/cobra.(*Command).execute(0xc00024c600, {0x4326fe0, 0x0, 0x0})
	/go/src/github.com/openshift/rosa/vendor/github.com/spf13/cobra/command.go:987 +0xaa3
github.com/spf13/cobra.(*Command).ExecuteC(0x4288980)
	/go/src/github.com/openshift/rosa/vendor/github.com/spf13/cobra/command.go:1115 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
	/go/src/github.com/openshift/rosa/vendor/github.com/spf13/cobra/command.go:1039
main.main()
	/go/src/github.com/openshift/rosa/cmd/rosa/main.go:109 +0x93

Looks like something to do with the latest changes that went into version subcommand: #1953
Here is the step that we are using in openshift CI: https://steps.ci.openshift.org/reference/openshift-qe-rosa-loaded-upgrade
And we use latest image tag to fetch rosa cli in our CI config

  rosa-aws-cli:
    name: rosa-aws-cli
    namespace: ci
    tag: latest
@jfchevrette
Copy link
Member

Seeing the same runtime error in NixOS/nixpkgs#317409

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 9, 2024
@jfchevrette
Copy link
Member

Fixed in #1960

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

3 participants