Skip to content

Skip TestPullManifestList when using containerd#46759

Merged
thaJeztah merged 1 commit intomoby:masterfrom
rumpl:c8d-index-pull-test
Nov 3, 2023
Merged

Skip TestPullManifestList when using containerd#46759
thaJeztah merged 1 commit intomoby:masterfrom
rumpl:c8d-index-pull-test

Conversation

@rumpl
Copy link
Member

@rumpl rumpl commented Nov 2, 2023

- What I did

Skipped TestPullManifestList when using containerd

This test is very weird, the Size in the manifests that it creates is wrong, graph drivers only print a warning in that case but containerd fails because it verifies more things. The media types are also wrong in the containerd case, the manifest list forces the media type to be "schema2.MediaTypeManifest" but in the containerd case the media type is an OCI one.

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

This test is very weird, the Size in the manifests that it creates is
wrong, graph drivers only print a warning in that case but containerd
fails because it verifies more things. The media types are also wrong in
the containerd case, the manifest list forces the media type to be
"schema2.MediaTypeManifest" but in the containerd case the media type is
an OCI one.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@rumpl rumpl added area/distribution Image Distribution status/2-code-review area/images Image Distribution containerd-integration Issues and PRs related to containerd integration labels Nov 2, 2023
@rumpl rumpl added this to the 25.0.0 milestone Nov 2, 2023
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

And now I want to figure out what each of the steps in the test is actually testing. Honestly, no clue; it's really weird indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/distribution Image Distribution area/images Image Distribution containerd-integration Issues and PRs related to containerd integration status/2-code-review

Projects

Development

Successfully merging this pull request may close these issues.

2 participants