Repository navigation
Trigger macOS smoke test CI - #106340
Closed
leshikus wants to merge 21 commits into
Closed
Trigger macOS smoke test CI#106340leshikus wants to merge 21 commits into
leshikus wants to merge 21 commits into
Conversation
Contributor
Follow-up for ClickHouse#105921. Every `Fast test (arm_darwin)` run produces a `SIGILL` ("Illegal instruction") crash report on `macOS 26`. The suspected cause is JIT: JIT-compiled expressions allocate large objects on the stack, and the smaller default stack on macOS turns this into a stack overflow that surfaces as a `SIGILL`. A similar Darwin stack-size issue was handled in ClickHouse#102645. As a reversible mitigation, disable JIT at runtime via a `users.d` profile override (`compile_expressions`, `compile_aggregate_expressions` and `compile_sort_description` set to `0`) applied only to the macOS fast test run. This keeps Linux runs and the production build untouched, so it can be reverted easily once the macOS stack issue is resolved.
…nfig file Write the macOS no-JIT users.d override from the fast test job itself rather than committing it as tests/config/users.d/no_jit.xml. A file under tests/config/users.d/ could occasionally be picked up by another test configuration; generating it inline keeps it scoped to the macOS fast test run only.
Add the 16 tests that fail in `Fast test (arm_darwin)` to `ci/defs/darwin.skip`. Fourteen are distributed / `FileLog` / transaction / `system` tests that fail outright; two (`03716_mutations_parts_in_progress_rmt_2` and `03783_part_log_mutation_ids_rmt`) time out. Extracted from the run: https://github.com/ClickHouse/ClickHouse/actions/runs/27286787681/job/80629773460?pr=106987
…tions The test passes (`stdout: ok`) but leaks `ConnectionPoolWithFailover` connect timeouts to `127.0.0.2:9000` on stderr, which `clickhouse-test` reports as `having stderror`. The macOS run masks it behind `force_success=True`, so the job stays green while logging `Having 1 errors!`. From the run: https://github.com/ClickHouse/ClickHouse/actions/runs/27329849519/job/80742955516?pr=106987
Run 10 'Fast test (arm_darwin)' jobs in parallel plus the arm_darwin build that provides their binary, and drop all other PR jobs. Each duplicate gets a unique name so its job digest differs and all copies run instead of collapsing to a single cache hit. Drop force_success=True from the Darwin fast test job config so a failing run is visible at the top level instead of being forced green. This lets us check whether disabling JIT reliably avoids the SIGILL across repeated runs. For testing the macOS fast-test lane only, not intended to be merged.
leshikus
force-pushed
the
smoke-test-ci-trigger
branch
from
June 11, 2026 09:39
b121002 to
4c0c9a2
Compare
Temporarily disable the macOS no-JIT override to check whether the SIGILL
("Illegal instruction") reappears with JIT enabled, bump the parallel
'Fast test (arm_darwin)' fan-out from 10 to 50 runs, and skip
04207_pr_additional_filters on Darwin. Not intended to be merged.
Collaborator
Author
|
Close for now |
Local triage on an arm_darwin build ran every test in ci/defs/darwin.skip three times against a freshly started server. 1454 tests passed all three runs; 1453 of them are still present in the skip list and are removed here to re-enable them (one, 02947_parallel_replicas_remote, was already gone). The remaining 528 entries keep failing: 103 shard/distributed tests need a cluster the fast-test single-server setup does not provide, plus other genuinely failing or flaky tests. This is validated at scale by the 50 parallel Fast test (arm_darwin) jobs this PR runs.
Drop the write_darwin_no_jit_config helper and its commented-out hook; the 50x stress run uses the stock master fast_test.py.
# Conflicts: # .github/workflows/pull_request.yml
Add tests that failed in the Darwin fast-test lane to the skip list. ClickHouse#106340
Skip 03716_mutations_parts_in_progress_rmt and its _2 sibling: on timeout they leave the process-global failpoints rmt_mutate_task_pause_in_prepare and rmt_merge_selecting_task_pause_when_scheduled armed (the script is set -e with no cleanup trap, so SYSTEM DISABLE FAILPOINT never runs). This parks background MutateFromLogEntryTask::prepare threads forever in FailPointInjection::notifyPauseAndWaitForResume, which fails the whole shard with 'Some queries hung' even though every individual test passes. Also skip 04061_keeper_client_watch_commands, which fails on Darwin ARM. ClickHouse#106340
# Conflicts: # ci/defs/darwin.skip
…st-ci-trigger # Conflicts: # .github/workflows/pull_request.yml # ci/defs/darwin.skip # ci/workflows/pull_request.py
…commands Both fail only on Darwin ARM fast tests. ClickHouse#106340
…per_client_no_confirmation Remove 67 skip entries introduced by this branch that do not exist in master so the change introduces no new skips relative to master, and add 02882_clickhouse_keeper_client_no_confirmation which fails on Darwin.
1 task
leshikus
added a commit
to leshikus/ClickHouse
that referenced
this pull request
Jun 24, 2026
Trim the Darwin fast-test skip list to the set of tests that actually fail on Darwin ARM, enabling the rest. Verified across 20 fast-test runs on PR ClickHouse#106340 (all green). Also skip 02882_clickhouse_keeper_client_no_confirmation, which fails on Darwin.
Collaborator
Author
|
closed for now |
zeekay
pushed a commit
to hanzoai/datastore
that referenced
this pull request
Sep 11, 2026
Trim the Darwin fast-test skip list to the set of tests that actually fail on Darwin ARM, enabling the rest. Verified across 20 fast-test runs on PR ClickHouse#106340 (all green). Also skip 02882_clickhouse_keeper_client_no_confirmation, which fails on Darwin.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Touch
ci/jobs/smoke_test.pyto trigger the macOS smoke test job in CI and verify it runs.Changelog category (leave one):