Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 1.16.3 #12

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Add 1.16.3 #12

wants to merge 5 commits into from

Conversation

petrutlucian94
Copy link

We're adding Rock images for Cilium 1.16.3.

We're adding Rock images for Cilium 1.16.3.
@petrutlucian94
Copy link
Author

Building cilium-envoy currently fails because of a checksum validation error, need to investigate further.

2024-11-07 08:50:49.145 :: 2024-11-07 08:50:31.600 :: + make bazel-bin/cilium-envoy
2024-11-07 08:50:49.145 :: 2024-11-07 08:50:31.605 :: BUILDING on amd64 for amd64 using //bazel:linux_x86_64
2024-11-07 08:50:49.145 :: 2024-11-07 08:50:31.616 :: bazel/setup_clang.sh /usr/lib/llvm-15
2024-11-07 08:50:49.145 :: 2024-11-07 08:50:31.622 :: 2024/11/07 08:50:31 Downloading https://releases.bazel.build/6.1.0/release/bazel-6.1.0-linux-x86_64...
2024-11-07 08:50:49.145 :: 2024-11-07 08:50:34.583 :: Extracting Bazel installation...
2024-11-07 08:50:49.145 :: 2024-11-07 08:50:36.138 :: Starting local Bazel server and connecting to it...
2024-11-07 08:50:49.145 :: 2024-11-07 08:50:37.636 :: echo "build --config=clang" >> clang.bazelrc
2024-11-07 08:50:49.145 :: 2024-11-07 08:50:37.640 :: bazel  build --platforms=//bazel:linux_x86_64 --config=release //:cilium-envoy
2024-11-07 08:50:49.145 :: 2024-11-07 08:50:37.740 :: Loading:
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:38.742 :: Loading:
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:42.141 :: Loading:
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:43.221 :: Loading:
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:44.480 :: Loading:
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:45.512 :: Loading:
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:46.743 :: Loading:
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:47.826 :: Loading:
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:48.221 :: INFO: Repository com_googlesource_googleurl instantiated at:
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:48.221 ::   /root/parts/cilium-envoy/build/WORKSPACE:64:19: in <toplevel>
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:48.221 ::   /root/.cache/bazel/_bazel_root/32d0ba745f75b1b1f5ce6a9df63974e5/external/envoy/bazel/repositories.bzl:301:32: in envoy_dependencies
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:48.223 ::   /root/.cache/bazel/_bazel_root/32d0ba745f75b1b1f5ce6a9df63974e5/external/envoy/bazel/repositories.bzl:1042:26: in _com_googlesource_googleurl
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:48.223 ::   /root/.cache/bazel/_bazel_root/32d0ba745f75b1b1f5ce6a9df63974e5/external/envoy/bazel/repositories.bzl:30:23: in external_http_archive
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:48.224 ::   /root/.cache/bazel/_bazel_root/32d0ba745f75b1b1f5ce6a9df63974e5/external/envoy_api/bazel/envoy_http_archive.bzl:16:17: in envoy_http_archive
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:48.224 :: Repository rule http_archive defined at:
2024-11-07 08:50:49.146 :: 2024-11-07 08:50:48.224 ::   /root/.cache/bazel/_bazel_root/32d0ba745f75b1b1f5ce6a9df63974e5/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in <toplevel>
2024-11-07 08:50:49.147 :: 2024-11-07 08:50:48.228 :: WARNING: Download from https://storage.googleapis.com/quiche-envoy-integration/dd4080fec0b443296c0ed0036e1e776df8813aa7.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Checksum was fc694942e8a7491dcc1dde1bddf48a31370a1f46fef862bc17acf07c34dc6325 but wanted 59f14d4fb373083b9dc8d389f16bbb817b5f936d1d436aa67e16eb6936028a51
2024-11-07 08:50:49.147 :: 2024-11-07 08:50:48.229 :: ERROR: An error occurred during the fetch of repository 'com_googlesource_googleurl':
2024-11-07 08:50:49.147 :: 2024-11-07 08:50:48.229 ::    Traceback (most recent call last):
2024-11-07 08:50:49.147 :: 2024-11-07 08:50:48.229 ::   File "/root/.cache/bazel/_bazel_root/32d0ba745f75b1b1f5ce6a9df63974e5/external/bazel_tools/tools/build_defs/repo/http.bzl", line 132, column 45, in _http_archive_impl
2024-11-07 08:50:49.147 :: 2024-11-07 08:50:48.229 ::     download_info = ctx.download_and_extract(
2024-11-07 08:50:49.147 :: 2024-11-07 08:50:48.230 :: Error in download_and_extract: java.io.IOException: Error downloading [https://storage.googleapis.com/quiche-envoy-integration/dd4080fec0b443296c0ed0036e1e776df8813aa7.tar.gz] to /root/.cache/bazel/_bazel_root/32d0ba745f75b1b1f5ce6a9df63974e5/external/com_googlesource_googleurl/temp14335759376484789142/dd4080fec0b443296c0ed0036e1e776df8813aa7.tar.gz: Checksum was fc694942e8a7491dcc1dde1bddf48a31370a1f46fef862bc17acf07c34dc6325 but wanted 59f14d4fb373083b9dc8d389f16bbb817b5f936d1d436aa67e16eb6936028a51
2024-11-07 08:50:49.147 :: 2024-11-07 08:50:48.230 :: ERROR: /root/parts/cilium-envoy/build/WORKSPACE:64:19: fetching http_archive rule //external:com_googlesource_googleurl: Traceback (most recent call last):

@petrutlucian94
Copy link
Author

We're hitting this: envoyproxy/envoy#36563

Some dependency checksums have changed, which causes the envoy
build to fail.

We'll apply a patch that updates these checksums.
Copy link
Member

@berkayoz berkayoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, I believe in 1.16 Cilium switched to LLVM 17 and Go 1.22. Can we check for dependencies to make sure they are matching? You can refer to https://github.com/cilium/cilium/tree/v1.16.3/images

@petrutlucian94
Copy link
Author

@berkayoz one problem though: there are no llvm-17 packages for ubuntu 22.04, we'll have to add the repos or switch to 24.04, which may break other dependencies.

We're updating the cilium dependencies according to the upstream
1.16.3 release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants