Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 02962_system_sync_replica_lightweight_from_modifier.sh #61110

Merged
merged 2 commits into from Mar 21, 2024

Conversation

tavplubix
Copy link
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

https://s3.amazonaws.com/clickhouse-test-reports/60340/72a4533c4ed4ac05d9ddd7b71a7348184080be6a/stateless_tests__msan__[1_6].html

2024-03-05 16:27:14 sync failed, queue:	default	test_table_10	10	0	queue-0000000133	MUTATE_PART	2024-03-05 13:21:54	0	10	all_68_68_0_76	['all_68_68_0_74']	0	0	516	Code: 999. Coordination::Exception: Transaction failed: Op #4, path: /clickhouse/tables/02962_system_sync_replica_lightweight_from_modifier_default/test_table/replicas/4/parts/all_68_68_0_76. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000404b9189\n1. ./build_docker/./src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000001f62d9b3\n2. DB::Exception::Exception<unsigned long&>(int, FormatStringHelperImpl<std::type_identity<unsigned long&>::type>, unsigned long&) @ 0x0000000008105c98\n3. ./src/Common/ZooKeeper/IKeeper.h:490: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, unsigned long, std::vector<std::shared_ptr<Coordination::Request>, std::allocator<std::shared_ptr<Coordination::Request>>> const&, std::vector<std::shared_ptr<Coordination::Response>, std::allocator<std::shared_ptr<Coordination::Response>>> const&) @ 0x000000003dbca085\n4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:1429: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, std::vector<std::shared_ptr<Coordination::Request>, std::allocator<std::shared_ptr<Coordination::Request>>> const&, std::vector<std::shared_ptr<Coordination::Response>, std::allocator<std::shared_ptr<Coordination::Response>>> const&) @ 0x000000003dbcac95\n5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1868: DB::StorageReplicatedMergeTree::checkPartChecksumsAndCommit(DB::MergeTreeData::Transaction&, std::shared_ptr<DB::IMergeTreeDataPart> const&, std::optional<DB::HardlinkedFiles>, bool) @ 0x0000000039d5484b\n6. ./contrib/llvm-project/libcxx/include/vector:434: DB::MutateFromLogEntryTask::finalize(std::function<void (DB::ExecutionStatus const&)>) @ 0x000000003b489b3b\n7. ./contrib/llvm-project/libcxx/include/__functional/function.h:818: ? @ 0x000000003b62d561\n8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003b629f72\n9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:294: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::routine(std::shared_ptr<DB::TaskRuntimeData>) @ 0x000000003ac6b80b\n10. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::threadFunction() @ 0x000000003ac6e00e\n11. ./contrib/llvm-project/libcxx/include/__functional/function.h:717: ? @ 0x000000003ac7511f\n12. ./base/base/../base/wide_integer_impl.h:810: ThreadPoolImpl<ThreadFromGlobalPoolImpl<false>>::worker(std::__list_iterator<ThreadFromGlobalPoolImpl<false>, void*>) @ 0x000000001f88384f\n13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl<false>::ThreadFromGlobalPoolImpl<void ThreadPoolImpl<ThreadFromGlobalPoolImpl<false>>::scheduleImpl<void>(std::function<void ()>, Priority, std::optional<unsigned long>, bool)::\'lambda0\'()>(void&&)::\'lambda\'()::operator()() @ 0x000000001f88e2b3\n14. ./contrib/llvm-project/libcxx/include/__functional/function.h:717: ? @ 0x000000001f88e15f\n15. ./base/base/../base/wide_integer_impl.h:810: ThreadPoolImpl<std::thread>::worker(std::__list_iterator<std::thread, void*>) @ 0x000000001f87b8cb\n16. ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void ThreadPoolImpl<std::thread>::scheduleImpl<void>(std::function<void ()>, Priority, std::optional<unsigned long>, bool)::\'lambda0\'()>>(void*) @ 0x000000001f8882ab\n17. ? @ 0x00007f0be2529ac3\n18. ? @ 0x00007f0be25baa04\n (version 24.3.1.1)	2024-03-05 13:21:54	2024-03-05 13:27:09	0		1969-12-31 16:00:00	
...

