cockroach
cockroach copied to clipboard
roachtest: global monitor expects specific process deaths
This change refactors the global test monitor to expect specific process deaths rather than a number of any process deaths. This change is to support the failure injection framework (https://github.com/cockroachdb/cockroach/issues/138958) as well as failure injection in mixed version (https://github.com/cockroachdb/cockroach/issues/148084). In the future, we will want to be able to tell the state of the cluster/nodes from the monitor.
This change also refactors the mixed version tests to use the global monitor, as well as deprecates the old cluster monitor. See individual commits for details.
Informs: https://github.com/cockroachdb/cockroach/issues/118214 Release note: none
Smoke test of mixed version tests: https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_RoachtestNightlyGceBazel/19957442?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildChangesSection=true
TFTRs!
bors r=herkolategan,srosenberg