OCI Distribution Conformance Tests

Summary
16 passed49 skipped
Start Time Jul 19 10:43:54.585 +0200 CEST
End Time Jul 19 10:43:55.274 +0200 CEST
Time Elapsed 689.172561ms
Test Version unknown
Configuration
OCI_ROOT_URL=https://pkg.miln.eu
OCI_NAMESPACE=packageorigin/oci-distribution-conformance
OCI_DEBUG=0
OCI_TEST_PULL=1
OCI_TEST_PUSH=0
OCI_TEST_CONTENT_DISCOVERY=1
OCI_TEST_CONTENT_MANAGEMENT=0
OCI_BLOB_DIGEST=sha256:2f887fc5db6631205e245fa37db5df9ba66b1ef8caa19d8be7ee79ca3a972959
OCI_MANIFEST_DIGEST=sha256:13a046c9fb6d8b15442098af72348d7913c06c2e06e642982ddaef7f11b20b50
OCI_TAG_NAME=1.0.0
OCI_TAG_LIST=1.0.0,1.0.1,1.1.0+oci,2.0.0-preview.1,latest
OCI_HIDE_SKIPPED_WORKFLOWS=1

Pull

Setup

+

Populate registry with test blob


+

Populate registry with test layer


+

Populate registry with test manifest


+

Get the name of a tag


+

Get tag name from environment



Pull blobs

+

HEAD request to nonexistent blob should result in 404 response


+

HEAD request to existing blob should yield 200


+

GET nonexistent blob should result in 404 response


+

GET request to existing blob URL should yield 200



Pull manifests

+

HEAD request to nonexistent manifest should return 404


+

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


+

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


+

GET nonexistent manifest should return 404


+

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


+

GET request to manifest path (tag) should yield 200 response



Error codes

+

400 response body should contain OCI-conforming JSON message



Teardown

+

Delete config blob created in setup


+

Delete layer blob created in setup


+

Delete manifest created in setup



Content Discovery

Setup

+

Populate registry with test blob


+

Populate registry with test layer


+

Populate registry with test tags


+

Populate registry with test tags (no push)



Test content discovery endpoints

+

GET request to list tags should yield 200 response


+

GET number of tags should be limitable by `n` query parameter


+

GET start of tag is set by `last` query parameter



Teardown

+

Delete config blob created in tests


+

Delete layer blob created in setup


+

Delete created manifest & associated tags