Closed Subashkatel closed 2 weeks ago
@Subashkatel Hi! Thank you for your interest in SeBS!
Our benchmarking suite runs locally Docker containers to package dependencies in an environment close to the one in the cloud. However, our images are based on the amd64 architecture. If you are on the Mac ARM CPU, then you should be able to run our containers with emulation. At the moment, I don't have access to this CPU to test a solution.
You can try a fix yourself: can you add platform="linux/amd64"
to the argument list in the function call linked below? This could hypothetically resolve the issue.
https://github.com/spcl/serverless-benchmarks/blob/master/sebs/benchmark.py#L394
@Subashkatel What CPU are you running on?
@Subashkatel We recently merged two PRs that add support for ARM functions (AWS only) and deploying functions as containers (AWS and OpenWhisk, Knative & Fission WiP). I verified that we can run and build arm64 containers on x64 CPUs, as long as Docker is configured to use QEMU or some other emulation method.
I will close the issue down - the feature is supported, but it requires additional configuration and we added docs on it.
Please let me know if you have further questions, and if we could help.
Describe the bug Benchmark 500 series of benchmark is not working in an arm aarch64 vm docker.errors.ContainerError: Command 'None' in image 'spcleth/serverless-benchmarks:build.local.python.3.7' returned non-zero exit status 1: b'exec /sebs/entrypoint.sh: exec format error\n' Also needed to add bunch libraries on such as autoconf, automake, autotools -dev
To Reproduce Steps to reproduce the behavior:
Expected behavior Running the benchmark
Logs Please provide the output of SeBS commands causing the problem, executed with the flag
--verbose
. Please use the Markdown fenced code blocks (...
) to format error logs.System (please complete the following information):