+ ln -s /usr/share/clickhouse-test/ci/stress.py /usr/bin/stress
+ ln -s /usr/share/clickhouse-test/clickhouse-test /usr/bin/clickhouse-test
+ source /attach_gdb.lib
/run.sh: line 20: /attach_gdb.lib: No such file or directory
+ source /stress_tests.lib
/run.sh: line 22: /stress_tests.lib: No such file or directory
+ install_packages package_folder
/run.sh: line 24: install_packages: command not found
+ export THREAD_FUZZER_CPU_TIME_PERIOD_US=1000
+ THREAD_FUZZER_CPU_TIME_PERIOD_US=1000
+ export THREAD_FUZZER_SLEEP_PROBABILITY=0.1
+ THREAD_FUZZER_SLEEP_PROBABILITY=0.1
+ export THREAD_FUZZER_SLEEP_TIME_US_MAX=100000
+ THREAD_FUZZER_SLEEP_TIME_US_MAX=100000
+ export THREAD_FUZZER_pthread_mutex_lock_BEFORE_MIGRATE_PROBABILITY=1
+ THREAD_FUZZER_pthread_mutex_lock_BEFORE_MIGRATE_PROBABILITY=1
+ export THREAD_FUZZER_pthread_mutex_lock_AFTER_MIGRATE_PROBABILITY=1
+ THREAD_FUZZER_pthread_mutex_lock_AFTER_MIGRATE_PROBABILITY=1
+ export THREAD_FUZZER_pthread_mutex_unlock_BEFORE_MIGRATE_PROBABILITY=1
+ THREAD_FUZZER_pthread_mutex_unlock_BEFORE_MIGRATE_PROBABILITY=1
+ export THREAD_FUZZER_pthread_mutex_unlock_AFTER_MIGRATE_PROBABILITY=1
+ THREAD_FUZZER_pthread_mutex_unlock_AFTER_MIGRATE_PROBABILITY=1
+ export THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_PROBABILITY=0.001
+ THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_PROBABILITY=0.001
+ export THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_PROBABILITY=0.001
+ THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_PROBABILITY=0.001
+ export THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_PROBABILITY=0.001
+ THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_PROBABILITY=0.001
+ export THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_PROBABILITY=0.001
+ THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_PROBABILITY=0.001
+ export THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_TIME_US_MAX=10000
+ THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_TIME_US_MAX=10000
+ export THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_TIME_US_MAX=10000
+ THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_TIME_US_MAX=10000
+ export THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_TIME_US_MAX=10000
+ THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_TIME_US_MAX=10000
+ export THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_TIME_US_MAX=10000
+ THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_TIME_US_MAX=10000
+ export THREAD_FUZZER_EXPLICIT_SLEEP_PROBABILITY=0.01
+ THREAD_FUZZER_EXPLICIT_SLEEP_PROBABILITY=0.01
+ export THREAD_FUZZER_EXPLICIT_MEMORY_EXCEPTION_PROBABILITY=0.01
+ THREAD_FUZZER_EXPLICIT_MEMORY_EXCEPTION_PROBABILITY=0.01
+ export ZOOKEEPER_FAULT_INJECTION=1
+ ZOOKEEPER_FAULT_INJECTION=1
+ configure
/run.sh: line 53: configure: command not found
+ ./setup_minio.sh stateless
+ azurite-blob --blobHost 0.0.0.0 --blobPort 10000 --debug /azurite_log
/run.sh: line 56: ./setup_minio.sh: No such file or directory
+ config_logs_export_cluster /etc/clickhouse-server/config.d/system_logs_export.yaml
+ set +x
File /tmp/export-logs-config.sh does not exist, do not setup
+ export CLICKHOUSE_MAX_THREADS=8
+ CLICKHOUSE_MAX_THREADS=8
+ export CLICKHOUSE_MAX_CONCURRENT_QUERIES=4
+ CLICKHOUSE_MAX_CONCURRENT_QUERIES=4
+ start_server
/run.sh: line 64: start_server: command not found
+ setup_logs_replication
+ set +x
File /tmp/export-logs-config.sh does not exist, do not setup
+ clickhouse-client --query 'CREATE DATABASE datasets'
/run.sh: line 68: clickhouse-client: command not found
+ clickhouse-client --multiquery
/run.sh: line 69: create.sql: No such file or directory
+ clickhouse-client --query 'SHOW TABLES FROM datasets'
/run.sh: line 70: clickhouse-client: command not found
+ clickhouse-client --query 'CREATE DATABASE IF NOT EXISTS test'
/run.sh: line 72: clickhouse-client: command not found
+ stop_server
/run.sh: line 74: stop_server: command not found
+ mv /var/log/clickhouse-server/clickhouse-server.log /var/log/clickhouse-server/clickhouse-server.initial.log
mv: cannot stat '/var/log/clickhouse-server/clickhouse-server.log': No such file or directory
+ cache_policy=
+ '[' 0 -eq 1 ']'
+ cache_policy=LRU
+ echo 'Using cache policy: LRU'
Using cache policy: LRU
+ '[' LRU = SLRU ']'
+ start_server
/run.sh: line 94: start_server: command not found
+ clickhouse-client --query 'SHOW TABLES FROM datasets'
/run.sh: line 96: clickhouse-client: command not found
+ clickhouse-client --query 'SHOW TABLES FROM test'
/run.sh: line 97: clickhouse-client: command not found
+ clickhouse-client --query 'CREATE TABLE test.hits_s3 (WatchID UInt64, JavaEnable UInt8, Title String, GoodEvent Int16,
EventTime DateTime, EventDate Date, CounterID UInt32, ClientIP UInt32, ClientIP6 FixedString(16), RegionID UInt32,
UserID UInt64, CounterClass Int8, OS UInt8, UserAgent UInt8, URL String, Referer String, URLDomain String, RefererDomain String,
Refresh UInt8, IsRobot UInt8, RefererCategories Array(UInt16), URLCategories Array(UInt16), URLRegions Array(UInt32),
RefererRegions Array(UInt32), ResolutionWidth UInt16, ResolutionHeight UInt16, ResolutionDepth UInt8, FlashMajor UInt8,
FlashMinor UInt8, FlashMinor2 String, NetMajor UInt8, NetMinor UInt8, UserAgentMajor UInt16, UserAgentMinor FixedString(2),
CookieEnable UInt8, JavascriptEnable UInt8, IsMobile UInt8, MobilePhone UInt8, MobilePhoneModel String, Params String,
IPNetworkID UInt32, TraficSourceID Int8, SearchEngineID UInt16, SearchPhrase String, AdvEngineID UInt8, IsArtifical UInt8,
WindowClientWidth UInt16, WindowClientHeight UInt16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 UInt8,
SilverlightVersion2 UInt8, SilverlightVersion3 UInt32, SilverlightVersion4 UInt16, PageCharset String, CodeVersion UInt32,
IsLink UInt8, IsDownload UInt8, IsNotBounce UInt8, FUniqID UInt64, HID UInt32, IsOldCounter UInt8, IsEvent UInt8,
IsParameter UInt8, DontCountHits UInt8, WithHash UInt8, HitColor FixedString(1), UTCEventTime DateTime, Age UInt8,
Sex UInt8, Income UInt8, Interests UInt16, Robotness UInt8, GeneralInterests Array(UInt16), RemoteIP UInt32,
RemoteIP6 FixedString(16), WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage FixedString(2),
BrowserCountry FixedString(2), SocialNetwork String, SocialAction String, HTTPError UInt16, SendTiming Int32,
DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32,
RedirectTiming Int32, DOMInteractiveTiming Int32, DOMContentLoadedTiming Int32, DOMCompleteTiming Int32,
LoadEventStartTiming Int32, LoadEventEndTiming Int32, NSToDOMContentLoadedTiming Int32, FirstPaintTiming Int32,
RedirectCount Int8, SocialSourceNetworkID UInt8, SocialSourcePage String, ParamPrice Int64, ParamOrderID String,
ParamCurrency FixedString(3), ParamCurrencyID UInt16, GoalsReached Array(UInt32), OpenstatServiceName String,
OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String,
UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID UInt8, RefererHash UInt64,
URLHash UInt64, CLID UInt32, YCLID UInt64, ShareService String, ShareURL String, ShareTitle String,
ParsedParams Nested(Key1 String, Key2 String, Key3 String, Key4 String, Key5 String, ValueDouble Float64),
IslandID FixedString(16), RequestNum UInt32, RequestTry UInt8) ENGINE = MergeTree() PARTITION BY toYYYYMM(EventDate)
ORDER BY (CounterID, EventDate, intHash32(UserID)) SAMPLE BY intHash32(UserID) SETTINGS index_granularity = 8192, storage_policy='\''s3_cache'\'''
/run.sh: line 99: clickhouse-client: command not found
+ clickhouse-client --query 'CREATE TABLE test.hits (WatchID UInt64, JavaEnable UInt8, Title String, GoodEvent Int16,
EventTime DateTime, EventDate Date, CounterID UInt32, ClientIP UInt32, ClientIP6 FixedString(16), RegionID UInt32,
UserID UInt64, CounterClass Int8, OS UInt8, UserAgent UInt8, URL String, Referer String, URLDomain String,
RefererDomain String, Refresh UInt8, IsRobot UInt8, RefererCategories Array(UInt16), URLCategories Array(UInt16),
URLRegions Array(UInt32), RefererRegions Array(UInt32), ResolutionWidth UInt16, ResolutionHeight UInt16, ResolutionDepth UInt8,
FlashMajor UInt8, FlashMinor UInt8, FlashMinor2 String, NetMajor UInt8, NetMinor UInt8, UserAgentMajor UInt16,
UserAgentMinor FixedString(2), CookieEnable UInt8, JavascriptEnable UInt8, IsMobile UInt8, MobilePhone UInt8,
MobilePhoneModel String, Params String, IPNetworkID UInt32, TraficSourceID Int8, SearchEngineID UInt16,
SearchPhrase String, AdvEngineID UInt8, IsArtifical UInt8, WindowClientWidth UInt16, WindowClientHeight UInt16,
ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 UInt8, SilverlightVersion2 UInt8, SilverlightVersion3 UInt32,
SilverlightVersion4 UInt16, PageCharset String, CodeVersion UInt32, IsLink UInt8, IsDownload UInt8, IsNotBounce UInt8,
FUniqID UInt64, HID UInt32, IsOldCounter UInt8, IsEvent UInt8, IsParameter UInt8, DontCountHits UInt8, WithHash UInt8,
HitColor FixedString(1), UTCEventTime DateTime, Age UInt8, Sex UInt8, Income UInt8, Interests UInt16, Robotness UInt8,
GeneralInterests Array(UInt16), RemoteIP UInt32, RemoteIP6 FixedString(16), WindowName Int32, OpenerName Int32,
HistoryLength Int16, BrowserLanguage FixedString(2), BrowserCountry FixedString(2), SocialNetwork String, SocialAction String,
HTTPError UInt16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32,
FetchTiming Int32, RedirectTiming Int32, DOMInteractiveTiming Int32, DOMContentLoadedTiming Int32, DOMCompleteTiming Int32,
LoadEventStartTiming Int32, LoadEventEndTiming Int32, NSToDOMContentLoadedTiming Int32, FirstPaintTiming Int32,
RedirectCount Int8, SocialSourceNetworkID UInt8, SocialSourcePage String, ParamPrice Int64, ParamOrderID String,
ParamCurrency FixedString(3), ParamCurrencyID UInt16, GoalsReached Array(UInt32), OpenstatServiceName String,
OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String,
UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID UInt8, RefererHash UInt64,
URLHash UInt64, CLID UInt32, YCLID UInt64, ShareService String, ShareURL String, ShareTitle String,
ParsedParams Nested(Key1 String, Key2 String, Key3 String, Key4 String, Key5 String, ValueDouble Float64),
IslandID FixedString(16), RequestNum UInt32, RequestTry UInt8) ENGINE = MergeTree() PARTITION BY toYYYYMM(EventDate)
ORDER BY (CounterID, EventDate, intHash32(UserID)) SAMPLE BY intHash32(UserID) SETTINGS index_granularity = 8192, storage_policy='\''s3_cache'\'''
/run.sh: line 125: clickhouse-client: command not found
+ clickhouse-client --query 'CREATE TABLE test.visits (CounterID UInt32, StartDate Date, Sign Int8, IsNew UInt8,
VisitID UInt64, UserID UInt64, StartTime DateTime, Duration UInt32, UTCStartTime DateTime, PageViews Int32,
Hits Int32, IsBounce UInt8, Referer String, StartURL String, RefererDomain String, StartURLDomain String,
EndURL String, LinkURL String, IsDownload UInt8, TraficSourceID Int8, SearchEngineID UInt16, SearchPhrase String,
AdvEngineID UInt8, PlaceID Int32, RefererCategories Array(UInt16), URLCategories Array(UInt16), URLRegions Array(UInt32),
RefererRegions Array(UInt32), IsYandex UInt8, GoalReachesDepth Int32, GoalReachesURL Int32, GoalReachesAny Int32,
SocialSourceNetworkID UInt8, SocialSourcePage String, MobilePhoneModel String, ClientEventTime DateTime, RegionID UInt32,
ClientIP UInt32, ClientIP6 FixedString(16), RemoteIP UInt32, RemoteIP6 FixedString(16), IPNetworkID UInt32,
SilverlightVersion3 UInt32, CodeVersion UInt32, ResolutionWidth UInt16, ResolutionHeight UInt16, UserAgentMajor UInt16,
UserAgentMinor UInt16, WindowClientWidth UInt16, WindowClientHeight UInt16, SilverlightVersion2 UInt8, SilverlightVersion4 UInt16,
FlashVersion3 UInt16, FlashVersion4 UInt16, ClientTimeZone Int16, OS UInt8, UserAgent UInt8, ResolutionDepth UInt8,
FlashMajor UInt8, FlashMinor UInt8, NetMajor UInt8, NetMinor UInt8, MobilePhone UInt8, SilverlightVersion1 UInt8,
Age UInt8, Sex UInt8, Income UInt8, JavaEnable UInt8, CookieEnable UInt8, JavascriptEnable UInt8, IsMobile UInt8,
BrowserLanguage UInt16, BrowserCountry UInt16, Interests UInt16, Robotness UInt8, GeneralInterests Array(UInt16),
Params Array(String), Goals Nested(ID UInt32, Serial UInt32, EventTime DateTime, Price Int64, OrderID String, CurrencyID UInt32),
WatchIDs Array(UInt64), ParamSumPrice Int64, ParamCurrency FixedString(3), ParamCurrencyID UInt16, ClickLogID UInt64,
ClickEventID Int32, ClickGoodEvent Int32, ClickEventTime DateTime, ClickPriorityID Int32, ClickPhraseID Int32, ClickPageID Int32,
ClickPlaceID Int32, ClickTypeID Int32, ClickResourceID Int32, ClickCost UInt32, ClickClientIP UInt32, ClickDomainID UInt32,
ClickURL String, ClickAttempt UInt8, ClickOrderID UInt32, ClickBannerID UInt32, ClickMarketCategoryID UInt32, ClickMarketPP UInt32,
ClickMarketCategoryName String, ClickMarketPPName String, ClickAWAPSCampaignName String, ClickPageName String, ClickTargetType UInt16,
ClickTargetPhraseID UInt64, ClickContextType UInt8, ClickSelectType Int8, ClickOptions String, ClickGroupBannerID Int32,
OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String,
UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID UInt8, FirstVisit DateTime,
PredLastVisit Date, LastVisit Date, TotalVisits UInt32, TraficSource Nested(ID Int8, SearchEngineID UInt16, AdvEngineID UInt8,
PlaceID UInt16, SocialSourceNetworkID UInt8, Domain String, SearchPhrase String, SocialSourcePage String), Attendance FixedString(16),
CLID UInt32, YCLID UInt64, NormalizedRefererHash UInt64, SearchPhraseHash UInt64, RefererDomainHash UInt64, NormalizedStartURLHash UInt64,
StartURLDomainHash UInt64, NormalizedEndURLHash UInt64, TopLevelDomain UInt64, URLScheme UInt64, OpenstatServiceNameHash UInt64,
OpenstatCampaignIDHash UInt64, OpenstatAdIDHash UInt64, OpenstatSourceIDHash UInt64, UTMSourceHash UInt64, UTMMediumHash UInt64,
UTMCampaignHash UInt64, UTMContentHash UInt64, UTMTermHash UInt64, FromHash UInt64, WebVisorEnabled UInt8, WebVisorActivity UInt32,
ParsedParams Nested(Key1 String, Key2 String, Key3 String, Key4 String, Key5 String, ValueDouble Float64),
Market Nested(Type UInt8, GoalID UInt32, OrderID String, OrderPrice Int64, PP UInt32, DirectPlaceID UInt32, DirectOrderID UInt32,
DirectBannerID UInt32, GoodID String, GoodName String, GoodQuantity Int32, GoodPrice Int64), IslandID FixedString(16))
ENGINE = CollapsingMergeTree(Sign) PARTITION BY toYYYYMM(StartDate) ORDER BY (CounterID, StartDate, intHash32(UserID), VisitID)
SAMPLE BY intHash32(UserID) SETTINGS index_granularity = 8192, storage_policy='\''s3_cache'\'''
/run.sh: line 151: clickhouse-client: command not found
+ clickhouse-client --query 'INSERT INTO test.hits_s3 SELECT * FROM datasets.hits_v1 SETTINGS enable_filesystem_cache_on_write_operations=0'
/run.sh: line 186: clickhouse-client: command not found
+ clickhouse-client --query 'INSERT INTO test.hits SELECT * FROM datasets.hits_v1 SETTINGS enable_filesystem_cache_on_write_operations=0'
/run.sh: line 187: clickhouse-client: command not found
+ clickhouse-client --query 'INSERT INTO test.visits SELECT * FROM datasets.visits_v1 SETTINGS enable_filesystem_cache_on_write_operations=0'
/run.sh: line 188: clickhouse-client: command not found
+ clickhouse-client --query 'DROP TABLE datasets.visits_v1 SYNC'
/run.sh: line 190: clickhouse-client: command not found
+ clickhouse-client --query 'DROP TABLE datasets.hits_v1 SYNC'
/run.sh: line 191: clickhouse-client: command not found
+ clickhouse-client --query 'SHOW TABLES FROM test'
/run.sh: line 193: clickhouse-client: command not found
+ clickhouse-client --query 'SYSTEM STOP THREAD FUZZER'
/run.sh: line 195: clickhouse-client: command not found
+ stop_server
/run.sh: line 197: stop_server: command not found
+ export USE_S3_STORAGE_FOR_MERGE_TREE=1
+ USE_S3_STORAGE_FOR_MERGE_TREE=1
+ export RANDOMIZE_OBJECT_KEY_TYPE=1
+ RANDOMIZE_OBJECT_KEY_TYPE=1
+ export ZOOKEEPER_FAULT_INJECTION=1
+ ZOOKEEPER_FAULT_INJECTION=1
+ export THREAD_POOL_FAULT_INJECTION=1
+ THREAD_POOL_FAULT_INJECTION=1
+ configure
/run.sh: line 204: configure: command not found
+ sudo cat /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml
+ sed 's|s3|s3default|'
/run.sh: line 208: /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml.tmp: No such file or directory
cat: /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml: No such file or directory
+ mv /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml.tmp /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml
mv: cannot stat '/etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml.tmp': No such file or directory
+ sudo chown clickhouse /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml
chown: invalid user: ‘clickhouse’
+ sudo chgrp clickhouse /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml
chgrp: invalid group: ‘clickhouse’
+ sudo cat /etc/clickhouse-server/config.d/logger_trace.xml
+ sed 's|trace|test|'
/run.sh: line 215: /etc/clickhouse-server/config.d/logger_trace.xml.tmp: No such file or directory
cat: /etc/clickhouse-server/config.d/logger_trace.xml: No such file or directory
+ mv /etc/clickhouse-server/config.d/logger_trace.xml.tmp /etc/clickhouse-server/config.d/logger_trace.xml
mv: cannot stat '/etc/clickhouse-server/config.d/logger_trace.xml.tmp': No such file or directory
+ '[' LRU = SLRU ']'
++ date +%-d
+ '[' 0 -eq 1 ']'
+ start_server
/run.sh: line 232: start_server: command not found
+ stress --hung-check --drop-databases --output-folder test_output --skip-func-tests '' --global-time-limit 1200
2025-05-24 00:05:36,525 Failed to get build flags: Command 'clickhouse client -q "SELECT value FROM system.build_options WHERE name = 'CXX_FLAGS'" ' returned non-zero exit status 127.
2025-05-24 00:05:36,525 Run func tests '/usr/bin/clickhouse-test --global_time_limit=1200 '
Azurite Blob service is starting on 0.0.0.0:10000
Azurite Blob service successfully listens on http://0.0.0.0:10000
2025-05-24 00:05:37,026 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_1 --client-option join_use_nulls=1 join_algorithm='parallel_hash' use_query_cache=1 memory_tracker_fault_probability=0.001 merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability=0.05 group_by_use_nulls=1 --global_time_limit=1200 '
2025-05-24 00:05:37,528 Run func tests '/usr/bin/clickhouse-test --order=random --db-engine="Replicated('/test/db/test_2', 's1', 'r1')" --client-option allow_experimental_database_replicated=1 enable_deflate_qpl_codec=1 enable_zstd_qat_codec=1 --global_time_limit=1200 '
2025-05-24 00:05:38,029 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_3 --client-option join_algorithm='partial_merge' group_by_use_nulls=1 --global_time_limit=1200 '
2025-05-24 00:05:38,531 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 use_query_cache=1 --global_time_limit=1200 '
2025-05-24 00:05:39,032 Run func tests '/usr/bin/clickhouse-test --order=random --db-engine="Replicated('/test/db/test_5', 's1', 'r1')" --database=test_5 --client-option allow_experimental_database_replicated=1 enable_deflate_qpl_codec=1 enable_zstd_qat_codec=1 join_algorithm='full_sorting_merge' group_by_use_nulls=1 --global_time_limit=1200 '
2025-05-24 00:05:39,534 Run func tests '/usr/bin/clickhouse-test --order=random --client-option memory_tracker_fault_probability=0.001 merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability=0.05 http_make_head_request=0 --global_time_limit=1200 '
2025-05-24 00:05:40,035 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_7 --client-option join_use_nulls=1 join_algorithm='grace_hash' group_by_use_nulls=1 optimize_trivial_approximate_count_query=1 http_make_head_request=1 --global_time_limit=1200 '
2025-05-24 00:05:40,536 Run func tests '/usr/bin/clickhouse-test --order=random --db-engine="Replicated('/test/db/test_8', 's1', 'r1')" --client-option allow_experimental_database_replicated=1 enable_deflate_qpl_codec=1 enable_zstd_qat_codec=1 --global_time_limit=1200 '
2025-05-24 00:05:41,038 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_9 --client-option join_algorithm='auto' max_rows_in_join=1000 use_query_cache=1 group_by_use_nulls=1 http_make_head_request=0 --global_time_limit=1200 '
2025-05-24 00:05:41,539 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 --global_time_limit=1200 '
2025-05-24 00:05:42,041 Run func tests '/usr/bin/clickhouse-test --order=random --db-engine="Replicated('/test/db/test_11', 's1', 'r1')" --database=test_11 --client-option allow_experimental_database_replicated=1 enable_deflate_qpl_codec=1 enable_zstd_qat_codec=1 join_algorithm='parallel_hash' memory_tracker_fault_probability=0.001 merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability=0.05 group_by_use_nulls=1 --global_time_limit=1200 '
2025-05-24 00:05:42,542 Run func tests '/usr/bin/clickhouse-test --order=random --client-option use_query_cache=1 implicit_transaction=1 throw_on_unsupported_query_inside_transaction=0 http_make_head_request=1 --global_time_limit=1200 '
2025-05-24 00:05:43,044 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_13 --client-option join_use_nulls=1 join_algorithm='partial_merge' use_query_cache=1 group_by_use_nulls=1 --global_time_limit=1200 '
2025-05-24 00:05:43,545 Run func tests '/usr/bin/clickhouse-test --order=random --db-engine="Replicated('/test/db/test_14', 's1', 'r1')" --client-option allow_experimental_database_replicated=1 enable_deflate_qpl_codec=1 enable_zstd_qat_codec=1 use_query_cache=1 --global_time_limit=1200 '
2025-05-24 00:05:44,046 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_15 --client-option join_algorithm='full_sorting_merge' use_query_cache=1 group_by_use_nulls=1 --global_time_limit=1200 '
2025-05-24 00:05:44,548 Will wait functests to finish
2025-05-24 00:05:44,548 All processes finished
2025-05-24 00:05:44,548 Compressing stress logs
2025-05-24 00:05:44,554 Logs compressed
2025-05-24 00:05:44,554 Will terminate gdb (if any)
2025-05-24 00:05:44,554 Running command: kill -TERM $(pidof gdb)
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
2025-05-24 00:05:44,558 Command returend 2, retrying
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
2025-05-24 00:05:44,562 Command returend 2, retrying
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
2025-05-24 00:05:45,566 Command returend 2, retrying
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
2025-05-24 00:05:47,572 Command returend 2, retrying
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
2025-05-24 00:05:50,580 Command returend 2, retrying
2025-05-24 00:05:54,584 Running command: timeout 50s tail --pid=$(pidof gdb) -f /dev/null || kill -9 $(pidof gdb) ||:
tail: invalid PID: ‘’
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
2025-05-24 00:05:54,592 Running command: kill -CONT $(cat /var/run/clickhouse-server/clickhouse-server.pid) && clickhouse client -q 'SELECT 1 FORMAT Null'
cat: /var/run/clickhouse-server/clickhouse-server.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
2025-05-24 00:05:54,593 Command returend 2, retrying
cat: /var/run/clickhouse-server/clickhouse-server.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
2025-05-24 00:05:54,597 Command returend 2, retrying
cat: /var/run/clickhouse-server/clickhouse-server.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
2025-05-24 00:05:55,602 Command returend 2, retrying
cat: /var/run/clickhouse-server/clickhouse-server.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
2025-05-24 00:05:57,608 Command returend 2, retrying
cat: /var/run/clickhouse-server/clickhouse-server.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
2025-05-24 00:06:00,615 Command returend 2, retrying
2025-05-24 00:06:04,620 Running command: clickhouse client -q "SYSTEM STOP THREAD FUZZER" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:04,624 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:04,626 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:05,629 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:07,633 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:10,639 Command returend 127, retrying
2025-05-24 00:06:14,643 Running command: clickhouse client -q "SYSTEM START MERGES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:14,645 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:14,646 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:15,649 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:17,653 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:20,658 Command returend 127, retrying
2025-05-24 00:06:24,662 Running command: clickhouse client -q "SYSTEM START DISTRIBUTED SENDS" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:24,664 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:24,666 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:25,669 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:27,673 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:30,678 Command returend 127, retrying
2025-05-24 00:06:34,682 Running command: clickhouse client -q "SYSTEM START TTL MERGES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:34,684 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:34,685 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:35,688 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:37,692 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:40,697 Command returend 127, retrying
2025-05-24 00:06:44,702 Running command: clickhouse client -q "SYSTEM START MOVES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:44,704 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:44,705 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:45,708 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:47,712 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:50,717 Command returend 127, retrying
2025-05-24 00:06:54,721 Running command: clickhouse client -q "SYSTEM START FETCHES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:54,723 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:54,725 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:55,728 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:06:57,732 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:00,737 Command returend 127, retrying
2025-05-24 00:07:04,742 Running command: clickhouse client -q "SYSTEM START REPLICATED SENDS" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:04,743 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:04,745 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:05,748 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:07,752 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:10,757 Command returend 127, retrying
2025-05-24 00:07:14,761 Running command: clickhouse client -q "SYSTEM START REPLICATION QUEUES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:14,763 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:14,764 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:15,767 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:17,771 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:20,776 Command returend 127, retrying
2025-05-24 00:07:24,781 Running command: clickhouse client -q "SYSTEM DROP MARK CACHE" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:24,782 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:24,784 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:25,787 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:27,791 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:30,796 Command returend 127, retrying
2025-05-24 00:07:34,800 Running command: clickhouse client -q "KILL QUERY WHERE upper(query) LIKE 'WATCH %'" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:34,802 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:34,803 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:35,806 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:37,811 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:40,816 Command returend 127, retrying
2025-05-24 00:07:44,820 Running command: clickhouse client -q "KILL QUERY WHERE query LIKE 'insert into tableB select %'" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:44,822 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:44,823 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:45,826 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:47,830 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:50,835 Command returend 127, retrying
2025-05-24 00:07:54,839 Running command: clickhouse client -q "KILL QUERY WHERE query LIKE 'SELECT URL, uniq(SearchPhrase) AS u FROM test.hits GROUP BY URL ORDER BY u %'" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:54,842 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:54,843 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:55,846 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:07:57,851 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:08:00,856 Command returend 127, retrying
2025-05-24 00:08:04,860 Running command: clickhouse client -q "KILL QUERY WHERE query LIKE 'SELECT (SELECT number FROM system.numbers WHERE number = 1000000000000)%'" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000
/bin/sh: 1: clickhouse: not found
2025-05-24 00:08:04,862 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:08:04,863 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:08:05,866 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:08:07,870 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:08:10,875 Command returend 127, retrying
/bin/sh: 1: clickhouse: not found
2025-05-24 00:08:14,881 Failed to SHOW or DROP databasese, will retry Command 'clickhouse client -q "SHOW DATABASES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000' returned non-zero exit status 127.
/bin/sh: 1: clickhouse: not found
2025-05-24 00:08:14,883 Failed to SHOW or DROP databasese, will retry Command 'clickhouse client -q "SHOW DATABASES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000' returned non-zero exit status 127.
/bin/sh: 1: clickhouse: not found
2025-05-24 00:08:15,886 Failed to SHOW or DROP databasese, will retry Command 'clickhouse client -q "SHOW DATABASES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000' returned non-zero exit status 127.
/bin/sh: 1: clickhouse: not found
2025-05-24 00:08:17,890 Failed to SHOW or DROP databasese, will retry Command 'clickhouse client -q "SHOW DATABASES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000' returned non-zero exit status 127.
/bin/sh: 1: clickhouse: not found
2025-05-24 00:08:20,894 Failed to SHOW or DROP databasese, will retry Command 'clickhouse client -q "SHOW DATABASES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000' returned non-zero exit status 127.
2025-05-24 00:08:24,899 Failed to prepare for hung check: Cannot drop databases after stress tests. Probably server consumed too much memory and cannot execute simple queries
2025-05-24 00:08:24,899 Checking if some queries hung
clickhouse was not found in PATH
2025-05-24 00:08:25,064 Hung check failed with exit code 1
2025-05-24 00:08:25,064 Stress test finished
+ echo -e 'Test script exit code'
+ rg -Fa 'No queries hung' /test_output/test_results.tsv
+ grep -Fa OK
++ head_escaped /test_output/hung_check.log
/run.sh: line 240: head_escaped: command not found
+ echo -e 'Hung check failed, possible deadlock found (see hung_check.log)'
+ stop_server
/run.sh: line 242: stop_server: command not found
+ mv /var/log/clickhouse-server/clickhouse-server.log /var/log/clickhouse-server/clickhouse-server.stress.log
mv: cannot stat '/var/log/clickhouse-server/clickhouse-server.log': No such file or directory
+ unset THREAD_FUZZER_CPU_TIME_PERIOD_US THREAD_FUZZER_EXPLICIT_MEMORY_EXCEPTION_PROBABILITY THREAD_FUZZER_EXPLICIT_SLEEP_PROBABILITY THREAD_FUZZER_SLEEP_PROBABILITY THREAD_FUZZER_SLEEP_TIME_US_MAX THREAD_FUZZER_pthread_mutex_lock_AFTER_MIGRATE_PROBABILITY THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_PROBABILITY THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_TIME_US_MAX THREAD_FUZZER_pthread_mutex_lock_BEFORE_MIGRATE_PROBABILITY THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_PROBABILITY THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_TIME_US_MAX THREAD_FUZZER_pthread_mutex_unlock_AFTER_MIGRATE_PROBABILITY THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_PROBABILITY THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_TIME_US_MAX THREAD_FUZZER_pthread_mutex_unlock_BEFORE_MIGRATE_PROBABILITY THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_PROBABILITY THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_TIME_US_MAX THREAD_POOL_FAULT_INJECTION
+ start_server
/run.sh: line 249: start_server: command not found
+ check_server_start
/run.sh: line 251: check_server_start: command not found
+ stop_server
/run.sh: line 253: stop_server: command not found
+ '[' -f /var/log/clickhouse-server/clickhouse-server.log ']'
+ echo -e 'Server log does not exist\tFAIL'
+ '[' -f /var/log/clickhouse-server/stderr.log ']'
+ echo -e 'Stderr log does not exist\tFAIL'
+ mv /var/log/clickhouse-server/clickhouse-server.log /var/log/clickhouse-server/clickhouse-server.final.log
Server log does not exist FAIL
Stderr log does not exist FAIL
mv: cannot stat '/var/log/clickhouse-server/clickhouse-server.log': No such file or directory
+ check_logs_for_critical_errors
/run.sh: line 261: check_logs_for_critical_errors: command not found
+ tar -chf /test_output/coordination.tar /var/lib/clickhouse/coordination
tar: Removing leading `/' from member names
tar: /var/lib/clickhouse/coordination: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
+ :
+ collect_query_and_trace_logs
/run.sh: line 265: collect_query_and_trace_logs: command not found
+ mv /var/log/clickhouse-server/stderr.log /test_output/
mv: cannot stat '/var/log/clickhouse-server/stderr.log': No such file or directory
+ clickhouse-local --structure 'test String, res String, time Nullable(Float32), desc String' -q 'SELECT '\''failure'\'', test FROM table WHERE res != '\''OK'\'' order by
(test like '\''%Sanitizer%'\'') DESC,
(test like '\''%Killed by signal%'\'') DESC,
(test like '\''%gdb.log%'\'') DESC,
(test ilike '\''%possible deadlock%'\'') DESC,
(test like '\''%start%'\'') DESC,
(test like '\''%dmesg%'\'') DESC,
(test like '\''%OOM%'\'') DESC,
(test like '\''%Signal 9%'\'') DESC,
(test like '\''%Fatal message%'\'') DESC,
rowNumberInAllBlocks()
LIMIT 1'
/run.sh: line 271: clickhouse-local: command not found
+ echo -e 'failure\tCannot parse test_results.tsv'
+ '[' -s /test_output/check_status.tsv ']'
+ rg 'OOM in dmesg|Signal 9' /test_output/check_status.tsv
+ collect_core_dumps
/run.sh: line 291: collect_core_dumps: command not found