674341:2024.03.05 16:27:12.123560 [ 1397 ] {} <Trace> 43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76 (MutateFromLogEntryTask): Executing log entry to mutate part all_68_68_0_74 to all_68_68_0_76
674343:2024.03.05 16:27:12.124064 [ 1397 ] {} <Trace> 43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76 (MutateFromLogEntryTask): Mutating part all_68_68_0_76 with mutation commands from 0 mutations (): 
674345:2024.03.05 16:27:12.127623 [ 1405 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Trace> MutateTask: Part all_68_68_0_74 doesn't change up to mutation version 76
674346:2024.03.05 16:27:12.128007 [ 1405 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Trace> DiskLocal: Reserved 1.00 B on local disk `default`, having unreserved 94.34 GiB.
674347:2024.03.05 16:27:12.129567 [ 1405 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Debug> test_mt44ah2m.test_table_9 (43a41ddd-0b99-456a-99c9-4f0a65619402): Clone part /var/lib/clickhouse/store/43a/43a41ddd-0b99-456a-99c9-4f0a65619402/all_68_68_0_74/ to /var/lib/clickhouse/store/43a/43a41ddd-0b99-456a-99c9-4f0a65619402/tmp_clone_all_68_68_0_76
674348:2024.03.05 16:27:12.137174 [ 1405 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Trace> test_mt44ah2m.test_table_9 (43a41ddd-0b99-456a-99c9-4f0a65619402): Renaming temporary part tmp_clone_all_68_68_0_76 to all_68_68_0_76 with tid (1, 1, 00000000-0000-0000-0000-000000000000).
674349:2024.03.05 16:27:12.137741 [ 1405 ] {} <Information> 43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76 (MutateFromLogEntryTask): Code: 384. DB::Exception: Part all_68_68_0_76 (state Outdated) already exists, but it will be deleted soon. (PART_IS_TEMPORARILY_LOCKED)
674414:2024.03.05 16:27:12.774081 [ 1397 ] {} <Trace> 43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76 (MutateFromLogEntryTask): Executing log entry to mutate part all_68_68_0_74 to all_68_68_0_76
674416:2024.03.05 16:27:12.774685 [ 1397 ] {} <Trace> 43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76 (MutateFromLogEntryTask): Mutating part all_68_68_0_76 with mutation commands from 0 mutations (): 
674418:2024.03.05 16:27:12.778758 [ 1409 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Trace> MutateTask: Part all_68_68_0_74 doesn't change up to mutation version 76
674419:2024.03.05 16:27:12.779153 [ 1409 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Trace> DiskLocal: Reserved 1.00 B on local disk `default`, having unreserved 94.34 GiB.
674420:2024.03.05 16:27:12.780774 [ 1409 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Debug> test_mt44ah2m.test_table_9 (43a41ddd-0b99-456a-99c9-4f0a65619402): Clone part /var/lib/clickhouse/store/43a/43a41ddd-0b99-456a-99c9-4f0a65619402/all_68_68_0_74/ to /var/lib/clickhouse/store/43a/43a41ddd-0b99-456a-99c9-4f0a65619402/tmp_clone_all_68_68_0_76
674421:2024.03.05 16:27:12.788667 [ 1409 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Trace> test_mt44ah2m.test_table_9 (43a41ddd-0b99-456a-99c9-4f0a65619402): Renaming temporary part tmp_clone_all_68_68_0_76 to all_68_68_0_76 with tid (1, 1, 00000000-0000-0000-0000-000000000000).
674422:2024.03.05 16:27:12.789252 [ 1409 ] {} <Information> 43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76 (MutateFromLogEntryTask): Code: 384. DB::Exception: Part all_68_68_0_76 (state Outdated) already exists, but it will be deleted soon. (PART_IS_TEMPORARILY_LOCKED)
674632:2024.03.05 16:27:13.467472 [ 1404 ] {} <Trace> 43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76 (MutateFromLogEntryTask): Executing log entry to mutate part all_68_68_0_74 to all_68_68_0_76
674634:2024.03.05 16:27:13.467991 [ 1404 ] {} <Trace> 43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76 (MutateFromLogEntryTask): Mutating part all_68_68_0_76 with mutation commands from 0 mutations (): 
674636:2024.03.05 16:27:13.471302 [ 1404 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Trace> MutateTask: Part all_68_68_0_74 doesn't change up to mutation version 76
674637:2024.03.05 16:27:13.471635 [ 1404 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Trace> DiskLocal: Reserved 1.00 B on local disk `default`, having unreserved 94.35 GiB.
674638:2024.03.05 16:27:13.473092 [ 1404 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Debug> test_mt44ah2m.test_table_9 (43a41ddd-0b99-456a-99c9-4f0a65619402): Clone part /var/lib/clickhouse/store/43a/43a41ddd-0b99-456a-99c9-4f0a65619402/all_68_68_0_74/ to /var/lib/clickhouse/store/43a/43a41ddd-0b99-456a-99c9-4f0a65619402/tmp_clone_all_68_68_0_76
674639:2024.03.05 16:27:13.479987 [ 1404 ] {43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76} <Trace> test_mt44ah2m.test_table_9 (43a41ddd-0b99-456a-99c9-4f0a65619402): Renaming temporary part tmp_clone_all_68_68_0_76 to all_68_68_0_76 with tid (1, 1, 00000000-0000-0000-0000-000000000000).
674640:2024.03.05 16:27:13.480529 [ 1404 ] {} <Information> 43a41ddd-0b99-456a-99c9-4f0a65619402::all_68_68_0_76 (MutateFromLogEntryTask): Code: 384. DB::Exception: Part all_68_68_0_76 (state Outdated) already exists, but it will be deleted soon. (PART_IS_TEMPORARILY_LOCKED)

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 8, 2024
@robot-clickhouse-ci-2
Copy link
Contributor

robot-clickhouse-ci-2 commented Mar 8, 2024

This is an automated comment for commit e612e7e 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
A SyncThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
AST fuzzerRuns randomly generated queries to catch program errors. The build type is optionally given in parenthesis. If it fails, ask a maintainer for help✅ success
ClickBenchRuns [ClickBench](https://github.com/ClickHouse/ClickBench/) with instant-attach table✅ success
ClickHouse build checkBuilds ClickHouse in various configurations for use in further steps. You have to fix the builds that fail. Build logs often has enough information to fix the error, but you might have to reproduce the failure locally. The cmake options can be found in the build log, grepping for cmake. Use these options and follow the general build process✅ success
Compatibility checkChecks that clickhouse binary runs on distributions with old libc versions. If it fails, ask a maintainer for help✅ success
Docker keeper imageThe check to build and optionally push the mentioned image to docker hub✅ success
Docker server imageThe check to build and optionally push the mentioned image to docker hub✅ 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. Integrational 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
Install packagesChecks that the built packages are installable in a clear environment✅ success
PR CheckThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Performance ComparisonMeasure changes in query performance. The performance test report is described in detail here. In square brackets are the optional part/total tests✅ success
Stateful testsRuns stateful functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc✅ success
Stress testRuns stateless functional tests concurrently from several clients to detect concurrency-related errors✅ 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
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
Check nameDescriptionStatus
CI runningA meta-check that indicates the running CI. Normally, it's in success or pending state. The failed status indicates some problems with the PR⏳ pending
Integration testsThe integration tests report. In parenthesis the package type is given, and in square brackets are the optional part/total tests❌ failure
Mergeable CheckChecks if all other necessary checks are successful❌ failure
Stateless testsRuns stateless functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc❌ failure
Unit testsRuns the unit tests for different release types❌ error

@alexey-milovidov alexey-milovidov self-assigned this Mar 10, 2024
@alexey-milovidov
Copy link
Member

#61309

@tavplubix tavplubix merged commit 9a389d7 into master Mar 21, 2024
215 of 224 checks passed
@tavplubix tavplubix deleted the tavplubix-patch-10 branch March 21, 2024 14:32
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Mar 21, 2024
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.

None yet

4 participants