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

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

Open
taylor-shift opened this issue Nov 21, 2022 · 0 comments

Comments

@taylor-shift
Copy link

taylor-shift commented Nov 21, 2022

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

@taylor-shift taylor-shift changed the title Unable to test exercises on non-aarch64 machines Unable to test individual exercises on non-aarch64 machines Nov 21, 2022
@taylor-shift taylor-shift changed the title Unable to test individual exercises on non-aarch64 machines Unable to test individual exercises via script on non-aarch64 machines Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant