-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
release-2.1: backport all of the acceptance -> roachtest changes #29589
release-2.1: backport all of the acceptance -> roachtest changes #29589
Conversation
Adjust how we retrieve the gossip connectivity map to fix a corner case when crdb_internal.gossip_network is empty. Fix the gossipOK check to include the last node in the cluster. The effect is that the test could have been spuriously passing when it should have failed. Fixes cockroachdb#29326 Release note: None
Move the build-info acceptance test to a new acceptance/build-info roachtest. Move the existing cli/node-status to acceptance/cli/node-status. The acceptance roachtests are all going to share the same cluster to amortize the cluster setup/teardown time. Fun fact: the acceptance/build-info roachtest is about twice as fast as the old build-info acceptance test. See cockroachdb#29151 Release note: None
Move the event-log acceptance test to an acceptance/event-log roachtest. Release note: None
Move the cluster-recovery and node-restart acceptance tests to acceptance/bank/{cluster-recovery,node-restart} roachtests. See cockroachdb#29151 Release note: None
Release note: None
Create a global context that all test contexts are derived from. When an interrupt signal is received this global context is cancelled which propagates cancellation to all of the test contexts. Release note: None
For some reason I thought the local cluster size for the legacy acceptance tests was 3. It is actually 4, so we should use 4 for the roachtest-based acceptance tests. Release note: None
Move the status-server acceptance test to a new acceptance/status-server roachtest. See cockroachdb#29151 Release note: None
Move the rapid-restart acceptance test to a new acceptance/rapid-restart roachtest. See cockroachdb#29151 Release note: None
Centralize wiping of the cluster before running acceptance tests. For tests which share a cluster, we need to wipe the old state before putting new binaries. Fixes cockroachdb#29458 Release note: None
Release note: None
Move the gossip-peerings and gossip-restart acceptance tests to new acceptance/gossip/{peerings,restart} roachtests. See cockroachdb#29151 Release note: None
Move the gossip-restart-first-node-needs-incoming acceptance test to a new acceptance/gossip/restart-node-one roachtest. See cockroachdb#29151 Fixes cockroachdb#29115 Release note: None
Release note: None
…sters Release note: None
Release note: None
Move the version-upgrade acceptance test to a new acceptance/version-upgrade roachtest. See cockroachdb#29151 Release note: None
Use a retry loop for retrieving status details right after node startup as we might be talking to the node before it is responding to the status endpoint. Release note: None
No need to run a versionStep for the base version as we manually do that before executing the version steps. Duplicating this work was failing on the second upload because we can't overwrite the executable for a running binary. Fixes cockroachdb#29542 Release note: None
Move the decommission acceptance test to a new acceptance/decommission roachtest. Fixes cockroachdb#29151 Release note: None
When deleting a go test it was possible to add a package with an empty name. This in turn would cause CI failure as the top-level cockroach package contains no Go sources. Release note: None
Move the init-mode acceptance tests to a new acceptance/cluster-init roachtest. Fixes a TODO about sending the "init" command to nodes other than node 1. This was previously a limitation due to the --join flag settings. Fixes cockroachdb#29489 Release note: None
Reduce the max idle time to speed up evacuation of node 1 for this test. Release note: None
The test was using the local binary path for running CLI commands, which works on local clusters but not on remote ones. Fixes cockroachdb#29570 Release note: None
LGTM and thanks! (don't forget: green button) |
Hmm, another CI problem with |
Hmm, |
I lied, no it isn't. It sees |
Release note: None
@benesch I added another commit here which I think fixes the |
Yep, definitely fixes the problem. |
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.
Still LGTM
Backport:
Please see individual PRs for details.
/cc @cockroachdb/release