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

roachtest: fix "context cancelled" errors in db-console tests #135333

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kyle-a-wong
Copy link
Contributor

@kyle-a-wong kyle-a-wong commented Nov 15, 2024

changes the context used when writing cypress artifacts to the test artifact directory. This is needed because the existing context is getting cancelled, pressumable when rtCluster.RunE(ctx... fails.

Adds -e NO_COLOR=1 to the docker run command so that the output is more humanreadable in log files

Updates the tests to use registry.StandardCockroach. By default, registry.RandomizedCockroach is used, and registry.RuntimeAssertionsCockroach is built using cockroach-short, which does not include db-console in the binary.

Resolves: #134808
Epic: none
Release note: None

@kyle-a-wong kyle-a-wong requested a review from a team as a code owner November 15, 2024 21:30
@kyle-a-wong kyle-a-wong requested review from srosenberg and DarrylWong and removed request for a team November 15, 2024 21:30
@cockroach-teamcity
Copy link
Member

This change is Reviewable

changes the context used when writing cypress artifacts to
the test artifact directory. This is needed because the
existing context is getting cancelled, pressumable when
`rtCluster.RunE(ctx...` fails.

Adds `-e NO_COLOR=1` to the docker run command so that the
output is more humanreadable in log files

Updates the tests to use `registry.StandardCockroach`. By
default, `registry.RandomizedCockroach` is used, and
`registry.RuntimeAssertionsCockroach` is built using
`cockroach-short`, which does not include db-console in
the binary.

Epic: none
Release note: None
Copy link
Collaborator

@dhartunian dhartunian left a comment

Choose a reason for hiding this comment

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

Oooh nice fix re: binary selection!

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.

roachtest: db-console/mixed-version-cypress failed
3 participants