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

GODRIVER-3096 Fixed perfomance CI break by running benchmark pkg not main #1702

Merged

Conversation

prestonvasquez
Copy link
Collaborator

@prestonvasquez prestonvasquez commented Jul 14, 2024

GODRIVER-3096

Summary

Downgrade benchmark to minimum supported version Go 1.18, add benchmark to the workspace.

Background & Motivation

The changes made in b524a7e no longer work with the performance CI test. Additionally, we should be using the minimum supported version 1.18.

@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added dependencies Pull requests that update a dependency file priority-3-low Low Priority PR for Review labels Jul 14, 2024
Copy link
Contributor

API Change Report

No changes found!

Copy link
Contributor

@timothy-kim-mongo timothy-kim-mongo left a comment

Choose a reason for hiding this comment

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

Reran failed test for 8.0 RHEL test-sharded-auth-ssl-zlib-compression which passed after rerun. LGTM!

Copy link
Contributor

@timothy-kim-mongo timothy-kim-mongo Jul 16, 2024

Choose a reason for hiding this comment

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

Compile Check Error found: [2024/07/15 19:08:02.423] ../../../../../../pkg/mod/github.com/klauspost/[email protected]/zstd/dict.go:492:32: binary.LittleEndian.AppendUint32 undefined (type binary.littleEndian has no field or method AppendUint32)
[2024/07/15 19:08:02.423] note: module requires Go 1.20

from Evergreen Patch Error.

It seems from this error that the compress package used at v1.17.8 only works for Go 1.20. I suggest to downgrade the version to github.com/klauspost/compress v1.13.6 on Line 19 of this file used in GODRIVER v1 which is compatible with Go 1.18 or a possible later version that can work with go version 1.18.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Great catch!

Copy link
Contributor

@timothy-kim-mongo timothy-kim-mongo left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@matthewdale matthewdale left a comment

Choose a reason for hiding this comment

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

Looks good! 👍

@prestonvasquez prestonvasquez merged commit 7eea3fe into mongodb:master Jul 19, 2024
24 of 33 checks passed
@prestonvasquez prestonvasquez deleted the run-benchmark-pkg-not-main branch July 19, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file priority-3-low Low Priority PR for Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants