Skip to content
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

roachprod-microbench: influx fails on missing benchmark #138902

Merged

Conversation

herkolategan
Copy link
Collaborator

Previously, the push to influx operation did not handle the case where it could not compute a summary between two runs due to a missing or renamed benchmark. This change adds a check to skip over the benchmark if no summaries are found.

Epic: None
Release note: None

@herkolategan herkolategan requested a review from a team as a code owner January 13, 2025 10:31
@herkolategan herkolategan requested review from golgeek and DarrylWong and removed request for a team January 13, 2025 10:31
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@@ -466,6 +466,9 @@ func (c *compare) pushToInfluxDB() error {
}

for idx, benchmarkName := range cs.Benchmarks {
if len(cs.Summaries) == 0 {
continue
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that it's an exceptional case, should a warning be logged, to facilitate debugging?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, I'll add logging before merging.

Previously, the push to influx operation did not handle the case where it could
not compute a summary between two runs due to a missing or renamed benchmark.
This change adds a check to skip over the benchmark if no summaries are found.

Epic: None
Release note: None
@herkolategan herkolategan force-pushed the hbl/roachprod-microbench-influx-fix branch from ea92e22 to 752e9d6 Compare January 20, 2025 12:05
@herkolategan
Copy link
Collaborator Author

TFTRs!

bors r+

craig bot pushed a commit that referenced this pull request Jan 20, 2025
138902: roachprod-microbench: influx fails on missing benchmark r=herkolategan a=herkolategan

Previously, the push to influx operation did not handle the case where it could not compute a summary between two runs due to a missing or renamed benchmark. This change adds a check to skip over the benchmark if no summaries are found.

Epic: None
Release note: None

Co-authored-by: Herko Lategan <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jan 20, 2025

Build failed:

@herkolategan
Copy link
Collaborator Author

bors retry

@craig craig bot merged commit 38b28bf into cockroachdb:master Jan 21, 2025
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants