Skip to content

Trigger macOS smoke test CI - #106340

Closed
leshikus wants to merge 21 commits into
ClickHouse:masterfrom
leshikus:smoke-test-ci-trigger
Closed

leshikus wants to merge 21 commits into
ClickHouse:masterfrom
leshikus:smoke-test-ci-trigger

Conversation

@leshikus

@leshikus leshikus commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Touch ci/jobs/smoke_test.py to trigger the macOS smoke test job in CI and verify it runs.

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

@leshikus leshikus added the can be tested Allows running workflows for external contributors label Jun 2, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [ba3e142]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Jun 2, 2026
Comment thread ci/jobs/smoke_test.py Resolved
leshikus added 5 commits June 10, 2026 17:17
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
leshikus force-pushed the smoke-test-ci-trigger branch from b121002 to 4c0c9a2 Compare June 11, 2026 09:39
leshikus added 5 commits June 11, 2026 14:34
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.
@leshikus leshikus removed the ci-macos label Jun 12, 2026
@leshikus

Copy link
Copy Markdown
Collaborator Author

Close for now

@leshikus leshikus closed this Jun 12, 2026
@leshikus leshikus reopened this Jun 17, 2026
leshikus added 3 commits June 18, 2026 00:28
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.
leshikus added 6 commits June 19, 2026 00:07
# 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
…st-ci-trigger

# Conflicts:
#	.github/workflows/pull_request.yml
#	ci/defs/darwin.skip
#	ci/workflows/pull_request.py
leshikus added 2 commits June 23, 2026 12:24
…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.
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.
@leshikus

Copy link
Copy Markdown
Collaborator Author

closed for now

@leshikus leshikus closed this Jun 30, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant