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/dist: timeout in test phase. #16106

Closed
jucie opened this issue Jun 18, 2016 · 4 comments
Closed

cmd/dist: timeout in test phase. #16106

jucie opened this issue Jun 18, 2016 · 4 comments

Comments

@jucie
Copy link

@jucie jucie commented Jun 18, 2016

  1. What version of Go are you using (go version)?
    go version devel +f3d5478 Fri Jun 17 19:15:29 2016 +0000 windows/386

  2. What operating system and processor architecture are you using (go env)?
    set GOARCH=386
    set GOBIN=C:\Go\bin
    set GOEXE=.exe
    set GOHOSTARCH=386
    set GOHOSTOS=windows
    set GOOS=windows
    set GOPATH=c:\gopath
    set GORACE=
    set GOROOT=C:\Go
    set GOTOOLDIR=C:\Go\pkg\tool\windows_386
    set CC=gcc
    set GOGCCFLAGS=-m32 -fmessage-length=0
    set CXX=g++
    set CGO_ENABLED=0

  3. What did you do?

    git clone https://github.com/golang/go.git
    cd go\src
    all

  4. What did you expect to see?
    A clean build & test.

  5. What did you see instead?
    ...
    ok cmd/compile/internal/test 0.360s
    ok cmd/cover 14.877s
    ok cmd/doc 0.614s
    ok cmd/fix 0.372s
    panic: test timed out after 6m0s

I tried twice:
firsttry.txt
secondtry.txt

The computer is an old and slow netbook:
netbook

Please note I have set CGO_ENABLED to zero, to avoid C compiler installation issues.

@davecheney
Copy link
Contributor

@davecheney davecheney commented Jun 19, 2016

I'm sorry but I don't think there is much we can do here. If your machine is too slow to complete all.bat you can try increasing the timeout with something like GO_TEST_TIMEOUT_SCALE=10.

I'm going to close this issue as I don't think there is an issue that can be addressed here.

@davecheney davecheney closed this Jun 19, 2016
@jucie
Copy link
Author

@jucie jucie commented Jun 19, 2016

I was not aware of GO_TEST_TIMEOUT_SCALE. I changed it, as you suggested and now everything goes fine. Thanks, Dave.

@mikioh mikioh changed the title Timeout in test phase. cmd/dist: timeout in test phase. Jun 20, 2016
@mikioh
Copy link
Contributor

@mikioh mikioh commented Jun 20, 2016

Just FYI: #10314

@jucie
Copy link
Author

@jucie jucie commented Jun 22, 2016

That's exactly the same situation. Thanks, Mikio.

On 6/19/16, Mikio Hara notifications@github.com wrote:

Just FYI: #10314


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#16106 (comment)

@golang golang locked and limited conversation to collaborators Jun 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.