Skip to content

Error running Cypress in Docker specifying amd64 platform on Apple silicon #16

@adamalton

Description

@adamalton

Running this on an Apple M1 machine:

mkdir -p cypress/integration
echo "describe('My Test',()=>{it('',()=>{})});" > cypress/integration/spec.js
docker run --platform linux/amd64 -it -v $PWD:/e2e -w /e2e cypress/included:6.0.0

Fails with this:

qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
[22:1217/170937.770835:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
The Test Runner unexpectedly exited via a exit event with signal SIGTRAP

I'm sorry I can't provide any great insights on this! But after discussion with people in the Docker community Slack, it was decided that I should report it as a bug on here. I hope it's useful info. Happy to test it further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions