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

[BUG]Error returned when kbcli bench sysbench #5490

Closed
ahjing99 opened this issue Oct 17, 2023 · 0 comments · Fixed by #5495
Closed

[BUG]Error returned when kbcli bench sysbench #5490

ahjing99 opened this issue Oct 17, 2023 · 0 comments · Fixed by #5495
Assignees
Labels
bug kind/bug Something isn't working
Milestone

Comments

@ahjing99
Copy link
Collaborator

➜  ~ kbcli bench sysbench orioledb-wyntwt --user postgres --password "zf7v4wc8" --database benchtest --driver pgsql --host orioledb-wyntwt-orioledb --port 5432
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x101f81f48]

goroutine 1 [running]:
[github.com/apecloud/kubeblocks/internal/cli/cmd/bench.(*SysBenchOptions).Run(0x14000682ea0)](http://github.com/apecloud/kubeblocks/internal/cli/cmd/bench.(*SysBenchOptions).Run(0x14000682ea0))
        /home/runner/work/kubeblocks/kubeblocks/internal/cli/cmd/bench/sysbench.go:279 +0x548
[github.com/apecloud/kubeblocks/internal/cli/cmd/bench.NewSysBenchCmd.func1](http://github.com/apecloud/kubeblocks/internal/cli/cmd/bench.NewSysBenchCmd.func1)(0x14000ee3f00?, {0x14001432d00?, 0x1?, 0xd?})
        /home/runner/work/kubeblocks/kubeblocks/internal/cli/cmd/bench/sysbench.go:100 +0x50
[github.com/spf13/cobra.(*Command).execute](http://github.com/spf13/cobra.(*Command).execute)(0x14000f3cc00, {0x14001432c30, 0xd, 0xd})
        /home/runner/go/pkg/mod/[github.com/spf13/[email protected]/command.go:944](http://github.com/spf13/[email protected]/command.go:944) +0x640
[github.com/spf13/cobra.(*Command).ExecuteC(0x14000bfdb00)](http://github.com/spf13/cobra.(*Command).ExecuteC(0x14000bfdb00))
        /home/runner/go/pkg/mod/[github.com/spf13/[email protected]/command.go:1068](http://github.com/spf13/[email protected]/command.go:1068) +0x320
[github.com/spf13/cobra.(*Command).Execute(...)](http://github.com/spf13/cobra.(*Command).Execute(...))
        /home/runner/go/pkg/mod/[github.com/spf13/[email protected]/command.go:992](http://github.com/spf13/[email protected]/command.go:992)
[k8s.io/component-base/cli.run(0x14000bfdb00)](http://k8s.io/component-base/cli.run(0x14000bfdb00))
        /home/runner/go/pkg/mod/[k8s.io/[email protected]/cli/run.go:146](http://k8s.io/[email protected]/cli/run.go:146) +0x264
[k8s.io/component-base/cli.RunNoErrOutput(...)](http://k8s.io/component-base/cli.RunNoErrOutput(...))
        /home/runner/go/pkg/mod/[k8s.io/[email protected]/cli/run.go:84](http://k8s.io/[email protected]/cli/run.go:84)
main.main()
        /home/runner/work/kubeblocks/kubeblocks/cmd/cli/main.go:31 +0x20
@ahjing99 ahjing99 added the kind/bug Something isn't working label Oct 17, 2023
@ahjing99 ahjing99 added this to the Release 0.7.0 milestone Oct 17, 2023
@fengluodb fengluodb linked a pull request Oct 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants