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 -- discovery test Oci-Filters-Applied should filter with emptyJSON artifactType #19261

Closed
MinerYang opened this issue Aug 31, 2023 · 1 comment

Comments

@MinerYang
Copy link
Contributor

MinerYang commented Aug 31, 2023

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

DEBUG 
==============================================================================
~~~ REQUEST ~~~
GET  /v2/conformance/testrepo/referrers/sha256:a26a37c844f968cf5d61f8e56b71a6c6ca405b3f56fc95322d30182ba5d26024?artifactType=application%2Fvnd.nhl.peanut.butter.bagel  HTTP/1.1
HOST   : 10.202.250.166
HEADERS:
	Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ik9UVzI6QTNWRTo2N09OOkRZRE86N1U0VjpTRjNJOjJCQzc6N1JFQzpWU0JQOlhFVFU6UTRQVzpHVFBIIiwidHlwIjoiSldUIn0.eyJpc3MiOiJoYXJib3ItdG9rZW4taXNzdWVyIiwic3ViIjoiYWRtaW4iLCJhdWQiOiJoYXJib3ItcmVnaXN0cnkiLCJleHAiOjE2OTM0NTg1NDYsIm5iZiI6MTY5MzQ1Njc0NiwiaWF0IjoxNjkzNDU2NzQ2LCJqdGkiOiJaVlNJSEpqOXZsODlTZDA1IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJjb25mb3JtYW5jZS90ZXN0cmVwbyIsImFjdGlvbnMiOlsicHVsbCIsInB1c2giLCJkZWxldGUiXX1dfQ.E-cb_tPpIXwWtYFCX8YkF78301Y1hg_olHoxUuoaQRpy6qTJ4rnO65_dO8igFD4D7Agw8ZoqCazIg4Yrnq9KzO0e_8vMnzBtQq2085LOefpflX3UutgwduHp6eG14eYLW7ETMY2NjahGUZhRMyTxVS_-LN9qDa3cLxQYls2nWy7nKWVeFb0erWP6bxFeCW4lzpjbRoA3gXgI_GhDAg6v9puFekSKyXN64vziepakSk_Bflu8-2llDavw6xUN5dIZ3Gr52LNTz4jUd1gxWWDwPjXmQ7vgvVi-WFh0y2ykoDV8mlXsoSt1JZu_4cIElQ3I6BPpTcSCvg6_a09BWMueY5mUPfwIBEvbUWZE1RbJ5xBED51m7MdnLHzatqFcEl6Tfaomujk9NcSZ5S92eNUQ6qwLy3uJP29dgC_3qncAVWXfDhCOD0I-PbSbKXGv4RnWGnocnAaiD8RvkaSW4Gf-NO4mFK2YnB1IUIbcnwUj8k9O5rW_C_wdtOkXwfEg5-qirWTEWpBg2iQrgn80bUAM4AUBukFwiiMm85-UyX4b2tsFLSCOvpIjd7Mb-AhjOm0YBDwamI1qKGVJwgU9KJZkg2E_GNEdhEeXKJFAmsHQYuBjOuZCMXrpxj3iXbtoEu0WWTTt8oomJHvfjmVHBr5xqLTvxeB0YUL_bGGRRuBo2NE
	User-Agent: distribution-spec-conformance-tests
BODY   :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS       : 200 OK
PROTO        : HTTP/1.1
RECEIVED AT  : 2023-08-31T04:39:06.849451641Z
TIME DURATION: 4.525069ms
HEADERS      :
	Connection: keep-alive
	Content-Length: 298
	Content-Security-Policy: frame-ancestors 'none'
	Content-Type: application/vnd.oci.image.index.v1+json
	Date: Thu, 31 Aug 2023 04:39:06 GMT
	Oci-Filters-Applied: application/vnd.nhl.peanut.butter.bagel
	Server: nginx
	Set-Cookie: sid=d3d374f9186cc5483237cb7cff2756ae; Path=/; HttpOnly
	Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
	X-Frame-Options: DENY
	X-Request-Id: de54ea7e-5f57-4915-b93a-3bd1226fd49f
	X-Total-Count: 4
BODY         :
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.oci.image.index.v1+json",
   "manifests": [
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "digest": "sha256:b97ae8dc0eb920e7d26074d66d5f370ede213aa2808f71df076724078d26cdf8",
         "size": 744,
         "artifactType": "application/vnd.nhl.peanut.butter.bagel"
      }
   ]
}

==============================================================================

Expected
: 1
to equal
: 2

@MinerYang MinerYang changed the title Conformance test issue -- discovery test Oci-Filters-Applied should filter with empty artifactType Conformance test issue -- discovery test Oci-Filters-Applied should filter with emptyJSON artifactType Sep 14, 2023
@MinerYang
Copy link
Contributor Author

MinerYang commented Nov 13, 2023

monitoring oci spec1.1 rc

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

Successfully merging a pull request may close this issue.

1 participant