All previous commands from usage.md were run, and project's virtualenv is activated (with Python 3.10.0).
Using master branch at latest commit (3b57688873853a1ea74e10b02a9d89f3a4d679ac).
Traceback
ERROR:root:Docker pull of image build.local.python.3.7 failed!
Traceback (most recent call last):
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/api/client.py", line 268, in _raise_for_status
response.raise_for_status()
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/requests/models.py", line 1022, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.41/images/spcleth/serverless-benchmarks:build.local.python.3.7/json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/karol/Code/agh/serverless-benchmarks/sebs/benchmark.py", line 347, in install_dependencies
self._docker_client.images.get(repo_name + ":" + image_name)
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/models/images.py", line 314, in get
return self.prepare_model(self.client.api.inspect_image(name))
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/api/image.py", line 251, in inspect_image
return self._result(
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/api/client.py", line 274, in _result
self._raise_for_status(response)
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/api/client.py", line 270, in _raise_for_status
raise create_api_error_from_http_exception(e)
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.ImageNotFound: 404 Client Error for http+docker://localhost/v1.41/images/spcleth/serverless-benchmarks:build.local.python.3.7/json: Not Found ("no such image: spcleth/serverless-benchmarks:build.local.python.3.7: No such image: spcleth/serverless-benchmarks:build.local.python.3.7")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/api/client.py", line 268, in _raise_for_status
response.raise_for_status()
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/requests/models.py", line 1022, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.41/images/create?tag=build.local.python.3.7&fromImage=spcleth%2Fserverless-benchmarks
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/karol/Code/agh/serverless-benchmarks/sebs/benchmark.py", line 355, in install_dependencies
self._docker_client.images.pull(repo_name, image_name)
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/models/images.py", line 444, in pull
pull_log = self.client.api.pull(
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/api/image.py", line 428, in pull
self._raise_for_status(response)
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/api/client.py", line 270, in _raise_for_status
raise create_api_error_from_http_exception(e)
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.NotFound: 404 Client Error for http+docker://localhost/v1.41/images/create?tag=build.local.python.3.7&fromImage=spcleth%2Fserverless-benchmarks: Not Found ("manifest for spcleth/serverless-benchmarks:build.local.python.3.7 not found: manifest unknown: manifest unknown")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/karol/Code/agh/serverless-benchmarks/./sebs.py", line 30, in __call__
return self.main(*args, **kwargs)
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/karol/Code/agh/serverless-benchmarks/python-venv/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/Users/karol/Code/agh/serverless-benchmarks/./sebs.py", line 72, in wrapper
return func(*args, **kwargs)
File "/Users/karol/Code/agh/serverless-benchmarks/./sebs.py", line 410, in start
func = deployment_client.get_function(
File "/Users/karol/Code/agh/serverless-benchmarks/sebs/faas/system.py", line 157, in get_function
rebuilt, _ = code_package.build(self.package_code)
File "/Users/karol/Code/agh/serverless-benchmarks/sebs/benchmark.py", line 495, in build
self.install_dependencies(self._output_dir)
File "/Users/karol/Code/agh/serverless-benchmarks/sebs/benchmark.py", line 357, in install_dependencies
raise RuntimeError("Docker pull of image {} failed!".format(image_name))
RuntimeError: Docker pull of image build.local.python.3.7 failed!
I'm trying to run local experiments as described in https://github.com/spcl/serverless-benchmarks/blob/master/docs/usage.md#local
Running the following command:
Produced the following error:
In
spcleth/serverless-benchmarks
registry on Docker Hub there are indeed no images withlocal
in their tag.All previous commands from
usage.md
were run, and project's virtualenv is activated (with Python 3.10.0).Using master branch at latest commit (3b57688873853a1ea74e10b02a9d89f3a4d679ac).
Traceback
config/local_deployment.json