New issue
Advanced search Search tips

Issue 751774 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: ----



Sign in to add a comment

Logdog hanging showing logs for build that exited badly.

Project Member Reported by dgarr...@chromium.org, Aug 2 2017

Issue description

Go to this build:

https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/chromiumos-sdk/builds/2424

And click "all [stdio]".

That takes you to:

https://luci-logdog.appspot.com/v/?s=chromeos%2Fbb%2Fchromiumos.tryserver%2Fchromiumos-sdk%2F2424%2F%2B%2F%2A%2A%2Fstdout&s=chromeos%2Fbb%2Fchromiumos.tryserver%2Fchromiumos-sdk%2F2424%2F%2B%2F%2A%2A%2Fstderr

Which hangs loading.

I'm assuming this is the old bug with streams not being correctly closed, but I thought there was a best effort workaround for it in place.

 

Comment 1 by d...@chromium.org, Aug 2 2017

This only happens when you are querying multiple builds. What's going on is that a stream was registered, but its logs never made it, so LogDog is blocking assuming that it is streaming. This bug has been filed before, by either you or akeshet@, and the short answer is that there isn't much that we can do. Once the build times out (~24hr) it should load again because the stream is known to be empty at that point; until then, LogDog can't tell if the stream is going to send data some day.

The best effort workaround, if you'll recall, bought a few more log lines, but isn't that much better than no workaround :(
Ah... the 24 hour timeout is reasonable, and what I was thinking of.
After we move to swarming, and don't have to deal with the way buildbot kills builds, will this go away?

Comment 4 by d...@chromium.org, Aug 2 2017

Swarming can still kill builds, unfortunately, for similar reasons, so I don't think that will change much/anything. The real "solution" is to just click the specific log stream that you care about.
Hum... the only reason I normally use "All" is to find the actual message from buildbot about why it's killing the build. This is an expensive way to find a 5 line message.

If that were in a predictable place that would also resolve this nicely.

Comment 6 by d...@chromium.org, Aug 2 2017

In both BuildBot and Swarming, that message is emitted outside of the scope of LogDog - in BuildBot, in the "stdio" link (b/c that's BuildBot's STDIO) and in Swarming, it will be in the raw task output and/or task metadata.

Comment 7 by s...@google.com, Aug 3 2017

Status: WontFix (was: Untriaged)
From discussion it seems like this is WontFix. Removing from our untriaged queue.
It's been > 24 hours, and it still hangs.

Sign in to add a comment