Skip to content

lock

lock #72

GitHub Actions / Test Results failed May 22, 2024 in 0s

1 errors, 11 skipped, 1β€ˆ080 pass in 1m 6s

1β€ˆ092 tests  Β±0   1β€ˆ080 βœ… Β±0   1m 6s ⏱️ +3s
β€‡β€ˆβ€‡β€‡4 suites Β±0β€‚β€ƒβ€ƒβ€‡β€ˆβ€‡11 πŸ’€ Β±0 
β€‡β€ˆβ€‡β€‡4 files   Β±0β€‚β€ƒβ€ƒβ€‡β€ˆβ€‡β€‡0 ❌  -β€Š1   1 πŸ”₯ +1 

Results for commit 2d66e9f. ± Comparison against earlier commit 2b410cc.

Annotations

Check failure on line 0 in tests.sandbox_tests.test_concurrent.ConcurrentTransactionsTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_1_originate_contract (tests.sandbox_tests.test_concurrent.ConcurrentTransactionsTestCase) with error

sandbox_test_results.xml [took 0s]
Raw output
failed on setup with "docker.errors.DockerException: Error while fetching server API version: Not supported URL scheme http+docker"
self = <docker.transport.unixconn.UnixHTTPAdapter object at 0x7fbb58371110>
request = <PreparedRequest [GET]>, stream = False, timeout = 60, verify = True
cert = None, proxies = OrderedDict()

    def send(
        self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
    ):
        """Sends PreparedRequest object. Returns Response object.
    
        :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
        :param stream: (optional) Whether to stream the request content.
        :param timeout: (optional) How long to wait for the server to send
            data before giving up, as a float, or a :ref:`(connect timeout,
            read timeout) <timeouts>` tuple.
        :type timeout: float or tuple or urllib3 Timeout object
        :param verify: (optional) Either a boolean, in which case it controls whether
            we verify the server's TLS certificate, or a string, in which case it
            must be a path to a CA bundle to use
        :param cert: (optional) Any user-provided SSL certificate to be trusted.
        :param proxies: (optional) The proxies dictionary to apply to the request.
        :rtype: requests.Response
        """
    
        try:
>           conn = self.get_connection_with_tls_context(
                request, verify, proxies=proxies, cert=cert
            )

../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/requests/adapters.py:555: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/requests/adapters.py:411: in get_connection_with_tls_context
    conn = self.poolmanager.connection_from_host(
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/urllib3/poolmanager.py:304: in connection_from_host
    return self.connection_from_context(request_context)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <urllib3.poolmanager.PoolManager object at 0x7fbb5799e690>
request_context = {'block': False, 'cert_reqs': 'CERT_REQUIRED', 'host': 'localhost', 'maxsize': 10, ...}

    def connection_from_context(
        self, request_context: dict[str, typing.Any]
    ) -> HTTPConnectionPool:
        """
        Get a :class:`urllib3.connectionpool.ConnectionPool` based on the request context.
    
        ``request_context`` must at least contain the ``scheme`` key and its
        value must be a key in ``key_fn_by_scheme`` instance variable.
        """
        if "strict" in request_context:
            warnings.warn(
                "The 'strict' parameter is no longer needed on Python 3+. "
                "This will raise an error in urllib3 v2.1.0.",
                DeprecationWarning,
            )
            request_context.pop("strict")
    
        scheme = request_context["scheme"].lower()
        pool_key_constructor = self.key_fn_by_scheme.get(scheme)
        if not pool_key_constructor:
>           raise URLSchemeUnknown(scheme)
E           urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+docker

../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/urllib3/poolmanager.py:326: URLSchemeUnknown

During handling of the above exception, another exception occurred:

self = <docker.api.client.APIClient object at 0x7fbb563cd610>

    def _retrieve_server_version(self):
        try:
>           return self.version(api_version=False)["ApiVersion"]

../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/docker/api/client.py:214: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/docker/api/daemon.py:181: in version
    return self._result(self._get(url), json=True)
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/docker/utils/decorators.py:46: in inner
    return f(self, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/docker/api/client.py:237: in _get
    return self.get(url, **self._set_request_timeout(kwargs))
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/requests/sessions.py:602: in get
    return self.request("GET", url, **kwargs)
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/requests/sessions.py:589: in request
    resp = self.send(prep, **send_kwargs)
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/requests/sessions.py:703: in send
    r = adapter.send(request, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <docker.transport.unixconn.UnixHTTPAdapter object at 0x7fbb58371110>
request = <PreparedRequest [GET]>, stream = False, timeout = 60, verify = True
cert = None, proxies = OrderedDict()

    def send(
        self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
    ):
        """Sends PreparedRequest object. Returns Response object.
    
        :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
        :param stream: (optional) Whether to stream the request content.
        :param timeout: (optional) How long to wait for the server to send
            data before giving up, as a float, or a :ref:`(connect timeout,
            read timeout) <timeouts>` tuple.
        :type timeout: float or tuple or urllib3 Timeout object
        :param verify: (optional) Either a boolean, in which case it controls whether
            we verify the server's TLS certificate, or a string, in which case it
            must be a path to a CA bundle to use
        :param cert: (optional) Any user-provided SSL certificate to be trusted.
        :param proxies: (optional) The proxies dictionary to apply to the request.
        :rtype: requests.Response
        """
    
        try:
            conn = self.get_connection_with_tls_context(
                request, verify, proxies=proxies, cert=cert
            )
        except LocationValueError as e:
>           raise InvalidURL(e, request=request)
E           requests.exceptions.InvalidURL: Not supported URL scheme http+docker

../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/requests/adapters.py:559: InvalidURL

During handling of the above exception, another exception occurred:

cls = <class 'test_concurrent.ConcurrentTransactionsTestCase'>

    @classmethod
    def setUpClass(cls) -> None:
>       super().setUpClass()

src/pytezos/sandbox/node.py:197: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/pytezos/sandbox/node.py:130: in setUpClass
    kill_existing_containers()
src/pytezos/sandbox/node.py:32: in kill_existing_containers
    docker = DockerClient()
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/testcontainers/core/docker_client.py:23: in __init__
    self.client = docker.from_env(**kwargs)
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/docker/client.py:96: in from_env
    return cls(
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/docker/client.py:45: in __init__
    self.api = APIClient(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/docker/api/client.py:197: in __init__
    self._version = self._retrieve_server_version()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <docker.api.client.APIClient object at 0x7fbb563cd610>

    def _retrieve_server_version(self):
        try:
            return self.version(api_version=False)["ApiVersion"]
        except KeyError:
            raise DockerException(
                'Invalid response from docker daemon: key "ApiVersion"'
                ' is missing.'
            )
        except Exception as e:
>           raise DockerException(
                f'Error while fetching server API version: {e}'
            )
E           docker.errors.DockerException: Error while fetching server API version: Not supported URL scheme http+docker

../../../.cache/pypoetry/virtualenvs/pytezos-fxeZDpKs-py3.11/lib/python3.11/site-packages/docker/api/client.py:221: DockerException