Skip to content

Container tests not working on main #1004

@mdegat01

Description

@mdegat01

The PRs I put up are seeing failure unrelated to the changes in the following tests:

FAILED tests/test_containers.py::test_run_existing_container - aiodocker.exceptions.DockerError: [400] invalid JSON: json: cannot unmarshal string into Go struct field CreateRequest.Config.Entrypoint of type []string
FAILED tests/test_containers.py::test_run_container_with_missing_image - aiodocker.exceptions.DockerError: [400] invalid JSON: json: cannot unmarshal string into Go struct field CreateRequest.Config.Entrypoint of type []string
FAILED tests/test_containers.py::test_container_stats_list - aiodocker.exceptions.DockerError: [400] invalid JSON: json: cannot unmarshal string into Go struct field CreateRequest.Config.Entrypoint of type []string
FAILED tests/test_containers.py::test_container_stats_stream - aiodocker.exceptions.DockerError: [400] invalid JSON: json: cannot unmarshal string into Go struct field CreateRequest.Config.Entrypoint of type []string

I checked and it looks like the docker:dind image used in the test suite was updated 3 days ago: https://hub.docker.com/_/docker . And a version is not pinned in the the docker compose setup used by the tests:

image: docker:dind

So I'm thinking this is a failure related to update of that image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions