Repository navigation
Closed
Labels
comp-aggregationGROUP BY / aggregation framework (hash tables, spilling, external aggregation).flaky testflaky test found by CItestingSpecial issue with list of bugs found by CI
Description
Important: This issue was automatically generated and is used by CI for matching failures. DO NOT modify the body content. DO NOT remove labels.
Test name: 03634_autopr_input_bytes_estimation
Failure reason: memory limit exceeded
CI report: Stateless tests (arm_asan_ubsan, azure, parallel)
Failing test history: cidb
Test output:
--- Failure reproducibility check ---
Failed 3 out of 3 reruns.
2026-06-10 17:47:44 Reason: return code: 241
2026-06-10 17:47:44 [fc3d73810fc4] 2026.06.10 08:47:43.850510 [ 1583727 ] {06af3d7f-4d42-4d1b-809a-837f20b0480a} <Error> executeQuery: Code: 241. DB::Exception: (total) memory limit exceeded: would use 1.36 GiB (attempt to allocate chunk of 1.10 MiB), current RSS: 53.69 GiB, maximum: 53.69 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker: While executing ConvertingAggregatedToChunksWithMergingSource. (MEMORY_LIMIT_EXCEEDED) (version 26.6.1.582) (from [::1]:53492) (comment: query_34) (query 16, line 49) (in query: SELECT 1, URL, COUNT(*) AS c FROM test.hits GROUP BY 1, URL ORDER BY c DESC LIMIT 10 FORMAT Null SETTINGS log_comment='query_34';), Stack trace (when copying this message, always include the lines below):
2026-06-10 17:47:44
2026-06-10 17:47:44 0. contrib/llvm-project/libcxx/include/__exception/exception.h:0:16: Poco::Exception::Exception(String&&, int) @ 0x0000000055e7b6a8
2026-06-10 17:47:44 1. src/Common/Exception.cpp:139:7: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002b7c4584
2026-06-10 17:47:44 2. src/Common/Exception.h:171:100: DB::Exception::Exception(String&&, int, String, bool) @ 0x000000001c546ba8
2026-06-10 17:47:44 3. src/Common/Exception.h:57:54: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000001c54562c
2026-06-10 17:47:44 4. src/Common/Exception.h:189:77: DB::Exception::Exception<char const*, char const*, String, String, String, String, String, char const*, std::basic_string_view<char, std::char_traits<char>>>(int, FormatStringHelperImpl<std::type_identity<char const*>::type, std::type_identity<char const*>::type, std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<char const*>::type, std::type_identity<std::basic_string_view<char, std::char_traits<char>>>::type>, char const*&&, char const*&&, String&&, String&&, String&&, String&&, String&&, char const*&&, std::basic_string_view<char, std::char_traits<char>>&&) @ 0x000000002b8e7ad4
2026-06-10 17:47:44 5. src/Common/MemoryTracker.cpp:451:23: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002b8e4a14
2026-06-10 17:47:44 6. src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002b8e4114
2026-06-10 17:47:44 7. src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002b8e4114
2026-06-10 17:47:44 8. src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002b8e4114
2026-06-10 17:47:44 9. src/Common/CurrentMemoryTracker.cpp:88:40: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000002b73b060
2026-06-10 17:47:44 10. src/Common/Allocator.cpp:76:18: Allocator<false, false>::alloc(unsigned long, unsigned long) @ 0x000000002b73102c
2026-06-10 17:47:44 11. src/IO/BufferWithOwnMemory.h:135:49: DB::Memory<Allocator<false, false>>::alloc(unsigned long) @ 0x000000002bab90dc
2026-06-10 17:47:44 12. src/IO/BufferWithOwnMemory.h:48:84: DB::BufferWithOwnMemory<DB::WriteBuffer>::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000002bb1f990
2026-06-10 17:47:44 13. src/Compression/CompressedWriteBuffer.cpp:81:7: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr<DB::ICompressionCodec>, unsigned long, bool, unsigned long) @ 0x000000004aad994c
2026-06-10 17:47:44 14. src/Interpreters/Aggregator.cpp:258:35: _ZZNK2DB10Aggregator29estimateSizeOfCompressedStateERNS_22AggregatedDataVariantsElENK3$_0clI13StringHashMapIPc9AllocatorILb1ELb1EEEEEDaRT_ @ 0x000000003967f7a0
2026-06-10 17:47:44 15. src/Interpreters/Aggregator.cpp:0: DB::Aggregator::estimateSizeOfCompressedState(DB::AggregatedDataVariants&, long) const @ 0x0000000039679528
2026-06-10 17:47:44 16. src/Processors/QueryPlan/Optimizations/RuntimeDataflowStatistics.cpp:177:38: DB::RuntimeDataflowStatisticsCacheUpdater::recordAggregationStateSizes(DB::AggregatedDataVariants&, long) @ 0x00000000499d2fe4
2026-06-10 17:47:44 17. src/Interpreters/Aggregator.cpp:1830:5: DB::Aggregator::mergeAndConvertOneBucketToChunk(std::vector<std::shared_ptr<DB::AggregatedDataVariants>, std::allocator<std::shared_ptr<DB::AggregatedDataVariants>>>&, DB::Arena*, bool, int, std::atomic<bool>&, std::shared_ptr<DB::RuntimeDataflowStatisticsCacheUpdater>) const @ 0x00000000396abf98
2026-06-10 17:47:44 18. src/Processors/Transforms/AggregatingTransform.cpp:256:45: DB::ConvertingAggregatedToChunksWithMergingSource::generate() @ 0x0000000048f23d00
2026-06-10 17:47:44 19. src/Processors/ISource.cpp:153:18: DB::ISource::tryGenerate() @ 0x00000000487ee264
2026-06-10 17:47:44 20. src/Processors/ISource.cpp:119:26: DB::ISource::work() @ 0x00000000487ed95c
2026-06-10 17:47:44 21. src/Processors/Executors/ExecutionThreadContext.cpp:54:28: DB::ExecutionThreadContext::executeTask() @ 0x0000000048846a3c
2026-06-10 17:47:44 22. src/Processors/Executors/PipelineExecutor.cpp:363:26: DB::PipelineExecutor::executeStepImpl(unsigned long, DB::IAcquiredSlot*, std::atomic<bool>*) @ 0x00000000488170f0
2026-06-10 17:47:44 23. src/Processors/Executors/PipelineExecutor.cpp:291:5: void std::__function::__policy_func<void ()>::__call_func[abi:fqe220101]<DB::PipelineExecutor::spawnThreads(std::shared_ptr<DB::IAcquiredSlot>)::$_0>(std::__function::__policy_storage const*) @ 0x000000004881a164
2026-06-10 17:47:44 24. contrib/llvm-project/libcxx/include/__functional/function.h:502:12: ? @ 0x000000002bba6fc0
2026-06-10 17:47:44 25. contrib/llvm-project/libcxx/include/__functional/function.h:502:12: ? @ 0x000000002bba13a0
2026-06-10 17:47:44 26. contrib/llvm-project/libcxx/include/__functional/function.h:502:12: ? @ 0x000000002bba2640
2026-06-10 17:47:44 27. contrib/llvm-project/libcxx/include/__type_traits/invoke.h:0: void* std::__thread_proxy[abi:fqe220101]<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void (ThreadPoolImpl<std::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::thread>::ThreadFromThreadPool*>>(void*) @ 0x000000002bbb0064
2026-06-10 17:47:44 28. asan_thread_start(void*) @ 0x000000001c4ecec8
2026-06-10 17:47:44 29. start_thread @ 0x0000000000080398
2026-06-10 17:47:44 30. thread_start @ 0x00000000000e9e9c
2026-06-10 17:47:44
2026-06-10 17:47:44 Received exception from server (version 26.6.1):
2026-06-10 17:47:44 Code: 241. DB::Exception: Received from localhost:9000. DB::Exception: (total) memory limit exceeded: would use 1.36 GiB (attempt to allocate chunk of 1.10 MiB), current RSS: 53.69 GiB, maximum: 53.69 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker: While executing ConvertingAggregatedToChunksWithMergingSource. (MEMORY_LIMIT_EXCEEDED)
2026-06-10 17:47:44 (query: SELECT 1, URL, COUNT(*) AS c FROM test.hits GROUP BY 1, URL ORDER BY c DESC LIMIT 10 FORMAT Null SETTINGS log_comment='query_34';), result:
2026-06-10 17:47:44
2026-06-10 17:47:44
2026-06-10 17:47:44
2026-06-10 17:47:44 stdout:
2026-06-10 17:47:44
2026-06-10 17:47:44
2026-06-10 17:47:44
2026-06-10 17:47:44 Database: test_8ik1g79r
Metadata
Metadata
Assignees
Labels
comp-aggregationGROUP BY / aggregation framework (hash tables, spilling, external aggregation).flaky testflaky test found by CItestingSpecial issue with list of bugs found by CI
Activity
Algunenano commentedon Jun 10, 2026
Global OOMs, not related to the test: #106978