OCI Distribution Conformance Tests

Summary
9 passed4 failed41 skipped
Start Time Nov 16 06:27:49.996 +0000 UTC
End Time Nov 16 06:27:51.997 +0000 UTC
Time Elapsed 2.001594602s
Test Version unknown
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

+

GET nonexistent blob should result in 404 response


+

GET request to existing blob URL should yield 200



Pull manifests

+

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

+

Delete layer blob created in setup


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

+

Delete manifest created in setup


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