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

build: Bump build image to a4bc794b2b #18041

Closed
wants to merge 1 commit into from

Conversation

phlax
Copy link
Member

@phlax phlax commented Sep 9, 2021

Signed-off-by: Ryan Northey ryan@synca.io

Commit Message: build: Bump build image to b51ac7a0f
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

@phlax phlax requested a review from wrowe September 9, 2021 11:31
@phlax phlax changed the title build: Bump build image to b51ac7a0f [WIP] build: Bump build image to b51ac7a0f Sep 9, 2021
@phlax phlax marked this pull request as draft September 9, 2021 13:30
@phlax
Copy link
Member Author

phlax commented Sep 9, 2021

removing pyyaml from the env has broken llvm's clang_tidy_diff script which checks for it being installed and works differently accordingly

as the script is not run from a bazel task, and has no other way of depending on yaml, the easiest is to put it back for now...

@phlax
Copy link
Member Author

phlax commented Sep 9, 2021

@phlax phlax force-pushed the build-image-update branch from 52429f5 to 77df571 Compare September 10, 2021 09:51
Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax phlax force-pushed the build-image-update branch from 77df571 to 1055260 Compare September 10, 2021 09:55
@repokitteh-read-only repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Sep 10, 2021
@repokitteh-read-only
Copy link

CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to (bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch).

🐱

Caused by: #18041 was synchronize by phlax.

see: more, trace.

@phlax phlax changed the title [WIP] build: Bump build image to b51ac7a0f build: Bump build image to a4bc794b2b Sep 10, 2021
@phlax phlax marked this pull request as ready for review September 10, 2021 09:56
@wrowe
Copy link
Contributor

wrowe commented Sep 13, 2021

Holler when this is ready for review.

@phlax
Copy link
Member Author

phlax commented Sep 14, 2021

tracking issue added here envoyproxy/envoy-build-tools#147

Copy link
Contributor

@wrowe wrowe left a comment

Choose a reason for hiding this comment

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

I think you want to do one more bump here to catch up with @yanavlasov

https://github.com/envoyproxy/envoy-build-tools/commits/main

b6bc66636f16870b8390b400c2d2bc0160c71f73

Copy link
Contributor

@wrowe wrowe left a comment

Choose a reason for hiding this comment

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

We now understand why this is the correct tag, for now, and this patch is comprehensive.

However, we are still fighting the missing versions.bzl with or without @yanavlasov's last updated toolchain fix. That toolchain fix does (mostly) work on the older May 6 build container.

Starting local Bazel server and connecting to it...
ERROR: error loading package '': in C:/source/bazel/dependency_imports.bzl: in C:/build/tmp/external/envoy_build_tools/toolchains/rbe_toolchains_config.bzl: cannot load '@envoy_build_tools//toolchains:configs/windows/versions.bzl': no such file

Are we missing other related bazel bumps here to function without versions.bzl? Or did we need to regenerate the build images with the new build-tools refactoring?

@yanavlasov
Copy link
Contributor

My change to use RBE generator has removed the command that created that version.bzl

If we can disable clang-cl in CI if we can commit PR #17716 I'll leave this decision up to the Windows team
If we can not we need to rollback my two changes in envoy-build-tools so we can start using new build images.

@wrowe
Copy link
Contributor

wrowe commented Sep 16, 2021

My change to use RBE generator has removed the command that created that version.bzl

We should be able to proceed on the clang-cl issue, updating llvm to 12.0.1 to get around the optimizer crash.

What's more concerning, please fix the resulting chaos from dropping versions.bzl (which should cause the build images to be regenerated for re-testing) here;

https://github.com/envoyproxy/envoy-build-tools/blob/b6bc66636f16870b8390b400c2d2bc0160c71f73/toolchains/rbe_toolchains_config.bzl#L4-L5

@phlax
Copy link
Member Author

phlax commented Sep 29, 2021

closing this as it has been superseded by #18220

@phlax phlax closed this Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps Approval required for changes to Envoy's external dependencies waiting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants