Setup
+
Populate registry with test blob
2021/10/11 06:23:22.039822 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:22.039484769Z
TIME DURATION: 93.539133ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:22 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:22.049434 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /?digest=sha256%3A78d8e1002fa1e37a345d3e82f61cdba76b74165feda06c0da96a4116d389a5b9 HTTP/1.1
HOST : registry-1.docker.io
HEADERS:
Content-Length: 144
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
ewoJImF1dGhvciI6ICJzd0ZCRnpYLXpTTEhzTjlRIiwKCSJhcmNoaXRlY3R1cmUiOiAiYW1kNjQiLAoJIm9zIjogImxpbnV4IiwKCSJjb25maWciOiB7fSwKCSJyb290ZnMiOiB7CgkJInR5cGUiOiAibGF5ZXJzIiwKCQkiZGlmZl9pZHMiOiBbXQoJfQp9
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:22.049036743Z
TIME DURATION: 9.121771ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:22 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:22.056712 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:22.056391601Z
TIME DURATION: 6.467151ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:22 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:22.066889 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:22.066530281Z
TIME DURATION: 9.703476ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:22 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 tags
2021/10/11 06:23:22.075478 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/REPLACEME/REPLACEME/manifests/test0 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 :
"ewoJInNjaGVtYVZlcnNpb24iOiAyLAoJImNvbmZpZyI6IHsKCQkibWVkaWFUeXBlIjogImFwcGxpY2F0aW9uL3ZuZC5vY2kuaW1hZ2UuY29uZmlnLnYxK2pzb24iLAoJCSJkaWdlc3QiOiAic2hhMjU2Ojc4ZDhlMTAwMmZhMWUzN2EzNDVkM2U4MmY2MWNkYmE3NmI3NDE2NWZlZGEwNmMwZGE5NmE0MTE2ZDM4OWE1YjkiLAoJCSJzaXplIjogMTQ0Cgl9LAoJImxheWVycyI6IFsKCQl7CgkJCSJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLm9jaS5pbWFnZS5sYXllci52MS50YXIrZ3ppcCIsCgkJCSJkaWdlc3QiOiAic2hhMjU2OjQ4YWNmZjFkOTE3NTJlOTU3NTI3YzFiNTQxNmU3Mzc2ZDkxMGJjYWNmMDFiOTQ0MTE3NWY4YzI3MGUzNWMxODMiLAoJCQkic2l6ZSI6IDE2OAoJCX0KCV0KfQ=="
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:23:22.075059147Z
TIME DURATION: 7.66766ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:22 GMT
Docker-Distribution-Api-Version: registry/2.0
Docker-Ratelimit-Source: 20.96.35.113
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 tags (no push)
you have skipped this test.
Test content discovery endpoints
+
GET request to list tags should yield 200 response
2021/10/11 06:23:22.085478 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:22.085190427Z
TIME DURATION: 9.016071ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:22 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
+
GET number of tags should be limitable by `n` query parameter
2021/10/11 06:23:22.095540 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/REPLACEME/REPLACEME/tags/list?n=2 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:22.095260406Z
TIME DURATION: 8.95287ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:22 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
Teardown
+
Delete config blob created in tests
2021/10/11 06:23:22.113656 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/REPLACEME/REPLACEME/blobs/sha256:78d8e1002fa1e37a345d3e82f61cdba76b74165feda06c0da96a4116d389a5b9 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:22.113297347Z
TIME DURATION: 7.837161ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:22 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 satisfy at least one of these matchers: [%!s(*matchers.AndMatcher=&{[0xc000420720 0xc000420750] 0xc000420750}) %!s(*matchers.EqualMatcher=&{405})]
+
Delete layer blob created in setup
2021/10/11 06:23:22.122648 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/REPLACEME/REPLACEME/blobs/sha256:48acff1d91752e957527c1b5416e7376d910bcacf01b9441175f8c270e35c183 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:22.122346318Z
TIME DURATION: 8.230465ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:22 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 satisfy at least one of these matchers: [%!s(*matchers.AndMatcher=&{[0xc000580660 0xc000580690] 0xc000580690}) %!s(*matchers.EqualMatcher=&{405})]
+
Delete created manifest & associated tags
2021/10/11 06:23:22.129925 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/REPLACEME/REPLACEME/manifests/sha256:b695fdab5de61e1747cb5675b21557ae05f52868aae857c0eede227f983d78c9 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:22.129636175Z
TIME DURATION: 6.576651ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:23:22 GMT
Docker-Distribution-Api-Version: registry/2.0
Docker-Ratelimit-Source: 20.96.35.113
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.AndMatcher=&{[0xc000420e10 0xc000420e40] 0xc000420e40}) %!s(*matchers.EqualMatcher=&{405})]