Skip to content

redis-benchmarks-spec builder 0.1.10 keeps pulling docker when all images are local #41

@filipecosta90

Description

@filipecosta90
2021-08-23 18:18:36 INFO redis-benchmarks-spec builder 0.1.10
2021-08-23 18:18:36 INFO Using package dir /usr/local/lib/python3.6/dist-packages/redis_benchmarks_specification/setups/builders for inner file paths
2021-08-23 18:18:36 INFO Using the following build specs folder /usr/local/lib/python3.6/dist-packages/redis_benchmarks_specification/setups/builders, containing 4 different specs.
2021-08-23 18:18:36 INFO Using redis available at: benchmarks.redislabs.com:12010 to read the event streams
2021-08-23 18:18:36 INFO checking build spec requirements
2021-08-23 18:18:36 INFO Build gcc:8.5.0-amd64-debian-buster-default requirement: checking build image gcc:8.5.0-buster is available.
2021-08-23 18:18:36 INFO Build gcc:8.5.0-amd64-debian-buster-default requirement: build image gcc:8.5.0-buster is not available locally. Fetching it from hub
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/docker/api/client.py", line 268, in _raise_for_status
    response.raise_for_status()
  File "/usr/local/lib/python3.6/dist-packages/requests/models.py", line 953, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.40/images/create?tag=8.5.0-buster&fromImage=gcc

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/redis-benchmarks-spec-builder", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/dist-packages/redis_benchmarks_specification/__builder__/builder.py", line 122, in main
    build_spec_image_prefetch(builders_folder, different_build_specs)
  File "/usr/local/lib/python3.6/dist-packages/redis_benchmarks_specification/__builder__/builder.py", line 340, in build_spec_image_prefetch
    client.images.pull(build_image)
  File "/usr/local/lib/python3.6/dist-packages/docker/models/images.py", line 447, in pull
    repository, tag=tag, stream=True, all_tags=all_tags, **kwargs
  File "/usr/local/lib/python3.6/dist-packages/docker/api/image.py", line 430, in pull
    self._raise_for_status(response)
  File "/usr/local/lib/python3.6/dist-packages/docker/api/client.py", line 270, in _raise_for_status
    raise create_api_error_from_http_exception(e)
  File "/usr/local/lib/python3.6/dist-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
    raise cls(e, response=response, explanation=explanation)
docker.errors.APIError: 500 Server Error for http+docker://localhost/v1.40/images/create?tag=8.5.0-buster&fromImage=gcc: Internal Server Error ("toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit")
root@ip-172-31-55-114:~# docker images
REPOSITORY            TAG                        IMAGE ID            CREATED             SIZE
gcc                   8.5.0-buster               543628eb298f        5 days ago          1.12GB
intel/oneapi-hpckit   2021.3-devel-ubuntu18.04   68ffdbe86df4        7 weeks ago         22.7GB

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions