On Fri, Aug 11, 2017 at 2:32 PM, Sarah Adams <
sha...@google.com> wrote:
> Sorry I'm not more help, this is a little over my head.
>
> +light +jess - any chance you've got a spare mo' to help debug this?
I took a look at a sample trybot failure at
https://storage.googleapis.com/go-build-log/ab3bfefd/linux-amd64-race_200d4737.log
Many of the runtime tests work by building a test program and running
it. In this case the test TestCgoPprofThreadNoTraceback is waiting
for the `go build` command to complete. A lock is used to build only
one test program at a time, and many tests are sleeping on that lock.
A few other tests are completed, and are waiting sending on a channel
to report their completion.
The stack trace of the goroutine waiting for `go build` to complete is
goroutine 22714 [syscall]:
syscall.Syscall6(0xf7, 0x1, 0x531, 0xc420e6d7d8, 0x1000004, 0x0, 0x0,
0x0, 0x0, 0xc42001a640)
/tmp/workdir/go/src/syscall/asm_linux_amd64.s:44 +0x5
fp=0xc420e6d780 sp=0xc420e6d778 pc=0x4bf955
os.(*Process).blockUntilWaitable(0xc420ed4000, 0x0, 0x0, 0x5)
/tmp/workdir/go/src/os/wait_waitid.go:31 +0xcd fp=0xc420e6d898
sp=0xc420e6d780 pc=0x4efcdd
os.(*Process).wait(0xc420ed4000, 0xc4211f8120, 0xc420ed4000, 0xc420012240)
/tmp/workdir/go/src/os/exec_unix.go:22 +0x72 fp=0xc420e6d938
sp=0xc420e6d898 pc=0x4e8072
os.(*Process).Wait(0xc420ed4000, 0xc42033d9d0, 0xc4211f80b0, 0x4394db)
/tmp/workdir/go/src/os/exec.go:115 +0x39 fp=0xc420e6d980
sp=0xc420e6d938 pc=0x4e6f39
os/exec.(*Cmd).Wait(0xc4211f8000, 0x0, 0x0)
/tmp/workdir/go/src/os/exec/exec.go:446 +0xf6 fp=0xc420e6da30
sp=0xc420e6d980 pc=0x5ec066
os/exec.(*Cmd).Run(0xc4211f8000, 0x68, 0x16)
/tmp/workdir/go/src/os/exec/exec.go:289 +0x87 fp=0xc420e6da78
sp=0xc420e6da30 pc=0x5eae57
os/exec.(*Cmd).CombinedOutput(0xc4211f8000, 0xc4211f8000, 0x9,
0x83cd8d, 0xb, 0xc42001a520)
/tmp/workdir/go/src/os/exec/exec.go:506 +0x2be fp=0xc420e6daf0
sp=0xc420e6da78 pc=0x5ecd8e
runtime_test.buildTestProg(0xc4201444b0, 0x83cd8d, 0xb, 0xc420e46020,
0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/runtime/crash_test.go:142 +0x526
fp=0xc420e6dd00 sp=0xc420e6daf0 pc=0x72c026
runtime_test.testCgoPprof(0xc4201444b0, 0x0, 0x0, 0x843a9c, 0x19)
/tmp/workdir/go/src/runtime/crash_cgo_test.go:281 +0xf8
fp=0xc420e6df40 sp=0xc420e6dd00 pc=0x728518
runtime_test.TestCgoPprofThreadNoTraceback(0xc4201444b0)
/tmp/workdir/go/src/runtime/crash_cgo_test.go:341 +0x60
fp=0xc420e6df78 sp=0xc420e6df40 pc=0x729770
testing.tRunner(0xc4201444b0, 0x84f6a8)
/tmp/workdir/go/src/testing/testing.go:749 +0x16d fp=0xc420e6dfd0
sp=0xc420e6df78 pc=0x5612fd
runtime.goexit()
/tmp/workdir/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc420e6dfd8
sp=0xc420e6dfd0 pc=0x48dcd1
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:792 +0x569
Unfortunately this doesn't tell me much. It appears that the `go
build` is taking too long, but I don't know why.
Ian
> On Fri, Aug 11, 2017 at 2:10 PM, Sarah Adams <
sha...@google.com> wrote:
>>
>> yea these look like the same failures.
>>
>> looks like this is the failing tests for the first:
>> runtime/crash_cgo_test.go#L333
>> TestCgoPprofPIE
>>
>> this for the second two:
>> runtime/crash_test.go#L413
>> TestNetpollDeadlock
>>
>> both tests shell out to another program.
>>
>> On Fri, Aug 11, 2017 at 1:50 PM, Austin Clements <
aus...@google.com>
>> wrote:
>>>
>>> On Fri, Aug 11, 2017 at 12:19 PM, Sarah Adams <
sha...@google.com> wrote:
>>>>
>>>> I did nothing. So it must of cleared up on its own.
>>>> We should probably figure out if it was a G{CE,KE} issue though. I'll
>>>> look into this today.
>>>
>>>
>>> I think this may be back, based on various trybot failures that just
>>> happened:
>>>
>>>
>>>
https://go-review.googlesource.com/c/45511#message-1138454e5080610c8e6d59a8a9b0a9522e66f034
>>>
>>>
https://go-review.googlesource.com/c/55050#message-4926134c551d383b5692c15b6ace101babbeab7a
>>>
>>>
https://go-review.googlesource.com/c/55032#message-30bc91fbc63fb2432407041270ceaf21c2e662b6
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Go Language Open Source Build System" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
go-builders...@google.com.
> To post to this group, send email to
go-bu...@google.com.
> To view this discussion on the web visit
>
https://groups.google.com/a/google.com/d/msgid/go-builders/CAOFTY0b1yy54YbOYpfvepJyTjggTWvGUbttyGg_pFhYOFDHPwQ%40mail.gmail.com.