-
Notifications
You must be signed in to change notification settings - Fork 3.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
roachtest: fix benchmark failing tests #135633
Conversation
f121edf
to
da21b79
Compare
This change intends to fix 3 failures detected in benchmark runs after cockroachdb#133035 1. admission-control/elastic-io due to one wrong flag. 2. tpcc/headroom/n4cpu16 due to wrong passing of labels in case of openmetrics, removed suite label since it is not required. 3. tpccbench/* erroring out with nil pointer error in case of openmetrics, reverted the changes in this PR. Will fix in a different PR. Epic: none Fixes: cockroachdb#135393
da21b79
to
d7ff3ad
Compare
@@ -413,7 +413,6 @@ func GetOpenmetricsLabelMap( | |||
defaultMap := map[string]string{ | |||
"cloud": c.Cloud().String(), | |||
"owner": string(t.Spec().(*registry.TestSpec).Owner), | |||
"suite": t.Spec().(*registry.TestSpec).Suites.String(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you say more about this change? It's not immediately clear why it's needed by this hotfix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tpcc/headroom/n4cpu16
started failing due to the following error.
./cockroach workload run tpcc {pgurl:1-3} --duration 2h0m0s --histogram-export-format openmetrics --histograms perf/stats.om --openmetrics-labels cloud="gce",database="",duration="2h0m0s",owner="test-eng",ramp="5m0s",subtest_1="headroom",subtest_2="n4cpu16",suite="nightly,release_qualification",test="tpcc",test_run_id="teamcity-17804790",warehouses="875" --pprofport 33333 --prometheus-port 2112 --ramp 5m0s --warehouses 875
| | ```
| | stdout: <empty>
| | stderr:I241118 01:55:30.585513 1 workload/cli/run.go:665 [-] 1 random seed: 3344266357670910272
| | Error: error creating metrics exporter: invalid histogram label "release_qualification"
turns out, suites can be multiple values and this caused problems of a label with multiple values. Also, suites
is not a necessary label so removed it in this change.
TFTR! bors r=@srosenberg |
This change intends to fix 3 failures detected in benchmark runs after #133035
admission-control/elastic-io
due to one wrong flag.tpcc/headroom/n4cpu16
due to wrong passing of labels in case of openmetrics, removed suite label since it is not required.tpccbench/*
erroring out with nil pointer error in case of openmetrics, reverted the changes in this PR. Will fix in a different PR.Epic: none
Fixes: #135393