roachtest: multitenant/distsql tests access diagnostics.active_query_dumps.enabled setting and use Span after Finish #113170
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-multitenant
Issues owned by the multi-tenant virtual team
When runtime assertions are enabled,
multitenant/distsql
roachtests fails with the assertion errorinvalid access to SystemOnly setting diagnostics.active_query_dumps.enabled from a virtual cluster
. See #110676 for why this is an issue.The test also fails with
use of Span after Finish. Span: server start. Finish previously called at: <stack not captured. Set debugUseAfterFinish>
. These failures should be investigated and fixed.To reproduce this, runtime assertions must be enabled. This can be done by replacing
t.StandardCockroach()
witht.RuntimeAssertionsCockroach()
inmultitenant_distsql.go
.https://github.com/cockroachdb/cockroach/blob/1d6e2db725167afd308dc96c2d57e4bd27246064/pkg/cmd/roachtest/tests/multitenant_distsql.go#L65
Then run any of the
multitenant/distsql
roachtests. The test should always fail with the following errors:In my testing, disabling either runtime assertion still caused the other to appear, so I believe they are unrelated bugs, but my understanding here is limited so I wouldn't rule it out.
Jira issue: CRDB-32786
The text was updated successfully, but these errors were encountered: