testing: update docker-py 6.1.3#43998
Merged
thaJeztah merged 4 commits intomoby:masterfrom Aug 29, 2023
Merged
Conversation
Member
Author
|
Yup, this won't work; Perhaps it's time to move the docker-py tests outside of docker-in-docker (perhaps even run them on github actions if we already have code there to spin up the docker daemon) |
Member
Author
|
building the docker-py image now happens on GitHub actions, so moving this out of draft 👍 |
neersighted
approved these changes
Oct 3, 2022
Member
Author
Ah, sorry, I was wrong; while it moved to GitHub actions, we're still building the image docker-in-docker, using the classic builder; So still some work needed there |
6b45532 to
803789c
Compare
Member
Author
|
1 Failure (and some XFAIL, but those can probably be ignored) |
Member
Author
|
Remaining skips need a new release of docker-py;
|
Member
Author
|
Right, so that one failure continues: Hm, right, so error is:
|
Our dev-container now has buildx installed, so we're no longer limited to 17.06. Signed-off-by: Sebastiaan van Stijn <[email protected]>
release notes: https://github.com/docker/docker-py/releases/tag/6.0.1 full diff: docker/docker-py@5.0.3...6.0.1 Signed-off-by: Sebastiaan van Stijn <[email protected]>
…socket_ws
Tests are failing with this error:
E ValueError: scheme http+docker is invalid
Which is reported in docker-py in docker/docker-py#1478.
Not sure what changed in the tests, but could be due to updated Python
version or dependencies, but let's skip it for now.
Test failure:
___________ AttachContainerTest.test_run_container_reading_socket_ws ___________
tests/integration/api_container_test.py:1245: in test_run_container_reading_socket_ws
pty_stdout = self.client.attach_socket(container, opts, ws=True)
docker/utils/decorators.py:19: in wrapped
return f(self, resource_id, *args, **kwargs)
docker/api/container.py:98: in attach_socket
return self._attach_websocket(container, params)
docker/utils/decorators.py:19: in wrapped
return f(self, resource_id, *args, **kwargs)
docker/api/client.py:312: in _attach_websocket
return self._create_websocket_connection(full_url)
docker/api/client.py:315: in _create_websocket_connection
return websocket.create_connection(url)
/usr/local/lib/python3.7/site-packages/websocket/_core.py:601: in create_connection
websock.connect(url, **options)
/usr/local/lib/python3.7/site-packages/websocket/_core.py:245: in connect
options.pop('socket', None))
/usr/local/lib/python3.7/site-packages/websocket/_http.py:117: in connect
hostname, port, resource, is_secure = parse_url(url)
/usr/local/lib/python3.7/site-packages/websocket/_url.py:62: in parse_url
raise ValueError("scheme %s is invalid" % scheme)
E ValueError: scheme http+docker is invalid
------- generated xml file: /src/bundles/test-docker-py/junit-report.xml -------
Signed-off-by: Sebastiaan van Stijn <[email protected]>
full diff: docker/docker-py@6.0.1...6.1.3 Signed-off-by: Sebastiaan van Stijn <[email protected]>
Member
Author
|
Itsa greeeeeen ✅ ✅ ✅ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤞 hope this is gonna work, because the CLI inside the container is 17.06, and docker/docker-py@cd2c35a changed the Dockerfile we build to depend on BuildKit features (
--mount)testing: update docker-py 6.0.1
release notes: https://github.com/docker/docker-py/releases/tag/6.0.1
full diff: docker/docker-py@5.0.3...6.0.1
testing: update docker-py 6.1.3
full diff: docker/docker-py@6.0.1...6.1.3
- A picture of a cute animal (not mandatory but encouraged)