Skip to content

Unable to test individual exercises via script on non-aarch64 machines  #32

@taylor-shift

Description

@taylor-shift
Sending build context to Docker daemon  2.121GB
Step 1/3 : FROM tdelabro/rusty-crewmates-substrate-tutorials:latest
 ---> 23262fd19c33
Step 2/3 : ADD ./exercises/ex00-writing-tests/  /home/substrate-tutorials/./exercises/ex00-writing-tests/
 ---> Using cache
 ---> 12d2b8623cde
Step 3/3 : CMD ["cargo", "test", "--manifest-path", "/home/substrate-tutorials/Cargo.toml"]
 ---> Using cache
 ---> de7d38fc8bcb
Successfully built de7d38fc8bcb
Successfully tagged substrate-test-exercise:latest
WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
docker: Error response from daemon: failed to create endpoint sharp_meitner on network bridge: failed to add the host (vethbfda3cd) <=> sandbox (veth9f069ae) pair interfaces: operation not supported.

I've tried different altering the run_one_excersice_tests.sh script with different --platform switches but no avail...I guess this script was only intended for people with M1 Macs? 0.0

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