OCI Distribution Conformance Tests

Summary
6 passed12 failed44 skipped
Start Time Sep 27 06:24:23.157 +0000 UTC
End Time Sep 27 06:24:24.738 +0000 UTC
Time Elapsed 1.580830362s
Test Version v1.0.0
Configuration
OCI_ROOT_URL=https://registry-1.docker.io
OCI_NAMESPACE=REPLACEME/REPLACEME
OCI_TEST_PULL=1
OCI_HIDE_SKIPPED_WORKFLOWS=1

Pull

Setup

+

Populate registry with test blob


Expected
    <int>: 404
to be <
    <int>: 300

+

Populate registry with test layer


Expected
    <int>: 404
to be <
    <int>: 300

+

Populate registry with test manifest


Expected
    <int>: 404
to be <
    <int>: 300

+

Get the name of a tag


+

Get tag name from environment



Pull blobs

+

HEAD request to nonexistent blob should result in 404 response


+

HEAD request to existing blob should yield 200


Expected
    <int>: 404
to equal
    <int>: 200

+

GET nonexistent blob should result in 404 response


+

GET request to existing blob URL should yield 200


Expected
    <int>: 404
to equal
    <int>: 200


Pull manifests

+

HEAD request to nonexistent manifest should return 404


+

HEAD request to manifest path (digest) should yield 200 response


Expected
    <int>: 404
to equal
    <int>: 200

+

HEAD request to manifest path (tag) should yield 200 response


Expected
    <string>: 
not to be empty

+

GET nonexistent manifest should return 404


+

GET request to manifest path (digest) should yield 200 response


Expected
    <int>: 404
to equal
    <int>: 200

+

GET request to manifest path (tag) should yield 200 response


Expected
    <string>: 
not to be empty


Error codes

+

400 response body should contain OCI-conforming JSON message



Teardown

+

Delete config blob created in setup


Expected
    <int>: 404
To satisfy at least one of these matchers: [%!s(*matchers.AndMatcher=&{[0xc000153590 0xc0001535c0] 0xc0001535c0}) %!s(*matchers.EqualMatcher=&{405})]

+

Delete layer blob created in setup


Expected
    <int>: 404
To satisfy at least one of these matchers: [%!s(*matchers.AndMatcher=&{[0xc00052b6e0 0xc00052b710] 0xc00052b710}) %!s(*matchers.EqualMatcher=&{405})]

+

Delete manifest created in setup


Expected
    <int>: 404
To satisfy at least one of these matchers: [%!s(*matchers.AndMatcher=&{[0xc000153c50 0xc000153c80] 0xc000153c80}) %!s(*matchers.EqualMatcher=&{405})]