New issue
Advanced search Search tips

Issue 741825 link

Starred by 3 users

Issue metadata

Status: Archived
Owner:
Closed: Jul 27
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug



Sign in to add a comment

chromium.win Win Builder flaky because of goma

Project Member Reported by mark@chromium.org, Jul 12 2017

Issue description

Two recent builds on https://build.chromium.org/p/chromium.win/builders/Win%20Builder have failed the compile step because goma flaked out.

https://build.chromium.org/p/chromium.win/builders/Win%20Builder/builds/41774
https://build.chromium.org/p/chromium.win/builders/Win%20Builder/builds/41776

Sample build output:

[17190/17869] CXX obj/chrome/test/browser_tests/captive_portal_browsertest.obj
FAILED: obj/chrome/test/browser_tests/captive_portal_browsertest.obj 
ninja -t msvc -e environment.x86 -- C:\b\c\goma_client/gomacc.exe "c:\b\c\win_toolchain\vs_files\f53e4598951162bad6330f7a167486c7ae5db1e5\vc\bin\amd64_x86/cl.exe" /nologo /showIncludes  @obj/chrome/test/browser_tests/captive_portal_browsertest.obj.rsp /c ../../chrome/browser/captive_portal/captive_portal_browsertest.cc /Foobj/chrome/test/browser_tests/captive_portal_browsertest.obj /Fd"obj/chrome/test/browser_tests_cc.pdb"
E0712 13:00:07.033089 15808 named_pipe_client_win.cc:45] Timed-out to create new pipe:\\.\pipe\goma.ipc
compiler proxy isn't running. Exiting.

In 41774, there were many such messages right around each other.

I believe the timeout error, but I don’t know if I believe “compiler proxy isn’t running” because some compilations succeed again after a batch of failures.

There’s a nuisance tree closure every time this happens.
 

Comment 1 by hinoka@chromium.org, Jul 12 2017

Status: Available (was: Untriaged)

Comment 2 by tikuta@chromium.org, Jul 13 2017

Owner: tikuta@chromium.org
Status: Assigned (was: Available)
Sorry for inconvenience.
Let me increase timeout for namedpipe.
Increasing the timeout will help, but it won't necessarily solve the problem and it will make things worse in the case where compiler_proxy.exe actually isn't running.

One possible solution would be an initial timeout that is the current length, then a check for the existence of compiler_proxy.exe before waiting again. Getting entirely away from timeouts would also be nice - they are a bit of a hack - but I don't know if that is practical.

Project Member

Comment 5 by bugdroid1@chromium.org, Jul 14 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/goma/client/+/50f5b57eba0928b9cb2f06a80cba067bb51d2a36

commit 50f5b57eba0928b9cb2f06a80cba067bb51d2a36
Author: Takuto Ikuta <tikuta@google.com>
Date: Fri Jul 14 02:27:56 2017

Project Member

Comment 7 by bugdroid1@chromium.org, Jul 19 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/goma/client/+/f0e5aeb27f8004406297a1d84181a23122442230

commit f0e5aeb27f8004406297a1d84181a23122442230
Author: Takuto Ikuta <tikuta@google.com>
Date: Wed Jul 19 04:49:59 2017

Comment 8 by no...@chromium.org, Jun 2 2018

Components: -Infra>Platform>Buildbot
Is this still happening?
I think goma client has mitigation of this issue but the same issue may occur when people increase -j.  Discussion thread is b/70640154.

Comment 10 by ukai@chromium.org, Jun 6 2018

it doesn't happen on builder now (as we tune -j appropriately) ?
close this, or change bug title?
I am seeing this issue locally. Is there anything I can do to get around this?
Status: Archived (was: Assigned)
We are tracking the issue in b/70640154
But currently only the way to prevent this issue is to use smaller -j.

Sign in to add a comment