OCI Distribution Conformance Tests

Summary
1 passed22 failed39 skipped
Start Time Sep 27 06:51:08.746 +0000 UTC
End Time Sep 27 06:51:10.147 +0000 UTC
Time Elapsed 1.401098923s
Test Version v1.0.0
Configuration
OCI_ROOT_URL=https://quay.io
OCI_NAMESPACE=REPLACEME/REPLACEME
OCI_TEST_PUSH=1
OCI_HIDE_SKIPPED_WORKFLOWS=1

Push

Blob Upload Streamed

+

PATCH request with blob in body should yield 202 response


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


Blob Upload Monolithic

+

GET nonexistent blob should result in 404 response


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

+

POST request with digest and blob should yield a 201 or 202


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

+

GET request to blob URL from prior request should yield 200 or 404 based on response code


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

+

POST request should yield a session ID


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

+

GET request to existing blob should yield 200 response


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

+

PUT upload of a layer blob should yield a 201 Response


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

+

GET request to existing layer should yield 200 response


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


Blob Upload Chunked

+

Out-of-order blob upload should return 416


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

+

PATCH request with first chunk should return 202


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


Cross-Repository Blob Mount

+

POST request to mount another repository's blob should return 201 or 202


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


Manifest Upload

+

GET nonexistent manifest should return 404


+

PUT should accept a manifest upload


Expected
    <string>: 
not to be empty

+

Registry should accept a manifest upload with no layers


Expected
    <string>: 
not to be empty

+

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


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


Teardown

+

Delete config blob created in tests


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

+

Delete layer blob created in setup


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

+

Delete manifest created in tests


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