Setup
+
Populate registry with test config blob
2021/10/11 06:23:10.545484 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/REPLACEME/REPLACEME/blobs/uploads/ HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.545206992Z
TIME DURATION: 76.481463ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
2021/10/11 06:23:10.550456 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /?digest=sha256%3A5d32649239d5c6ed537af43457ef9a312803fd4e2085c41a50da920c48b1ce9c HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
Content-Length: 144
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
ewoJImF1dGhvciI6ICJCMzhueVJDNEVTV1NnNE9VIiwKCSJhcmNoaXRlY3R1cmUiOiAiYW1kNjQiLAoJIm9zIjogImxpbnV4IiwKCSJjb25maWciOiB7fSwKCSJyb290ZnMiOiB7CgkJInR5cGUiOiAibGF5ZXJzIiwKCQkiZGlmZl9pZHMiOiBbXQoJfQp9
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.550147986Z
TIME DURATION: 4.588388ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
Expected
<int>: 404
to be <
<int>: 300
+
Populate registry with test layer
2021/10/11 06:23:10.554481 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/REPLACEME/REPLACEME/blobs/uploads/ HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.554195763Z
TIME DURATION: 3.320163ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
2021/10/11 06:23:10.560291 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /?digest=sha256%3A48acff1d91752e957527c1b5416e7376d910bcacf01b9441175f8c270e35c183 HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
Content-Length: 168
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
H4sIAAAAAAAAA+3OQQrCMBCF4a49xXgBSUnaHMCTRBptQRNpp6i3t0UEV7oqIv7fYgbmzeJpHHSjVy0WZCa1c/MufWVe94N3RWlrZ72x3k/30nhbFWKWLPU0Dhp6keJ8im//PuU/6pZH2WVtYx8b0Sz7LjWSR5VLG6YRBumSzOlGtjkd+qDjMWiX07Befbs7AAAAAAAAAAAAAAAAAPyzO34MnqoAKAAA
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.559983974Z
TIME DURATION: 5.425404ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
Expected
<int>: 404
to be <
<int>: 300
+
Populate registry with test tag
2021/10/11 06:23:10.566595 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/REPLACEME/REPLACEME/manifests/tagtest0 HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
Accept: application/vnd.oci.image.manifest.v1+json
Content-Type: application/vnd.oci.image.manifest.v1+json
User-Agent: distribution-spec-conformance-tests
BODY :
"ewoJInNjaGVtYVZlcnNpb24iOiAyLAoJImNvbmZpZyI6IHsKCQkibWVkaWFUeXBlIjogImFwcGxpY2F0aW9uL3ZuZC5vY2kuaW1hZ2UuY29uZmlnLnYxK2pzb24iLAoJCSJkaWdlc3QiOiAic2hhMjU2OjVkMzI2NDkyMzlkNWM2ZWQ1MzdhZjQzNDU3ZWY5YTMxMjgwM2ZkNGUyMDg1YzQxYTUwZGE5MjBjNDhiMWNlOWMiLAoJCSJzaXplIjogMTQ0Cgl9LAoJImxheWVycyI6IFsKCQl7CgkJCSJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLm9jaS5pbWFnZS5sYXllci52MS50YXIrZ3ppcCIsCgkJCSJkaWdlc3QiOiAic2hhMjU2OjQ4YWNmZjFkOTE3NTJlOTU3NTI3YzFiNTQxNmU3Mzc2ZDkxMGJjYWNmMDFiOTQ0MTE3NWY4YzI3MGUzNWMxODMiLAoJCQkic2l6ZSI6IDE2OAoJCX0KCV0KfQ=="
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.566213593Z
TIME DURATION: 5.539206ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Docker-Ratelimit-Source: 52.224.8.137
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
Expected
<int>: 404
to be <
<int>: 300
+
Check how many tags there are before anything gets deleted
2021/10/11 06:23:10.572113 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/REPLACEME/REPLACEME/tags/list HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.571873301Z
TIME DURATION: 4.905293ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
Expected
<int>: 404
to equal
<int>: 200
Manifest delete
+
DELETE request to manifest tag should return 202, unless tag deletion is disallowed (400/405)
2021/10/11 06:23:10.576383 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/REPLACEME/REPLACEME/manifests/tagtest0 HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.576097582Z
TIME DURATION: 3.64607ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Docker-Ratelimit-Source: 52.224.8.137
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
Expected
<int>: 404
To satisfy at least one of these matchers: [%!s(*matchers.EqualMatcher=&{400}) %!s(*matchers.EqualMatcher=&{202}) %!s(*matchers.EqualMatcher=&{405})]
+
DELETE request to manifest (digest) should yield 202 response unless already deleted
2021/10/11 06:23:10.583034 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/REPLACEME/REPLACEME/manifests/sha256:fbb771593b59c4af08c78396b303c60ee5d0d1a4ca30c97ad2b77895e24c9e5b HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.582730909Z
TIME DURATION: 5.937114ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Docker-Ratelimit-Source: 52.224.8.137
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
+
GET request to deleted manifest URL should yield 404 response, unless delete is disallowed
2021/10/11 06:23:10.588973 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/REPLACEME/REPLACEME/manifests/sha256:fbb771593b59c4af08c78396b303c60ee5d0d1a4ca30c97ad2b77895e24c9e5b HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.588707023Z
TIME DURATION: 5.576306ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Docker-Ratelimit-Source: 52.224.8.137
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
+
GET request to tags list should reflect manifest deletion
2021/10/11 06:23:10.594115 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/REPLACEME/REPLACEME/tags/list HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.593839621Z
TIME DURATION: 4.805091ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
Expected
<int>: 404
to equal
<int>: 200
Blob delete
+
DELETE request to blob URL should yield 202 response
2021/10/11 06:23:10.598756 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/REPLACEME/REPLACEME/blobs/sha256:5d32649239d5c6ed537af43457ef9a312803fd4e2085c41a50da920c48b1ce9c HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.59848431Z
TIME DURATION: 4.020477ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
Expected
<int>: 404
to equal
<int>: 202
+
GET request to deleted blob URL should yield 404 response
2021/10/11 06:23:10.607975 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/REPLACEME/REPLACEME/blobs/sha256:5d32649239d5c6ed537af43457ef9a312803fd4e2085c41a50da920c48b1ce9c HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:10.607702286Z
TIME DURATION: 8.590264ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:10 GMT
Docker-Distribution-Api-Version: registry/2.0
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================