-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Release 3.5 - August 2020 #11885
Comments
Status update: Branch cut slightly delayed because of power outages after storms in NYC area. Probably will cut on morning of 2020-08-07 |
This regression seems to be a release blocker: #11837? |
Status of Bazel 3.5
To report a release-blocking bug, please file a bug using the Task list:
|
Currently broken and investgating: The two PRs which most likely caused the problems are correctness fixes, so I am not counting this as a blocking change yet. |
Hey hey, I want to test it against rules_scala and to see that our issue is indeed fixed. |
It will be available later today. If you want it earlier, you can clone the
repo, check out the release-3.5.0rc1 branch, and build that.
…On Wed, Aug 12, 2020 at 5:29 AM Or Shachar ***@***.***> wrote:
Hey hey,
How can we consume rc1? https://releases.bazel.build/3.5.0/rc1/index.html
is not available (yet?)
I want to test it against rules_scala and to see that our issue is indeed
fixed.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#11885 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXHHHEXTAKK4WCED7LJUKDSAJOHRANCNFSM4PTA3RRQ>
.
|
FYI, arm64 users: The arm64 build process for this release is still partly manual, so please give me a few minutes after @aiuto pushes rc1, so that I can kick-off the build and upload of the arm64 binaries ;) |
It is now available: https://releases.bazel.build/3.5.0/rc1/index.html |
The fix from #11838 wasn't included, unfortunately. Now Bazel-3.5.0rc1 is reporting ca. 100 errors, when trying to build gerrit, that are actually ignored: [1]. You don't see this in Bazel CI, because the errors are actually ignored. Probably other projects are also affected, like JGit and Gitiles. The only available workaround to silent those errors is to migrate external workspaces from Note that all is fine in Bazel 3.4.0 with external workspaces with hyphen char in their names, like |
Oh whoops. Why did I not see that.
I can cherrpick it in to rc2
…On Wed, Aug 12, 2020 at 1:51 PM David Ostrovsky ***@***.***> wrote:
@aiuto <https://github.com/aiuto>
So the fix in #11838 <#11838>
will be included.
The fix from #11838 <#11838>
wasn't included, unfortunately.
Now bazel is reporting ca 100 errors, when trying to build gerrit, that
are actually ignored: [1].
The only available workaround to silent those errors is to migrate
external workspaces from foo-bar to foo_bar. But given that this is a
regression, I would rather cherry-pick the PR that is linked to #11838
<#11838>.
[1] http://paste.openstack.org/show/796786
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11885 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXHHHEH3TRF3DWPY3CKIYDSALJDHANCNFSM4PTA3RRQ>
.
|
Release notes advertise the new feature |
I have no answer for why you don't see it. That PR was before the 3.5 baseline, so it should be there. |
The feature |
Seems to be a regression in 3.5.0RC1: #11936 |
3.5.0rc2 is ready. |
Thanks, confirmed that the regression #11838 is fixed in 3.5.0rc2. |
Just checked it on Wix repo - seems like there's a new restriction on external repository names?
I didn't see this in the release notes |
@or-shachar see #11936 |
Bazel 3.5.0rc2 Linux arm64 binaries have been successfully built and uploaded to https://releases.bazel.build/3.5.0/rc2/index.html. |
If it is your primary See also this #11838 (comment) where @Gromba asked to allow dot char in repository names as well. |
I'll do some hunting to figure out why we added the restriction in the first place. That will help me decide if we do a patch in the minor releases until the next major and break then, or revert totally. |
I have a change in the pipeline to allow dot in workspace names. That will roll into RC3 |
The issue is discussed on #11837 |
We can resolve the prelude processing problem #11940 by picking a baseline from Aug. 7. 889bc0b Now the question is if the new error reporting is a blocker or not.
And also, do we revert the change allowing hyphens in names first. Given today's discussions, that is probably called for first. |
Background on the flogger issue: bazelbuild/continuous-integration#1006 |
I'm late to the party.
$ g++ --version
g++ (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
This is for the Fedora bless package of Bazel 3.5, so it is mostly about building Bazel. Right? |
It looks like it fails for all platforms in @upb, which gRPC uses. My hunch is that this is related to a 3.4 problem with gRPC that caused some rollback/forward and a 3.4.1 release. @meteorcloudy Do you have any ideas? |
this is in building bazel itself. |
Looks like it's the same issue as #12056 upb has fixed the problem, we should update the upb version in Bazel. |
PR sent: #12077 |
@meteorcloudy Is it time to try a 3.5.1 with the cherrypick of b3ac8f6 |
Actually, @vbatts, perhaps you are in the best situation to test, as you have the right compiler environment. |
Ref: bazelbuild/bazel#11885 (comment) Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
tested b3ac8f6, and it seems to rely on other files than are included in
3.5.0:
```
File "/home/vbatts/workspace/src/github.com/vbatts/copr-build-bazel/bazel-3.5.0/tools/build_defs/repo/http.bzl", line 121, column 10, in _http_archive_impl
patch(ctx)
File "/home/vbatts/workspace/src/github.com/vbatts/copr-build-bazel/bazel-3.5.0/tools/build_defs/repo/utils.bzl", line 135, column 22, in patch
ctx.patch(patchfile, strip)
Error in patch: Not a regular file: /home/vbatts/workspace/src/github.com/vbatts/copr-build-bazel/bazel-3.5.0/third_party/grpc/upb_gcc10_fix.patch
ERROR: no such package '@upb//bazel': Not a regular file: /home/vbatts/workspace/src/github.com/vbatts/copr-build-bazel/bazel-3.5.0/third_party/grpc/upb_gcc10_fix.patch
```
|
applied 26cbf77 also |
Those two commits did the trick. |
Thanks. I started a 3.5.1 run with those two cherrypicks + correctness bug fix from b9bb102.
Alas, it seems to fail on an unrelated issue.
https://buildkite.com/bazel/bazel-bazel/builds?branch=release-3.5.1rc1. I'll have to dig into that. |
@aiuto This looks like an incompatibility between Bazel 3.5.x and a too new Android SDK. IIRC we added a newer version of the Android build-tools on the CI machines in the meantime due to a request from the Android folks. Because Bazel's WORKSPACE build does not pin the tools to a fixed version, Bazel 3.5.x now picks up that latest version, but is not yet compatible with it. |
On Sat, Sep 12, 2020 at 2:51 AM Philipp Wollermann ***@***.***> wrote:
@aiuto <https://github.com/aiuto> This looks like an incompatibility
between Bazel 3.5.x and a too new Android SDK.
It does look like that.
IIRC we added a newer version of the Android build-tools on the CI
machines in the meantime due to a request from the Android folks. Because
Bazel's WORKSPACE build does not pin the tools to a fixed version, Bazel
3.5.x now picks up that latest version, but is not yet compatible with it.
Wouldn't Bazel at head fail in CI if we did not have a corresponding change
at head to account for the new SDK?
Last night I started looking through all the commits between Aug 7 and now
but did not find evidence of that.
Perhaps it was just too long a day.
Are there notes about how we put the SDK on the CI machines? Those would be
handy for setting up personal machines to do full testing locally.
|
@philwo The obvious question is you say "we added a newer version. If you really mean added, rather than replaced, this should only require pinning the version in the WORKSPACE. |
@aiuto Yes, we added Android build-tools 30.0.1 and removed unused versions 28.0.3 and 29.0.0: bazelbuild/continuous-integration@050153d. This means, we have build-tools 28.0.2, 29.0.2, 29.0.3 and 30.0.1 available on the CI machines. Before this change, Bazel would have used build-tools 29.0.3, after this change it would use 30.0.1. Bazel at HEAD and Bazel 3.6 are compatible with build-tools 30.0.1, but Bazel 3.5 is not yet compatible. I believe the commits that added the compatibility are these: You can check Google bug b/158484558 for some context. I think as a way forward we have two options:
|
I am trying the cherrypicks. I'll know if this works in about 50 minutes.
|
Pushed release: 3.5.1rc1
@vbatts @petemounce @excitoon : Could you please test that this can be repackaged in your respective systems. |
Since yesterday was a holiday, I will let this age one more business day before dropping the "rc1" and upgrading to 3.5.1 |
Can we release Bazel 3.5.1? Due to a bug in Bazelisk (bazelbuild/bazelisk#170), certain builds around the world are failing until we do so. |
I will tonight. I was hoping to get a thumbs up from the downstream
packagers, but I don't want to keep you blocked.
…On Wed, Sep 30, 2020, 5:35 PM Philipp Wollermann ***@***.***> wrote:
Can we release Bazel 3.5.1? Due to a bug in Bazelisk (
bazelbuild/bazelisk#170
<bazelbuild/bazelisk#170>), certain builds
around the world are failing until we do so.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11885 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXHHHDX2IFUPEH53574L5TSIOQCXANCNFSM4PTA3RRQ>
.
|
I just pushed release: 3.5.1 https://github.com/bazelbuild/bazel/releases/tag/3.5.1 @vbatts @petemounce @excitoon : Could you please repackage this for your respective systems. |
Fedora and Centos builds are kicked off: https://copr.fedorainfracloud.org/coprs/build/1691954
|
I forgot to remove the cherry-picked patches, so that build failed. |
Bazel 3.5.1 arm64 binaries uploaded to GitHub and https://releases.bazel.build/3.5.1/release/. |
Tracking bug for the Bazel 3.5 release. Instructions are at https://github.com/bazelbuild/continuous-integration/blob/master/docs/release-playbook.md
The text was updated successfully, but these errors were encountered: