OCI Distribution Conformance Tests

Summary
4 passed14 failed44 skipped
Start Time Sep 27 06:50:06.226 +0000 UTC
End Time Sep 27 06:50:07.426 +0000 UTC
Time Elapsed 1.199691057s
Test Version v1.0.0
Configuration
OCI_ROOT_URL=https://quay.io
OCI_NAMESPACE=REPLACEME/REPLACEME
OCI_TEST_PULL=1
OCI_HIDE_SKIPPED_WORKFLOWS=1

Pull

Setup

+

Populate registry with test manifest


Expected
    <int>: 415
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


Expected
    <*json.SyntaxError | 0xc0001d3200>: {
        msg: "invalid character 'T' looking for beginning of value",
        Offset: 1,
    }
to be nil

+

HEAD request to existing blob should yield 200


Expected
    <*json.SyntaxError | 0xc0001d3a20>: {
        msg: "invalid character 'T' looking for beginning of value",
        Offset: 1,
    }
to be nil

+

GET nonexistent blob should result in 404 response


Expected
    <*json.SyntaxError | 0xc0001be0c0>: {
        msg: "invalid character 'T' looking for beginning of value",
        Offset: 1,
    }
to be nil

+

GET request to existing blob URL should yield 200


Expected
    <*json.SyntaxError | 0xc0001bc480>: {
        msg: "invalid character 'T' looking for beginning of value",
        Offset: 1,
    }
to be nil


Pull manifests

+

HEAD request to nonexistent manifest should return 404


+

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


Expected
    <*json.SyntaxError | 0xc0001fab80>: {
        msg: "invalid character 'T' looking for beginning of value",
        Offset: 1,
    }
to be nil

+

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
    <*json.SyntaxError | 0xc000215da0>: {
        msg: "invalid character 'T' looking for beginning of value",
        Offset: 1,
    }
to be nil

+

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
    <*json.SyntaxError | 0xc0002145a0>: {
        msg: "invalid character 'T' looking for beginning of value",
        Offset: 1,
    }
to be nil

+

Delete layer blob created in setup


Expected
    <*json.SyntaxError | 0xc000214c80>: {
        msg: "invalid character 'T' looking for beginning of value",
        Offset: 1,
    }
to be nil

+

Delete manifest created in setup


Expected
    <*json.SyntaxError | 0xc0001bd0c0>: {
        msg: "invalid character 'T' looking for beginning of value",
        Offset: 1,
    }
to be nil