From f9b6d20a80787f85fac8b3ffa4f335fe10fe9519 Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Tue, 14 May 2024 17:13:12 +0600 Subject: [PATCH] update tests --- .../debian-buster-ignore-unfixed.json.golden | 2 +- .../testdata/debian-buster.json.golden | 4 +- .../testdata/debian-stretch.json.golden | 10 +-- .../ubuntu-1804-ignore-unfixed.json.golden | 8 +- integration/testdata/ubuntu-1804.json.golden | 10 +-- pkg/fanal/artifact/image/image_test.go | 79 ++++++++++--------- 6 files changed, 57 insertions(+), 56 deletions(-) diff --git a/integration/testdata/debian-buster-ignore-unfixed.json.golden b/integration/testdata/debian-buster-ignore-unfixed.json.golden index cb5a606e3a94..014dce8e1261 100644 --- a/integration/testdata/debian-buster-ignore-unfixed.json.golden +++ b/integration/testdata/debian-buster-ignore-unfixed.json.golden @@ -62,7 +62,7 @@ "PkgName": "libidn2-0", "PkgIdentifier": { "PURL": "pkg:deb/debian/libidn2-0@2.0.5-1?arch=amd64\u0026distro=debian-10.1", - "UID": "473f5eb9e3d4a2f2" + "UID": "90ca98dd0e7ef4c9" }, "InstalledVersion": "2.0.5-1", "FixedVersion": "2.0.5-1+deb10u1", diff --git a/integration/testdata/debian-buster.json.golden b/integration/testdata/debian-buster.json.golden index 4c9d64fc8347..c8e6e5ec6eb4 100644 --- a/integration/testdata/debian-buster.json.golden +++ b/integration/testdata/debian-buster.json.golden @@ -59,7 +59,7 @@ "PkgName": "bash", "PkgIdentifier": { "PURL": "pkg:deb/debian/bash@5.0-4?arch=amd64\u0026distro=debian-10.1", - "UID": "d45ab8ae65ffe67" + "UID": "8d7a8682e8e570f6" }, "InstalledVersion": "5.0-4", "Status": "affected", @@ -126,7 +126,7 @@ "PkgName": "libidn2-0", "PkgIdentifier": { "PURL": "pkg:deb/debian/libidn2-0@2.0.5-1?arch=amd64\u0026distro=debian-10.1", - "UID": "473f5eb9e3d4a2f2" + "UID": "90ca98dd0e7ef4c9" }, "InstalledVersion": "2.0.5-1", "FixedVersion": "2.0.5-1+deb10u1", diff --git a/integration/testdata/debian-stretch.json.golden b/integration/testdata/debian-stretch.json.golden index e4be6f91f1f7..204f6e188871 100644 --- a/integration/testdata/debian-stretch.json.golden +++ b/integration/testdata/debian-stretch.json.golden @@ -59,7 +59,7 @@ "PkgName": "bash", "PkgIdentifier": { "PURL": "pkg:deb/debian/bash@4.4-5?arch=amd64\u0026distro=debian-9.9", - "UID": "6100d09336f565a0" + "UID": "169a2eb9316cbc25" }, "InstalledVersion": "4.4-5", "Status": "end_of_life", @@ -126,7 +126,7 @@ "PkgName": "e2fslibs", "PkgIdentifier": { "PURL": "pkg:deb/debian/e2fslibs@1.43.4-2?arch=amd64\u0026distro=debian-9.9", - "UID": "656652ce5818f7b6" + "UID": "8e9a3beaf044163" }, "InstalledVersion": "1.43.4-2", "FixedVersion": "1.43.4-2+deb9u1", @@ -200,7 +200,7 @@ "PkgName": "e2fsprogs", "PkgIdentifier": { "PURL": "pkg:deb/debian/e2fsprogs@1.43.4-2?arch=amd64\u0026distro=debian-9.9", - "UID": "3d19fd957338dc06" + "UID": "8e1a49ed8eab9cdd" }, "InstalledVersion": "1.43.4-2", "FixedVersion": "1.43.4-2+deb9u1", @@ -274,7 +274,7 @@ "PkgName": "libcomerr2", "PkgIdentifier": { "PURL": "pkg:deb/debian/libcomerr2@1.43.4-2?arch=amd64\u0026distro=debian-9.9", - "UID": "6ba1fac685a0c068" + "UID": "8defa5f1bc216456" }, "InstalledVersion": "1.43.4-2", "FixedVersion": "1.43.4-2+deb9u1", @@ -348,7 +348,7 @@ "PkgName": "libss2", "PkgIdentifier": { "PURL": "pkg:deb/debian/libss2@1.43.4-2?arch=amd64\u0026distro=debian-9.9", - "UID": "e507c185f61cd2e8" + "UID": "acde693812d0c389" }, "InstalledVersion": "1.43.4-2", "FixedVersion": "1.43.4-2+deb9u1", diff --git a/integration/testdata/ubuntu-1804-ignore-unfixed.json.golden b/integration/testdata/ubuntu-1804-ignore-unfixed.json.golden index 5ec55a3fc397..062609e5e606 100644 --- a/integration/testdata/ubuntu-1804-ignore-unfixed.json.golden +++ b/integration/testdata/ubuntu-1804-ignore-unfixed.json.golden @@ -77,7 +77,7 @@ "PkgName": "e2fsprogs", "PkgIdentifier": { "PURL": "pkg:deb/ubuntu/e2fsprogs@1.44.1-1ubuntu1.1?arch=amd64\u0026distro=ubuntu-18.04", - "UID": "ae80ec86b8816b6c" + "UID": "b72413ab1b4bb266" }, "InstalledVersion": "1.44.1-1ubuntu1.1", "FixedVersion": "1.44.1-1ubuntu1.2", @@ -148,7 +148,7 @@ "PkgName": "libcom-err2", "PkgIdentifier": { "PURL": "pkg:deb/ubuntu/libcom-err2@1.44.1-1ubuntu1.1?arch=amd64\u0026distro=ubuntu-18.04", - "UID": "3c28244e063693a2" + "UID": "7bb2b92159d48f66" }, "InstalledVersion": "1.44.1-1ubuntu1.1", "FixedVersion": "1.44.1-1ubuntu1.2", @@ -219,7 +219,7 @@ "PkgName": "libext2fs2", "PkgIdentifier": { "PURL": "pkg:deb/ubuntu/libext2fs2@1.44.1-1ubuntu1.1?arch=amd64\u0026distro=ubuntu-18.04", - "UID": "937ce6e3021ed568" + "UID": "bbf41e10db8e7ccc" }, "InstalledVersion": "1.44.1-1ubuntu1.1", "FixedVersion": "1.44.1-1ubuntu1.2", @@ -290,7 +290,7 @@ "PkgName": "libss2", "PkgIdentifier": { "PURL": "pkg:deb/ubuntu/libss2@1.44.1-1ubuntu1.1?arch=amd64\u0026distro=ubuntu-18.04", - "UID": "7a50c6bc4279c93b" + "UID": "c85c62b3de87638" }, "InstalledVersion": "1.44.1-1ubuntu1.1", "FixedVersion": "1.44.1-1ubuntu1.2", diff --git a/integration/testdata/ubuntu-1804.json.golden b/integration/testdata/ubuntu-1804.json.golden index 7ae275b7e5a6..3b33f1b215c3 100644 --- a/integration/testdata/ubuntu-1804.json.golden +++ b/integration/testdata/ubuntu-1804.json.golden @@ -77,7 +77,7 @@ "PkgName": "bash", "PkgIdentifier": { "PURL": "pkg:deb/ubuntu/bash@4.4.18-2ubuntu1.2?arch=amd64\u0026distro=ubuntu-18.04", - "UID": "da318bd19a304cc0" + "UID": "bbe28cf85cdf4616" }, "InstalledVersion": "4.4.18-2ubuntu1.2", "Status": "affected", @@ -140,7 +140,7 @@ "PkgName": "e2fsprogs", "PkgIdentifier": { "PURL": "pkg:deb/ubuntu/e2fsprogs@1.44.1-1ubuntu1.1?arch=amd64\u0026distro=ubuntu-18.04", - "UID": "ae80ec86b8816b6c" + "UID": "b72413ab1b4bb266" }, "InstalledVersion": "1.44.1-1ubuntu1.1", "FixedVersion": "1.44.1-1ubuntu1.2", @@ -211,7 +211,7 @@ "PkgName": "libcom-err2", "PkgIdentifier": { "PURL": "pkg:deb/ubuntu/libcom-err2@1.44.1-1ubuntu1.1?arch=amd64\u0026distro=ubuntu-18.04", - "UID": "3c28244e063693a2" + "UID": "7bb2b92159d48f66" }, "InstalledVersion": "1.44.1-1ubuntu1.1", "FixedVersion": "1.44.1-1ubuntu1.2", @@ -282,7 +282,7 @@ "PkgName": "libext2fs2", "PkgIdentifier": { "PURL": "pkg:deb/ubuntu/libext2fs2@1.44.1-1ubuntu1.1?arch=amd64\u0026distro=ubuntu-18.04", - "UID": "937ce6e3021ed568" + "UID": "bbf41e10db8e7ccc" }, "InstalledVersion": "1.44.1-1ubuntu1.1", "FixedVersion": "1.44.1-1ubuntu1.2", @@ -353,7 +353,7 @@ "PkgName": "libss2", "PkgIdentifier": { "PURL": "pkg:deb/ubuntu/libss2@1.44.1-1ubuntu1.1?arch=amd64\u0026distro=ubuntu-18.04", - "UID": "7a50c6bc4279c93b" + "UID": "c85c62b3de87638" }, "InstalledVersion": "1.44.1-1ubuntu1.1", "FixedVersion": "1.44.1-1ubuntu1.2", diff --git a/pkg/fanal/artifact/image/image_test.go b/pkg/fanal/artifact/image/image_test.go index 05fc6b229105..d2dbc96d0aaf 100644 --- a/pkg/fanal/artifact/image/image_test.go +++ b/pkg/fanal/artifact/image/image_test.go @@ -352,17 +352,17 @@ func TestArtifact_Inspect(t *testing.T) { missingBlobsExpectation: cache.ArtifactCacheMissingBlobsExpectation{ Args: cache.ArtifactCacheMissingBlobsArgs{ ArtifactID: "sha256:c232b7d8ac8aa08aa767313d0b53084c4380d1c01a213a5971bdb039e6538313", - BlobIDs: []string{"sha256:1fd280c63e1416a2261e76454caa19a5b77c6bddedd48309c9687c4fe72b34c0"}, + BlobIDs: []string{"sha256:19d98f2aba362091fd3f6f8dc0928abe22486e85c16842a1f9a58542bc1c2a81"}, }, Returns: cache.ArtifactCacheMissingBlobsReturns{ MissingArtifact: true, - MissingBlobIDs: []string{"sha256:1fd280c63e1416a2261e76454caa19a5b77c6bddedd48309c9687c4fe72b34c0"}, + MissingBlobIDs: []string{"sha256:19d98f2aba362091fd3f6f8dc0928abe22486e85c16842a1f9a58542bc1c2a81"}, }, }, putBlobExpectations: []cache.ArtifactCachePutBlobExpectation{ { Args: cache.ArtifactCachePutBlobArgs{ - BlobID: "sha256:1fd280c63e1416a2261e76454caa19a5b77c6bddedd48309c9687c4fe72b34c0", + BlobID: "sha256:19d98f2aba362091fd3f6f8dc0928abe22486e85c16842a1f9a58542bc1c2a81", BlobInfo: types.BlobInfo{ SchemaVersion: types.BlobJSONSchemaVersion, Digest: "", @@ -429,7 +429,7 @@ func TestArtifact_Inspect(t *testing.T) { Name: "../../test/testdata/alpine-311.tar.gz", Type: artifact.TypeContainerImage, ID: "sha256:c232b7d8ac8aa08aa767313d0b53084c4380d1c01a213a5971bdb039e6538313", - BlobIDs: []string{"sha256:1fd280c63e1416a2261e76454caa19a5b77c6bddedd48309c9687c4fe72b34c0"}, + BlobIDs: []string{"sha256:19d98f2aba362091fd3f6f8dc0928abe22486e85c16842a1f9a58542bc1c2a81"}, ImageMetadata: artifact.ImageMetadata{ ID: "sha256:a187dde48cd289ac374ad8539930628314bc581a481cdb41409c9289419ddb72", DiffIDs: []string{ @@ -488,25 +488,25 @@ func TestArtifact_Inspect(t *testing.T) { Args: cache.ArtifactCacheMissingBlobsArgs{ ArtifactID: "sha256:33f9415ed2cd5a9cef5d5144333619745b9ec0f851f0684dd45fa79c6b26a650", BlobIDs: []string{ - "sha256:dd0a4f4754bf4590327be34f4266f63c92184352afadb72e4c9b162f76224000", - "sha256:f9e6a3065bb47f810916e90249076950a4b70785a27d3bcb90406d0ab342fa67", - "sha256:b6be0de11c6090f71dea119f43dd360335643420058e317baffb089f0dff4001", - "sha256:37c561c19b169f5f9832f4b0060bf74ebc8d1c9e01662ad4fa21c394da159440", + "sha256:53f13904cd95a8be98f2b176f937e5259f54a2fc55cf707c7b7bfc1abd797af6", + "sha256:5c4ef5a20dc2904670cf3313a9c19b45d4ab2eeb57fd70436adff680c352dbc9", + "sha256:5f4cda156ab01361bde987b12854918e4609e288f18b995279b2fa003942e887", + "sha256:fec820dae7a39acb3c70b8992c82487ae81d0a307f5f3a902613874e2b6cb414", }, }, Returns: cache.ArtifactCacheMissingBlobsReturns{ MissingBlobIDs: []string{ - "sha256:dd0a4f4754bf4590327be34f4266f63c92184352afadb72e4c9b162f76224000", - "sha256:f9e6a3065bb47f810916e90249076950a4b70785a27d3bcb90406d0ab342fa67", - "sha256:b6be0de11c6090f71dea119f43dd360335643420058e317baffb089f0dff4001", - "sha256:37c561c19b169f5f9832f4b0060bf74ebc8d1c9e01662ad4fa21c394da159440", + "sha256:53f13904cd95a8be98f2b176f937e5259f54a2fc55cf707c7b7bfc1abd797af6", + "sha256:5c4ef5a20dc2904670cf3313a9c19b45d4ab2eeb57fd70436adff680c352dbc9", + "sha256:5f4cda156ab01361bde987b12854918e4609e288f18b995279b2fa003942e887", + "sha256:fec820dae7a39acb3c70b8992c82487ae81d0a307f5f3a902613874e2b6cb414", }, }, }, putBlobExpectations: []cache.ArtifactCachePutBlobExpectation{ { Args: cache.ArtifactCachePutBlobArgs{ - BlobID: "sha256:dd0a4f4754bf4590327be34f4266f63c92184352afadb72e4c9b162f76224000", + BlobID: "sha256:53f13904cd95a8be98f2b176f937e5259f54a2fc55cf707c7b7bfc1abd797af6", BlobInfo: types.BlobInfo{ SchemaVersion: types.BlobJSONSchemaVersion, Digest: "", @@ -594,7 +594,7 @@ func TestArtifact_Inspect(t *testing.T) { }, { Args: cache.ArtifactCachePutBlobArgs{ - BlobID: "sha256:f9e6a3065bb47f810916e90249076950a4b70785a27d3bcb90406d0ab342fa67", + BlobID: "sha256:5c4ef5a20dc2904670cf3313a9c19b45d4ab2eeb57fd70436adff680c352dbc9", BlobInfo: types.BlobInfo{ SchemaVersion: types.BlobJSONSchemaVersion, Digest: "", @@ -690,7 +690,7 @@ func TestArtifact_Inspect(t *testing.T) { }, { Args: cache.ArtifactCachePutBlobArgs{ - BlobID: "sha256:b6be0de11c6090f71dea119f43dd360335643420058e317baffb089f0dff4001", + BlobID: "sha256:5f4cda156ab01361bde987b12854918e4609e288f18b995279b2fa003942e887", BlobInfo: types.BlobInfo{ SchemaVersion: types.BlobJSONSchemaVersion, Digest: "", @@ -898,7 +898,7 @@ func TestArtifact_Inspect(t *testing.T) { }, { Args: cache.ArtifactCachePutBlobArgs{ - BlobID: "sha256:37c561c19b169f5f9832f4b0060bf74ebc8d1c9e01662ad4fa21c394da159440", + BlobID: "sha256:fec820dae7a39acb3c70b8992c82487ae81d0a307f5f3a902613874e2b6cb414", BlobInfo: types.BlobInfo{ SchemaVersion: types.BlobJSONSchemaVersion, Digest: "", @@ -1761,10 +1761,10 @@ func TestArtifact_Inspect(t *testing.T) { Type: artifact.TypeContainerImage, ID: "sha256:33f9415ed2cd5a9cef5d5144333619745b9ec0f851f0684dd45fa79c6b26a650", BlobIDs: []string{ - "sha256:dd0a4f4754bf4590327be34f4266f63c92184352afadb72e4c9b162f76224000", - "sha256:f9e6a3065bb47f810916e90249076950a4b70785a27d3bcb90406d0ab342fa67", - "sha256:b6be0de11c6090f71dea119f43dd360335643420058e317baffb089f0dff4001", - "sha256:37c561c19b169f5f9832f4b0060bf74ebc8d1c9e01662ad4fa21c394da159440", + "sha256:53f13904cd95a8be98f2b176f937e5259f54a2fc55cf707c7b7bfc1abd797af6", + "sha256:5c4ef5a20dc2904670cf3313a9c19b45d4ab2eeb57fd70436adff680c352dbc9", + "sha256:5f4cda156ab01361bde987b12854918e4609e288f18b995279b2fa003942e887", + "sha256:fec820dae7a39acb3c70b8992c82487ae81d0a307f5f3a902613874e2b6cb414", }, ImageMetadata: artifact.ImageMetadata{ ID: "sha256:58701fd185bda36cab0557bb6438661831267aa4a9e0b54211c4d5317a48aff4", @@ -1848,6 +1848,7 @@ func TestArtifact_Inspect(t *testing.T) { analyzer.TypeDebian, analyzer.TypeDpkg, analyzer.TypeDpkgLicense, + analyzer.TypeDpkgSystemFiles, analyzer.TypeComposer, analyzer.TypeBundler, analyzer.TypeLicenseFile, @@ -2012,7 +2013,7 @@ func TestArtifact_Inspect(t *testing.T) { missingBlobsExpectation: cache.ArtifactCacheMissingBlobsExpectation{ Args: cache.ArtifactCacheMissingBlobsArgs{ ArtifactID: "sha256:c232b7d8ac8aa08aa767313d0b53084c4380d1c01a213a5971bdb039e6538313", - BlobIDs: []string{"sha256:1fd280c63e1416a2261e76454caa19a5b77c6bddedd48309c9687c4fe72b34c0"}, + BlobIDs: []string{"sha256:19d98f2aba362091fd3f6f8dc0928abe22486e85c16842a1f9a58542bc1c2a81"}, }, Returns: cache.ArtifactCacheMissingBlobsReturns{ Err: xerrors.New("MissingBlobs failed"), @@ -2026,16 +2027,16 @@ func TestArtifact_Inspect(t *testing.T) { missingBlobsExpectation: cache.ArtifactCacheMissingBlobsExpectation{ Args: cache.ArtifactCacheMissingBlobsArgs{ ArtifactID: "sha256:c232b7d8ac8aa08aa767313d0b53084c4380d1c01a213a5971bdb039e6538313", - BlobIDs: []string{"sha256:1fd280c63e1416a2261e76454caa19a5b77c6bddedd48309c9687c4fe72b34c0"}, + BlobIDs: []string{"sha256:19d98f2aba362091fd3f6f8dc0928abe22486e85c16842a1f9a58542bc1c2a81"}, }, Returns: cache.ArtifactCacheMissingBlobsReturns{ - MissingBlobIDs: []string{"sha256:1fd280c63e1416a2261e76454caa19a5b77c6bddedd48309c9687c4fe72b34c0"}, + MissingBlobIDs: []string{"sha256:19d98f2aba362091fd3f6f8dc0928abe22486e85c16842a1f9a58542bc1c2a81"}, }, }, putBlobExpectations: []cache.ArtifactCachePutBlobExpectation{ { Args: cache.ArtifactCachePutBlobArgs{ - BlobID: "sha256:1fd280c63e1416a2261e76454caa19a5b77c6bddedd48309c9687c4fe72b34c0", + BlobID: "sha256:19d98f2aba362091fd3f6f8dc0928abe22486e85c16842a1f9a58542bc1c2a81", BlobInfo: types.BlobInfo{ SchemaVersion: types.BlobJSONSchemaVersion, Digest: "", @@ -2095,18 +2096,18 @@ func TestArtifact_Inspect(t *testing.T) { Args: cache.ArtifactCacheMissingBlobsArgs{ ArtifactID: "sha256:33f9415ed2cd5a9cef5d5144333619745b9ec0f851f0684dd45fa79c6b26a650", BlobIDs: []string{ - "sha256:dd0a4f4754bf4590327be34f4266f63c92184352afadb72e4c9b162f76224000", - "sha256:f9e6a3065bb47f810916e90249076950a4b70785a27d3bcb90406d0ab342fa67", - "sha256:b6be0de11c6090f71dea119f43dd360335643420058e317baffb089f0dff4001", - "sha256:37c561c19b169f5f9832f4b0060bf74ebc8d1c9e01662ad4fa21c394da159440", + "sha256:53f13904cd95a8be98f2b176f937e5259f54a2fc55cf707c7b7bfc1abd797af6", + "sha256:5c4ef5a20dc2904670cf3313a9c19b45d4ab2eeb57fd70436adff680c352dbc9", + "sha256:5f4cda156ab01361bde987b12854918e4609e288f18b995279b2fa003942e887", + "sha256:fec820dae7a39acb3c70b8992c82487ae81d0a307f5f3a902613874e2b6cb414", }, }, Returns: cache.ArtifactCacheMissingBlobsReturns{ MissingBlobIDs: []string{ - "sha256:dd0a4f4754bf4590327be34f4266f63c92184352afadb72e4c9b162f76224000", - "sha256:f9e6a3065bb47f810916e90249076950a4b70785a27d3bcb90406d0ab342fa67", - "sha256:b6be0de11c6090f71dea119f43dd360335643420058e317baffb089f0dff4001", - "sha256:37c561c19b169f5f9832f4b0060bf74ebc8d1c9e01662ad4fa21c394da159440", + "sha256:53f13904cd95a8be98f2b176f937e5259f54a2fc55cf707c7b7bfc1abd797af6", + "sha256:5c4ef5a20dc2904670cf3313a9c19b45d4ab2eeb57fd70436adff680c352dbc9", + "sha256:5f4cda156ab01361bde987b12854918e4609e288f18b995279b2fa003942e887", + "sha256:fec820dae7a39acb3c70b8992c82487ae81d0a307f5f3a902613874e2b6cb414", }, }, }, @@ -2114,7 +2115,7 @@ func TestArtifact_Inspect(t *testing.T) { { Args: cache.ArtifactCachePutBlobArgs{ - BlobID: "sha256:dd0a4f4754bf4590327be34f4266f63c92184352afadb72e4c9b162f76224000", + BlobID: "sha256:53f13904cd95a8be98f2b176f937e5259f54a2fc55cf707c7b7bfc1abd797af6", BlobInfoAnything: true, }, @@ -2125,7 +2126,7 @@ func TestArtifact_Inspect(t *testing.T) { { Args: cache.ArtifactCachePutBlobArgs{ - BlobID: "sha256:f9e6a3065bb47f810916e90249076950a4b70785a27d3bcb90406d0ab342fa67", + BlobID: "sha256:5c4ef5a20dc2904670cf3313a9c19b45d4ab2eeb57fd70436adff680c352dbc9", BlobInfoAnything: true, }, @@ -2136,7 +2137,7 @@ func TestArtifact_Inspect(t *testing.T) { { Args: cache.ArtifactCachePutBlobArgs{ - BlobID: "sha256:b6be0de11c6090f71dea119f43dd360335643420058e317baffb089f0dff4001", + BlobID: "sha256:5f4cda156ab01361bde987b12854918e4609e288f18b995279b2fa003942e887", BlobInfoAnything: true, }, @@ -2147,7 +2148,7 @@ func TestArtifact_Inspect(t *testing.T) { { Args: cache.ArtifactCachePutBlobArgs{ - BlobID: "sha256:37c561c19b169f5f9832f4b0060bf74ebc8d1c9e01662ad4fa21c394da159440", + BlobID: "sha256:fec820dae7a39acb3c70b8992c82487ae81d0a307f5f3a902613874e2b6cb414", BlobInfoAnything: true, }, @@ -2164,17 +2165,17 @@ func TestArtifact_Inspect(t *testing.T) { missingBlobsExpectation: cache.ArtifactCacheMissingBlobsExpectation{ Args: cache.ArtifactCacheMissingBlobsArgs{ ArtifactID: "sha256:c232b7d8ac8aa08aa767313d0b53084c4380d1c01a213a5971bdb039e6538313", - BlobIDs: []string{"sha256:1fd280c63e1416a2261e76454caa19a5b77c6bddedd48309c9687c4fe72b34c0"}, + BlobIDs: []string{"sha256:19d98f2aba362091fd3f6f8dc0928abe22486e85c16842a1f9a58542bc1c2a81"}, }, Returns: cache.ArtifactCacheMissingBlobsReturns{ MissingArtifact: true, - MissingBlobIDs: []string{"sha256:1fd280c63e1416a2261e76454caa19a5b77c6bddedd48309c9687c4fe72b34c0"}, + MissingBlobIDs: []string{"sha256:19d98f2aba362091fd3f6f8dc0928abe22486e85c16842a1f9a58542bc1c2a81"}, }, }, putBlobExpectations: []cache.ArtifactCachePutBlobExpectation{ { Args: cache.ArtifactCachePutBlobArgs{ - BlobID: "sha256:1fd280c63e1416a2261e76454caa19a5b77c6bddedd48309c9687c4fe72b34c0", + BlobID: "sha256:19d98f2aba362091fd3f6f8dc0928abe22486e85c16842a1f9a58542bc1c2a81", BlobInfo: types.BlobInfo{ SchemaVersion: types.BlobJSONSchemaVersion, Digest: "",