Repository navigation
Add 'Functions properties fuzzer' job - #102701
Conversation
|
Workflow [PR], commit [8936927] Summary: ❌
AI ReviewSummaryThis PR splits Findings
💡 Nits
ClickHouse Rules
Performance & Safety
Final VerdictStatus: Minimum required actions:
|
|
I guess we can increase the number of the iterations for the Functions fuzzer. Let's target 10 min to run it. |
|
Please also make the output more human-readable. It better to show this: instead of this |
| result.set_info("gtest binary run has non-zero exit code - see logs") | ||
| result.set_status(Result.Status.ERROR) | ||
| result.set_status(Result.Status.FAILED) | ||
| if binary_failed and result.is_error(): |
There was a problem hiding this comment.
binary_failed and result.is_error() also matches cases like missing unit_tests_path / failed chmod / malformed JSON, where ResultTranslator.from_gtest returns ERROR for runner/infrastructure reasons. Converting all such errors to FAILED hides infra exceptions and reduces debuggability.
Could we keep ERROR by default and only downgrade to FAILED for proven test-process exceptions (e.g. binary started but terminated by signal/sanitizer)?
| #else | ||
| int duration_seconds = 60; | ||
| #endif | ||
| int duration_seconds = 600; |
There was a problem hiding this comment.
FunctionsStress default duration to 600 seconds for all builds, while the previous sanitizer-aware defaults (10 for sanitizer builds, 60 otherwise) were explicitly tuned to avoid CI timeout/latency issues.
Because this default is used by both CI and local runs (unless callers override --duration), this can significantly increase execution time and make failures slower to surface in sanitizer lanes.
Could we keep the conservative in-test defaults and pass a longer --duration only in the dedicated fuzzer CI job config when needed?
| f"chmod +x {unit_tests_path}", | ||
| command, | ||
| ], | ||
| with_log=True, |
There was a problem hiding this comment.
from_gtest_run still exposes the with_log parameter, but this call now hard-codes with_log=True, so callers can no longer disable log-file collection.
That silently changes API behavior and forces extra disk I/O for every invocation. Could we either pass the parameter through (with_log=with_log) or remove with_log from the function signature to avoid a misleading API?
| @@ -737,10 +742,16 @@ def from_gtest_run( | |||
| If it's a job itself job.name will be taken as name by default | |||
| :param with_log: whether to log gtest output into separate file | |||
| :param command_prefix: prefix to add to gtest command | |||
There was a problem hiding this comment.
from_gtest_run now documents command_prefix, but the actual parameter is command_launcher.
That mismatch makes the API contract misleading for callers and maintainers (especially when debugging launcher behavior).
Could you update the docstring field name to command_launcher to match the function signature?
…rew/move-stress-tests-from-unittests
LLVM Coverage Report
Changed lines: 0.00% (0/29) | lost baseline coverage: 754 line(s) · Uncovered code |


Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Documentation entry for user-facing changes
Separate unit tests and unit tests with FunctionStress to different jobs.
Version info
26.5.1.33