Skip to content

Conversation

williamchoe3
Copy link
Contributor

@williamchoe3 williamchoe3 commented Oct 1, 2025

Original PR: #153269

Note: Due to a non backported change that affected how plans are generated, this commit differs slightly from the commit to master, most notably the datadriven tests' expected output files have diverged because the expected plans are different.


roachtest/mixedversion: sync workload binary versions with the cluster version

The current workload binary is no longer backwards compatible for certain
workloads. Previously, the workload binary would just use whatever default
binary was staged on the workload node. Currently, there's a quick fix that
installs the current system version's binary on the workload node when a
workload cmd is being executed.

This change bakes that behavior into the test framework itself, so we can remove
the binary staging from the Workload hook. Workload nodes are staged with all
versioned binaries in the upgrade plan so all workload commands can use a
versioned binary that matches the current state of the cluster.

Resolves #147374

Epic: None
Release note: None


Release justification: mixedversion test changes so tests that use non backwards compatible workloads i.e. bank don't fail on workload commands

Copy link

blathers-crl bot commented Oct 1, 2025

Thanks for opening a backport.

Before merging, please confirm that the change does not break backwards compatibility and otherwise complies with the backport policy. Include a brief release justification in the PR description explaining why the backport is appropriate. All backports must be reviewed by the TL for the owning area. While the stricter LTS policy does not yet apply, please exercise judgment and consider gating non-critical changes behind a disabled-by-default feature flag when appropriate.

@blathers-crl blathers-crl bot added backport Label PR's that are backports to older release branches T-testeng TestEng Team labels Oct 1, 2025
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@williamchoe3 williamchoe3 marked this pull request as ready for review October 1, 2025 22:22
@williamchoe3 williamchoe3 requested review from a team as code owners October 1, 2025 22:22
@williamchoe3 williamchoe3 requested review from srosenberg and DarrylWong and removed request for a team October 1, 2025 22:22
@williamchoe3 williamchoe3 changed the title roachtest/mixedversion: sync workload binary versions with the cluste… release-25.4: roachtest/mixedversion: sync workload binary versions with the cluste… Oct 1, 2025
…r version

The current workload binary is no longer backwards compatible for certain
workloads. Previously, the workload binary would just use whatever default
binary was staged on the workload node. Currently, there's a quick fix that
installs the current system version's binary on the workload node when a
workload cmd is being executed.

This change bakes that behavior into the test framework itself, so we can remove
the binary staging from the Workload hook. Workload nodes are staged with all
versioned binaries in the upgrade plan so all workload commands can use a
versioned binary that matches the current state of the cluster.

Note: This commit diverges slightly from the original due to merge
conflicts. See PR for more details.

Resolves cockroachdb#147374

Epic: None
Release note: None
@williamchoe3 williamchoe3 merged commit df939a7 into cockroachdb:release-25.4 Oct 2, 2025
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Label PR's that are backports to older release branches T-testeng TestEng Team target-release-25.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants