Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Dec 2022 19:43:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        go@FreeBSD.org
Subject:   [Bug 267788] Go testsuite fails in armv7 jail on arm64 host, but not on armv7 host
Message-ID:  <bug-267788-42334-wTolPPBk7K@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267788-42334@https.bugs.freebsd.org/bugzilla/>
References:  <bug-267788-42334@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267788

--- Comment #4 from Robert Clausecker <fuz@fuz.su> ---
The failure mode differs between single and multi-threaded execution.

$ go test math/rand
stddev 6.485239797081586 !=3D 4 (allowed error 0.4, 0.32)
stddev 8.278192731513668 !=3D 4 (allowed error 0.4, 0.32)
stddev 14.106526765488345 !=3D 4 (allowed error 0.4, 0.32)
--- FAIL: TestNonStandardNormalValues (0.39s)
    rand_test.go:125: stddev 6.485239797081586 !=3D 4 (allowed error 0.4, 0=
.32)
    rand_test.go:128: stddev 8.278192731513668 !=3D 4 (allowed error 0.4, 0=
.32)
    rand_test.go:131: stddev 14.106526765488345 !=3D 4 (allowed error 0.4, =
0.32)
FAIL
FAIL    math/rand       13.529s
FAIL
$ GOMAXPROCS=3D1 go test math/rand=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
stddev NaN !=3D 16 (allowed error 1.6, 1.28)
--- FAIL: TestNonStandardNormalValues (0.39s)
    rand_test.go:125: stddev NaN !=3D 16 (allowed error 1.6, 1.28)
FAIL
FAIL    math/rand       12.905s
FAIL

To reproduce this more easily, you can produce a test binary using

$ go test -c math/rand

Which you can then dissect as desired.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267788-42334-wTolPPBk7K>