Skip to content

Commit

Permalink
printer: dedup warnings
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Jun 25, 2024
1 parent 9cd5c01 commit 5568fde
Show file tree
Hide file tree
Showing 10 changed files with 709 additions and 1 deletion.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ require (
github.com/hashicorp/go-cty-funcs v0.0.0-20230405223818-a090f58aa992
github.com/hashicorp/hcl/v2 v2.20.1
github.com/in-toto/in-toto-golang v0.5.0
github.com/mitchellh/hashstructure/v2 v2.0.2
github.com/moby/buildkit v0.14.1
github.com/moby/sys/mountinfo v0.7.1
github.com/moby/sys/signal v0.7.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ github.com/miekg/pkcs11 v1.1.1/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WT
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 h1:DpOJ2HYzCv8LZP15IdmG+YdwD2luVPHITV96TkirNBM=
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo=
github.com/mitchellh/hashstructure/v2 v2.0.2 h1:vGKWl0YJqUNxE8d+h8f6NJLcCJrgbhC4NcD46KavDd4=
github.com/mitchellh/hashstructure/v2 v2.0.2/go.mod h1:MG3aRVU/N29oo/V/IhBX8GR/zz4kQkprJgF2EVszyDE=
github.com/mitchellh/mapstructure v0.0.0-20150613213606-2caf8efc9366/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
Expand Down
60 changes: 60 additions & 0 deletions tests/bake.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var bakeTests = []func(t *testing.T, sb integration.Sandbox){
testBakeUlimits,
testBakeMetadataProvenance,
testBakeMetadataWarnings,
testBakeMetadataWarningsDedup,
testBakeMultiExporters,
testBakeLoadPush,
}
Expand Down Expand Up @@ -776,6 +777,65 @@ target "default" {
require.Len(t, md.BuildWarnings, 3, string(dt))
}

func testBakeMetadataWarningsDedup(t *testing.T, sb integration.Sandbox) {
dockerfile := []byte(`
frOM busybox as base
cOpy Dockerfile .
from scratch
COPy --from=base \
/Dockerfile \
/
`)
bakefile := []byte(`
group "default" {
targets = ["base", "def"]
}
target "base" {
target = "base"
}
target "def" {
}
`)
dir := tmpdir(
t,
fstest.CreateFile("docker-bake.hcl", bakefile, 0600),
fstest.CreateFile("Dockerfile", dockerfile, 0600),
)

dirDest := t.TempDir()

cmd := buildxCmd(
sb,
withDir(dir),
withArgs("bake", "--metadata-file", filepath.Join(dirDest, "md.json"), "--set", "*.output=type=cacheonly"),
withEnv("BUILDX_METADATA_WARNINGS=true"),
)
out, err := cmd.CombinedOutput()
require.NoError(t, err, string(out))

dt, err := os.ReadFile(filepath.Join(dirDest, "md.json"))
require.NoError(t, err)

type mdT struct {
BuildWarnings []client.VertexWarning `json:"buildx.build.warnings"`
Base struct {
BuildRef string `json:"buildx.build.ref"`
} `json:"base"`
Def struct {
BuildRef string `json:"buildx.build.ref"`
} `json:"def"`
}
var md mdT
err = json.Unmarshal(dt, &md)
require.NoError(t, err, string(dt))

require.NotEmpty(t, md.Base.BuildRef, string(dt))
require.NotEmpty(t, md.Def.BuildRef, string(dt))

skipNoCompatBuildKit(t, sb, ">= 0.14.0-0", "lint")
require.Len(t, md.BuildWarnings, 3, string(dt))

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.14.0, remote, ./tests, experimental)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=remote bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:17e8c0e61dd0cabc84219a32e1194eef1bb9a0382f9c9def7e8e311b54c6a334 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 51 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\0316hbh06q4owu03dmez6ezpwxc4\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:17e8c0e61dd0cabc84219a32e1194eef1bb9a0382f9c9def7e8e311b54c6a334" metadata:<key:"sha256:1146014f0e1ae6ab0d5762542988caba5ceff66d911c10d9cf31765dfa3918d6" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:17e8c0e61dd0cabc84219a32e1194eef1bb9a0382f9c9def7e8e311b54c6a334" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > Source:<locations:<key:"sha256:17e8c0e61dd0cabc84219a32e1194eef1bb9a0382f9c9def7e8e311b54c6a334" value:<> > > > language:"Dockerfile" [start:<line:3 > end:<line:3 > ]} {sha256:17e8c0e61dd0cabc84219a32e1194eef1bb9a0382f9c9def7e8e311b54c6a334 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 53 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\0316hbh06q4owu03dmez6ezpwxc4\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:17e8c0e61dd0cabc84219a32e1194eef1bb9a0382f9c9def7e8e311b54c6a334" metadata:<key:"sha256:1146014f0e1ae6ab0d5762542988caba5ceff66d911c10d9cf31765dfa3918d6" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:17e8c0e61dd0cabc84219a32e1194eef1bb9a0382f9c9def7e8e311b54c6a334" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (buildx-stable-1, remote, ./tests)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=remote bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:4725dabe3b336a2092467dd61a7a05f412f6a0a98f29f39f0a543ae5dd0f2925 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 51 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031um4d98p13liqnpp7o7sus68kr\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:4725dabe3b336a2092467dd61a7a05f412f6a0a98f29f39f0a543ae5dd0f2925" metadata:<key:"sha256:4725dabe3b336a2092467dd61a7a05f412f6a0a98f29f39f0a543ae5dd0f2925" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadata:<key:"sha256:c497764738b7fe1ea91546c980d53510f3b9a2eae707102c73bbb3e7b6c8ecda" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > Source:<locations:<key:"sha256:4725dabe3b336a2092467dd61a7a05f412f6a0a98f29f39f0a543ae5dd0f2925" value:<> > > > language:"Dockerfile" [start:<line:3 > end:<line:3 > ]} {sha256:4725dabe3b336a2092467dd61a7a05f412f6a0a98f29f39f0a543ae5dd0f2925 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 53 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031um4d98p13liqnpp7o7sus68kr\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:4725dabe3b336a2092467dd61a7a05f412f6a0a98f29f39f0a543ae5dd0f2925" metadata:<key:"sha256:4725dabe3b336a2092467dd61a7a05f412f6a0a98f29f39f0a543ae5dd

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (latest, remote, ./tests)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=remote bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:9f27234531cd7da9ff36675f3de6cd40345280b9982f55a242f2c000065c3f09 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 51 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031spfrk5oazxsnemnff6bsw39cs\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:9f27234531cd7da9ff36675f3de6cd40345280b9982f55a242f2c000065c3f09" metadata:<key:"sha256:9f27234531cd7da9ff36675f3de6cd40345280b9982f55a242f2c000065c3f09" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadata:<key:"sha256:e59b379f48c5dbd396776d401300662f79ea35a657c0a6febb634382abe164e0" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > Source:<locations:<key:"sha256:9f27234531cd7da9ff36675f3de6cd40345280b9982f55a242f2c000065c3f09" value:<> > > > language:"Dockerfile" [start:<line:3 > end:<line:3 > ]} {sha256:9f27234531cd7da9ff36675f3de6cd40345280b9982f55a242f2c000065c3f09 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 53 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031spfrk5oazxsnemnff6bsw39cs\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:9f27234531cd7da9ff36675f3de6cd40345280b9982f55a242f2c000065c3f09" metadata:<key:"sha256:9f27234531cd7da9ff36675f3de6cd40345280b9982f55a242f2c00006

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (buildx-stable-1, remote, ./tests, experimental)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=remote bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:7aa2a5ab6ff29e2d4df3ae7f5eba10e8ed76ce9476bca81c87c79e15b380817f 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 102 114 79 77 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 50 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031xr5ifbsv53asjfaxqy90nfahm\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:7aa2a5ab6ff29e2d4df3ae7f5eba10e8ed76ce9476bca81c87c79e15b380817f" metadata:<key:"sha256:16fd5675c1ea5e4d2be741be97cf9cc0a439856b1bbd9a5aaddb6ad8ea7c47d0" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:7aa2a5ab6ff29e2d4df3ae7f5eba10e8ed76ce9476bca81c87c79e15b380817f" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > Source:<locations:<key:"sha256:7aa2a5ab6ff29e2d4df3ae7f5eba10e8ed76ce9476bca81c87c79e15b380817f" value:<> > > > language:"Dockerfile" [start:<line:2 > end:<line:2 > ]} {sha256:7aa2a5ab6ff29e2d4df3ae7f5eba10e8ed76ce9476bca81c87c79e15b380817f 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 51 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031xr5ifbsv53asjfaxqy90nfahm\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:7aa2a5ab6ff29e2d4df3ae7f5eba10e8ed76ce9476bca81c87c79e15b380817f" metadata:<key:"sha256:16fd5675c1ea5e4d2be741be97cf9cc0a439856b1bbd9a5aaddb6ad8e

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.14.0, remote, ./tests)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=remote bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:17c05fa6e2b910fa10e4e9716c71b3e278be107acc5fea8381de2321fca91b7c 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 102 114 79 77 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 50 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031l3mz3th2iqbsvsjsohi7nbgx1\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:17c05fa6e2b910fa10e4e9716c71b3e278be107acc5fea8381de2321fca91b7c" metadata:<key:"sha256:019078ac402c87bae401ffd63371ad7428c7e50300809ebdea3a2b8094abb810" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:17c05fa6e2b910fa10e4e9716c71b3e278be107acc5fea8381de2321fca91b7c" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > Source:<locations:<key:"sha256:17c05fa6e2b910fa10e4e9716c71b3e278be107acc5fea8381de2321fca91b7c" value:<> > > > language:"Dockerfile" [start:<line:2 > end:<line:2 > ]} {sha256:17c05fa6e2b910fa10e4e9716c71b3e278be107acc5fea8381de2321fca91b7c 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 51 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031l3mz3th2iqbsvsjsohi7nbgx1\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:17c05fa6e2b910fa10e4e9716c71b3e278be107acc5fea8381de2321fca91b7c" metadata:<key:"sha256:019078ac402c87bae401ffd63371ad7428c7e50300809ebdea3a2b8094abb810" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:17c05fa6e2b910fa10e4e9716c71b3e278be107acc5fea8381de2321fca91b7c" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (latest, remote, ./tests, experimental)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=remote bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:dbc1b943e11c9c82cf4e1bfed8bfb399d4d64c7e7f3988f70aa346e303d8cdac 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 102 114 79 77 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 50 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031utf6gszr4vft4763f3aduzgmj\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:dbc1b943e11c9c82cf4e1bfed8bfb399d4d64c7e7f3988f70aa346e303d8cdac" metadata:<key:"sha256:db7b0deb8c5ed0ab861cb47326cfff8693da3294bff7e750d4f9cc81d3271e0f" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:dbc1b943e11c9c82cf4e1bfed8bfb399d4d64c7e7f3988f70aa346e303d8cdac" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > Source:<locations:<key:"sha256:dbc1b943e11c9c82cf4e1bfed8bfb399d4d64c7e7f3988f70aa346e303d8cdac" value:<> > > > language:"Dockerfile" [start:<line:2 > end:<line:2 > ]} {sha256:dbc1b943e11c9c82cf4e1bfed8bfb399d4d64c7e7f3988f70aa346e303d8cdac 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 51 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031utf6gszr4vft4763f3aduzgmj\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:dbc1b943e11c9c82cf4e1bfed8bfb399d4d64c7e7f3988f70aa346e303d8cdac" metadata:<key:"sha256:db7b0deb8c5ed0ab861cb47326cfff8693da3294bff7e750d4f9cc81d

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (buildx-stable-1, docker-container, ./tests)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:1225d1d73c9ca83a7f163e33174f871e7138ecc8a2722f2d1ba02ba217e6399f 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 102 114 79 77 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 50 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031ddrqjahvjn8frx364xhryub5z\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:1225d1d73c9ca83a7f163e33174f871e7138ecc8a2722f2d1ba02ba217e6399f" metadata:<key:"sha256:1225d1d73c9ca83a7f163e33174f871e7138ecc8a2722f2d1ba02ba217e6399f" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadata:<key:"sha256:34e8f076cc071499f51166a35c480cab5552d989eb961048e5c67ef5df711f3c" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > Source:<locations:<key:"sha256:1225d1d73c9ca83a7f163e33174f871e7138ecc8a2722f2d1ba02ba217e6399f" value:<> > > > language:"Dockerfile" [start:<line:2 > end:<line:2 > ]} {sha256:1225d1d73c9ca83a7f163e33174f871e7138ecc8a2722f2d1ba02ba217e6399f 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 51 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031ddrqjahvjn8frx364xhryub5z\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:1225d1d73c9ca83a7f163e33174f871e7138ecc8a2722f2d1ba02ba217e6399f" metadata:<key:"sha256:1225d1d73c9ca83a7f163e33174

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (master, docker-container, ./tests, experimental)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:a0f6f2c45be778e8e5949c172d60521e9e6e5e238627e746bc8252366329b217 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 51 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\0314yhhwwvjdgkgecmlid6lyb74v\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:a0f6f2c45be778e8e5949c172d60521e9e6e5e238627e746bc8252366329b217" metadata:<key:"sha256:9e072f444ffd0fa2d84a725c860d6486f7111362885da4baec457d35688984ad" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:a0f6f2c45be778e8e5949c172d60521e9e6e5e238627e746bc8252366329b217" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > Source:<locations:<key:"sha256:a0f6f2c45be778e8e5949c172d60521e9e6e5e238627e746bc8252366329b217" value:<> > > > language:"Dockerfile" [start:<line:3 > end:<line:3 > ]} {sha256:a0f6f2c45be778e8e5949c172d60521e9e6e5e238627e746bc8252366329b217 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 53 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\0314yhhwwvjdgkgecmlid6lyb74v\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:a0f6f2c45be778e8e5949c172d60521e9e6e5e238627e746bc8252366329b217" metadata:<key:"sha256:9e072f444ffd0fa2d84a725c860d

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (master, remote, ./tests)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=remote bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:8fdbca1f3f009b15ea5dbaec29c01c0f9346749348f648eee70427a7509fc8d5 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 102 114 79 77 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 50 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031m6iap7yzpzvaab4avayrt3gt9\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:8fdbca1f3f009b15ea5dbaec29c01c0f9346749348f648eee70427a7509fc8d5" metadata:<key:"sha256:3a307f17c30b089d7965d73c240ec8c37ef199a6b5513daccbd798fb2b5f3fcb" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:8fdbca1f3f009b15ea5dbaec29c01c0f9346749348f648eee70427a7509fc8d5" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > Source:<locations:<key:"sha256:8fdbca1f3f009b15ea5dbaec29c01c0f9346749348f648eee70427a7509fc8d5" value:<> > > > language:"Dockerfile" [start:<line:2 > end:<line:2 > ]} {sha256:8fdbca1f3f009b15ea5dbaec29c01c0f9346749348f648eee70427a7509fc8d5 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 51 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031m6iap7yzpzvaab4avayrt3gt9\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:8fdbca1f3f009b15ea5dbaec29c01c0f9346749348f648eee70427a7509fc8d5" metadata:<key:"sha256:3a307f17c30b089d7965d73c240ec8c37ef199a6b5513daccbd798fb2

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (master, remote, ./tests, experimental)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=remote bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:80dfa3e219562ff84d310bab8ce304c751c29f0377530cf9c3ad68cf4a9a5fd9 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 53 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031qgr2lzarjfa43aoexk6lyv2fz\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:80dfa3e219562ff84d310bab8ce304c751c29f0377530cf9c3ad68cf4a9a5fd9" metadata:<key:"sha256:5e7bd45135dcd8bb05dc06f29aa5819244ec74abd91f269981c3fca115eb1e44" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:80dfa3e219562ff84d310bab8ce304c751c29f0377530cf9c3ad68cf4a9a5fd9" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > Source:<locations:<key:"sha256:80dfa3e219562ff84d310bab8ce304c751c29f0377530cf9c3ad68cf4a9a5fd9" value:<> > > > language:"Dockerfile" [start:<line:5 > end:<line:5 > start:<line:6 > end:<line:6 > start:<line:7 > end:<line:7 > ]} {sha256:cc897cdbe1c1616aed75b275466cf50b1fdb3ea2c8c3c88b1bad4cae144bcb4f 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 102 114 79 77 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 50 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031d6d9yn7xg7fc3in5nsuv848xn\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:cc897cdbe1c1616aed75b275466cf50b1fdb3ea2c8c3c88b1bad4cae144bcb4f" metadata:<key:"sha

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (latest, docker-container, ./tests, experimental)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:48c3d1b65f51d2137fa23d0b0d2095489b374a74c5a05edbaf1785679a08baf7 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 51 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031cveqdhahovgby546408ccyq2t\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:48c3d1b65f51d2137fa23d0b0d2095489b374a74c5a05edbaf1785679a08baf7" metadata:<key:"sha256:2887eeff02850f86d1e91dcf929d22cd7fcb3f7be374b38a588f4d865b5d629b" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:48c3d1b65f51d2137fa23d0b0d2095489b374a74c5a05edbaf1785679a08baf7" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > Source:<locations:<key:"sha256:48c3d1b65f51d2137fa23d0b0d2095489b374a74c5a05edbaf1785679a08baf7" value:<> > > > language:"Dockerfile" [start:<line:3 > end:<line:3 > ]} {sha256:48c3d1b65f51d2137fa23d0b0d2095489b374a74c5a05edbaf1785679a08baf7 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 53 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031cveqdhahovgby546408ccyq2t\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:48c3d1b65f51d2137fa23d0b0d2095489b374a74c5a05edbaf1785679a08baf7" metadata:<key:"sha256:2887eeff02850f86d1e91dcf929d

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (buildx-stable-1, docker-container, ./tests, experimental)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:53d9b7713f0b44ad6dd76997255621b024324568e43d8cbfadf5638bcde6632f 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 51 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\0311cx1y3gfh5lufm69cnxajwonq\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:53d9b7713f0b44ad6dd76997255621b024324568e43d8cbfadf5638bcde6632f" metadata:<key:"sha256:53d9b7713f0b44ad6dd76997255621b024324568e43d8cbfadf5638bcde6632f" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadata:<key:"sha256:fd867e521881f67a22cf9cd75681e4a8e342a8bd9296f27bf6b38ec34169a3dd" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > Source:<locations:<key:"sha256:53d9b7713f0b44ad6dd76997255621b024324568e43d8cbfadf5638bcde6632f" value:<> > > > language:"Dockerfile" [start:<line:3 > end:<line:3 > ]} {sha256:53d9b7713f0b44ad6dd76997255621b024324568e43d8cbfadf5638bcde6632f 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 53 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\0311cx1y3gfh5lufm69cnxajwonq\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:53d9b7713f0b44ad6dd76997255621b024324568e43d8cbfadf5638bcde6632f" metadata:<key:"sha256:53d9b7713f0b44ad6dd769972556

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.14.0, docker-container, ./tests, experimental)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:dd9c8b80a4cacd6a7120e564ee6c4e4f0f5e44ccc462bd32647da775033ef2d5 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 51 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031h4y7jlg60zkpqs0xavdlbw0j6\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:dd9c8b80a4cacd6a7120e564ee6c4e4f0f5e44ccc462bd32647da775033ef2d5" metadata:<key:"sha256:5361a4995288476f2b934619f3fa457a40ef8e3b8fa27c50d4c59c25e4e38137" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:dd9c8b80a4cacd6a7120e564ee6c4e4f0f5e44ccc462bd32647da775033ef2d5" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > Source:<locations:<key:"sha256:dd9c8b80a4cacd6a7120e564ee6c4e4f0f5e44ccc462bd32647da775033ef2d5" value:<> > > > language:"Dockerfile" [start:<line:3 > end:<line:3 > ]} {sha256:dd9c8b80a4cacd6a7120e564ee6c4e4f0f5e44ccc462bd32647da775033ef2d5 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 53 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031h4y7jlg60zkpqs0xavdlbw0j6\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:dd9c8b80a4cacd6a7120e564ee6c4e4f0f5e44ccc462bd32647da775033ef2d5" metadata:<key:"sha256:5361a4995288476f2b934619f3fa457a40ef8e3b8fa27c50d4c59c25e4e38137" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:dd9c8b80a4cacd6a7120e564ee6c4e4f0f5e44ccc462bd32647da775033ef2d5" value:<description:<key:"llb.customname" value:"[internal] load build definition from Do

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (master, docker-container, ./tests)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:41a16ccfc629cc923fa1f8cb37c6c7ef9c472df80ce921cc2f1adb804f91ecc3 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 102 114 79 77 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 50 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031bqg5z9x873prmg3sq8lgx5u5f\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:41a16ccfc629cc923fa1f8cb37c6c7ef9c472df80ce921cc2f1adb804f91ecc3" metadata:<key:"sha256:41a16ccfc629cc923fa1f8cb37c6c7ef9c472df80ce921cc2f1adb804f91ecc3" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadata:<key:"sha256:5e5768094bfe5e800aa4d5e652ce78d84aed9a9719f7ee7a3bfa088c03606582" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > Source:<locations:<key:"sha256:41a16ccfc629cc923fa1f8cb37c6c7ef9c472df80ce921cc2f1adb804f91ecc3" value:<> > > > language:"Dockerfile" [start:<line:2 > end:<line:2 > ]} {sha256:41a16ccfc629cc923fa1f8cb37c6c7ef9c472df80ce921cc2f1adb804f91ecc3 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 51 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031bqg5z9x873prmg3sq8lgx5u5f\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:41a16ccfc629cc923fa1f8cb37c6c7ef9c472df80ce921cc2f1adb804f91ecc3" metadata:<key:"sha256:41a16ccfc629cc923fa1f8cb37c

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (latest, docker-container, ./tests)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:913313a0b1118beb0bb52372ce709523336a8f374bc861d8fda190fd241f74ef 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 102 114 79 77 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 50 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031zt65p9jcr0zzwmckkmdx9qekq\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:913313a0b1118beb0bb52372ce709523336a8f374bc861d8fda190fd241f74ef" metadata:<key:"sha256:913313a0b1118beb0bb52372ce709523336a8f374bc861d8fda190fd241f74ef" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadata:<key:"sha256:e3a1f155c9d81cdf1a522c5ca98ff13e0eb93f280e0d7ed1c6d41cc9efc4a041" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > Source:<locations:<key:"sha256:913313a0b1118beb0bb52372ce709523336a8f374bc861d8fda190fd241f74ef" value:<> > > > language:"Dockerfile" [start:<line:2 > end:<line:2 > ]} {sha256:913313a0b1118beb0bb52372ce709523336a8f374bc861d8fda190fd241f74ef 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 109 97 116 99 104 32 116 104 101 32 99 97 115 101 32 111 102 32 116 104 101 32 99 111 109 109 97 110 100 32 109 97 106 111 114 105 116 121 32 40 108 111 119 101 114 99 97 115 101 41 32 40 108 105 110 101 32 51 41] [[65 108 108 32 99 111 109 109 97 110 100 115 32 119 105 116 104 105 110 32 116 104 101 32 68 111 99 107 101 114 102 105 108 101 32 115 104 111 117 108 100 32 117 115 101 32 116 104 101 32 115 97 109 101 32 99 97 115 105 110 103 32 40 101 105 116 104 101 114 32 117 112 112 101 114 32 111 114 32 108 111 119 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031zt65p9jcr0zzwmckkmdx9qekq\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:913313a0b1118beb0bb52372ce709523336a8f374bc861d8fda190fd241f74ef" metadata:<key:"sha256:913313a0b1118beb0bb52372ce7

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.14.0, docker-container, ./tests)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:5253b105322ab4f68160e10ee482237a51014ecf7fc74061b12698b35b405593 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 102 114 79 77 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 50 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031kylov22upb5v6rmp02m5nhige\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:5253b105322ab4f68160e10ee482237a51014ecf7fc74061b12698b35b405593" metadata:<key:"sha256:5253b105322ab4f68160e10ee482237a51014ecf7fc74061b12698b35b405593" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadata:<key:"sha256:75e02d7e5f6665c31addcedf17e136710c6e6888f2d6632b746d1add7d633076" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > Source:<locations:<key:"sha256:5253b105322ab4f68160e10ee482237a51014ecf7fc74061b12698b35b405593" value:<> > > > language:"Dockerfile" [start:<line:2 > end:<line:2 > ]} {sha256:5253b105322ab4f68160e10ee482237a51014ecf7fc74061b12698b35b405593 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 51 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031kylov22upb5v6rmp02m5nhige\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:5253b105322ab4f68160e10ee482237a51014ecf7fc74061b12698b35b405593" metadata:<key:"sha256:5253b105322ab4f68160e10ee482237a51014ecf7fc74061b12698b35b405593" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadat

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (docker+containerd, ./tests, experimental)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:4aacf2d54e33340f20ee40a6d57bd05d90388395b8d3ef1a98d5b5a66edbf138 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 51 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031zg8gpzp4a17k4cskyxgxgmjek\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:4aacf2d54e33340f20ee40a6d57bd05d90388395b8d3ef1a98d5b5a66edbf138" metadata:<key:"sha256:4aacf2d54e33340f20ee40a6d57bd05d90388395b8d3ef1a98d5b5a66edbf138" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadata:<key:"sha256:dc20768884b077436fe3f3fdd08f51629e4c16f89adb5deb20de18565441f131" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > Source:<locations:<key:"sha256:4aacf2d54e33340f20ee40a6d57bd05d90388395b8d3ef1a98d5b5a66edbf138" value:<> > > > language:"Dockerfile" [start:<line:3 > end:<line:3 > ]} {sha256:4aacf2d54e33340f20ee40a6d57bd05d90388395b8d3ef1a98d5b5a66edbf138 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 53 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031zg8gpzp4a17k4cskyxgxgmjek\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:4aacf2d54e33340f20ee40a6d57bd05d90388395b8d3ef1a98d5b5a66edbf138" metadata:<key:"sha256:4aacf2d54e33340f20ee40a6d57bd05d90388395b8d3ef1a98d5b5a66edbf138" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metad

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (docker+containerd, ./tests)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:b5388722e5df93c5347a5066d525d62610a69749534e9afddc4c9eefb09a2a95 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 53 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031ks354d8srpvk0nwsak0lzc0iz\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:b5388722e5df93c5347a5066d525d62610a69749534e9afddc4c9eefb09a2a95" metadata:<key:"sha256:58f46bec9e96c5830e53d4e6fbed721ae2746518bbb6ef6f0c4c9259aa567013" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:b5388722e5df93c5347a5066d525d62610a69749534e9afddc4c9eefb09a2a95" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > Source:<locations:<key:"sha256:b5388722e5df93c5347a5066d525d62610a69749534e9afddc4c9eefb09a2a95" value:<> > > > language:"Dockerfile" [start:<line:5 > end:<line:5 > start:<line:6 > end:<line:6 > start:<line:7 > end:<line:7 > ]} {sha256:def22ffd13b3d4923cbf3968f262dde2f410e4883f8a72fb58732b7225f45a2a 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 102 114 79 77 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 50 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031w97dpmhwzbmm3yx6srqx9oi4x\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:def22ffd13b3d4923cbf3968f262dde2f410e4883f8a72fb58732b7225f45a2a" metadata:<key:"sha256:40f0bd485678bcf888ef526744d456290ecac565d3c3ddd6a2ee72ad138597c2" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > metadata:<key:"sha256:def22ffd13b3d4923cbf3968f262dde2f410e4883f8a72fb58732b7225f45a2a" value:<description:<key

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (docker, ./tests, experimental)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:25f58c04402ade8282f1468efae980bdd60071efad87605cb470ce939396a776 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 53 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031jt77pyjou9qybha61hgbenmwc\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:25f58c04402ade8282f1468efae980bdd60071efad87605cb470ce939396a776" metadata:<key:"sha256:25f58c04402ade8282f1468efae980bdd60071efad87605cb470ce939396a776" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadata:<key:"sha256:6ad6302ba8859e89327c151e6afc216a411d01cb630b1a9f372aef51d0dbd3a7" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > Source:<locations:<key:"sha256:25f58c04402ade8282f1468efae980bdd60071efad87605cb470ce939396a776" value:<> > > > language:"Dockerfile" [start:<line:5 > end:<line:5 > start:<line:6 > end:<line:6 > start:<line:7 > end:<line:7 > ]} {sha256:46a00a9e7176ed9b8fe1de8388ece7aec8d0c249253cf47c4fa11c2eec3b4098 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 102 114 79 77 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 50 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\0311n1ksimtjg43bpe23hrsjbi5p\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:46a00a9e7176ed9b8fe1de8388ece7aec8d0c249253cf47c4fa11c2eec3b4098" metadata:<key:"sha256:46a00a9e7176ed9b8fe1de8388ece7aec8d0c249253cf47c4fa11c2eec3b4098" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedke

Check failure on line 836 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (docker, ./tests)

Failed: tests/TestIntegration/TestBakeMetadataWarningsDedup/worker=docker

=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker === PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker === CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker bake.go:836: Error Trace: /src/tests/bake.go:836 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: "[{sha256:050b191c82d507865d41185f557c651dd4c49455c24ee9e85b4cd2f3d429a596 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 99 79 112 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 51 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031ofdoyisi3hibmqvcfgtjfvzrv\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:050b191c82d507865d41185f557c651dd4c49455c24ee9e85b4cd2f3d429a596" metadata:<key:"sha256:050b191c82d507865d41185f557c651dd4c49455c24ee9e85b4cd2f3d429a596" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadata:<key:"sha256:b34f028ba48c3030e43ca95a85e0cbd0f8fde84f966a8bad7451cdf9cc55bb14" value:<caps:<key:"constraints" value:true > caps:<key:"meta.description" value:true > caps:<key:"platform" value:true > > > Source:<locations:<key:"sha256:050b191c82d507865d41185f557c651dd4c49455c24ee9e85b4cd2f3d429a596" value:<> > > > language:"Dockerfile" [start:<line:3 > end:<line:3 > ]} {sha256:050b191c82d507865d41185f557c651dd4c49455c24ee9e85b4cd2f3d429a596 1 [67 111 110 115 105 115 116 101 110 116 73 110 115 116 114 117 99 116 105 111 110 67 97 115 105 110 103 58 32 67 111 109 109 97 110 100 32 39 67 79 80 121 39 32 115 104 111 117 108 100 32 98 101 32 99 111 110 115 105 115 116 101 110 116 108 121 32 99 97 115 101 100 32 40 108 105 110 101 32 53 41] [[73 110 115 116 114 117 99 116 105 111 110 115 32 115 104 111 117 108 100 32 98 101 32 105 110 32 99 111 110 115 105 115 116 101 110 116 32 99 97 115 105 110 103 32 40 97 108 108 32 108 111 119 101 114 32 111 114 32 97 108 108 32 117 112 112 101 114 41]] https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ filename:"Dockerfile" data:"\nfrOM busybox as base\ncOpy Dockerfile .\nfrom scratch\nCOPy --from=base \\\n /Dockerfile \\\n /\n\t" definition:<def:"\032\305\001\n\022local://dockerfile\022\024\n\014local.differ\022\004none\022J\n\021local.followpaths\0225[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]\022*\n\rlocal.session\022\031ofdoyisi3hibmqvcfgtjfvzrv\022!\n\023local.sharedkeyhint\022\ndockerfileZ\000" def:"\nI\nGsha256:050b191c82d507865d41185f557c651dd4c49455c24ee9e85b4cd2f3d429a596" metadata:<key:"sha256:050b191c82d507865d41185f557c651dd4c49455c24ee9e85b4cd2f3d429a596" value:<description:<key:"llb.customname" value:"[internal] load build definition from Dockerfile" > caps:<key:"source.local" value:true > caps:<key:"source.local.followpaths" value:true > caps:<key:"source.local.sessionid" value:true > caps:<key:"source.local.sharedkeyhint" value:true > > > metadata:<key:"sha256:b34f028ba48c3030
}

func testBakeMultiExporters(t *testing.T, sb integration.Sandbox) {
if !isDockerContainerWorker(sb) {
t.Skip("only testing with docker-container worker")
Expand Down
21 changes: 20 additions & 1 deletion util/progress/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (

"github.com/containerd/console"
"github.com/docker/buildx/util/logutil"
"github.com/mitchellh/hashstructure/v2"
"github.com/moby/buildkit/client"
"github.com/moby/buildkit/util/progress/progressui"
"github.com/opencontainers/go-digest"
Expand Down Expand Up @@ -58,7 +59,7 @@ func (p *Printer) Write(s *client.SolveStatus) {
}

func (p *Printer) Warnings() []client.VertexWarning {
return p.warnings
return dedupWarnings(p.warnings)
}

func (p *Printer) ValidateLogSource(dgst digest.Digest, v interface{}) bool {
Expand Down Expand Up @@ -184,3 +185,21 @@ func WithOnClose(onclose func()) PrinterOpt {
opt.onclose = onclose
}
}

func dedupWarnings(inp []client.VertexWarning) []client.VertexWarning {
m := make(map[uint64]client.VertexWarning)
for _, w := range inp {
h, err := hashstructure.Hash(w, hashstructure.FormatV2, nil)
if err != nil {
continue
}
if _, ok := m[h]; !ok {
m[h] = w
}
}
res := make([]client.VertexWarning, 0, len(m))
for _, w := range m {
res = append(res, w)
}
return res
}
21 changes: 21 additions & 0 deletions vendor/github.com/mitchellh/hashstructure/v2/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 76 additions & 0 deletions vendor/github.com/mitchellh/hashstructure/v2/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions vendor/github.com/mitchellh/hashstructure/v2/errors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5568fde

Please sign in to comment.