Page MenuHomePhabricator

[electrum] try to use modern docker compose command
DraftPublic

Authored by PiRK on Fri, Dec 6, 15:10.
This is a draft revision that has not yet been submitted for review.

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 31554
Build 62605: Build Diffelectrum-tests
Build 62604: 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