Page MenuHomePhabricator

[electrum] try to use modern docker compose command
AbandonedPublicDraft

Authored by PiRK on Dec 6 2024, 15:10.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Let's see if the CI machines can now handle the docker compose command used by pytest-docker.

this reverts D14291 and hopefully fixes some issues with docker-compose not cleaning up after a failure.

Test Plan

pytest electrum/electrumabc/tests/regtest

Diff Detail

Repository
rABC Bitcoin ABC
Branch
docker_compose_command
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33673
Build 66825: Build Diffelectrum-tests
Build 66824: arc lint + arc unit

Event Timeline

@bot electrum-functional-tests

Failed tests logs:

====== electrumabc.tests.regtest.test_reorg.test_1_block_reorg ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest2810835', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_reorg.test_reorg ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest2810835', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_getunusedaddress ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest2810835', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_getservers ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest2810835', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_balance ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest2810835', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_payto_broadcast_getaddresshistory ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest2810835', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_deserialize ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest2810835', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_signtransaction ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest2810835', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_addressconvert ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest2810835', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_payment_request.test_addrequest ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest2810835', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest2810835" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception

Each failure log is accessible here:
electrumabc.tests.regtest.test_reorg.test_1_block_reorg
electrumabc.tests.regtest.test_reorg.test_reorg
electrumabc.tests.regtest.test_rpc_misc.test_getunusedaddress
electrumabc.tests.regtest.test_rpc_misc.test_getservers
electrumabc.tests.regtest.test_rpc_misc.test_balance
electrumabc.tests.regtest.test_rpc_misc.test_payto_broadcast_getaddresshistory
electrumabc.tests.regtest.test_rpc_misc.test_deserialize
electrumabc.tests.regtest.test_rpc_misc.test_signtransaction
electrumabc.tests.regtest.test_rpc_misc.test_addressconvert
electrumabc.tests.regtest.test_rpc_payment_request.test_addrequest

@bot electrum-functional-tests

Failed tests logs:

====== electrumabc.tests.regtest.test_reorg.test_1_block_reorg ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest84934', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_reorg.test_reorg ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest84934', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_getunusedaddress ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest84934', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_getservers ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest84934', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_balance ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest84934', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_payto_broadcast_getaddresshistory ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest84934', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_deserialize ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest84934', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_signtransaction ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest84934', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_addressconvert ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest84934', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_payment_request.test_addrequest ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest84934', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest84934" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception

Each failure log is accessible here:
electrumabc.tests.regtest.test_reorg.test_1_block_reorg
electrumabc.tests.regtest.test_reorg.test_reorg
electrumabc.tests.regtest.test_rpc_misc.test_getunusedaddress
electrumabc.tests.regtest.test_rpc_misc.test_getservers
electrumabc.tests.regtest.test_rpc_misc.test_balance
electrumabc.tests.regtest.test_rpc_misc.test_payto_broadcast_getaddresshistory
electrumabc.tests.regtest.test_rpc_misc.test_deserialize
electrumabc.tests.regtest.test_rpc_misc.test_signtransaction
electrumabc.tests.regtest.test_rpc_misc.test_addressconvert
electrumabc.tests.regtest.test_rpc_payment_request.test_addrequest

@bot electrum-functional-tests

Failed tests logs:

====== electrumabc.tests.regtest.test_reorg.test_1_block_reorg ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest863500', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_reorg.test_reorg ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest863500', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_getunusedaddress ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest863500', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_getservers ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest863500', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_balance ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest863500', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_payto_broadcast_getaddresshistory ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest863500', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_deserialize ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest863500', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_signtransaction ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest863500', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_misc.test_addressconvert ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest863500', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception
====== electrumabc.tests.regtest.test_rpc_payment_request.test_addrequest ======
test setup failed
docker_compose_command = 'docker compose'
docker_compose_file = '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml'
docker_compose_project_name = 'pytest863500', docker_setup = ['up --build -d']
docker_cleanup = ['down -v']

    @pytest.fixture(scope=containers_scope)
    def docker_services(
        docker_compose_command: str,
        docker_compose_file: Union[List[str], str],
        docker_compose_project_name: str,
        docker_setup: str,
        docker_cleanup: str,
    ) -> Iterator[Services]:
        """Start all services from a docker compose file (`docker-compose up`).
        After test are finished, shutdown all services (`docker-compose down`)."""
    
>       with get_docker_services(
            docker_compose_command,
            docker_compose_file,
            docker_compose_project_name,
            docker_setup,
            docker_cleanup,
        ) as docker_service:

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/contextlib.py:117: in __enter__
    return next(self.gen)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:212: in get_docker_services
    docker_compose.execute(command)
/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:140: in execute
    return execute(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

command = 'docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d'
success_codes = (0,)

    def execute(command: str, success_codes: Iterable[int] = (0,)) -> Union[bytes, Any]:
        """Run a shell command."""
        try:
            output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)
            status = 0
        except subprocess.CalledProcessError as error:
            output = error.output or b""
            status = error.returncode
            command = error.cmd
    
        if status not in success_codes:
>           raise Exception(
                'Command {} returned {}: """{}""".'.format(command, status, output.decode("utf-8"))
            )
E           Exception: Command docker compose -f "/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/electrumabc/tests/regtest/docker-compose.yml" -p "pytest863500" up --build -d returned 125: """unknown shorthand flag: 'f' in -f
E           See 'docker --help'.
E           
E           Usage:  docker [OPTIONS] COMMAND
E           
E           A self-sufficient runtime for containers
E           
E           Options:
E                 --config string      Location of client config files (default
E                                      "/home/teamcity/.docker")
E             -c, --context string     Name of the context to use to connect to the
E                                      daemon (overrides DOCKER_HOST env var and
E                                      default context set with "docker context use")
E             -D, --debug              Enable debug mode
E             -H, --host list          Daemon socket(s) to connect to
E             -l, --log-level string   Set the logging level
E                                      ("debug"|"info"|"warn"|"error"|"fatal")
E                                      (default "info")
E                 --tls                Use TLS; implied by --tlsverify
E                 --tlscacert string   Trust certs signed only by this CA (default
E                                      "/home/teamcity/.docker/ca.pem")
E                 --tlscert string     Path to TLS certificate file (default
E                                      "/home/teamcity/.docker/cert.pem")
E                 --tlskey string      Path to TLS key file (default
E                                      "/home/teamcity/.docker/key.pem")
E                 --tlsverify          Use TLS and verify the remote
E             -v, --version            Print version information and quit
E           
E           Management Commands:
E             builder     Manage builds
E             checkpoint  Manage checkpoints
E             config      Manage Docker configs
E             container   Manage containers
E             context     Manage contexts
E             image       Manage images
E             manifest    Manage Docker image manifests and manifest lists
E             network     Manage networks
E             node        Manage Swarm nodes
E             plugin      Manage plugins
E             secret      Manage Docker secrets
E             service     Manage services
E             stack       Manage Docker stacks
E             swarm       Manage Swarm
E             system      Manage Docker
E             trust       Manage trust on Docker images
E             volume      Manage volumes
E           
E           Commands:
E             attach      Attach local standard input, output, and error streams to a running container
E             build       Build an image from a Dockerfile
E             commit      Create a new image from a container's changes
E             cp          Copy files/folders between a container and the local filesystem
E             create      Create a new container
E             diff        Inspect changes to files or directories on a container's filesystem
E             events      Get real time events from the server
E             exec        Run a command in a running container
E             export      Export a container's filesystem as a tar archive
E             history     Show the history of an image
E             images      List images
E             import      Import the contents from a tarball to create a filesystem image
E             info        Display system-wide information
E             inspect     Return low-level information on Docker objects
E             kill        Kill one or more running containers
E             load        Load an image from a tar archive or STDIN
E             login       Log in to a Docker registry
E             logout      Log out from a Docker registry
E             logs        Fetch the logs of a container
E             pause       Pause all processes within one or more containers
E             port        List port mappings or a specific mapping for the container
E             ps          List containers
E             pull        Pull an image or a repository from a registry
E             push        Push an image or a repository to a registry
E             rename      Rename a container
E             restart     Restart one or more containers
E             rm          Remove one or more containers
E             rmi         Remove one or more images
E             run         Run a command in a new container
E             save        Save one or more images to a tar archive (streamed to STDOUT by default)
E             search      Search the Docker Hub for images
E             start       Start one or more stopped containers
E             stats       Display a live stream of container(s) resource usage statistics
E             stop        Stop one or more running containers
E             tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
E             top         Display the running processes of a container
E             unpause     Unpause all processes within one or more containers
E             update      Update configuration of one or more containers
E             version     Show the Docker version information
E             wait        Block until one or more containers stop, then print their exit codes
E           
E           Run 'docker COMMAND --help' for more information on a command.
E           
E            [1mTo get more help with docker, check out our guides at https://docs.docker.com/go/guides/ [0m
E           
E           """.

/home/teamcity/.local/lib/python3.9/site-packages/pytest_docker/plugin.py:35: Exception

Each failure log is accessible here:
electrumabc.tests.regtest.test_reorg.test_1_block_reorg
electrumabc.tests.regtest.test_reorg.test_reorg
electrumabc.tests.regtest.test_rpc_misc.test_getunusedaddress
electrumabc.tests.regtest.test_rpc_misc.test_getservers
electrumabc.tests.regtest.test_rpc_misc.test_balance
electrumabc.tests.regtest.test_rpc_misc.test_payto_broadcast_getaddresshistory
electrumabc.tests.regtest.test_rpc_misc.test_deserialize
electrumabc.tests.regtest.test_rpc_misc.test_signtransaction
electrumabc.tests.regtest.test_rpc_misc.test_addressconvert
electrumabc.tests.regtest.test_rpc_payment_request.test_addrequest

@bot electrum-functional-tests

Tail of the build log:

  CCLD     bench_sign
  CCLD     exhaustive_tests
  CCLD     bench_internal
  CCLD     bench_ecmult
make[1]: Entering directory '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1'
 /usr/bin/mkdir -p '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libsecp256k1.la '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/lib'
libtool: install: /usr/bin/install -c .libs/libsecp256k1.so.0.0.0 /home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/lib/libsecp256k1.so.0.0.0
libtool: install: (cd /home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/lib && { ln -s -f libsecp256k1.so.0.0.0 libsecp256k1.so.0 || { rm -f libsecp256k1.so.0 && ln -s libsecp256k1.so.0.0.0 libsecp256k1.so.0; }; })
libtool: install: (cd /home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/lib && { ln -s -f libsecp256k1.so.0.0.0 libsecp256k1.so || { rm -f libsecp256k1.so && ln -s libsecp256k1.so.0.0.0 libsecp256k1.so; }; })
libtool: install: /usr/bin/install -c .libs/libsecp256k1.lai /home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/lib/libsecp256k1.la
libtool: finish: PATH="/home/teamcity/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/include'
 /usr/bin/install -c -m 644 include/secp256k1.h include/secp256k1_preallocated.h include/secp256k1_ecdh.h include/secp256k1_recovery.h include/secp256k1_schnorr.h '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/include'
 /usr/bin/mkdir -p '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/lib/pkgconfig'
 /usr/bin/install -c -m 644 libsecp256k1.pc '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/lib/pkgconfig'
make[1]: Leaving directory '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1'
'/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build/secp256k1/dist/lib/libsecp256k1.so.0' -> '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/../electrumabc/./libsecp256k1.so.0'
INFO:  libsecp256k1.so.0 has been placed in the 'electrumabc' folder.
~/buildAgent/work/jailed-build/bitcoin-abc/electrum/contrib/build ~/buildAgent/work/jailed-build/bitcoin-abc/abc-ci-builds/electrum-functional-tests
~/buildAgent/work/jailed-build/bitcoin-abc/abc-ci-builds/electrum-functional-tests
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Build electrum-functional-tests failed with exit code 1

we dropped the pytest-docker framework