Repository navigation
Conversation
The amd_llvm_coverage stateless jobs already force a 0 exit on any test failure (is_llvm_coverage/force_ok_exit in ci/jobs/functional_tests.py), so they carry no blocking test signal. The only way one currently blocks a PR is a post-run runner hiccup, e.g. the docker daemon connection dropping during the long coverage collection phase (jemalloc profiling, system-table dumps, profdata merge), which surfaces as exit code 125 (Error waiting for container: context canceled / docker.sock broken pipe). Mark these jobs allow_failure so infra noise cannot spuriously block a PR, matching the job's already-declared non-blocking intent. Mirrors the azure functional-test jobs, which are set_allow_failure(True) for the same reason. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
cc @maxknv @leshikus — could you review? Small CI-config change: mark the |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-worker-slot-1:20260712-034000 |
|
Workflow [PR], commit [6feb075] Summary: ✅ AI ReviewSummaryThis PR tries to stop Findings❌ Blockers
Final Verdict
|
| # that infra noise cannot spuriously block a PR, matching the declared intent. | ||
| for _job in functional_tests_jobs: | ||
| if "amd_llvm_coverage" in _job.name: | ||
| _job.allow_failure = True |
There was a problem hiding this comment.
allow_failure only changes the final merge-ready accounting in ci/praktika/native_jobs.py (if not job or not job.allow_failure at lines 1075-1079), but these shards are still required inputs to llvm_coverage_job via *LLVM_ARTIFACTS_LIST (ci/defs/job_configs.py:1592-1595). The workflow parser turns each required artifact into a needs edge (ci/praktika/parser.py:229-235), and generated jobs skip whenever any dependency reports pipeline_status=failure (ci/praktika/yaml_generator.py:270-271).
That means the exit-125 case described in the PR still blocks the coverage leg: ci/praktika/runner.py:904-910 emits pipeline_status=failure for any ERROR, even when the job is advisory, so llvm_coverage is skipped/not finalized and ci/praktika/native_jobs.py:1040-1066 turns that into an ERROR again. In other words, this change does not actually achieve "do not block PRs on amd_llvm_coverage ... s3 storage infra failures" unless the dependent llvm_coverage path is made non-blocking as well.
The amd_llvm_coverage s3-storage shards were marked allow_failure, but those shards feed the LLVM Coverage aggregation job as required artifacts (*LLVM_ARTIFACTS_LIST). The workflow parser turns each required artifact into a needs edge, and a generated job skips whenever any dependency reports pipeline_status=failure. A shard ERROR (e.g. exit 125 when the docker daemon drops during coverage collection) therefore still skips the coverage job, which native_jobs.py re-materializes as ERROR and blocks the PR. allow_failure on the shards only changes the final merge accounting in native_jobs.py; it does not stop the dependency-driven skip of the aggregation leg. Mark llvm_coverage_job allow_failure as well so the whole coverage path is non-blocking, matching its advisory nature (no blocking test signal), the same way azure functional-test and bugfix-validation jobs are set non-blocking. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
Confirmed against the praktika source, the analysis is correct: the shard-level
Pushed 0645f3f: also mark |
|
I don't see the mentioned error in the provided report links. |
|
Fair enough, On "I don't see the mentioned error": these are runner-level exit-125 deaths, not a test or coverage FAIL, so they never render as red test rows in the report, they show up as a job-level ERROR after the tests pass. Example on the sibling PR #110114, CIDB (last 14d) shows this is chronic on the |
|
@maxknv @alexbakharew agreed, It classifies the runner-level death distinctly instead of disabling the gate. On a truncated, non-timeout run that exits 125 with the docker-daemon-death signature ( #109673 is MERGEABLE, approved by @ leshikus, just blocked on a maintainer merge. Merging it fixes this coverage exit-125 family (and every other lane hit by the same daemon-death truncation) without touching |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
The
amd_llvm_coveragestateless jobs already force a0exit on any test failure (is_llvm_coverage/force_ok_exitinci/jobs/functional_tests.py), so they carry no blocking test signal by design.The only way one of these jobs currently blocks a PR is a post-run runner-level hiccup, e.g. the docker daemon connection dropping during the long coverage collection phase (jemalloc profiling, system-table dumps, profdata merge), which surfaces as exit code 125:
This is chronic and cross-PR: on the
amd_llvm_coverage ... s3 storagelanes it recurs across many unrelated PRs (and master) with no individual test failures. Examples on PR #110114 head4eab62aeb81889843e437cb6ae96da7d297ca0a4(tests all passed; theLost s3 keys/ fatal-log health checks all passed; the job died only in post-run collection):Mark these jobs
allow_failureso post-run infra noise cannot spuriously block a PR, matching the job's already-declared non-blocking intent. This mirrors theazurefunctional-test jobs, which useset_allow_failure(True)for the same reason. No test signal is hidden (the tests already exit0); only the mergeable/blocking status changes.