We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue: Unable to inject fault 'chaosd:jvm:stress' fault on VMware NSX
# java version openjdk 17.0.10 2024-01-16 LTS OpenJDK Runtime Environment (build 17.0.10+13-LTS) OpenJDK 64-Bit Server VM (build 17.0.10+13-LTS, mixed mode, sharing)
# chaosd version (chaosd-env) root@nsx-manager:~# chaosd version Chaosd Version: version.Info{GitVersion:"v0.0.0-master+$Format:%h$", GitCommit:"$Format:%H$", BuildDate:"2024-03-25T06:36:19Z", GoVersion:"go1.20.14", Compiler:"gc", Platform:"linux/amd64"}
ERROR (chaosd-env) root@nsx-manager:~# chaosd attack jvm stress --cpu-count 2 --pid 4034 [2024/09/15 07:59:04.740 +00:00] [ERROR] [jvm.go:57] ["bash: line 1: bminstall.sh: command not found\n"] [error="exit status 127"] [stack="github.com/chaos-mesh/chaosd/pkg/server/chaosd.jvmAttack.Attack\n\t/__w/chaosd/chaosd/pkg/server/chaosd/jvm.go:57\ngithub.com/chaos-mesh/chaosd/pkg/server/chaosd.(*Server).ExecuteAttack\n\t/__w/chaosd/chaosd/pkg/server/chaosd/attack.go:105\ngithub.com/chaos-mesh/chaosd/cmd/attack.jvmCommandFunc\n\t/__w/chaosd/chaosd/cmd/attack/jvm.go:181\nreflect.Value.call\n\t/__t/go/1.20.14/x64/src/reflect/value.go:586\nreflect.Value.Call\n\t/__t/go/1.20.14/x64/src/reflect/value.go:370\ngo.uber.org/dig.defaultInvoker\n\t/github/home/go/pkg/mod/go.uber.org/dig@v1.14.1/container.go:220\ngo.uber.org/dig.(*Scope).Invoke\n\t/github/home/go/pkg/mod/go.uber.org/dig@v1.14.1/invoke.go:92\ngo.uber.org/fx.runInvoke\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/invoke.go:93\ngo.uber.org/fx.(*module).executeInvoke\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/module.go:174\ngo.uber.org/fx.(*module).executeInvokes\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/module.go:155\ngo.uber.org/fx.New\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/app.go:534\ngithub.com/chaos-mesh/chaosd/pkg/utils.FxNewAppWithoutLog\n\t/__w/chaosd/chaosd/pkg/utils/utils.go:27\ngithub.com/chaos-mesh/chaosd/cmd/attack.NewJVMStressCommand.func1\n\t/__w/chaosd/chaosd/cmd/attack/jvm.go:116\ngithub.com/spf13/cobra.(*Command).execute\n\t/github/home/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:860\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/github/home/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974\ngithub.com/spf13/cobra.(*Command).Execute\n\t/github/home/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902\nmain.main\n\t/__w/chaosd/chaosd/cmd/main.go:79\nruntime.main\n\t/__t/go/1.20.14/x64/src/runtime/proc.go:250"] Error: exit status 127
Can someone help here, to resolve this issue
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue: Unable to inject fault 'chaosd:jvm:stress' fault on VMware NSX
# java version
openjdk 17.0.10 2024-01-16 LTS
OpenJDK Runtime Environment (build 17.0.10+13-LTS)
OpenJDK 64-Bit Server VM (build 17.0.10+13-LTS, mixed mode, sharing)
# chaosd version
(chaosd-env) root@nsx-manager:~# chaosd version
Chaosd Version: version.Info{GitVersion:"v0.0.0-master+$Format:%h$", GitCommit:"$Format:%H$", BuildDate:"2024-03-25T06:36:19Z", GoVersion:"go1.20.14", Compiler:"gc", Platform:"linux/amd64"}
ERROR
(chaosd-env) root@nsx-manager:~# chaosd attack jvm stress --cpu-count 2 --pid 4034
[2024/09/15 07:59:04.740 +00:00] [ERROR] [jvm.go:57] ["bash: line 1: bminstall.sh: command not found\n"] [error="exit status 127"] [stack="github.com/chaos-mesh/chaosd/pkg/server/chaosd.jvmAttack.Attack\n\t/__w/chaosd/chaosd/pkg/server/chaosd/jvm.go:57\ngithub.com/chaos-mesh/chaosd/pkg/server/chaosd.(*Server).ExecuteAttack\n\t/__w/chaosd/chaosd/pkg/server/chaosd/attack.go:105\ngithub.com/chaos-mesh/chaosd/cmd/attack.jvmCommandFunc\n\t/__w/chaosd/chaosd/cmd/attack/jvm.go:181\nreflect.Value.call\n\t/__t/go/1.20.14/x64/src/reflect/value.go:586\nreflect.Value.Call\n\t/__t/go/1.20.14/x64/src/reflect/value.go:370\ngo.uber.org/dig.defaultInvoker\n\t/github/home/go/pkg/mod/go.uber.org/dig@v1.14.1/container.go:220\ngo.uber.org/dig.(*Scope).Invoke\n\t/github/home/go/pkg/mod/go.uber.org/dig@v1.14.1/invoke.go:92\ngo.uber.org/fx.runInvoke\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/invoke.go:93\ngo.uber.org/fx.(*module).executeInvoke\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/module.go:174\ngo.uber.org/fx.(*module).executeInvokes\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/module.go:155\ngo.uber.org/fx.New\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/app.go:534\ngithub.com/chaos-mesh/chaosd/pkg/utils.FxNewAppWithoutLog\n\t/__w/chaosd/chaosd/pkg/utils/utils.go:27\ngithub.com/chaos-mesh/chaosd/cmd/attack.NewJVMStressCommand.func1\n\t/__w/chaosd/chaosd/cmd/attack/jvm.go:116\ngithub.com/spf13/cobra.(*Command).execute\n\t/github/home/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:860\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/github/home/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974\ngithub.com/spf13/cobra.(*Command).Execute\n\t/github/home/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902\nmain.main\n\t/__w/chaosd/chaosd/cmd/main.go:79\nruntime.main\n\t/__t/go/1.20.14/x64/src/runtime/proc.go:250"]
Error: exit status 127
Can someone help here, to resolve this issue
The text was updated successfully, but these errors were encountered: