Page MenuHomePhabricator

buildkit v0.16.0 released
Closed, ResolvedPublic

Description

https://github.com/moby/buildkit/releases/tag/v0.16.0

Notable changes

Builtin Dockerfile frontend has been updated to v1.10.0 changelog
Remote cache export to S3 backend can now happen with parallel requests and can be controlled with new upload_parallelism option #5270
Remote cache export to S3 backend now supports layers larger than 5GB #5266
History records now contain information about the number of warnings that were generated during the build #5166
Printing check results with library now allows source mapping modifications #5295
Unconditionally use /etc/resolv.conf rather than systemd's config in host networking mode #5207
Certain history, graph consistency, and some syscall errors as now marked as internal and use corresponding gRPC error code #5163 #5182
Output of errors produced by the container executor has been improved #5179
Stack traces produced by build errors are now clearer and avoid duplicates #5180
Build containers killed by OOMKiller are now detected and shown to the user in the error message #5260
Runc container runtime has been updated to v1.1.14 #5300
Pre-defined OCI annotations are now set to the BuildKit image #3554
Fix pruning cache mounts that use uid/gid/mode/from on no-cache builds #5306
Fix issue where --import-cache flag could be ignored for buildctl #5143
Fix OTEL trace ID being missing from logs #5315

See https://gitlab.wikimedia.org/repos/releng/buildkit/-/blob/wmf/v0.15/wmf/README.md for docs on how to update from a new upstream release.

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
wmf/build.sh: Bump dockerfile-frontend to wmf-v0.15.2-1repos/releng/buildkit!70dancywmf/v0.16-Ic0eb0bf320c77a02bee039eafa5e7358b42f63b2wmf/v0.16
Customize query in GitLab

Related Objects

Event Timeline

dancy triaged this task as Medium priority.Sep 10 2024, 6:12 PM

Merged here: https://gitlab.wikimedia.org/repos/releng/buildkit/-/commit/15148175281a98084df59329670c339807808bd2

Note one-line conflicts, resolved in favor of upstream:

both modified:   .golangci.yml
both modified:   client/llb/exec.go

I'm assuming wmf/v0.16 should become default & protected...


I'm getting github.com connection errors on the build-and-publish-buildkitd step:

#33 129.8 fatal: unable to access 'https://github.com/containers/dnsname.git/': Failed to connect to github.com port 443 after 129806 ms: Couldn't connect to server
#33 ERROR: failed to fetch remote https://github.com/containers/dnsname.git: git stderr:
fatal: unable to access 'https://github.com/containers/dnsname.git/': Failed to connect to github.com port 443 after 129806 ms: Couldn't connect to server
: exit status 128
#32 [runc 2/4] ADD --keep-git-dir=true https://github.com/opencontainers/runc.git#v1.1.14 .
#32 129.8 fatal: unable to access 'https://github.com/opencontainers/runc.git/': Failed to connect to github.com port 443 after 129801 ms: Couldn't connect to server
#32 ERROR: failed to fetch remote https://github.com/opencontainers/runc.git: git stderr:
fatal: unable to access 'https://github.com/opencontainers/runc.git/': Failed to connect to github.com port 443 after 129801 ms: Couldn't connect to server
: exit status 128
------
 > [dnsname 2/3] ADD --keep-git-dir=true https://github.com/containers/dnsname.git#v1.3.1 .:
#33 129.8 fatal: unable to access 'https://github.com/containers/dnsname.git/': Failed to connect to github.com port 443 after 129806 ms: Couldn't connect to server
------
------
 > [runc 2/4] ADD --keep-git-dir=true https://github.com/opencontainers/runc.git#v1.1.14 .:
#32 129.8 fatal: unable to access 'https://github.com/opencontainers/runc.git/': Failed to connect to github.com port 443 after 129801 ms: Couldn't connect to server
------
error: failed to solve: failed to load cache key: failed to fetch remote https://github.com/containers/dnsname.git: git stderr:
fatal: unable to access 'https://github.com/containers/dnsname.git/': Failed to connect to github.com port 443 after 129806 ms: Couldn't connect to server
: exit status 128

Unclear whether this is just a transient failure or if something else is up.

error: failed to solve: failed to load cache key: failed to fetch remote https://github.com/containers/dnsname.git: git stderr:
fatal: unable to access 'https://github.com/containers/dnsname.git/': Failed to connect to github.com port 443 after 129806 ms: Couldn't connect to server
: exit status 128

Unclear whether this is just a transient failure or if something else is up.

Looking into it.

brennen changed the task status from Open to Stalled.Sep 12 2024, 8:09 PM
thcipriani subscribed.

Looks like the upstream issue is fixed and we recently upgraded to buildkit v0.20.0, calling this one resolved-ish.