OCI Distribution Conformance Tests

Summary
8 passed10 failed44 skipped
Start Time Jun 14 06:43:09.823 +0000 UTC
End Time Jun 14 06:43:11.426 +0000 UTC
Time Elapsed 1.603098564s
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


+

Populate registry with test layer


+

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=&{[0xc000527c50 0xc000527c80] 0xc000527c80}) %!s(*matchers.EqualMatcher=&{405})]

+

Delete layer blob created in setup


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

+

Delete manifest created in setup


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