-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
time: TestLoadFixed failure #17276
Comments
A new version of
|
Cooking up a patch. |
Applying the fix in c5434f2 to Go 1.4.3 (which can be used as a Go bootstrap compiler) does not work. It fails like this:
Any advice? |
This issue is closed and the bug you are reporting is not related to it. Please ask on a forum instead; see https://golang.org/wiki/Questions . Thanks. |
use go1.4.3 binary package on ubuntu16.04 to build go1.7.3 still face this time package failed problem |
@banditsmile This issue is closed. It is not expected to be fixed in 1.4.3 or 1.7.3. If you want to make a case to backport the change to an older release, please open a new issue. Thanks. |
Fixes golang#17276 Change-Id: I0188cf9bc5fdb48c71ad929cc54206d03e0b96e4 Reviewed-on: https://go-review.googlesource.com/29995 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Fixes golang#17276 Change-Id: I0188cf9bc5fdb48c71ad929cc54206d03e0b96e4 Reviewed-on: https://go-review.googlesource.com/29995 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
CL https://golang.org/cl/33308 mentions this issue. |
Fixes golang#17276 Change-Id: I0188cf9bc5fdb48c71ad929cc54206d03e0b96e4 Reviewed-on: https://go-review.googlesource.com/29995 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
The fix from c5434f2 is still not included in just released 1.7.4 and I cannot understand why. I have to manually apply the patch. |
Go 1.7.4 is a security-fix only release. And as this is a test-only
change, it doesn't meet the requirement to be included in a
minor release anyway.
|
To be fair, the last time this happened the patch was actually cherry-picked in the following minor release. See: milestone 1.3.3, the issue #8814 was fixes on tip (to be 1.4), but the patch was also included in 1.3.3. tzdata test failures are harmless, but also pretty annoying because as soon as the major OSes receive the updated timezones data, |
I think Go 1.3 predates the current release guidelines
for minor releases. Please see
https://github.com/golang/go/wiki/Go-Release-Cycle#release-maintenance
"A minor release is issued to address one or more critical problem for which
there is no workaround (typically related to stability or security)."
For this case, obviously the code for package time still works, so people
doesn't even need a workaround.
|
Ah, thanks. This is the part I missed:
I was convinced it was something like "issued for serious problems, but then it's fine to cherry-pick other small stuff". |
@minux I haven't omitted the fact that 1.7.4 is a minor security release (there were clear announcements), but still I think cherry picking some other small changes like c5434f2 is worth it. Otherwise, packages like me would have to apply patches as normally most Linux distributions moved tzdata to newer than 2016g and thus it is annoying as @ALTree wrote. Anyway, we'll all have to wait for 1.7.5, 1.8 or whatever else release that includes c5434f2 when it's fully tested (I confirm it's well working on Slackware 14.2). |
If we have set the release guideline formally, then we need to stick to it.
Let me quote from
https://github.com/golang/go/wiki/Go-Release-Cycle#release-maintenance
again, with emphasis mine:
"A minor release is issued to address one or more critical problem for which
there is no workaround (typically related to stability or security). The
only code
changes included in the release are the fixes for the specific critical
problems.
Important documentation-only changes may also be included as well, but
**nothing** more."
The fix for this issue won't be included in any Go 1.7.x minor releases, and
will be include Go 1.8 and above. I hope this is clear.
|
@minux By no way I'm questioning Go's release cycle, but to me it appears too harsh if such small but useful fixes like c5434f2, which help keep Go aligned with the OS updates, are dropped completely from minor releases. And as a distribution packager I'd like to ask what is my workaround for the the time test failure then? I either have to suppress tests completely or I have to manage and apply patches, which as I already wrote is annoying especially for software under active development. Again, I accept Go members' position, but still I'd like express my dissatisfaction. Hopefully, Go 1.8 should be released in a month or so according to the beta1 announcement. |
@gdsotirov, yeah, that's a bit unfortunate. I filed #18163. |
CL https://golang.org/cl/34050 mentions this issue. |
See: golang/go#17276 Granted, gvm doesn't normally run the tests, but I like to run them to ensure a build is healthy: $ gvm install <some-version> $ gvm use <some-version> $ go tool dist test -no-rebuild (Hey, maybe this test step could become a future `gvm install` option?) Also per golang/go#18163, test fixes may eventually be permitted for security point releases, at which point patches like these can possibly go away (since the fix would then be to use a later point release on affected platforms).
CL https://golang.org/cl/35635 mentions this issue. |
Backport of the fix to #17276 for Go 1.7. Change-Id: Ifc1a8e2a81d4e543dbef04566985618884a8c0e0 Reviewed-on: https://go-review.googlesource.com/35635 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Fixes golang#17276 Change-Id: I0188cf9bc5fdb48c71ad929cc54206d03e0b96e4 Reviewed-on: https://go-review.googlesource.com/29995 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
What did you see?
The text was updated successfully, but these errors were encountered: