-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Unable to test go 1.6.4 with 1.6.3 on Mageia 5 (trying to package it) #18491
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
Comments
Go 1.6 is no longer supported. The tests fail when run with a current timezone database. Either use a newer Go or don't run the tests. |
Thanks Alberto. Will see whether we should update to 1.7.4 instead. |
That test will fail in The fix was pushed after the go1.7 release, and it wasn't cherry-picked for 1.7.3 or 1.7.4. People has been complaining about this (see this comment). Then #18163 was filed, proposing we allow test-only changes to be included in minor releases. It was accepted, and in the future this will hopefully make life a little easier for Go package maintainers when a test-only problem arises. |
I've been able to package 1.6.4 + your patch for mageia 5 as an update. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.6.3 linux/amd64
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/usr/lib/golang"
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
What did you do?
I'm trying to package the latest go 1.6.4 for Mageia (uptading our current 1.6.3)
I ran an rpmbuild which triggered the following in the %check section (after the build succeed):
++ pwd -P
Testing packages.
go tool dist test -run=^go_test:archive/tar$
ok archive/tar 0.029s
ok archive/zip 0.144s
ok bufio 0.120s
[...]
ok text/template 0.044s
ok text/template/parse 0.009s
--- FAIL: TestLoadFixed (0.00s)
time_test.go:943: Now().In(loc).Zone() = "-01", -3600, want "GMT+1", -3600
FAIL
FAIL time 2.735s
ok unicode 0.041s
I can reproduce this by doing:
$ go test time
--- FAIL: TestLoadFixed (0.00s)
time_test.go:943: Now().In(loc).Zone() = "-01", -3600, want "GMT+1", -3600
FAIL
FAIL time 7.561s
The text was updated successfully, but these errors were encountered: