buildbuddy-io / buildbuddy

BuildBuddy is an open source Bazel build event viewer, result store, remote cache, and remote build execution platform.

Home Page:https://buildbuddy.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gcr.io/flame-public/buildbuddy-app-onprem:v2.12.31, version `GLIBC_2.33' not found

alberto-cerato opened this issue · comments

From https://www.buildbuddy.io/docs/on-prem/#docker-image,
whem I run the command:

docker pull gcr.io/flame-public/buildbuddy-app-onprem:latest && docker run -p 1985:1985 -p 8080:8080 gcr.io/flame-public/buildbuddy-app-onprem:latest

I get the following error:

/app/server/cmd/buildbuddy/buildbuddy: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /app/server/cmd/buildbuddy/buildbuddy)
/app/server/cmd/buildbuddy/buildbuddy: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /app/server/cmd/buildbuddy/buildbuddy)
/app/server/cmd/buildbuddy/buildbuddy: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /app/server/cmd/buildbuddy/buildbuddy)

The error is present in v2.12.31, but not in v2.12.30

Environment

Distributor ID: Ubuntu
Description: Ubuntu-Server 20.04.3 2022.02.25 (Cubic 2022-02-25 21:58)
Release: 20.04
Codename: focal

Docker version 20.10.12, build 20.10.12-0ubuntu2~20.04.1

Hey @alberto-cerato - it looks like this is because we moved our release workflows to Github actions runners with a newer GLIBC versions in the most recent release. Investigating what we can do here to make this more portable and will keep you posted.

Thanks for the quick turnaround!
If the build depends on the system glibc,
maybe one option is to change the runner to use a Docker image with the same GLIBC version as the one inside the final BuildBuddy one?

Hey @alberto-cerato - this should be fixed now with today's release, and the :latest tag should be updated. Verified by running:

siggi@lunchbox:~$ docker pull gcr.io/flame-public/buildbuddy-app-onprem:latest && docker run -p 1985:1985 -p 8080:8080 gcr.io/flame-public/buildbuddy-app-onprem:latest
latest: Pulling from flame-public/buildbuddy-app-onprem
Digest: sha256:0b12d791907af0b55e9d7b1d69630841af197f183c33f5e7070a0b83b8b84f9d
Status: Image is up to date for gcr.io/flame-public/buildbuddy-app-onprem:latest
gcr.io/flame-public/buildbuddy-app-onprem:latest
2023/04/05 22:21:23.393 INF BuildBuddy v2.12.32 (bfaa2eaa40ddd9b348fa173c2ac44203f183092b) compiled with go1.19.3
2023/04/05 22:21:23.393 INF Reading buildbuddy config from '/config.yaml'
2023/04/05 22:21:23.401 INF Auto-migrating DB
2023/04/05 22:21:23.410 INF Auto-enabling v2 layout for new cache.
2023/04/05 22:21:23.410 INF Cache: BuildBuddy cache API enabled!
2023/04/05 22:21:23.410 INF DiskCache partition "default": loaded 0 files in 54.92µs
2023/04/05 22:21:23.410 INF Finished initializing disk cache partition "default" at "/buildbuddy/cache/v2/PTdefault". Current size: 0 (max: 10000000000) bytes
2023/04/05 22:21:23.675 INF Enabling monitoring (pprof/prometheus) interface on http://0.0.0.0:9090
2023/04/05 22:21:23.675 INF gRPC listening on 0.0.0.0:1987
2023/04/05 22:21:23.675 INF gRPC listening on 0.0.0.0:1985
2023/04/05 22:21:23.675 INF
2023/04/05 22:21:23.675 INF Your BuildBuddy server is running!