New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 674708 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug


Participants' hotlists:
speed-ops-backlog


Sign in to add a comment

buildbot step name is not equal to test suite ran

Project Member Reported by martiniss@chromium.org, Dec 15 2016

Issue description

For example, see https://luci-milo.appspot.com/buildbot/chromium.perf/Win%208%20Perf/52

There are suffixes added to steps for readability reasons. However, this breaks the assumption that the step name is equal to the test suite which was executed.

We have hacked around this in our sheriffing tooling, usually by removing everything but the first word in a step name. We really should put this data into a more structured form.

Related google docs (Google internal only for now):
https://docs.google.com/document/d/1T_uDXPOiEKNBJxx27AOahgL4P_WdXB5RCDFKq2-B4n4/edit
https://docs.google.com/document/d/1T_uDXPOiEKNBJxx27AOahgL4P_WdXB5RCDFKq2-B4n4/edit

This is a tracking bug for this effort.
 
I'm going to be working around the logic added by kbr@ in https://codereview.chromium.org/1527123002, which is being triggered on the perf waterfall, because they manually set the gpu dimension. CL is https://chromium-review.googlesource.com/c/419708/. 
Project Member

Comment 2 by bugdroid1@chromium.org, Dec 17 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra.git/+/6bd183c35d9b955fe999e0fbf915fb0dfeb777d2

commit 6bd183c35d9b955fe999e0fbf915fb0dfeb777d2
Author: Stephen Martinis <martiniss@chromium.org>
Date: Sat Dec 17 00:07:08 2016

AD: Analyze tests even when test results fails

Changes the analyzer logic to continue to try to analyze data
even when test results has no data. This is important to
take into account the test suite detection logic.

Also adds some special casing for chromium.perf's benchmark names.

BUG= 674708 

Change-Id: I6253bf9f6a57a97ad7ff295f982d3d84eb5f2202
Reviewed-on: https://chromium-review.googlesource.com/421048
Reviewed-by: Sean McCullough <seanmccullough@chromium.org>
Commit-Queue: Stephen Martinis <martiniss@chromium.org>

[modify] https://crrev.com/6bd183c35d9b955fe999e0fbf915fb0dfeb777d2/go/src/infra/monitoring/analyzer/analyzer.go
[modify] https://crrev.com/6bd183c35d9b955fe999e0fbf915fb0dfeb777d2/go/src/infra/monitoring/analyzer/step/test_step.go
[modify] https://crrev.com/6bd183c35d9b955fe999e0fbf915fb0dfeb777d2/go/src/infra/monitoring/analyzer/step/test_step_test.go

Project Member

Comment 3 by bugdroid1@chromium.org, Dec 18 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra.git/+/81ff0a4cbfede0c84a1d13d3d106757bf5186022

commit 81ff0a4cbfede0c84a1d13d3d106757bf5186022
Author: Henrik Kjellander <kjellander@chromium.org>
Date: Sun Dec 18 19:52:31 2016

Revert "AD: Analyze tests even when test results fails"

This reverts commit 6bd183c35d9b955fe999e0fbf915fb0dfeb777d2.

Reason for revert: Most likely made "infra go tests" flaky.
BUG= 675472 

Original change's description:
> AD: Analyze tests even when test results fails
> 
> Changes the analyzer logic to continue to try to analyze data
> even when test results has no data. This is important to
> take into account the test suite detection logic.
> 
> Also adds some special casing for chromium.perf's benchmark names.
> 
> BUG= 674708 
> 
> Change-Id: I6253bf9f6a57a97ad7ff295f982d3d84eb5f2202
> Reviewed-on: https://chromium-review.googlesource.com/421048
> Reviewed-by: Sean McCullough <seanmccullough@chromium.org>
> Commit-Queue: Stephen Martinis <martiniss@chromium.org>
> 

TBR=seanmccullough@chromium.org,martiniss@chromium.org,zhangtiff@chromium.org
BUG= 674708 
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Change-Id: Ic83ad5a150eb479f14e9a874460ecd6fe2415f5c
Reviewed-on: https://chromium-review.googlesource.com/420791
Reviewed-by: Henrik Kjellander <kjellander@chromium.org>
Commit-Queue: Henrik Kjellander <kjellander@chromium.org>

[modify] https://crrev.com/81ff0a4cbfede0c84a1d13d3d106757bf5186022/go/src/infra/monitoring/analyzer/analyzer.go
[modify] https://crrev.com/81ff0a4cbfede0c84a1d13d3d106757bf5186022/go/src/infra/monitoring/analyzer/step/test_step.go
[modify] https://crrev.com/81ff0a4cbfede0c84a1d13d3d106757bf5186022/go/src/infra/monitoring/analyzer/step/test_step_test.go

Labels: Pri-2
If this is really a Pri-1, find an owner and update the priority.

This is the result of a bulk edit that moved high priority available bugs to a lower priority in an attempt to be more honest with bug filers.
Labels: -Pri-2 Pri-1
Owner: martiniss@chromium.org
Status: Assigned (was: Available)
Stephen - is this work done?
Labels: -Pri-1 Pri-2
No, not really. I dealt with it some by hacking around it in alerts dispatcher.

We could probably make this really happen soon. Not sure how high of a priority it is though.
It would be really great to get this working! stdio links from perf dashboard don't work until this is fixed, which makes it really hard to debug when data stops coming in.
Cc: estaab@chromium.org
Owner: ----
Status: Available (was: Assigned)
This is a rather annoying problem we have yet to fix. I think there are rough plans for how to fix this, but nothing very concrete we can implement yet, AFAIK. cc-ing estaab because I feel like he was talking about this a bit? Also if there's another bug that we should use instead of this, it's fine to merge.
Did you see the naming doc I wrote up and sent out last week (go/chromium-build-naming)?
Ah yes, that does include build steps. I had forgotten. That should solve this problem then.
Cc: seanmccullough@chromium.org
What are the next steps for this? I take it someone needs to change some scripts and/or configs to conform to go/chromium-build-naming ?
I think we need to define what "this" is. As per that spec, the step name and the "test suite" are two different things:

gn_name ("-" descriptor)* "+" swarming_configuration

Obviously, the current steps don't match that format, but I'm not sure that even if we did fix that, we would address the bug, because I'm not sure what we need to do to address the bug. Would you also need to be able to extract the gn_name (i.e., GN label / ninja target) from the total step name?
We (sheriffing tooling) wouldn't necessarily have to extract it from the step name.

Other options I believe would work for us:
- Have the test step add that formatted name to the results json.
- Write that name to stdout in some easily extractable way.
- Add it as extra step metadata visible in Milo (if there's a way to do this already)
Owner: martiniss@chromium.org
Should we WontFix this, maybe? Bouncing back to martiniss@ to figure out what we're actually trying to do/fix here.
Status: WontFix (was: Available)
I'm going to mark this as WontFix becasue this is old and it doesn't seem to be super actionable. @martiniss: Please feel free to reopen/file a new bug if additional action is needed. 

Sign in to add a comment