Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conformance test issue -- References teardown #19179

Closed
MinerYang opened this issue Aug 15, 2023 · 2 comments
Closed

Conformance test issue -- References teardown #19179

MinerYang opened this issue Aug 15, 2023 · 2 comments

Comments

@MinerYang
Copy link
Contributor

MinerYang commented Aug 15, 2023

This issue is a sub-task of Distribution spec v1.1 phase3 epic (#19173)

~~ REQUEST ~~~
DELETE  /v2/conformance/testrepo/manifests/sha256:2f38e355f56e4bd2d10b406940be9732bd29e9f44e4b338c2bba6520fc0d3605  HTTP/1.1
HOST   : 10.1.0.115
HEADERS:
	Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkZVQkY6TDZURTpNTFlZOjZLWDI6NEFZWTo1RVNQOkEzN0U6U082Uzo1WUVFOkM1Qkg6VUw2Szo3R0xLIiwidHlwIjoiSldUIn0.eyJpc3MiOiJoYXJib3ItdG9rZW4taXNzdWVyIiwic3ViIjoiYWRtaW4iLCJhdWQiOiJoYXJib3ItcmVnaXN0cnkiLCJleHAiOjE2OTE5OTU3NzYsIm5iZiI6MTY5MTk5Mzk3NiwiaWF0IjoxNjkxOTkzOTc2LCJqdGkiOiI0eHlGRHhGVklLRjJ1RTRGIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJjb25mb3JtYW5jZS90ZXN0cmVwbyIsImFjdGlvbnMiOlsicHVsbCIsInB1c2giLCJkZWxldGUiXX1dfQ.qUl5mVJu0xUPUZ128SfV6TP3URSoRK8pIU9EdbhKg4DPglEA2_umx_kmv4kZR2VWEH1TCk52u73SQSqMSjBgnlwRmuGPndRmrivVap0HjXrAzYU9_gxwNty6wphQTXeladp81g4igIUI6kTFmUS7APjZsK0rIBzaSdktVLBj8qyK19q9fcRoyh8ICKXF12up5KFVueqzZaxDGTZb3ZLSoXCqfPSws8o-3tODZLgpA4HmiVjUxolnzVp4GCXY-MqykHcb6CBjnLzVeIIoqPTXUBEZnogi45G1DmI8KyN0CG7EAAM3w3fdREKdQ7-_yPV8KwWGGZkyTG9H6W9Ebih1QuJgMJHVp3AL34AiFRzEpurOtVkhWGYUm1cGjLpgas8aLSCXbAmglFtRDe51KAIxYIPl8vpKjEyFo4c_dB-LQMc0vS1MKKDElw6sxBdxHKOUbLCd8qfiLLPTKR7297jkpdL8qBkNruFQGO4D4WbzCPCJtXw_zTuj5qbrkTj2hFwl4_-3nsfPA6_dBCPDPasfN2fSA6tqEPYIwb9ZQIuESUOQTNO6yQKlQNzHxP0d_77kzsvOcfOpiWp5fHncM_VuVOA-yl_A22kWzWlF_6kG1HO48J2mvPmIkG_rdaVYRSwEpq1_yx0--h5SJH8pU9bRKJXFB7OXTYuqcQTBXSM762Q
	User-Agent: distribution-spec-conformance-tests
BODY   :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS       : 404 Not Found
PROTO        : HTTP/1.1
RECEIVED AT  : 2023-08-14T06:19:36.990241594Z
TIME DURATION: 6.300424ms
HEADERS      :
	Connection: keep-alive
	Content-Length: 158
	Content-Type: application/json; charset=utf-8
	Date: Mon, 14 Aug 2023 06:19:36 GMT
	Server: nginx
	Set-Cookie: sid=c903e6d67af03e1454e6c49ef209301d; Path=/; HttpOnly
	X-Request-Id: 3a13b801-478c-4884-a98a-e5d8454dd1c8
BODY         :
{
   "errors": [
      {
         "code": "NOT_FOUND",
         "message": "artifact conformance/testrepo@sha256:2f38e355f56e4bd2d10b406940be9732bd29e9f44e4b338c2bba6520fc0d3605 not found"
      }
   ]
}

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

@github-actions
Copy link

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

@MinerYang
Copy link
Contributor Author

Fixed by upstream conformance test.
opencontainers/distribution-spec#479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants