Blob Upload Streamed
+
PATCH request with blob in body should yield 202 response
2021/10/11 06:27:02.375551 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/ HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:02.375195204Z
TIME DURATION: 395.849179ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:02 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:02.523350 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/ HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 202 Accepted
RECEIVED AT : 2021-10-11T06:27:02.522791727Z
TIME DURATION: 147.150526ms
HEADERS :
Date: Mon, 11 Oct 2021 06:27:02 GMT
Docker-Distribution-Api-Version: registry/2.0
Location: https://741920044080.dkr.ecr.us-east-1.amazonaws.com/v2/distribution-test/blobs/uploads/3253332e-179c-49fe-bd71-4033807f019f
Range: bytes=0-10485760
BODY :
==============================================================================
2021/10/11 06:27:02.594769 DEBUG
==============================================================================
~~~ REQUEST ~~~
PATCH /v2/distribution-test/blobs/uploads/3253332e-179c-49fe-bd71-4033807f019f HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
TkJBIEphbSBvbiBteSBOQkEgdG9hc3Q=
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:02.594403153Z
TIME DURATION: 70.915631ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:02 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:02.737052 DEBUG
==============================================================================
~~~ REQUEST ~~~
PATCH /v2/distribution-test/blobs/uploads/3253332e-179c-49fe-bd71-4033807f019f HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
TkJBIEphbSBvbiBteSBOQkEgdG9hc3Q=
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 201 Created
RECEIVED AT : 2021-10-11T06:27:02.736565911Z
TIME DURATION: 141.685962ms
HEADERS :
Content-Length: 0
Date: Mon, 11 Oct 2021 06:27:02 GMT
Docker-Distribution-Api-Version: registry/2.0
Docker-Upload-Uuid: 3253332e-179c-49fe-bd71-4033807f019f
Location: https://741920044080.dkr.ecr.us-east-1.amazonaws.com/v2/distribution-test/blobs/uploads/3253332e-179c-49fe-bd71-4033807f019f
Range: 0-22
BODY :
==============================================================================
Expected
<int>: 201
to equal
<int>: 202
Blob Upload Monolithic
+
GET nonexistent blob should result in 404 response
2021/10/11 06:27:02.810026 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:02.809603744Z
TIME DURATION: 71.514743ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:02 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:02.920969 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:27:02.920198461Z
TIME DURATION: 110.020619ms
HEADERS :
Content-Length: 258
Content-Type: application/json; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:02 GMT
Docker-Distribution-Api-Version: registry/2.0
BODY :
{
"errors": [
{
"code": "BLOB_UPLOAD_UNKNOWN",
"message": "The layer with digest 'sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9' does not exist within the repository with name 'distribution-test' in the registry with id '741920044080'"
}
]
}
==============================================================================
+
POST request with digest and blob should yield a 201 or 202
2021/10/11 06:27:02.992831 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/?digest=sha256%3A1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Content-Length: 144
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
ewoJImF1dGhvciI6ICI4VGNLWTNmQkpqTG8yRkE1IiwKCSJhcmNoaXRlY3R1cmUiOiAiYW1kNjQiLAoJIm9zIjogImxpbnV4IiwKCSJjb25maWciOiB7fSwKCSJyb290ZnMiOiB7CgkJInR5cGUiOiAibGF5ZXJzIiwKCQkiZGlmZl9pZHMiOiBbXQoJfQp9
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:02.992368612Z
TIME DURATION: 71.250754ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:02 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:03.148946 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/?digest=sha256%3A1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
Content-Length: 144
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
ewoJImF1dGhvciI6ICI4VGNLWTNmQkpqTG8yRkE1IiwKCSJhcmNoaXRlY3R1cmUiOiAiYW1kNjQiLAoJIm9zIjogImxpbnV4IiwKCSJjb25maWciOiB7fSwKCSJyb290ZnMiOiB7CgkJInR5cGUiOiAibGF5ZXJzIiwKCQkiZGlmZl9pZHMiOiBbXQoJfQp9
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 202 Accepted
RECEIVED AT : 2021-10-11T06:27:03.148181873Z
TIME DURATION: 155.201163ms
HEADERS :
Date: Mon, 11 Oct 2021 06:27:03 GMT
Docker-Distribution-Api-Version: registry/2.0
Location: https://741920044080.dkr.ecr.us-east-1.amazonaws.com/v2/distribution-test/blobs/uploads/c0d4d521-5769-4e01-aa5b-d7067323b4a3
Range: bytes=0-10485760
BODY :
==============================================================================
+
GET request to blob URL from prior request should yield 200 or 404 based on response code
2021/10/11 06:27:03.220374 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/blobs/sha256:1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:03.220025825Z
TIME DURATION: 70.945055ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:03 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:03.328021 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/blobs/sha256:1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:27:03.327310554Z
TIME DURATION: 106.834131ms
HEADERS :
Content-Length: 258
Content-Type: application/json; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:03 GMT
Docker-Distribution-Api-Version: registry/2.0
BODY :
{
"errors": [
{
"code": "BLOB_UPLOAD_UNKNOWN",
"message": "The layer with digest 'sha256:1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf' does not exist within the repository with name 'distribution-test' in the registry with id '741920044080'"
}
]
}
==============================================================================
+
POST request should yield a session ID
2021/10/11 06:27:03.399363 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/ HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:03.399065406Z
TIME DURATION: 70.933455ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:03 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:03.547125 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/ HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 202 Accepted
RECEIVED AT : 2021-10-11T06:27:03.546616096Z
TIME DURATION: 147.165791ms
HEADERS :
Date: Mon, 11 Oct 2021 06:27:03 GMT
Docker-Distribution-Api-Version: registry/2.0
Location: https://741920044080.dkr.ecr.us-east-1.amazonaws.com/v2/distribution-test/blobs/uploads/612b5cea-6851-47d7-a88a-a27eb98b2001
Range: bytes=0-10485760
BODY :
==============================================================================
+
PUT upload of a blob should yield a 201 Response
2021/10/11 06:27:03.619090 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/distribution-test/blobs/uploads/612b5cea-6851-47d7-a88a-a27eb98b2001?digest=sha256%3A1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Content-Length: 144
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
ewoJImF1dGhvciI6ICI4VGNLWTNmQkpqTG8yRkE1IiwKCSJhcmNoaXRlY3R1cmUiOiAiYW1kNjQiLAoJIm9zIjogImxpbnV4IiwKCSJjb25maWciOiB7fSwKCSJyb290ZnMiOiB7CgkJInR5cGUiOiAibGF5ZXJzIiwKCQkiZGlmZl9pZHMiOiBbXQoJfQp9
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:03.618652347Z
TIME DURATION: 71.294353ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:03 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:03.920683 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/distribution-test/blobs/uploads/612b5cea-6851-47d7-a88a-a27eb98b2001?digest=sha256%3A1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
Content-Length: 144
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
ewoJImF1dGhvciI6ICI4VGNLWTNmQkpqTG8yRkE1IiwKCSJhcmNoaXRlY3R1cmUiOiAiYW1kNjQiLAoJIm9zIjogImxpbnV4IiwKCSJjb25maWciOiB7fSwKCSJyb290ZnMiOiB7CgkJInR5cGUiOiAibGF5ZXJzIiwKCQkiZGlmZl9pZHMiOiBbXQoJfQp9
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 201 Created
RECEIVED AT : 2021-10-11T06:27:03.919859406Z
TIME DURATION: 300.652061ms
HEADERS :
Content-Length: 0
Date: Mon, 11 Oct 2021 06:27:03 GMT
Docker-Content-Digest: sha256:1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf
Docker-Distribution-Api-Version: registry/2.0
Location: https://741920044080.dkr.ecr.us-east-1.amazonaws.com/v2/distribution-test/blobs/sha256:1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf
BODY :
==============================================================================
+
GET request to existing blob should yield 200 response
2021/10/11 06:27:03.992156 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/blobs/sha256:1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:03.991820057Z
TIME DURATION: 70.983354ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:03 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:04.094059 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/blobs/sha256:1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 400 Bad Request
RECEIVED AT : 2021-10-11T06:27:04.093181907Z
TIME DURATION: 100.920451ms
HEADERS :
Content-Length: 283
Content-Type: application/json; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:04 GMT
Docker-Distribution-Api-Version: registry/2.0
BODY :
{
"errors": [
{
"code": "DIGEST_INVALID",
"message": "The layer with digest 'sha256:1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf' within the repository with name 'distribution-test' in the registry with id '741920044080' is inaccessible since no image references it"
}
]
}
==============================================================================
Expected
<int>: 400
to equal
<int>: 200
+
PUT upload of a layer blob should yield a 201 Response
2021/10/11 06:27:04.166369 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/ HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:04.166023855Z
TIME DURATION: 71.447553ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:04 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:04.321561 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/ HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 202 Accepted
RECEIVED AT : 2021-10-11T06:27:04.321137719Z
TIME DURATION: 154.666565ms
HEADERS :
Date: Mon, 11 Oct 2021 06:27:04 GMT
Docker-Distribution-Api-Version: registry/2.0
Location: https://741920044080.dkr.ecr.us-east-1.amazonaws.com/v2/distribution-test/blobs/uploads/07526df6-d04d-4546-9c7d-b77a1cb7b8a3
Range: bytes=0-10485760
BODY :
==============================================================================
2021/10/11 06:27:04.393137 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/distribution-test/blobs/uploads/07526df6-d04d-4546-9c7d-b77a1cb7b8a3?digest=sha256%3A48acff1d91752e957527c1b5416e7376d910bcacf01b9441175f8c270e35c183 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
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 : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:04.392750072Z
TIME DURATION: 71.069755ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:04 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:04.697472 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/distribution-test/blobs/uploads/07526df6-d04d-4546-9c7d-b77a1cb7b8a3?digest=sha256%3A48acff1d91752e957527c1b5416e7376d910bcacf01b9441175f8c270e35c183 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
Content-Length: 168
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
H4sIAAAAAAAAA+3OQQrCMBCF4a49xXgBSUnaHMCTRBptQRNpp6i3t0UEV7oqIv7fYgbmzeJpHHSjVy0WZCa1c/MufWVe94N3RWlrZ72x3k/30nhbFWKWLPU0Dhp6keJ8im//PuU/6pZH2WVtYx8b0Sz7LjWSR5VLG6YRBumSzOlGtjkd+qDjMWiX07Befbs7AAAAAAAAAAAAAAAAAPyzO34MnqoAKAAA
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 201 Created
RECEIVED AT : 2021-10-11T06:27:04.696718121Z
TIME DURATION: 303.459551ms
HEADERS :
Content-Length: 0
Date: Mon, 11 Oct 2021 06:27:04 GMT
Docker-Content-Digest: sha256:48acff1d91752e957527c1b5416e7376d910bcacf01b9441175f8c270e35c183
Docker-Distribution-Api-Version: registry/2.0
Location: https://741920044080.dkr.ecr.us-east-1.amazonaws.com/v2/distribution-test/blobs/sha256:48acff1d91752e957527c1b5416e7376d910bcacf01b9441175f8c270e35c183
BODY :
==============================================================================
+
GET request to existing layer should yield 200 response
2021/10/11 06:27:04.770833 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/blobs/sha256:48acff1d91752e957527c1b5416e7376d910bcacf01b9441175f8c270e35c183 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:04.770461966Z
TIME DURATION: 72.831448ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:04 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:05.260652 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/blobs/sha256:48acff1d91752e957527c1b5416e7376d910bcacf01b9441175f8c270e35c183 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 200 OK
RECEIVED AT : 2021-10-11T06:27:05.259797975Z
TIME DURATION: 488.848511ms
HEADERS :
Accept-Ranges: bytes
Content-Length: 168
Content-Type: application/octet-stream
Date: Mon, 11 Oct 2021 06:27:06 GMT
Etag: "b636d2f68796d00e5532c514cd723cba-1"
Last-Modified: Fri, 24 Apr 2020 06:20:58 GMT
Server: AmazonS3
X-Amz-Id-2: v7T++iaox+hPucDCyaWOxyAOFx+ojLJH/Fyqwt7bk2OJSF+ig1TZwlVjHSPlUritaxPTUQUlE/A=
X-Amz-Request-Id: DH8HH5WW97AKJMAR
X-Amz-Server-Side-Encryption: AES256
X-Amz-Version-Id: ncfSDcOXiHGv1M7B5PgwK8uv_Gq4pvPn
BODY :
‹ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½íÎA
Â0…á®=ÅxIIÚÀ“DmAi§¨··EWº*"þßbæÍâit£W-d&µsó.}e^÷ƒwEikg½±ÞO÷Òx[b–,õ4z‘â|Šoÿ>å?ê–GÙemcÑ,û.5’G•K¦é’ÌéF¶9ú ã1h—Ó°^}»;�������������ü³;~žªï¿½(��
==============================================================================
Blob Upload Chunked
+
Out-of-order blob upload should return 416
2021/10/11 06:27:05.332366 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/ HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Content-Length: 0
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:05.332051825Z
TIME DURATION: 71.259954ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:05 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:05.489704 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/ HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
Content-Length: 0
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 202 Accepted
RECEIVED AT : 2021-10-11T06:27:05.489274282Z
TIME DURATION: 156.827158ms
HEADERS :
Date: Mon, 11 Oct 2021 06:27:05 GMT
Docker-Distribution-Api-Version: registry/2.0
Location: https://741920044080.dkr.ecr.us-east-1.amazonaws.com/v2/distribution-test/blobs/uploads/1e9394cc-c430-4caf-b658-62845f49a356
Range: bytes=0-10485760
BODY :
==============================================================================
2021/10/11 06:27:05.561296 DEBUG
==============================================================================
~~~ REQUEST ~~~
PATCH /v2/distribution-test/blobs/uploads/1e9394cc-c430-4caf-b658-62845f49a356 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Content-Length: 22
Content-Range: 3-24
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
bG8sIGhvdyBhcmUgeW91IHRvZGF5Pw==
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:05.560880134Z
TIME DURATION: 71.083154ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:05 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:05.702670 DEBUG
==============================================================================
~~~ REQUEST ~~~
PATCH /v2/distribution-test/blobs/uploads/1e9394cc-c430-4caf-b658-62845f49a356 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
Content-Length: 22
Content-Range: 3-24
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
bG8sIGhvdyBhcmUgeW91IHRvZGF5Pw==
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 201 Created
RECEIVED AT : 2021-10-11T06:27:05.702215346Z
TIME DURATION: 140.772114ms
HEADERS :
Content-Length: 0
Date: Mon, 11 Oct 2021 06:27:05 GMT
Docker-Distribution-Api-Version: registry/2.0
Docker-Upload-Uuid: 1e9394cc-c430-4caf-b658-62845f49a356
Location: https://741920044080.dkr.ecr.us-east-1.amazonaws.com/v2/distribution-test/blobs/uploads/1e9394cc-c430-4caf-b658-62845f49a356
Range: 0-21
BODY :
==============================================================================
Expected
<int>: 201
to equal
<int>: 416
+
PATCH request with first chunk should return 202
2021/10/11 06:27:05.775229 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/ HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Content-Length: 0
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:05.774883394Z
TIME DURATION: 71.662052ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:05 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:05.925138 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/distribution-test/blobs/uploads/ HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
Content-Length: 0
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 202 Accepted
RECEIVED AT : 2021-10-11T06:27:05.924770076Z
TIME DURATION: 149.448183ms
HEADERS :
Date: Mon, 11 Oct 2021 06:27:05 GMT
Docker-Distribution-Api-Version: registry/2.0
Location: https://741920044080.dkr.ecr.us-east-1.amazonaws.com/v2/distribution-test/blobs/uploads/801cf890-7434-43d1-9c64-f94fe0897f9e
Range: bytes=0-10485760
BODY :
==============================================================================
2021/10/11 06:27:05.996551 DEBUG
==============================================================================
~~~ REQUEST ~~~
PATCH /v2/distribution-test/blobs/uploads/801cf890-7434-43d1-9c64-f94fe0897f9e HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Content-Length: 3
Content-Range: 0-2
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
SGVs
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:05.996224429Z
TIME DURATION: 70.993254ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:05 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:06.130666 DEBUG
==============================================================================
~~~ REQUEST ~~~
PATCH /v2/distribution-test/blobs/uploads/801cf890-7434-43d1-9c64-f94fe0897f9e HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
Content-Length: 3
Content-Range: 0-2
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
SGVs
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 201 Created
RECEIVED AT : 2021-10-11T06:27:06.130245766Z
TIME DURATION: 133.577338ms
HEADERS :
Content-Length: 0
Date: Mon, 11 Oct 2021 06:27:06 GMT
Docker-Distribution-Api-Version: registry/2.0
Docker-Upload-Uuid: 801cf890-7434-43d1-9c64-f94fe0897f9e
Location: https://741920044080.dkr.ecr.us-east-1.amazonaws.com/v2/distribution-test/blobs/uploads/801cf890-7434-43d1-9c64-f94fe0897f9e
Range: 0-2
BODY :
==============================================================================
Expected
<int>: 201
to equal
<int>: 202
+
PUT request with final chunk should return 201
2021/10/11 06:27:06.202717 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/distribution-test/blobs/uploads/612b5cea-6851-47d7-a88a-a27eb98b2001?digest=sha256%3A6e766a49e512e0ba0bc935e2aacd3e5a4a34add17f83afc4c9e669c70241cd48 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Content-Length: 22
Content-Range: 3-24
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
bG8sIGhvdyBhcmUgeW91IHRvZGF5Pw==
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:06.202367117Z
TIME DURATION: 71.165354ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:06 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:06.312115 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/distribution-test/blobs/uploads/612b5cea-6851-47d7-a88a-a27eb98b2001?digest=sha256%3A6e766a49e512e0ba0bc935e2aacd3e5a4a34add17f83afc4c9e669c70241cd48 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
Content-Length: 22
Content-Range: 3-24
Content-Type: application/octet-stream
User-Agent: distribution-spec-conformance-tests
BODY :
bG8sIGhvdyBhcmUgeW91IHRvZGF5Pw==
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:27:06.31134534Z
TIME DURATION: 108.511725ms
HEADERS :
Content-Length: 212
Content-Type: application/json; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:06 GMT
Docker-Distribution-Api-Version: registry/2.0
BODY :
{
"errors": [
{
"code": "BLOB_UPLOAD_UNKNOWN",
"message": "The upload with id '612b5cea-6851-47d7-a88a-a27eb98b2001' in the repository with name 'distribution-test' in registry with id '741920044080' does not exist"
}
]
}
==============================================================================
Expected
<string>:
not to be empty
Cross-Repository Blob Mount
+
POST request to mount another repository's blob should return 201 or 202
2021/10/11 06:27:06.384180 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/conformance-fce3d485-a4d4-4dde-be0a-b9f294f7b90f/blobs/uploads/?from=distribution-test&mount=sha256%3A852411eaf653ebebfa34b688ad1736c9da4decadb8f55b839b550d64eaad3f75 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:06.38382369Z
TIME DURATION: 71.243354ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:06 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:06.483166 DEBUG
==============================================================================
~~~ REQUEST ~~~
POST /v2/conformance-fce3d485-a4d4-4dde-be0a-b9f294f7b90f/blobs/uploads/?from=distribution-test&mount=sha256%3A852411eaf653ebebfa34b688ad1736c9da4decadb8f55b839b550d64eaad3f75 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 403 Forbidden
RECEIVED AT : 2021-10-11T06:27:06.482400849Z
TIME DURATION: 98.122261ms
HEADERS :
Content-Length: 257
Content-Type: application/json; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:06 GMT
Docker-Distribution-Api-Version: registry/2.0
BODY :
{
"errors": [
{
"code": "DENIED",
"message": "User: arn:aws:iam::741920044080:user/ecr-access-bot is not authorized to perform: ecr:InitiateLayerUpload on resource: arn:aws:ecr:us-east-1:741920044080:repository/conformance-fce3d485-a4d4-4dde-be0a-b9f294f7b90f"
}
]
}
==============================================================================
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
you have skipped this test.
+
Cross-mounting of nonexistent blob should yield session id
Manifest Upload
+
GET nonexistent manifest should return 404
2021/10/11 06:27:06.555536 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/manifests/.INVALID_MANIFEST_NAME HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:06.555208697Z
TIME DURATION: 71.232854ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:06 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:06.671049 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/manifests/.INVALID_MANIFEST_NAME HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:27:06.670541199Z
TIME DURATION: 114.910403ms
HEADERS :
Content-Length: 79
Content-Type: application/json; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:06 GMT
Docker-Distribution-Api-Version: registry/2.0
BODY :
{
"errors": [
{
"code": "MANIFEST_UNKNOWN",
"message": "Requested image not found"
}
]
}
==============================================================================
+
PUT should accept a manifest upload
2021/10/11 06:27:06.742754 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/distribution-test/manifests/test0 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
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 :
"ewoJInNjaGVtYVZlcnNpb24iOiAyLAoJImNvbmZpZyI6IHsKCQkibWVkaWFUeXBlIjogImFwcGxpY2F0aW9uL3ZuZC5vY2kuaW1hZ2UuY29uZmlnLnYxK2pzb24iLAoJCSJkaWdlc3QiOiAic2hhMjU2OjE1Mzc3MjBmODhjMmRmMDc5NmExZWJhMjY4YThkOGFjMDRjNjUwNzExNjI1YzliODkxZDdlYWRkMDA0ZTJhY2YiLAoJCSJzaXplIjogMTQ0Cgl9LAoJImxheWVycyI6IFsKCQl7CgkJCSJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLm9jaS5pbWFnZS5sYXllci52MS50YXIrZ3ppcCIsCgkJCSJkaWdlc3QiOiAic2hhMjU2OjQ4YWNmZjFkOTE3NTJlOTU3NTI3YzFiNTQxNmU3Mzc2ZDkxMGJjYWNmMDFiOTQ0MTE3NWY4YzI3MGUzNWMxODMiLAoJCQkic2l6ZSI6IDE2OAoJCX0KCV0KfQ=="
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:06.742323151Z
TIME DURATION: 71.110355ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:06 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:06.965677 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/distribution-test/manifests/test0 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Accept: application/vnd.oci.image.manifest.v1+json
Authorization: Basic *****
Content-Type: application/vnd.oci.image.manifest.v1+json
User-Agent: distribution-spec-conformance-tests
BODY :
"ewoJInNjaGVtYVZlcnNpb24iOiAyLAoJImNvbmZpZyI6IHsKCQkibWVkaWFUeXBlIjogImFwcGxpY2F0aW9uL3ZuZC5vY2kuaW1hZ2UuY29uZmlnLnYxK2pzb24iLAoJCSJkaWdlc3QiOiAic2hhMjU2OjE1Mzc3MjBmODhjMmRmMDc5NmExZWJhMjY4YThkOGFjMDRjNjUwNzExNjI1YzliODkxZDdlYWRkMDA0ZTJhY2YiLAoJCSJzaXplIjogMTQ0Cgl9LAoJImxheWVycyI6IFsKCQl7CgkJCSJtZWRpYVR5cGUiOiAiYXBwbGljYXRpb24vdm5kLm9jaS5pbWFnZS5sYXllci52MS50YXIrZ3ppcCIsCgkJCSJkaWdlc3QiOiAic2hhMjU2OjQ4YWNmZjFkOTE3NTJlOTU3NTI3YzFiNTQxNmU3Mzc2ZDkxMGJjYWNmMDFiOTQ0MTE3NWY4YzI3MGUzNWMxODMiLAoJCQkic2l6ZSI6IDE2OAoJCX0KCV0KfQ=="
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 201 Created
RECEIVED AT : 2021-10-11T06:27:06.964896281Z
TIME DURATION: 221.641534ms
HEADERS :
Content-Length: 0
Date: Mon, 11 Oct 2021 06:27:06 GMT
Docker-Content-Digest: sha256:f6cad1a0977558e5f76ac36c708a6e1b9203aa243b990a3e56cc30a535bc636d
Docker-Distribution-Api-Version: registry/2.0
BODY :
==============================================================================
Expected
<string>:
not to be empty
+
Registry should accept a manifest upload with no layers
2021/10/11 06:27:07.037897 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/distribution-test/manifests/emptylayer HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
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 :
"ewoJInNjaGVtYVZlcnNpb24iOiAyLAoJImNvbmZpZyI6IHsKCQkibWVkaWFUeXBlIjogImFwcGxpY2F0aW9uL3ZuZC5vY2kuaW1hZ2UuY29uZmlnLnYxK2pzb24iLAoJCSJkaWdlc3QiOiAic2hhMjU2OjE1Mzc3MjBmODhjMmRmMDc5NmExZWJhMjY4YThkOGFjMDRjNjUwNzExNjI1YzliODkxZDdlYWRkMDA0ZTJhY2YiLAoJCSJzaXplIjogMTQ0Cgl9LAoJImxheWVycyI6IFtdCn0="
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:07.03746663Z
TIME DURATION: 71.195853ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:07 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:07.145325 DEBUG
==============================================================================
~~~ REQUEST ~~~
PUT /v2/distribution-test/manifests/emptylayer HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Accept: application/vnd.oci.image.manifest.v1+json
Authorization: Basic *****
Content-Type: application/vnd.oci.image.manifest.v1+json
User-Agent: distribution-spec-conformance-tests
BODY :
"ewoJInNjaGVtYVZlcnNpb24iOiAyLAoJImNvbmZpZyI6IHsKCQkibWVkaWFUeXBlIjogImFwcGxpY2F0aW9uL3ZuZC5vY2kuaW1hZ2UuY29uZmlnLnYxK2pzb24iLAoJCSJkaWdlc3QiOiAic2hhMjU2OjE1Mzc3MjBmODhjMmRmMDc5NmExZWJhMjY4YThkOGFjMDRjNjUwNzExNjI1YzliODkxZDdlYWRkMDA0ZTJhY2YiLAoJCSJzaXplIjogMTQ0Cgl9LAoJImxheWVycyI6IFtdCn0="
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 405 Method Not Allowed
RECEIVED AT : 2021-10-11T06:27:07.144450561Z
TIME DURATION: 106.413533ms
HEADERS :
Content-Length: 152
Content-Type: application/json; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:07 GMT
Docker-Distribution-Api-Version: registry/2.0
BODY :
{
"errors": [
{
"code": "UNSUPPORTED",
"message": "Invalid parameter at 'ImageManifest' failed to satisfy constraint: 'Image has to have at least 1 layer'"
}
]
}
==============================================================================
Expected
<string>:
not to be empty
+
GET request to manifest URL (digest) should yield 200 response
2021/10/11 06:27:07.217371 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/manifests/sha256:f6cad1a0977558e5f76ac36c708a6e1b9203aa243b990a3e56cc30a535bc636d HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Accept: application/vnd.oci.image.manifest.v1+json
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:07.21705661Z
TIME DURATION: 71.190954ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:07 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:07.349970 DEBUG
==============================================================================
~~~ REQUEST ~~~
GET /v2/distribution-test/manifests/sha256:f6cad1a0977558e5f76ac36c708a6e1b9203aa243b990a3e56cc30a535bc636d HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Accept: application/vnd.oci.image.manifest.v1+json
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 200 OK
RECEIVED AT : 2021-10-11T06:27:07.349170653Z
TIME DURATION: 131.706545ms
HEADERS :
Content-Length: 391
Content-Type: application/vnd.oci.image.manifest.v1+json
Date: Mon, 11 Oct 2021 06:27:07 GMT
Docker-Distribution-Api-Version: registry/2.0
BODY :
{
"schemaVersion": 2,
"config": {
"mediaType": "application/vnd.oci.image.config.v1+json",
"digest": "sha256:1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf",
"size": 144
},
"layers": [
{
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
"digest": "sha256:48acff1d91752e957527c1b5416e7376d910bcacf01b9441175f8c270e35c183",
"size": 168
}
]
}
==============================================================================
Teardown
+
Delete config blob created in tests
2021/10/11 06:27:07.421531 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/distribution-test/blobs/sha256:1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:07.421195104Z
TIME DURATION: 71.088354ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:07 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:07.495595 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/distribution-test/blobs/sha256:1537720f88c2df0796a1eba268a8d8ac04c650711625c9b891d7eadd004e2acf HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:27:07.495183348Z
TIME DURATION: 73.552545ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:07 GMT
Docker-Distribution-Api-Version: registry/2.0
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
Expected
<int>: 404
To satisfy at least one of these matchers: [%!s(*matchers.AndMatcher=&{[0xc0004e2c30 0xc0004e2c60] 0xc0004e2c60}) %!s(*matchers.EqualMatcher=&{405})]
+
Delete layer blob created in setup
2021/10/11 06:27:07.567631 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/distribution-test/blobs/sha256:48acff1d91752e957527c1b5416e7376d910bcacf01b9441175f8c270e35c183 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:07.567281499Z
TIME DURATION: 71.120754ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:07 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:07.640825 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/distribution-test/blobs/sha256:48acff1d91752e957527c1b5416e7376d910bcacf01b9441175f8c270e35c183 HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:27:07.640372347Z
TIME DURATION: 72.59975ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:07 GMT
Docker-Distribution-Api-Version: registry/2.0
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
Expected
<int>: 404
To satisfy at least one of these matchers: [%!s(*matchers.AndMatcher=&{[0xc0004e33e0 0xc0004e3410] 0xc0004e3410}) %!s(*matchers.EqualMatcher=&{405})]
+
Delete manifest created in tests
2021/10/11 06:27:07.713248 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/distribution-test/manifests/sha256:f6cad1a0977558e5f76ac36c708a6e1b9203aa243b990a3e56cc30a535bc636d HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 401 Unauthorized
RECEIVED AT : 2021-10-11T06:27:07.712892696Z
TIME DURATION: 71.527053ms
HEADERS :
Content-Length: 15
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:07 GMT
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Basic realm="https://741920044080.dkr.ecr.us-east-1.amazonaws.com/",service="ecr.amazonaws.com"
BODY :
Not Authorized
==============================================================================
2021/10/11 06:27:07.787042 DEBUG
==============================================================================
~~~ REQUEST ~~~
DELETE /v2/distribution-test/manifests/sha256:f6cad1a0977558e5f76ac36c708a6e1b9203aa243b990a3e56cc30a535bc636d HTTP/1.1
HOST : 741920044080.dkr.ecr.us-east-1.amazonaws.com
HEADERS:
Authorization: Basic *****
User-Agent: distribution-spec-conformance-tests
BODY :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS : 404 Not Found
RECEIVED AT : 2021-10-11T06:27:07.786622541Z
TIME DURATION: 73.280347ms
HEADERS :
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Mon, 11 Oct 2021 06:27:07 GMT
Docker-Distribution-Api-Version: registry/2.0
X-Content-Type-Options: nosniff
BODY :
404 page not found
==============================================================================
Expected
<int>: 404
To satisfy at least one of these matchers: [%!s(*matchers.AndMatcher=&{[0xc0004e3bc0 0xc0004e3bf0] 0xc0004e3bf0}) %!s(*matchers.EqualMatcher=&{405})]