odo icon indicating copy to clipboard operation
odo copied to clipboard

odo service create crash under Win/Cygwin

Open jeffmaury opened this issue 6 years ago • 5 comments

[kind/bug]

Please note that the crash does not occur under native Windows shell (cmd)

What versions of software are you using?

  • Operating System: Win10/Pro
  • Output of odo version:
odo v1.0.0-beta3 (c2b402e3)      
                                 
Server: https://172.17.24.92:8443
Kubernetes: v1.11.0+d4cacc0      

How did you run odo exactly?

odo service create

Actual behavior

$ odo service create ? Which kind of service do you wish to create [Use arrows to move, type to filter]

database datagrid decisionserver eap fuse hawtio instant-app panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x10 pc=0x13fb8d6]

goroutine 1 [running]: github.com/openshift/odo/pkg/service.NewServicePlan(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/travis/gopath/src/github.com/openshift/odo/pkg/service/service.go:360 +0xf6 github.com/openshift/odo/pkg/odo/cli/service/ui.enterServicePropertiesInteractively(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/travis/gopath/src/github.com/openshift/odo/pkg/odo/cli/service/ui/ui.go:246 +0x99 github.com/openshift/odo/pkg/odo/cli/service/ui.EnterServicePropertiesInteractively(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/travis/gopath/src/github.com/openshift/odo/pkg/odo/cli/service/ui/ui.go:240 +0x7d github.com/openshift/odo/pkg/odo/cli/service.(*ServiceCreateOptions).Complete(0xc000742680, 0xc00081f500, 0x6, 0xc0006f8b40, 0x2bced18, 0x0, 0x0, 0xc000a402d0, 0x18f9970) /home/travis/gopath/src/github.com/openshift/odo/pkg/odo/cli/service/create.go:117 +0x5c2 github.com/openshift/odo/pkg/odo/genericclioptions.GenericRun(0x1b2eac0, 0xc000742680, 0xc0006f8b40, 0x2bced18, 0x0, 0x0) /home/travis/gopath/src/github.com/openshift/odo/pkg/odo/genericclioptions/runnable.go:15 +0x75 github.com/openshift/odo/pkg/odo/cli/service.NewCmdServiceCreate.func1(0xc0006f8b40, 0x2bced18, 0x0, 0x0) /home/travis/gopath/src/github.com/openshift/odo/pkg/odo/cli/service/create.go:243 +0x65 github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).execute(0xc0006f8b40, 0x2bced18, 0x0, 0x0, 0xc0006f8b40, 0x2bced18) /home/travis/gopath/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:702 +0x2da github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc00078d200, 0x8, 0xc000002180, 0x1519649) /home/travis/gopath/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:783 +0x2e3 github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).Execute(0xc00078d200, 0x19fe890, 0xc000648ae0) /home/travis/gopath/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:736 +0x32 main.main() /home/travis/gopath/src/github.com/openshift/odo/cmd/odo/odo.go:65 +0x357

Expected behavior

No crash

Any logs, error output, etc?

jeffmaury avatar Jul 12 '19 20:07 jeffmaury

@jeffmaury I am able to reproduce it on Cygwin terminal, However it works fine on Windows PowerShell and Command prompt terminal.

ping @kadel @cdrage

Screen Shot 2019-07-15 at 5 27 16 PM

amitkrout avatar Jul 15 '19 11:07 amitkrout

From looking at the error messages, looks to be something happening upstream / the library? @metacosm

cdrage avatar Jul 15 '19 17:07 cdrage

/priority medium /remove-priority high

kadel avatar Sep 06 '19 11:09 kadel

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-bot avatar Mar 25 '20 18:03 openshift-bot

We are aware of this issue and we will revisit it soon /lifecycle frozen

girishramnani avatar Apr 02 '20 18:04 girishramnani

Closing this issue, since odo service create command has been dropped for v3 (https://github.com/redhat-developer/odo/pull/5433).

/close

Feel free to reopen if you think otherwise.

rm3l avatar Nov 04 '22 13:11 rm3l

@rm3l: Closing this issue.

In response to this:

Closing this issue, since odo service create command has been dropped for v3 (https://github.com/redhat-developer/odo/pull/5433).

/close

Feel free to reopen if you think otherwise.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar Nov 04 '22 13:11 openshift-ci[bot]