OCI Distribution Conformance Tests

Summary
14 passed8 failed40 skipped
Start Time Jun 14 07:00:54.472 +0000 UTC
End Time Jun 14 07:00:56.054 +0000 UTC
Time Elapsed 1.58189124s
Test Version v1.0.0
Configuration
OCI_ROOT_URL=http://jcr:8081
OCI_NAMESPACE=conformance-local/oci-conformance-test
OCI_USERNAME=*****
OCI_PASSWORD=*****
OCI_TEST_PUSH=1
OCI_HIDE_SKIPPED_WORKFLOWS=1

Push

Blob Upload Streamed

+

PATCH request with blob in body should yield 202 response


+

PUT request to session URL with digest should yield 201 response



Blob Upload Monolithic

+

GET nonexistent blob should result in 404 response


+

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


+

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


+

POST request should yield a session ID


+

PUT upload of a blob should yield a 201 Response


+

GET request to existing blob should yield 200 response


Expected
    <int>: 404
to equal
    <int>: 200

+

PUT upload of a layer blob should yield a 201 Response


+

GET request to existing layer should yield 200 response


Expected
    <int>: 404
to equal
    <int>: 200


Blob Upload Chunked

+

Out-of-order blob upload should return 416


Expected
    <int>: 202
to equal
    <int>: 416

+

PATCH request with first chunk should return 202


+

PUT request with final chunk should return 201



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})]

+

GET request to test digest within cross-mount namespace should return 200


+

Cross-mounting of nonexistent blob should yield session id



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
    <int>: 404
to equal
    <int>: 200


Teardown

+

Delete config blob created in tests


+

Delete layer blob created in setup


+

Delete manifest created in tests


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