OCI Distribution Conformance Tests

Summary
10 passed12 failed40 skipped
Start Time Sep 27 06:26:48.956 +0000 UTC
End Time Sep 27 06:26:51.309 +0000 UTC
Time Elapsed 2.352736189s
Test Version v1.0.0
Configuration
OCI_ROOT_URL=https://741920044080.dkr.ecr.us-east-1.amazonaws.com
OCI_NAMESPACE=distribution-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


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


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

+

PUT upload of a layer blob should yield a 201 Response


+

GET request to existing layer should yield 200 response



Blob Upload Chunked

+

Out-of-order blob upload should return 416


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

+

PATCH request with first chunk should return 202


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

+

PUT request with final chunk should return 201


Expected
    <string>: 
not to be empty


Cross-Repository Blob Mount

+

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


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



Teardown

+

Delete config blob created in tests


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

+

Delete layer blob created in setup


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

+

Delete manifest created in tests


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