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

cmd/go: TestPackageNotStaleWithTrailingSlash fails in release distribution #15933

Closed
unclejack opened this issue Jun 2, 2016 · 2 comments
Closed
Milestone

Comments

@unclejack
Copy link
Contributor

Go 1.7 beta1 can't pass the tests when being built with Go 1.4.3 or Go 1.6.2. Go 1.6.2 can be built and tested without seeing any kind of error using the 1.4.3 toolchain on the same machine. This can be reproduced every time.

  1. What version of Go are you using (go version)?
    Go 1.7 beta1
  2. What operating system and processor architecture are you using (go env)?
    Linux, amd64
  3. What did you do?
    GOROOT_BOOTSTRAP=/usr/local/go1.4.3 ./all.bash
    GOROOT_BOOTSTRAP=/usr/local/go1.6.2 ./all.bash
  4. What did you expect to see?
    tests passing, working build
  5. What did you see instead?
--- FAIL: TestPackageNotStaleWithTrailingSlash (0.27s)
        go_test.go:244: running testgo [list -f {{.Stale}}:{{.StaleReason}} runtime]
        go_test.go:259: standard output:
        go_test.go:260: false:standard package in Go release distribution

        go_test.go:562: wrong reason for Stale=false: "standard package in Go release distribution", want ""
        go_test.go:244: running testgo [list -f {{.Stale}}:{{.StaleReason}} os]
        go_test.go:259: standard output:
        go_test.go:260: false:standard package in Go release distribution

        go_test.go:562: wrong reason for Stale=false: "standard package in Go release distribution", want ""
        go_test.go:244: running testgo [list -f {{.Stale}}:{{.StaleReason}} io]
        go_test.go:259: standard output:
        go_test.go:260: false:standard package in Go release distribution

        go_test.go:562: wrong reason for Stale=false: "standard package in Go release distribution", want ""
@mwhudson
Copy link
Contributor

mwhudson commented Jun 2, 2016

Those tests are new in 1.7 so that explains that aspect. I guess the tests are broken in a release build though.

@mwhudson mwhudson changed the title Go 1.7 beta 1 doesn't pass the tests cmd/go: TestPackageNotStaleWithTrailingSlash fails in release distribution Jun 2, 2016
@mwhudson mwhudson added this to the Go1.7 milestone Jun 2, 2016
@adg adg self-assigned this Jun 3, 2016
@gopherbot
Copy link

CL https://golang.org/cl/23731 mentions this issue.

@golang golang locked and limited conversation to collaborators Jun 3, 2017
@rsc rsc unassigned adg Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants