variants of `TestAPIConformance/manifest_Put_Schema2_MissingConfigAndLayers` are flaky
Job #3820624389 failed for 7401b9e9:
=== FAIL: registry/handlers TestAPIConformance/manifest_Put_Schema2_MissingConfigAndLayers_with_filesystem_mirroring_disabled/by_tag (0.02s)
833127.0.0.1 - - [23/Feb/2023:06:11:01 +0000] "PUT /v2/schema2/missingconfigandlayers/manifests/schema2missingconfigandlayerstag HTTP/1.1" 400 319 "" "Go-http-client/1.1"
834 api_conformance_test.go:1021:
835 Error Trace: /builds/gitlab-org/container-registry/registry/handlers/api_conformance_test.go:1021
836 Error: Not equal:
837 expected: map[errcode.ErrorCode]int{1026:3}
838 actual : map[errcode.ErrorCode]int{1026:2}
839
840 Diff:
841 --- Expected
842 +++ Actual
843 @@ -1,3 +1,3 @@
844 (map[errcode.ErrorCode]int) (len=1) {
845 - (errcode.ErrorCode) 1026: (int) 3
846 + (errcode.ErrorCode) 1026: (int) 2
847 }
848 Test: TestAPIConformance/manifest_Put_Schema2_MissingConfigAndLayers_with_filesystem_mirroring_disabled/by_tag
849 Messages: response body: {"errors":[{"code":"MANIFEST_BLOB_UNKNOWN","message":"blob unknown to registry","detail":"sha256:41538a8cd30a872df1ce8bf9a9e96f0231a3e926277cd51087adcf1c813fb7be"},{"code":"MANIFEST_BLOB_UNKNOWN","message":"blob unknown to registry","detail":"sha256:ad691008c47cff53c4716726ad0d3003c445b44fcb25986b16e079adf75bf1c9"}]}
850 --- FAIL: TestAPIConformance/manifest_Put_Schema2_MissingConfigAndLayers_with_filesystem_mirroring_disabled/by_tag (0.02s)
851=== FAIL: registry/handlers TestAPIConformance/manifest_Put_Schema2_MissingConfigAndLayers_with_filesystem_mirroring_disabled/by_digest (0.02s)
852127.0.0.1 - - [23/Feb/2023:06:11:02 +0000] "PUT /v2/schema2/missingconfigandlayers/manifests/sha256:88537be4a2a90f82034b2bcc1920e1d9cab6c00f0bbe6412d0214db558834e4d HTTP/1.1" 400 319 "" "Go-http-client/1.1"
853 api_conformance_test.go:1021:
854 Error Trace: /builds/gitlab-org/container-registry/registry/handlers/api_conformance_test.go:1021
855 Error: Not equal:
856 expected: map[errcode.ErrorCode]int{1026:3}
857 actual : map[errcode.ErrorCode]int{1026:2}
858
859 Diff:
860 --- Expected
861 +++ Actual
862 @@ -1,3 +1,3 @@
863 (map[errcode.ErrorCode]int) (len=1) {
864 - (errcode.ErrorCode) 1026: (int) 3
865 + (errcode.ErrorCode) 1026: (int) 2
866 }
867 Test: TestAPIConformance/manifest_Put_Schema2_MissingConfigAndLayers_with_filesystem_mirroring_disabled/by_digest
868 Messages: response body: {"errors":[{"code":"MANIFEST_BLOB_UNKNOWN","message":"blob unknown to registry","detail":"sha256:41538a8cd30a872df1ce8bf9a9e96f0231a3e926277cd51087adcf1c813fb7be"},{"code":"MANIFEST_BLOB_UNKNOWN","message":"blob unknown to registry","detail":"sha256:ad691008c47cff53c4716726ad0d3003c445b44fcb25986b16e079adf75bf1c9"}]}
869 --- FAIL: TestAPIConformance/manifest_Put_Schema2_MissingConfigAndLayers_with_filesystem_mirroring_disabled/by_digest (0.02s)
870=== FAIL: registry/handlers TestAPIConformance/manifest_Put_Schema2_MissingConfigAndLayers_with_filesystem_mirroring_disabled (1.74s)
871127.0.0.1 - - [23/Feb/2023:06:11:01 +0000] "POST /v2/schema2/missingconfigandlayers/blobs/uploads/ HTTP/1.1" 202 0 "" "Go-http-client/1.1"
872127.0.0.1 - - [23/Feb/2023:06:11:01 +0000] "PUT /v2/schema2/missingconfigandlayers/blobs/uploads/e00534a1-7952-4d5d-b950-9ddc94281cef?_state=H5_yvcr_8F7E3g7u5-wjqAL4G6-TNwkM4zPN0yYuW-d7Ik5hbWUiOiJzY2hlbWEyL21pc3Npbmdjb25maWdhbmRsYXllcnMiLCJVVUlEIjoiZTAwNTM0YTEtNzk1Mi00ZDVkLWI5NTAtOWRkYzk0MjgxY2VmIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDA2OjExOjAxLjk2OTYwNzU5OVoifQ%3D%3D&digest=sha256%3Ae3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 HTTP/1.1" 201 0 "" "Go-http-client/1.1"
873 --- FAIL: TestAPIConformance/manifest_Put_Schema2_MissingConfigAndLayers_with_filesystem_mirroring_disabled (1.74s)
Edited by Jaime Martinez