Skip to content

Limit tests even more - #75040

Merged
alexey-milovidov merged 40 commits into
masterfrom
limit-tests-more
Apr 16, 2025
Merged

alexey-milovidov merged 40 commits into
masterfrom
limit-tests-more

Conversation

@alexey-milovidov

Copy link
Copy Markdown
Member

Changelog category (leave one):

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

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

CI Settings (Only check the boxes if you know what you are doing)

All builds in Builds_1 and Builds_2 stages are always mandatory and will run independently of the checks below:

  • Only: Stateless tests
  • Only: Integration tests
  • Only: Performance tests

  • Skip: Style check
  • Skip: Fast test

  • Run all checks ignoring all possible failures (Resource-intensive. All test jobs execute in parallel).
  • Disable CI cache

@robot-clickhouse

robot-clickhouse commented Jan 27, 2025 •

Copy link
Copy Markdown
Member

This is an automated comment for commit 078eff8 with description of existing statuses. It's updated for the latest CI running

❌ Click here to open a full report in a separate page

Check nameDescriptionStatus
Stateless testsRuns stateless functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc❌ failure
Successful checks
Check nameDescriptionStatus
BuildsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Docs checkBuilds and tests the documentation✅ success
Fast testNormally this is the first check that is ran for a PR. It builds ClickHouse and runs most of stateless functional tests, omitting some. If it fails, further checks are not started until it is fixed. Look at the report to see which tests fail, then reproduce the failure locally as described here✅ success
Flaky testsChecks if new added or modified tests are flaky by running them repeatedly, in parallel, with more randomization. Functional tests are run 100 times with address sanitizer, and additional randomization of thread scheduling. Integration tests are run up to 10 times. If at least once a new test has failed, or was too long, this check will be red. We don't allow flaky tests, read the doc✅ success
Style checkRuns a set of checks to keep the code style clean. If some of tests failed, see the related log from the report✅ success
Unit testsRuns the unit tests for different release types✅ success

@thevar1able thevar1able self-assigned this Jan 27, 2025
@clickhouse-gh

clickhouse-gh Bot commented Feb 8, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [9d2563d]

@alexey-milovidov alexey-milovidov added the 🚀 Fast CI 🥒 A fast database deserves a fast CI label Feb 8, 2025
@clickhouse-gh

clickhouse-gh Bot commented Mar 25, 2025

Copy link
Copy Markdown
Contributor

Dear @thevar1able, this PR hasn't been updated for a while. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself.

@alexey-milovidov
alexey-milovidov merged commit 361a225 into master Apr 16, 2025
@alexey-milovidov
alexey-milovidov deleted the limit-tests-more branch April 16, 2025 00:26
@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Apr 16, 2025
Comment thread tests/config/install.sh
Comment on lines +144 to +146
if [[ $(is_fast_build) == 1 ]]; then
ln -sf $SRC_PATH/users.d/limits_fast.yaml $DEST_SERVER_PATH/users.d/
fi

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was never worked, due to set -e and subshell here

[2026-02-23 23:37:47] ++ is_fast_build
[2026-02-23 23:37:47] +++ clickhouse local --query 'SELECT value NOT LIKE '\''%-fsanitize=%'\'' AND value LIKE '\''%-DNDEBUG%'\'' FROM system.build_options WHERE name = '\''CXX_FLAGS'\'''
[2026-02-23 23:37:48] ++ return 1
[2026-02-23 23:37:48] + [[ '' == 1 ]]

And if we properly enable it, it fails - https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=97742&sha=9df8e1b684aef4ce6085425268a12e862c86957a&name_0=PR&name_1=Stateless%20tests%20%28amd_binary%2C%20ParallelReplicas%2C%20s3%20storage%2C%20parallel%29

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@azat azat mentioned this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚀 Fast CI 🥒 A fast database deserves a fast CI pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants