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

Disruptor agent not working on MacOS on ARM chips #62

Closed
pablochacin opened this issue Nov 22, 2022 · 1 comment
Closed

Disruptor agent not working on MacOS on ARM chips #62

pablochacin opened this issue Nov 22, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@pablochacin
Copy link
Collaborator

pablochacin commented Nov 22, 2022

There are some issues regarding the compatibiity of the disruptor agent with test clusters deployed in MacOS running on ARM chips.

  1. Iptables support on QEMU
    As reported by @dgzlopes iptables currently doesn't work under QEMU emulation on M1 laptops (iptables doesn't work on Intel based CentOS 7 Container. docker/for-mac#6297 (comment))

  2. The agent fails to execute in the container

When injecting a fault, the script fails with this error message:

INFO[0000] target: ["hotrod-6cb64465cc-ts6qw"]           source=console
ERRO[0000] GoError: error invoking agent: Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "052394429b3ee2563b9124e274b55117fb7b2af5556e6001ae7a4e82bc4c8388": OCI runtime exec failed: exec failed: unable to start container process: exec /usr/bin/xk6-disruptor-agent: exec format error: unknown 

        at reflect.methodValueCall (native)
        at file:///Users/dgzlopes/go/src/github.com/grafana/xk6-disruptor/examples/pod_disruptor.js:25:34(32)
        at native  executor=per-vu-iterations scenario=default source=stacktrace
@pablochacin
Copy link
Collaborator Author

Fixed by #84

@pablochacin pablochacin added the bug Something isn't working label Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant