Skip to content

time: TestOverflowRuntimeTimer failing #8136

Closed
@gpaul

Description

@gpaul
Please merge this into issue #6874 and reopen it.

go version go1.3beta2 +177ed19da89f Wed May 28 14:04:31 2014 -0400 linux/amd64

What steps reproduce the problem?
If possible, include a link to a program on play.golang.org.

This failure is reproduced quickly by running this script.

-----------
#!/bin/sh
set -xe
go test -c -i time
while /bin/true
do
    GOMAXPROCS=$[ 1 + $[ RANDOM % 256 ] ]
    ./time.test -test.v
done 
-----------

What happened?
=== RUN TestOverflowRuntimeTimer-251
--- FAIL: TestOverflowRuntimeTimer-251 (0.10 seconds)
    sleep_test.go:391: runtime timer stuck: overflow in addtimer

What should have happened instead?
=== RUN TestOverflowRuntimeTimer-251
--- PASS: TestOverflowRuntimeTimer-251 (0.01 seconds)

Please provide any additional information below.
uname -a
Linux mybox 3.6.11-4.fc16.x86_64 #1 SMP Tue Jan 8 20:57:42 UTC 2013 x86_64 x86_64 x86_64
GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions