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 return filtertype #19259

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

Comments

@MinerYang
Copy link
Contributor

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

DEBUG 
==============================================================================
~~~ REQUEST ~~~
GET  /v2/conformance/testrepo/referrers/sha256:8dd24c41f8fe8b849e403dc40848946640614f37e11e5d3f9eb76efb4cde4bb9?artifactType=application%2Fvnd.nhl.peanut.butter.bagel  HTTP/1.1
HOST   : 10.202.250.166
HEADERS:
	Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ik9UVzI6QTNWRTo2N09OOkRZRE86N1U0VjpTRjNJOjJCQzc6N1JFQzpWU0JQOlhFVFU6UTRQVzpHVFBIIiwidHlwIjoiSldUIn0.eyJpc3MiOiJoYXJib3ItdG9rZW4taXNzdWVyIiwic3ViIjoiYWRtaW4iLCJhdWQiOiJoYXJib3ItcmVnaXN0cnkiLCJleHAiOjE2OTM0NTU0MzgsIm5iZiI6MTY5MzQ1MzYzOCwiaWF0IjoxNjkzNDUzNjM4LCJqdGkiOiJ3OUt0Mk9LZXd1V1Z4Zmg2IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJjb25mb3JtYW5jZS90ZXN0cmVwbyIsImFjdGlvbnMiOlsicHVsbCIsInB1c2giLCJkZWxldGUiXX1dfQ.irRkBo5G1MyPohUHEi4Lpc4PHVq-AM64LS7Te29dZBJDjnNTeV9tArK-99ZderFMLvYfeNEYC-udOvpeNGnX5M3TS5ivMrevTRWUcGNm-YMKd8v_9xzuZxvefdoFYK4JNtH8mbibbXoGJrA4-MGbOVq9mb4gwrIVXMYGdIT_9Kmb7Zn1GXQZB-VuibspWDwDePxXOsManxXJUvSBVhLTMFgljkDKMxsaeRLSaP7Up9s2DIhgbRBE7wVJeYutdppFVOsN65WqYc1jb-g60bEL8vaqk45Cwf0Q_t5gpmacAepDBdrTLBNKbzPMfIEAM_8me8Ciw9NFd_zBSV120BAD0qFdsMwfWIqZlm-wxJjfRrvvo8h7m_vxJYkuU5HU1Ew-3r-_Z-3kx2e7pz4m1ctqo_tbXqy9EM8km2SUe_IalKSBPf8DWLi4PGNsqGkZ6mdUNQodfSSTJ5ngXF9IG8D4G7rIbM40Vi_CuEPrYWRE9djrIL0w-wLbUh9qHwa9VCngkML25CM3-esdQbu8Seqfi1cfoSJEJwdCOJ2w_kKC99731WGTyfn5xYpcuZAM6KWJkxihi7ZyFuDa2i1dDtA0EMqPI6QhpBWK7j8J8IlNVTDvvl8P_RFera-gTrCuCoIE_ZUPMX0xa3GUnNMI_lL_HXmLxO8JdpK1xQUuFwTZNEM
	User-Agent: distribution-spec-conformance-tests
BODY   :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS       : 200 OK
PROTO        : HTTP/1.1
RECEIVED AT  : 2023-08-31T03:47:18.604140211Z
TIME DURATION: 4.558341ms
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 03:47:18 GMT
	Oci-Filters-Applied: artifactType
	Server: nginx
	Set-Cookie: sid=5348d04d413d982323ab2e8793ae19a1; Path=/; HttpOnly
	Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
	X-Frame-Options: DENY
	X-Request-Id: 80aba5b4-0446-40b9-bf82-b04f773d886d
	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:97c49115eb7015e86d1110f1c1299a66d2790f0e84503030dcbbf57b83c8364b",
         "size": 744,
         "artifactType": "application/vnd.nhl.peanut.butter.bagel"
      }
   ]
}
==============================================================================

Expected
: artifactType
to equal
: application/vnd.nhl.peanut.butter.bagel

@MinerYang
Copy link
Contributor Author

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

Successfully merging a pull request may close this issue.

1 participant