-
Notifications
You must be signed in to change notification settings - Fork 262
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
cilium-1.16/1.16.4 package update #34699
base: main
Are you sure you want to change the base?
Conversation
octo-sts
bot
commented
Nov 20, 2024
Signed-off-by: wolfi-bot <[email protected]>
Gen AI suggestions to solve the build error: Let me analyze the build error and provide specific recommendations: • Detected Error: "Expected vars.CILIUM_PROXY_COMMIT to be 97edc2815e2c6a174d3d12e71731d54f5d32ea16. Please update" • Error Category: Version/Configuration • Failure Point: Proxy commit hash verification check in pipeline stage • Root Cause Analysis: The vars.CILIUM_PROXY_COMMIT value in the melange YAML doesn't match the expected commit hash from the Cilium Dockerfile for version 1.16.4 • Suggested Fix: vars:
CILIUM_PROXY_COMMIT: "97edc2815e2c6a174d3d12e71731d54f5d32ea16" • Explanation: • Additional Notes:
• References:
The fix is straightforward - just update the commit hash in the vars section of the melange YAML to match what's expected by Cilium 1.16.4. |
Signed-off-by: Debasish Biswas <[email protected]>
Gen AI suggestions to solve the build error: Based on the build error output, I'll analyze and provide specific fixes: • Detected Error: "fatal: Could not parse object '97edc2815e2c6a174d3d12e71731d54f5d32ea16'" • Error Category: Git/Version • Failure Point: git-checkout step for cilium/proxy repository in the pipeline • Root Cause Analysis: The build is failing because it cannot find the specified commit hash (97edc2815e2c6a174d3d12e71731d54f5d32ea16) in the proxy repository when checking out with a depth of 1000 commits • Suggested Fix:
vars:
CILIUM_PROXY_COMMIT: "2c13e1e06c848aeae988ba8e14b2a6608df9b2a5"
- uses: git-checkout
with:
repository: https://github.com/cilium/proxy
branch: v1.29
depth: 2000 # Increase depth to ensure commit is included
destination: envoy • Explanation: The error occurs because the specified commit hash is not found within the fetched history depth. Either the commit hash needs to be updated to match the correct version for Cilium 1.16.4, or the clone depth needs to be increased to include the target commit. • Additional Notes:
• References:
The most reliable fix would be to update the CILIUM_PROXY_COMMIT to the correct hash for version 1.16.4, as this ensures exact version matching rather than relying on branch state. |
Signed-off-by: Debasish Biswas <[email protected]>
Gen AI suggestions to solve the build error: Based on the error message and context provided, here's my analysis: • Detected Error:
• Error Category: Build Configuration/Patch • Failure Point: Patch application during Bazel build setup • Root Cause Analysis: • Suggested Fix:
- uses: patch
with:
patches: toolchains-paths.patch
# Remove or update this patch
# - uses: patch
# with:
# patches: envoy-55b0fc45cfdc2c0df002690606853540cf794fab.patch
cd envoy
git diff bazel/repository_locations.bzl > ../new-patch.patch • Explanation:
• Additional Notes:
• References: |
Signed-off-by: debasishbsws <[email protected]>
There is one upstream closed issue i can found envoyproxy/envoy#34368 repeated to this and it seems the problem is with the version of clang and llvm |
Signed-off-by: Debasish Biswas <[email protected]>
Gen AI suggestions to solve the build error: Based on the build error, here's my analysis and suggested fix: • Detected Error:
• Error Category: Build/Configuration • Failure Point: C++ template instantiation during compilation of CEL (Common Expression Language) components • Root Cause Analysis: • Suggested Fix: - working-directory: envoy
runs: |
bazel build --fission=no --config=clang \
--discard_analysis_cache \
--nokeep_state_after_build \
--notrack_incremental_state \
--conlyopt="-Wno-strict-prototypes" \
--cxxopt="-fno-strict-aliasing" \
--verbose_failures -c opt //:cilium-envoy-starter Add the • Explanation: • Additional Notes:
• References:
|
I break down the pipeline and found out the error is coming from running bazel build --fission=no --config=clang \
--discard_analysis_cache \
--nokeep_state_after_build \
--notrack_incremental_state \
--conlyopt="-Wno-strict-prototypes" \
--verbose_failures -c opt //:cilium-envoy I tried to add I found one upstream closed issue envoyproxy/envoy#34368 stating "the currently supported llvm version is 14" and we are using 17. There is a closed PR envoyproxy/envoy#31894 we are applying as bazel patch while building. The upstream drop that PR after they merge this PR which changes I have no clue why we having this error. |
All the other one have the same issue while building envoy proxy so marking all of those as blocked and let fix this one, which we can copy over to others. |