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

Build timeout #13

Open
alsak0de opened this issue Nov 18, 2022 · 0 comments
Open

Build timeout #13

alsak0de opened this issue Nov 18, 2022 · 0 comments

Comments

@alsak0de
Copy link

$ docker build -t yolov3-coco .
Sending build context to Docker daemon 187.9kB
Step 1/8 : FROM python:3.6
3.6: Pulling from library/python
0e29546d541c: Pull complete
9b829c73b52b: Pull complete
cb5b7ae36172: Pull complete
6494e4811622: Pull complete
6f9f74896dfa: Pull complete
5e3b1213efc5: Pull complete
9fddfdc56334: Pull complete
404f02044bac: Pull complete
c4f42be2be53: Pull complete
Digest: sha256:f8652afaf88c25f0d22354d547d892591067aa4026a7fa9a6819df9f300af6fc
Status: Downloaded newer image for python:3.6
---> 54260638d07c
Step 2/8 : MAINTAINER Moshfiqur Rahman [email protected]
---> Running in 96ab264952a4
Removing intermediate container 96ab264952a4
---> 73f636adae5b
Step 3/8 : COPY app/requirements.txt /usr/src/app/
---> 79444f74d187
Step 4/8 : WORKDIR /usr/src/app
---> Running in feabf123fbf1
Removing intermediate container feabf123fbf1
---> c25b8f0e2421
Step 5/8 : RUN pip install -r requirements.txt
---> Running in 17d8608ad634
Collecting absl-py==0.6.1
Downloading absl-py-0.6.1.tar.gz (94 kB)
Collecting astor==0.7.1
Downloading astor-0.7.1-py2.py3-none-any.whl (27 kB)
Collecting cycler==0.10.0
Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting gast==0.2.0
Downloading gast-0.2.0.tar.gz (9.4 kB)
Collecting grpcio==1.17.1
Downloading grpcio-1.17.1-cp36-cp36m-manylinux1_x86_64.whl (10.1 MB)
Collecting gunicorn==19.9.0
Downloading gunicorn-19.9.0-py2.py3-none-any.whl (112 kB)
Collecting h5py==2.9.0
Downloading h5py-2.9.0-cp36-cp36m-manylinux1_x86_64.whl (2.8 MB)
Collecting Keras==2.2.4
Downloading Keras-2.2.4-py2.py3-none-any.whl (312 kB)
Collecting Keras-Applications==1.0.6
Downloading Keras_Applications-1.0.6-py2.py3-none-any.whl (44 kB)
Collecting Keras-Preprocessing==1.0.5
Downloading Keras_Preprocessing-1.0.5-py2.py3-none-any.whl (30 kB)
Collecting kiwisolver==1.0.1
Downloading kiwisolver-1.0.1-cp36-cp36m-manylinux1_x86_64.whl (949 kB)
Collecting Markdown==3.0.1
Downloading Markdown-3.0.1-py2.py3-none-any.whl (89 kB)
Collecting matplotlib==3.0.2
Downloading matplotlib-3.0.2-cp36-cp36m-manylinux1_x86_64.whl (12.9 MB)
Collecting numpy==1.15.4
Downloading numpy-1.15.4-cp36-cp36m-manylinux1_x86_64.whl (13.9 MB)
Collecting opencv-python==3.4.4.19
Downloading opencv_python-3.4.4.19-cp36-cp36m-manylinux1_x86_64.whl (25.4 MB)
Collecting Pillow==6.2.0
Downloading Pillow-6.2.0-cp36-cp36m-manylinux1_x86_64.whl (2.1 MB)
Collecting protobuf==3.6.1
Downloading protobuf-3.6.1-cp36-cp36m-manylinux1_x86_64.whl (1.1 MB)
Collecting pyparsing==2.3.0
Downloading pyparsing-2.3.0-py2.py3-none-any.whl (59 kB)
Collecting python-dateutil==2.7.5
Downloading python_dateutil-2.7.5-py2.py3-none-any.whl (225 kB)
Collecting PyYAML
Downloading PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)
Collecting scipy==1.2.0
Downloading scipy-1.2.0-cp36-cp36m-manylinux1_x86_64.whl (26.6 MB)
Collecting six==1.12.0
Downloading six-1.12.0-py2.py3-none-any.whl (10 kB)
Collecting tensorboard
Downloading tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
Collecting tensorflow
Downloading tensorflow-2.6.2-cp36-cp36m-manylinux2010_x86_64.whl (458.3 MB)
Collecting termcolor==1.1.0
Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting Werkzeug
Downloading Werkzeug-2.0.3-py3-none-any.whl (289 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from kiwisolver==1.0.1->-r requirements.txt (line 11)) (57.5.0)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Downloading google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting tensorboard-data-server<0.7.0,>=0.6.0
Downloading tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl (4.9 MB)
Collecting tensorboard-plugin-wit>=1.6.0
Downloading tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Collecting tensorboard
Downloading tensorboard-2.10.0-py3-none-any.whl (5.9 MB)
Downloading tensorboard-2.9.1-py3-none-any.whl (5.8 MB)
Downloading tensorboard-2.9.0-py3-none-any.whl (5.8 MB)
Downloading tensorboard-2.8.0-py3-none-any.whl (5.8 MB)
Downloading tensorboard-2.7.0-py3-none-any.whl (5.8 MB)
Downloading tensorboard-2.6.0-py3-none-any.whl (5.6 MB)
Collecting google-auth<2,>=1.6.3
Downloading google_auth-1.35.0-py2.py3-none-any.whl (152 kB)
Collecting tensorboard
Downloading tensorboard-2.5.0-py3-none-any.whl (6.0 MB)
Downloading tensorboard-2.4.1-py3-none-any.whl (10.6 MB)
Downloading tensorboard-2.4.0-py3-none-any.whl (10.6 MB)
Downloading tensorboard-2.3.0-py3-none-any.whl (6.8 MB)
Downloading tensorboard-2.2.2-py3-none-any.whl (3.0 MB)
Downloading tensorboard-2.2.1-py3-none-any.whl (3.0 MB)
Downloading tensorboard-2.2.0-py3-none-any.whl (2.8 MB)
Downloading tensorboard-2.1.1-py3-none-any.whl (3.8 MB)
Downloading tensorboard-2.1.0-py3-none-any.whl (3.8 MB)
Downloading tensorboard-2.0.2-py3-none-any.whl (3.8 MB)
Downloading tensorboard-2.0.1-py3-none-any.whl (3.8 MB)
Downloading tensorboard-2.0.0-py3-none-any.whl (3.8 MB)
Requirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.6/site-packages (from tensorboard->-r requirements.txt (line 23)) (0.37.0)
Collecting tensorflow
Downloading tensorflow-2.6.1-cp36-cp36m-manylinux2010_x86_64.whl (458.3 MB)
Downloading tensorflow-2.6.0-cp36-cp36m-manylinux2010_x86_64.whl (458.3 MB)
Downloading tensorflow-2.5.2-cp36-cp36m-manylinux2010_x86_64.whl (454.3 MB)
Downloading tensorflow-2.5.1-cp36-cp36m-manylinux2010_x86_64.whl (454.3 MB)
Downloading tensorflow-2.5.0-cp36-cp36m-manylinux2010_x86_64.whl (454.3 MB)
Downloading tensorflow-2.4.4-cp36-cp36m-manylinux2010_x86_64.whl (394.5 MB)
ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
yield
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/usr/local/lib/python3.6/http/client.py", line 467, in read
n = self.readinto(b)
File "/usr/local/lib/python3.6/http/client.py", line 511, in readinto
n = self.fp.readinto(b)
File "/usr/local/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/usr/local/lib/python3.6/ssl.py", line 1012, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/lib/python3.6/ssl.py", line 874, in read
return self._sslobj.read(len, buffer)
File "/usr/local/lib/python3.6/ssl.py", line 631, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 173, in _main
status = self.run(options, args)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper
return func(self, options, args)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 316, in run
reqs, check_supported_wheels=not options.target_dir
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve
collected.requirements, max_rounds=try_to_avoid_resolution_too_deep
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 472, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 366, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 210, in _attempt_to_pin_criterion
for candidate in criterion.candidates:
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 128, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 32, in _iter_built
candidate = func()
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 209, in _make_candidate_from_link
version=version,
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301, in init
version=version,
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in init
self.dist = self._prepare()
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 227, in _prepare
dist = self._prepare_distribution()
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in _prepare_distribution
self._ireq, parallel_builds=True
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 508, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 552, in _prepare_linked_requirement
self.download_dir, hashes
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 243, in unpack_url
hashes=hashes,
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 102, in get_http_url
from_path, content_type = download(link, temp_dir.path)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/download.py", line 145, in call
for chunk in chunks:
File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/progress_bars.py", line 144, in iter
for x in it:
File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/utils.py", line 87, in response_chunks
decode_content=False,
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 541, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/local/lib/python3.6/contextlib.py", line 99, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 2

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