-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
logictest: triage remaining tests that block 3node-tenant #50083
Conversation
This makes it easier to keep track of the reason for blocking a given configuration from running. Release note: None
This code path was called directly from schema change code, resulting in errors like "relation system.zones does not exist". This commit makes the reason for the failure clearer (tenants cannot set zone configs). Release note: None (multitenancy work)
This is done by adding an associated issue number to all directives that block 3node-tenant. Release note: None (testing change)
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.
but I'm the wrong person to sign off on logictest UX considerations (the upfront Logf
s). Ask a fellow team member please.
Reviewed 1 of 1 files at r1, 1 of 1 files at r2, 20 of 20 files at r3.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @nvanbenschoten)
For reference, this is the example output:
The |
@rafiss are the links emitted here the same as our telemetry links? Is that a problem if our internal devs will also click them, or is it already pretty noisy data so we don't care? |
This up front logging is fine by me though, LGTM |
Hm, so the whole "skip list" is printed out even when running a single logic test file that doesn't skip 3node-tenant config? I think it would be mildly annoying to see it. I find myself running a sile file quite often, so if there is an easy way to reduce unrelated noise, that would be very much appreciated. However, if it's not that trivial or if we think that the skipped logic tests will be unskipped soon, I don't want to block this PR either. |
That's correct. I think it might be slightly involved to improve this beyond choosing whether or not we print it. TFTR. I'm going to merge this since there doesn't seem to be any strong opposition. Happy to change it if people start complaining. bors r=tbg,jordanlewis |
Build succeeded |
I find this "skipping" output quite annoying, for example:
I believe this logging should be off by default because most engineers don't care about the skipping, but this verbose output adds additional burden on reading the test output. I'm in favor of changing the default behavior to not print this skipping info. |
I don't think using the shortlinks here will create too much extra noise. |
Moved this logging behind a flag: #50267 |
This PR adds a way to specify an associated issue number when adding a blocklist directive and uses that to associate issues with tests that block 3node-tenant.
A small downside is that all configs from all files are parsed up front, which means that all issues are printed out upfront in the parsing stage. I'm too lazy to plumb this information down to execution time since maybe the correct fix is to not parse all file configs up front, but I think that's out of scope for this PR, so let's either decide to keep the behavior to print issue URLs or remove it if it's annoying.
Release note: None (testing change)
Closes #48798