OCI Distribution Conformance Tests

Summary
14 passed4 failed44 skipped
Start Time Oct 11 06:26:29.917 +0000 UTC
End Time Oct 11 06:26:31.900 +0000 UTC
Time Elapsed 1.983510846s
Test Version v1.0.0
Configuration
OCI_ROOT_URL=https://741920044080.dkr.ecr.us-east-1.amazonaws.com
OCI_NAMESPACE=distribution-test
OCI_USERNAME=*****
OCI_PASSWORD=*****
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


+

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


+

GET nonexistent blob should result in 404 response


+

GET request to existing blob URL should yield 200



Pull manifests

+

HEAD request to nonexistent manifest should return 404


+

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


+

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


+

GET nonexistent manifest should return 404


+

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


+

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



Error codes

+

400 response body should contain OCI-conforming JSON message


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


Teardown

+

Delete config blob created in setup


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

+

Delete layer blob created in setup


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

+

Delete manifest created in setup


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