Skip to content

CI: Performance tests with praktika - #72422

Merged
maxknv merged 12 commits into
masterfrom
ci_perf_praktika
Dec 18, 2024
Merged

maxknv merged 12 commits into
masterfrom
ci_perf_praktika

Conversation

@maxknv

@maxknv maxknv commented Nov 25, 2024 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

...

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

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):

  • Allow: All Required Checks
  • Allow: Stateless tests
  • Allow: Stateful tests
  • Allow: Integration Tests
  • Allow: Performance tests
  • Allow: All Builds
  • Allow: batch 1, 2 for multi-batch jobs
  • Allow: batch 3, 4, 5, 6 for multi-batch jobs

  • Exclude: Style check
  • Exclude: Fast test
  • Exclude: All with ASAN
  • Exclude: All with TSAN, MSAN, UBSAN, Coverage
  • Exclude: All with aarch64, release, debug

  • Run only fuzzers related jobs (libFuzzer fuzzers, AST fuzzers, etc.)
  • Exclude: AST fuzzers

  • Do not test
  • Woolen Wolfdog
  • Upload binaries for special builds
  • Disable merge-commit
  • Disable CI cache

@maxknv
maxknv marked this pull request as draft November 25, 2024 18:39
@github-actions

github-actions Bot commented Nov 25, 2024 •

Copy link
Copy Markdown

Workflow [PR], commit [5174294]

@rschu1ze

Copy link
Copy Markdown
Member

@maxknv It would be great if you could make the scripts as easily as possible locally runnable. The last time I tried, I failed completely. Ideally, explain in some README the necessary steps to do so. Thanks.

@maxknv
maxknv force-pushed the ci_perf_praktika branch 6 times, most recently from ac0553d to d13b564 Compare November 27, 2024 18:16
@maxknv

maxknv commented Nov 27, 2024

Copy link
Copy Markdown
Member Author

@maxknv It would be great if you could make the scripts as easily as possible locally runnable. The last time I tried, I failed completely. Ideally, explain in some README the necessary steps to do so. Thanks.

Thanks for letting me know this is needed!
I don't have an option to fail =)

@maxknv maxknv changed the title CI: Performance tests with praktika [WIP] CI: Performance tests with praktika Nov 27, 2024
@maxknv
maxknv force-pushed the ci_perf_praktika branch 6 times, most recently from b4cc19a to 09ee105 Compare December 4, 2024 16:10
@maxknv
maxknv force-pushed the ci_perf_praktika branch 12 times, most recently from 130a4b3 to 71932ba Compare December 9, 2024 18:13
@maxknv
maxknv force-pushed the ci_perf_praktika branch 2 times, most recently from df2d5f8 to 04ba975 Compare December 13, 2024 16:51
@maxknv
maxknv force-pushed the ci_perf_praktika branch 2 times, most recently from 05cb2e5 to e6a3d48 Compare December 17, 2024 13:19
@maxknv maxknv changed the title [WIP] CI: Performance tests with praktika CI: Performance tests with praktika Dec 18, 2024
@maxknv
maxknv marked this pull request as ready for review December 18, 2024 14:30
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Dec 18, 2024
@robot-ch-test-poll

robot-ch-test-poll commented Dec 18, 2024 •

Copy link
Copy Markdown
Contributor

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

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

Successful checks
Check nameDescriptionStatus
BuildsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Compatibility checkChecks that clickhouse binary runs on distributions with old libc versions. If it fails, ask a maintainer for help✅ 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
Upgrade checkRuns stress tests on server version from last release and then tries to upgrade it to the version from the PR. It checks if the new server can successfully startup without any errors, crashes or sanitizer asserts✅ success

@maxknv
maxknv added this pull request to the merge queue Dec 18, 2024
Merged via the queue into master with commit da31a13 Dec 18, 2024
@maxknv
maxknv deleted the ci_perf_praktika branch December 18, 2024 21:09
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Dec 18, 2024
# all nodes.
numactl --show
numactl --cpunodebind=all --membind=all numactl --show
#numactl --show

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.

Why this has been commented?

"upload_results")
time upload_results ||:
;&
#"upload_results")

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.

Why this has been commented in the first place?

# # tests. The lists of changed files are prepared in entrypoint.sh because
# # it has the repository.
# test_files=($(sed "s/tests\/performance/${test_prefix//\//\\/}/" changed-test-definitions.txt))
# run_only_changed_tests=1

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.

Why this has been commented?

@azat azat mentioned this pull request Apr 1, 2025
@maxknv

maxknv commented Apr 1, 2025

Copy link
Copy Markdown
Member Author

@azat, this PR was my "reasonable effort" to decouple the build job from the perf test job and drop the multilayer structure of performance tests because it makes many things very hard to maintain in CI.

If something that we need does not work after the change it should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog 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.

7 participants