-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
runtime/trace: TestTraceStressStartStop is unreliable #10476
Comments
Dup of #9729 |
Unduplicated from #9729 and assigning Dmitriy. This failure seems to be particularly tied to system calls. The old failure was due to running when the world was stopped. We fixed that. I believe this new failure is due to a bug in: commit 089d363
|
Updates #10476 Change-Id: Ic4414f669104905c6004835be5cf0fa873553ea6 Reviewed-on: https://go-review.googlesource.com/8962 Reviewed-by: Russ Cox <[email protected]>
CL https://golang.org/cl/9132 mentions this issue. |
FYI, reproduced on rev 6f42b61.
|
Robert. Is this running inside a VM ? If not, what hardware ? On Mon, May 4, 2015 at 4:17 AM, Robin Eklind [email protected]
|
Running on real (albeit old) hardware. Including the hardware specs below. P.S. my name is Robin :) Let me know if you need any more info.
|
I applied the changeset in CL https://golang.org/cl/9132, but got the same result:
|
That explains it. Sadly on those processors the TSC counter is not coherent On Mon, May 4, 2015 at 8:40 AM, Robin Eklind [email protected]
|
On Sun, May 3, 2015 at 7:05 PM, Dave Cheney [email protected]
you can use taskset(1) to pin a process to a set of cores, without root. |
Not sure if it's being ignored as unfortunate (see #9729), in other case FYI the tests still break the build: ./all.bash
|
@capnm Looking at the EvFrequency failure, it seems that RDTSC goes back on your machine. |
@capnm the test shows that it happens, though |
@dvyukov If I understand that correctly, RDTSC still gets on both cores forward, the trouble seams to be, that those CPU's just lose the synchronisation after waking up from cpu-throttling? |
Yes. |
Even after a sync the difference increases slightly over time (~5µs/sec) so I guess the first core 'sleeps' a bit longer. |
pprof.TestTraceStressStartStop
is unreliable and causes many builds to be marked as failing.--- FAIL: TestTraceStressStartStop (0.03s)
trace_test.go:363: failed to parse trace: g 5 is not waiting during syscall exit (offset 357, time 0)
FAIL
FAIL runtime/pprof 8.453s
The text was updated successfully, but these errors were encountered: