-
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 0.26 - May 2019 #7499
Comments
We would like to make sure that at least experimenal implementation of #8201 is in this release. |
When do you expect this implementation to be committed to the bazel code base? |
I'd like to flip |
I'd like to flip EDIT: This has been submitted on May 1st. |
Submitted the flag flip for Python toolchains, so if the baseline is cut after today then I'm good. |
In the coming days. |
Current state of our downstream projects.
|
This flips --incompatible_use_python_toolchains, which deprecates --python_top (and for the most part, --python_path). See [#7899](#7899) for more on the change and migration procedure. RELNOTES[INC]: Python rules now determine the Python runtime using toolchains rather than `--python_top` and `--python_path`, which are deprecated. See [#7899](#7899) for information on declaring Python toolchains and migrating your code. As a side-benefit, this addresses #4815 (incorrect interpreter version used) on non-Windows platforms. You can temporarily opt out of this change with `--incompatible_use_python_toolchains=false`. Fixes #7899, fixes #7375, significant progress on #4815. PiperOrigin-RevId: 246219480
Apparently my flag flip broken a mac test in postsubmit. Working on a simple forward fix to disable the flip for that test now... |
Looking at today's nightly, a lot of breakage seems python related. So, rolling back seems more appropriate, unless you verify that your forward fix fixes the python-related downstream breakages as well. With that large number of downstream breakages, we're stuck with the nightly from May 1st (i.e., commit baefeab) anyway. |
Sadly yes. I'll roll back my flag flip and work on downstream fixes. |
Rolled back by 4837e11, so you can cherrypick that or cut the baseline after. |
The current nightly has all the breakages of the one from May 1st and, on top of that, the ones tracked by #8227. So the the canonical base line would be baefeab which we should take according to our policy. However, I was ordered to delay the release to wait for #8201. |
For context #8201 is critical for the angular/angular#19058 - Angular team is blocked on this for enabling bazel in their 8.0 release (which is alerady in RC and is going GA late May/early June). I understand that this is somewhat frustrating, but @irengrig and other folks on the team are hard at work getting the last bits in. |
#8201 is submitted!!! :) |
To fix the non-determinism uncovered (but not caused) by 29f1932, will target as baseline commit https://bazel-review.googlesource.com/c/bazel/+/98615, once in. |
The latest nightly seems alright, at least not worse than the one of May 1st. "BUILD file generator" failing, "rules_gwt" failing to build, and "Tensorflow" failing to clone; the latter is a known issue. So, let's take daa8ae5 as a baseline, and cherry-pick https://bazel-review.googlesource.com/c/bazel/+/98615 once in. Depending on whether there will be a patch release for 0.25.0 (#7498), we might need additional cherry-picks. |
Creating RC1 failed.
Investigating. |
This is caused by commit bbe47a1. I verified that reverting it makes the build of |
Rollback submitted as c2001a4 Between the previous baseline and this commit, there is another rollback which we should include anyway, as releases should include all rollbacks of commits in their baseline, and a commit adding a single test case, which shouldn't do much harm. So I'll bump the baseline to c2001a4 for my attempt to create RC2. |
RC2 is available at https://releases.bazel.build/0.26.0/rc2/index.html The release announcement is off though; I'll have to investigate where our release script took the wrong baseline for generating the release notes. Nevertheless, please test the release candidate. |
Will try to create RC3 with same baseline and cherry-picking e67c961 as this is the fix for a non-determinism problem we observed while searching for a good baseline. |
RC3 is available at https://releases.bazel.build/0.26.0/rc3/index.html The release notes are still off. It is really bazeline c2001a4 with cherry-pick e67c961. |
Tests for downstream projects |
The downstream runs for RC3 look reasonable. Please test RC3 and report regressions before May 14. |
So we will have a patch release, once this is fixed. |
The fix for #8475 is submitted. |
Creating rc1 for the patch release 0.26.1.
It is available at https://releases.bazel.build/0.26.1/rc1/index.html |
The downstream projects look good (the "Bazel Integration testing" failure is due to changed RBE configurations). So please test 0.26.1rc1. I plan to release it on Wednesday, June 5, 2019, in the morning, Munich time. |
Please cherrypick b0403a7 for bazelbuild/intellij#845. Fixes Bazel with IntelliJ when building annotation processor targets. |
Is this really a regression, i.e., something not working on 0.26.0 that was working on 0.25.3? Also note that cherry-picks are supposed to be small, well-understood changes where we can be reasonably sure that they do not break anything else; a bump of an opaque archive usually does not qualify as such. |
@aehlig Absolutely a regression, I can’t even build Bazel itself anymore with IntelliJ inside a Google and thought I’m doing something wrong... I'm getting the Genclass error that’s mentioned in the linked commit. This always worked before 0.26.0. |
This is the
This is more than a small, well-understood, change. Isn't there a way to just fix the regression without changing two binaries, 16 java archives, and the license? |
So how was that regression introduced into the code base. I doubt it was introduced by a downgrade of the java tools... |
I don’t know, I’m just a user in this case who can no longer work until this is fixed. |
OK, then we'll bisect to find the offending commit and try to cherry-pick a revert of it (the revert needn't go on master, it can stay on a side branch); but such a big library change to fix forward is too large for a patch release, in my opinion. |
While b0403a7 fixes bazelbuild/intellij#845, I'm not sure that was the culprit. The typo fixed by the new java_tools release was there from the first java_tools version, so downgrading the java_tools version will not work. @aehlig's proposal seems the right way forward. |
I'm bisecting this now. |
This commit is the culprit: 8887169 Verified by checking out 0.26.0 and doing a git revert. I can then no longer repro the issue. |
Thanks for the bisect. Now we're in trouble here, as the culprit is also a bump of an embedded library. Will have to have a look at both changes to make a call, what is less likely to break things. Any technical information about those two library changes would be greatly appreciated. |
Fortunately, the changes in the libraries hidden in the culript commit are comparatively small; 192 lines of |
@iirina created a patch-release for the java tools with only the minimal changes needed to fix bazelbuild/intellij#845. Thank you! So we can get away with cherry-pick a much smaller change, 55e4205. |
(There will be no rc2, as I forgot to fetch the branches on first attempt and thus decided it's safer to drop the rc number.) |
#8556 tracks our efforts of avoiding such regressions in the future. |
0.26.1rc3 is available at https://releases.bazel.build/0.26.1/rc3/index.html |
The downstream projects still look good, again with "Bazel Integration Testing" broken due to changed RBE configurations. Please test carefully. I plan to release 0.26.1 on Thursday, Jun 6, 2019, early afternoon Munich time. |
Promoting 0.26.1rc3 to release... |
0.26.1 is available at https://releases.bazel.build/0.26.1/release/index.html |
It accidentally used ubuntu1804, which means we built a version no longer compatible with Ubuntu 14.04: bazelbuild/bazel#7499 (comment) Note that Bazel 0.26 will be the last version built on Ubuntu 14.04, though, as was previously announced here: https://groups.google.com/forum/#!searchin/bazel-discuss/ubuntu$2014.04%7Csort:date/bazel-discuss/dPomOEOPseA/Jp849gJvBwAJ
Target RC date: May 2nd
The text was updated successfully, but these errors were encountered: