Repository navigation
Revert "CI: add CI Tests job to PR workflow" - #103251
Conversation
|
Workflow [PR], commit [5f34837] AI ReviewSummaryThis PR reverts the previously added Findings
ClickHouse Rules
Final Verdict
|
| break | ||
| time.sleep(0.05) | ||
| procs = pgrep(pgid=pgid) | ||
| assert len(procs) == 7, "(Before kill) Expect 7 processes (two bash processes + 5 test processes)" + got_procs(procs) |
There was a problem hiding this comment.
assert len(procs) == 7 is racy and can make the test flaky.
At this point we only know that one *.stdout file has non-empty output; that does not guarantee all 5 background clickhouse-client processes are already visible in the process table. The previous version polled for up to a few seconds before asserting 7 processes.
Please restore a short polling loop (similar to the previous logic) before the assertion, so the test waits until the full process group is observed or times out deterministically.
|
Fast test passed, waiting for sync to be created |
…oup cleanup test Re-adds the `CI Tests` job after revert in ClickHouse#103251. Two root causes are fixed: - `--init` is removed from the `docker run` invocation in `runner.py`; the `tini` init process it injects conflicts with the privileged Docker-in-Docker environment used by the job. - `ci_tests_job.py` gains a `--skip` option (pytest `-k not <pattern>`) so individual tests can be excluded without modifying test files. The job config now skips `test_cleanup_kills_orphaned_test_process`, which requires process-group bookkeeping symbols (`pgrep`, `_GROUP_PID_PATH`) that are not yet present on all runners. Closes ClickHouse#103251 (revert), re-introduces ClickHouse#102529. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Reverts #102529
Version info
26.4.1.1103