Sometimes, I'm getting a different error: ``` 2019-10-11 21:48:49,340 urllib3.connectionpool DEBUG http://localhost:None "POST /v1.18/images/load HTTP/1.1" 500 4 2019-10-11 21:48:49,340 root DEBUG Cleaning up /tmp/docker-squash-10vn23ow temporary directory 2019-10-11 21:48:51,259 root ERROR 500 Server Error: Internal Server Error ("b'EOF'") Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/docker/api/client.py", line 222, in _raise_for_status response.raise_for_status() File "/usr/local/lib/python3.6/dist-packages/requests/models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localunixsocket/v1.18/images/load During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/docker_squash/cli.py", line 87, in run from_layer=args.from_layer, tag=args.tag, output_path=args.output_path, tmp_dir=args.tmp_dir, development=args.development, cleanup=args.cleanup).run() File "/usr/local/lib/python3.6/dist-packages/docker_squash/squash.py", line 59, in run return self.squash(image) File "/usr/local/lib/python3.6/dist-packages/docker_squash/squash.py", line 92, in squash image.load_squashed_image() File "/usr/local/lib/python3.6/dist-packages/docker_squash/image.py", line 254, in load_squashed_image self._load_image(self.new_image_dir) File "/usr/local/lib/python3.6/dist-packages/docker_squash/image.py", line 299, in _load_image self.docker.load_image(f) File "/usr/local/lib/python3.6/dist-packages/docker/api/image.py", line 298, in load_image self._raise_for_status(res) File "/usr/local/lib/python3.6/dist-packages/docker/api/client.py", line 224, 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: Internal Server Error ("b'EOF'") ``` I'm unsure if this is intermittent or not. I've been slowly removing commands from my `Dockerfile` and committing the changes one-by-one, and _some_ of the builds fail due to `.../images/load`, and others fail due to `/var/lib/docker/tmp/docker-import-.../repo/.../json`
Bug 1587611 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Sometimes, I'm getting a different error: ``` 2019-10-11 21:48:49,340 urllib3.connectionpool DEBUG http://localhost:None "POST /v1.18/images/load HTTP/1.1" 500 4 2019-10-11 21:48:49,340 root DEBUG Cleaning up /tmp/docker-squash-10vn23ow temporary directory 2019-10-11 21:48:51,259 root ERROR 500 Server Error: Internal Server Error ("b'EOF'") Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/docker/api/client.py", line 222, in _raise_for_status response.raise_for_status() File "/usr/local/lib/python3.6/dist-packages/requests/models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localunixsocket/v1.18/images/load During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/docker_squash/cli.py", line 87, in run from_layer=args.from_layer, tag=args.tag, output_path=args.output_path, tmp_dir=args.tmp_dir, development=args.development, cleanup=args.cleanup).run() File "/usr/local/lib/python3.6/dist-packages/docker_squash/squash.py", line 59, in run return self.squash(image) File "/usr/local/lib/python3.6/dist-packages/docker_squash/squash.py", line 92, in squash image.load_squashed_image() File "/usr/local/lib/python3.6/dist-packages/docker_squash/image.py", line 254, in load_squashed_image self._load_image(self.new_image_dir) File "/usr/local/lib/python3.6/dist-packages/docker_squash/image.py", line 299, in _load_image self.docker.load_image(f) File "/usr/local/lib/python3.6/dist-packages/docker/api/image.py", line 298, in load_image self._raise_for_status(res) File "/usr/local/lib/python3.6/dist-packages/docker/api/client.py", line 224, 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: Internal Server Error ("b'EOF'") ``` I'm unsure if this is intermittent or not. I've been slowly removing commands from my `Dockerfile` and committing the changes one-by-one, and _some_ of the builds fail due to `.../images/load`, and others fail due to `/var/lib/docker/tmp/docker-import-.../repo/.../json`. It doesn't seem to be strictly related to the docker image size.