OCI Distribution Conformance Tests

Summary
4 passed14 failed44 skipped
Start Time Jun 14 07:02:17.929 +0000 UTC
End Time Jun 14 07:02:19.278 +0000 UTC
Time Elapsed 1.348592464s
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 | 0xc00009ba20>: {
        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 | 0xc0003c8be0>: {
        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 | 0xc0001c7820>: {
        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 | 0xc0002b21e0>: {
        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 | 0xc0001f8160>: {
        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 | 0xc0001f8de0>: {
        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 | 0xc0002089e0>: {
        msg: "invalid character 'T' looking for beginning of value",
        Offset: 1,
    }
to be nil

+

Delete layer blob created in setup


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

+

Delete manifest created in setup


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