Commit Graph

9046 Commits

Author SHA1 Message Date
Nikita Fomichev
789772caa1 Integration tests: rich exception message raised from ClickHouseInstance.query_with_retry() 2024-03-23 19:44:38 +01:00
Nikita Fomichev
39732174e9 Integration tests: set host user for mysql docker containers
When run pytest locally, tests fail because of `Permission denied: 'logs'`
2024-03-23 16:58:58 +01:00
Smita Kulkarni
19e7022a87 Merge branch 'master' into Azure_write_buffer 2024-03-23 11:48:10 +01:00
Smita Kulkarni
a8238ded09 Merge branch 'master' into Azure_read_buffer 2024-03-23 11:46:32 +01:00
Max Kainov
91e52ebee5 disable mysql57 tests 2024-03-22 16:40:17 +00:00
Nikolay Degterinsky
83ccd2a144 Merge remote-tracking branch 'upstream/master' into fix-attach-on-cluster 2024-03-22 16:06:01 +00:00
Dmitry Novik
df88eb26a5
Merge branch 'master' into enable-analyzer 2024-03-22 15:56:32 +01:00
Max K
57f9e0cbb2
Merge branch 'master' into ci_skip_never_fails_integr_test 2024-03-22 15:55:08 +01:00
Max Kainov
abbbd21b7e CI: disable grpc tests on ARM 2024-03-22 14:28:49 +00:00
Max K
d3965f27c1
Merge pull request #61542 from ClickHouse/ci_arm_support_kerberos
CI: ARM integration test - skip hdfs, kerberos, kafka
2024-03-22 15:25:30 +01:00
Max Kainov
ef0fa1963d CI: use ci-runner as module
#no_merge_commit
 #ci_set_integration
 #batch_0
2024-03-22 14:22:53 +00:00
Anton Popov
887a9ef184 Merge remote-tracking branch 'upstream/master' into HEAD 2024-03-22 13:37:46 +00:00
Dmitry Novik
d43a1a1984 Merge remote-tracking branch 'origin/master' into enable-analyzer 2024-03-22 14:15:57 +01:00
Кирилл Гарбар
51ff688f9f Use storage policy to find convert_to_replicated flag path 2024-03-22 16:04:10 +03:00
Dmitry Novik
411c535ac9 Fix integration tests 2024-03-22 13:59:44 +01:00
Alexey Milovidov
09c252f438
Update ci-runner.py 2024-03-22 04:17:24 +03:00
Alexey Milovidov
b91d478c93 There is no such thing as broken tests 2024-03-22 00:56:57 +01:00
robot-clickhouse
50bc8acc37 Automatic style fix 2024-03-21 21:26:53 +00:00
SmitaRKulkarni
3822e41f7d
Merge a2836b0887 into 30df0fcd60 2024-03-21 21:17:57 +00:00
Smita Kulkarni
3f653bbc32 Added test with log check 2024-03-21 20:28:52 +01:00
yariks5s
6a19b77d9e init 2024-03-21 18:39:05 +00:00
Vitaly Baranov
1acc0ebe79
Merge pull request #61356 from vitlibar/fix-replace-dictionary
Fix CREATE OR REPLACE DICTIONARY
2024-03-21 16:45:06 +01:00
Dmitry Novik
e4209218d4
Merge pull request #60497 from ClickHouse/analyzer-distr-json
Analyzer: Support different ObjectJSON on shards
2024-03-21 16:25:30 +01:00
Smita Kulkarni
71eee6a300 Merge branch 'master' into Azure_write_buffer 2024-03-21 16:22:28 +01:00
Alexander Tokmakov
2be2ca4605
Merge pull request #61105 from ClickHouse/fix_rdb_active
Fix removing is_active node after re-creation
2024-03-21 15:29:59 +01:00
Dmitry Novik
188bc3cbaf Update some tests 2024-03-21 15:00:27 +01:00
Smita Kulkarni
6c5e881da7 Merge branch 'master' into Azure_write_buffer 2024-03-21 11:12:19 +01:00
Max Kainov
9f3c625ab5 fix mysql client tests to use mysql8 image
#ci_set_integration
 #ci_set_arm
2024-03-20 17:35:11 +00:00
Max Kainov
55737de0e6 disable more hdfs and kafka inttests
#ci_set_arm
2024-03-20 17:24:55 +00:00
Max K
984c7e69a0 disable test_allowed_url_with_config tests with HDFS
#no_merge_commit
 #ci_set_arm
2024-03-20 17:24:55 +00:00
Max Kainov
7b8c5f35b5 disable test_strage_hdfs module
#ci_set_arm
 #batch_2
 #no_merge_commit
2024-03-20 17:24:55 +00:00
Max Kainov
4f273c60c3 CI: disable some kerberos and hdfs integration tests for arm
#ci_set_arm
 #batch_2
 #no_merge_commit
2024-03-20 17:24:55 +00:00
Robert Schulze
35cc335597
Revert "Un-flake test_undrop_query" 2024-03-20 18:04:35 +01:00
Max K
4f51d891a0
Merge pull request #61597 from ClickHouse/ci_remove_compose_files_from_docker
CI: remove compose files from integration test docker
2024-03-20 17:36:13 +01:00
Max Kainov
da28eaf454 CI: remove compose files from integration test docker
#ci_set_integration
2024-03-20 14:11:47 +00:00
Dmitry Novik
b74a0359e5 Update integration tests 2024-03-20 13:43:18 +01:00
Dmitry Novik
f0e7b78f8b Inverse analyzer in tests 2024-03-20 13:35:30 +01:00
Smita Kulkarni
9f2d44fc65 Merge branch 'master' into Azure_write_buffer 2024-03-20 11:02:48 +01:00
vdimir
9a43f7941b
Merge pull request #61456 from kitaisreal/temporary-data-use-temporary-files-codec-setting
Temporary data use temporary_files_codec setting
2024-03-20 10:54:17 +01:00
Kseniia Sumarokova
05516112ca
Merge pull request #61537 from ClickHouse/s3queue-disallow-sharded-processing
Disallow s3queue sharded mode
2024-03-20 10:53:51 +01:00
Alexander Tokmakov
02d5c4625f Merge branch 'master' into fix_rdb_active 2024-03-19 21:09:07 +01:00
Alexander Tokmakov
1c61ef7155 Merge branch 'master' into start-transaction 2024-03-19 19:30:26 +01:00
vdimir
b19540f5b6
Fix style tests/integration/test_temporary_data_in_cache/test.py 2024-03-19 19:03:20 +01:00
Dmitry Novik
302179c81d Merge remote-tracking branch 'origin/master' into analyzer-distr-json 2024-03-19 18:56:04 +01:00
Maksim Kita
764c72b6c9 Fixed code review issues 2024-03-19 20:41:39 +03:00
Smita Kulkarni
824092b619 Updated to use single part upload for single block of small size and fixed test fail 2024-03-19 18:38:02 +01:00
Kseniia Sumarokova
7ebab45bef
Update users.xml 2024-03-19 17:21:03 +01:00
Kseniia Sumarokova
574647ed2a
Update config for another test 2024-03-19 17:16:53 +01:00
Nikolay Degterinsky
ce11428764 Merge remote-tracking branch 'upstream/master' into fix-test 2024-03-19 14:53:09 +00:00
robot-ch-test-poll4
a07d214fbf
Merge pull request #61396 from Algunenano/default_cluster
Remove default cluster from default config from test config
2024-03-19 13:58:01 +01:00
János Benjamin Antal
9cd7e6155c
Merge pull request #60031 from azat/merge_tree_mutations_cleanup-fix
Fix finished_mutations_to_keep=0 for MergeTree (as docs says 0 is to keep everything)
2024-03-19 12:55:46 +01:00
János Benjamin Antal
7adf585460
Merge pull request #61236 from ClickHouse/fix-flaky-test-merge-tree-load-parts-corrupted
Fix `test_merge_tree_load_parts/test.py::test_merge_tree_load_parts_corrupted`
2024-03-19 12:02:19 +01:00
János Benjamin Antal
a1eb8e4bae
Merge pull request #61235 from ClickHouse/improve-test-failed-mutations
Improve `test_failed_mutations`
2024-03-19 11:58:39 +01:00
kssenii
12cd566681 Update config for test 2024-03-19 11:47:53 +01:00
Anton Popov
5ac15574b7 do not load marks on merges 2024-03-18 20:28:10 +00:00
Raúl Marín
0637da0339 Merge remote-tracking branch 'blessed/master' into default_cluster 2024-03-18 16:11:50 +01:00
Raúl Marín
6b19c5ea75 Fix integration tests 2024-03-18 16:07:10 +01:00
Raúl Marín
53159070b5 Remove default cluster in tests 2024-03-18 15:52:16 +01:00
Han Fei
8a54c85f3c
Merge pull request #61049 from hanfei1991/hanfei/check-limit-periodically
Check cgroups memory limit update periodically
2024-03-18 15:15:46 +01:00
Dmitry Novik
15e19206b4 Merge remote-tracking branch 'origin/master' into analyzer-distr-json-copy 2024-03-18 14:24:51 +01:00
János Benjamin Antal
4a1ce10c20 Merge remote-tracking branch 'origin/master' into fix-flaky-test-merge-tree-load-parts-corrupted 2024-03-18 10:36:36 +00:00
János Benjamin Antal
6ba073861d Merge remote-tracking branch 'origin/master' into improve-test-failed-mutations 2024-03-18 10:35:38 +00:00
alesapin
0faf4eacb8
Merge pull request #61299 from ClickHouse/merge_config
Add ability to merge includes for config preprocessor for configs
2024-03-18 11:22:42 +01:00
Robert Schulze
eb26bb2a1c
Merge pull request #61348 from rschu1ze/flaky-test_uncrop_query
Un-flake `test_undrop_query`
2024-03-18 08:56:22 +01:00
Alexey Milovidov
cb8d859453
Merge branch 'master' into analyzer-distr-json 2024-03-17 15:15:06 +03:00
jsc0218
1676cf6dd3 fix test 2024-03-16 22:18:42 +00:00
Alexey Milovidov
24e77a6b5a
Merge pull request #61477 from CurtizJ/fix-test-polymorphic-parts
Fix test `test_polymorphic_parts`
2024-03-16 13:51:06 +03:00
Anton Popov
bc6cd6e769 fix test_polymorphic_parts 2024-03-15 22:32:04 +00:00
Han Fei
e1730c070e fix style 2024-03-15 21:00:42 +01:00
Han Fei
694f5416b9 refine tests 2024-03-15 16:32:57 +01:00
Robert Schulze
f132eef63b
Merge remote-tracking branch 'rschu1ze/master' into flaky-test_uncrop_query 2024-03-15 15:12:58 +00:00
Kruglov Pavel
d045ab150e
Merge pull request #61362 from ClickHouse/revert-61359-revert-61234-Avogar-patch-2
Revert "Revert "Fix usage of session_token in S3 engine""
2024-03-15 16:00:05 +01:00
Max K
ff456ffb33
Revert "CI: ARM integration tests: disable tests with HDFS " 2024-03-15 15:08:03 +01:00
robot-ch-test-poll
2b93606ddd
Merge pull request #61182 from ClickHouse/ci_fix_arm_integration_tests_2
CI: ARM integration tests: disable tests with HDFS
2024-03-15 14:53:52 +01:00
Max Kainov
bf8ae84cb6 fixup! CI: skip hdfs tests for arm #do_not_test #batch_0 #no_merge_commit 2024-03-15 13:43:03 +00:00
alesapin
38cd6ef27d Merge branch 'master' into merge_config 2024-03-15 13:52:52 +01:00
Kruglov Pavel
fef38bded1
Merge pull request #61395 from Avogar/fox-test-clusters-actual-information
Fix test test_system_clusters_actual_information flakiness
2024-03-15 12:33:46 +01:00
Vitaly Baranov
f55e4f8f28 Add test. 2024-03-15 12:03:23 +01:00
Max Kainov
e8b3cc2851 CI: skip hdfs tests for arm
#do_not_test
 #batch_0
 #no_merge_commit

 #ci_set_arm
2024-03-14 20:19:10 +00:00
Kruglov Pavel
e8da3bb2eb
Fix style 2024-03-14 19:06:02 +01:00
avogar
a6f1e09e69 Test test test_system_clusters_actual_information flakiness 2024-03-14 17:35:10 +00:00
Nikolay Degterinsky
b064cff245 Fix test_failed_async_inserts 2024-03-14 16:57:17 +00:00
Dmitry Novik
90669ef487 Merge remote-tracking branch 'origin/master' into analyzer-distr-json 2024-03-14 17:43:26 +01:00
Kruglov Pavel
107acf54c6
Fix tests 2024-03-14 13:42:07 +01:00
vdimir
0b97f3ac16
Merge pull request #61320 from ClickHouse/vdimir/fix_rabbitmq_logical_error
Fix logical error in RabbitMQ storage with MATERIALIZED columns
2024-03-14 13:28:05 +01:00
Kruglov Pavel
6ac6c49d55
Merge pull request #61314 from Avogar/fix-test-distributed-settings
Don't use default cluster in test test_distibuted_settings
2024-03-14 13:00:27 +01:00
Nikolay Degterinsky
a0044f3aa4 Fix ATTACH query with external ON CLUSTER 2024-03-14 11:44:35 +00:00
Kruglov Pavel
0569f44186
Merge pull request #61322 from Avogar/fix-parallel-parsing-memory-tracking-test
Fix test test_input_format_parallel_parsing_memory_tracking
2024-03-14 12:23:04 +01:00
jsc0218
b3b46ea708 Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2 2024-03-14 00:36:29 +00:00
Robert Schulze
bd6bed161c
Try to fix flaky test_undrop_query 2024-03-13 20:56:42 +00:00
avogar
4670f05564 Fix test test_input_format_parallel_parsing_memory_tracking 2024-03-13 17:18:13 +00:00
vdimir
b2e067b3da
Fix logical error in RabbitMQ storage with MATERIALIZED columns 2024-03-13 16:41:35 +00:00
kssenii
5b15ec6ae1 Move test from stateless to integration 2024-03-13 17:10:55 +01:00
avogar
868d24415b Fix style 2024-03-13 15:48:29 +00:00
avogar
a366acf59c Don't use default cluster in test test_distibuted_settings 2024-03-13 15:36:53 +00:00
Kseniia Sumarokova
893ea7e4fe
Merge pull request #60396 from ClickHouse/fix-usage-of-plain-metadata
Fix usage of plain metadata type with new disks configuration option
2024-03-13 14:18:36 +01:00
robot-clickhouse
24626d431c Automatic style fix 2024-03-13 12:35:27 +00:00
alesapin
6203d45b96 working version with comments 2024-03-13 13:12:48 +01:00
Konstantin Bogdanov
a704ea510a
Fix test_placement_info (#61057)
* Fix test

* Fix last minute changes

* Automatic style fix

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2024-03-13 12:03:42 +01:00
alesapin
a8028b0bdc Merge branch 'master' into merge_config 2024-03-13 10:39:28 +01:00
Alexander Sapin
47dfefd6b3 config substitutions 2024-03-13 10:37:51 +01:00
Han Fei
cb3ffc6f1a fix style 2024-03-13 07:28:41 +01:00
Han Fei
044eed8d82 fix style 2024-03-13 06:40:47 +01:00
unashi
c78224c2ff Merge branch 'master' into feat-59377 2024-03-13 11:24:00 +08:00
Han Fei
c7c64636d0 add a test 2024-03-12 23:31:33 +01:00
kssenii
c947484fe0 Fxi again 2024-03-12 19:36:10 +01:00
János Benjamin Antal
f63970769b Make test less flaky 2024-03-12 12:23:09 +00:00
robot-clickhouse
e9ef18c3ac Automatic style fix 2024-03-12 11:54:56 +00:00
János Benjamin Antal
aa9b5741e1 Improve tests 2024-03-12 11:43:08 +00:00
robot-clickhouse
4ce5245157 Automatic style fix 2024-03-12 11:03:39 +00:00
Kseniia Sumarokova
61543edc8b
Merge branch 'master' into fix-usage-of-plain-metadata 2024-03-12 11:53:00 +01:00
alesapin
ed22c4c86e
Merge pull request #61136 from azat/tests/fix-test_distributed_directory_monitor_split_batch_on_failure
Fix test_distributed_directory_monitor_split_batch_on_failure flakienss
2024-03-12 11:39:04 +01:00
Azat Khuzhin
4bd6d4456e Fix expectations for test_all_projection_files_are_dropped_when_part_is_dropped
Since after DROP PART mutations are not cleaned anymore.

Here an example:

                objects_at_the_end = list_objects(cluster)
    >           assert objects_at_the_end == objects_empty_table
    E           AssertionError: assert ['data/evt/iczupcswcatzvjikqwmovahturdht', 'data/oxq/dmkgqbdzeeiwmukogoxawfoxxnrqs'] == ['data/oxq/dmkgqbdzeeiwmukogoxawfoxxnrqs']
    E             At index 0 diff: 'data/evt/iczupcswcatzvjikqwmovahturdht' != 'data/oxq/dmkgqbdzeeiwmukogoxawfoxxnrqs'
    E             Left contains one more item: 'data/oxq/dmkgqbdzeeiwmukogoxawfoxxnrqs'
    E             Full diff:
    E               [
    E             +  'data/evt/iczupcswcatzvjikqwmovahturdht',
    E                'data/oxq/dmkgqbdzeeiwmukogoxawfoxxnrqs',
    E               ]

    test_replicated_zero_copy_projection_mutation/test.py:155: AssertionError

And decoded paths:

    node1 :) select local_path from system.blob_storage_log where remote_path = 'data/evt/iczupcswcatzvjikqwmovahturdht'

    SELECT local_path
    FROM system.blob_storage_log
    WHERE remote_path = 'data/evt/iczupcswcatzvjikqwmovahturdht'

    Query id: 9ee5a9c0-c3b7-46ad-82bd-64c8bcbda78d

    ┌─local_path────────────────────────────────────────────────────────┐
    │ store/bce/bcea71c9-35cd-4368-9504-c563253b1964/tmp_mutation_1.txt │
    │ store/bce/bcea71c9-35cd-4368-9504-c563253b1964/mutation_1.txt     │
    └───────────────────────────────────────────────────────────────────┘

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-12 10:39:41 +01:00
kssenii
5a71636411 Fxi 2024-03-11 19:44:52 +01:00
Nikita Mikhaylov
fcf8a3821d Merge branch 'master' of github.com:ClickHouse/ClickHouse into rip-copier 2024-03-11 19:12:49 +01:00
kssenii
38f41ee311 Fix integration test 2024-03-11 16:55:30 +01:00
Nikita Mikhaylov
cfa042cb04 Merge branch 'master' of github.com:ClickHouse/ClickHouse into rip-copier 2024-03-11 15:45:20 +00:00
Kseniia Sumarokova
19d8256fa8
Update test.py 2024-03-11 14:44:19 +01:00
Kseniia Sumarokova
90b27432a2
Update test.py 2024-03-11 12:18:58 +01:00
Kseniia Sumarokova
3832b0e126
Merge branch 'master' into add-a-way-to-force-read-through-filesystem-cache-for-merges 2024-03-11 11:30:03 +01:00
Kseniia Sumarokova
aacfefe0fe
Merge branch 'master' into fix-usage-of-plain-metadata 2024-03-11 10:37:53 +01:00
Azat Khuzhin
318fc7efcf Fix test_distributed_directory_monitor_split_batch_on_failure flakienss
The memory limit had been changed in #52439

CI: https://s3.amazonaws.com/clickhouse-test-reports/61132/04d885b570325b1e66bf0c7c13d4732b4d9340ec/integration_tests__tsan__[2_6].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-11 09:43:47 +01:00
Sema Checherinda
80179e50e4
Merge pull request #58845 from ClickHouse/chesema-session-pool
HTTP connections pool
2024-03-10 14:06:59 +01:00
kssenii
e5e6625b0c Merge remote-tracking branch 'origin/master' into fix-usage-of-plain-metadata 2024-03-10 12:05:02 +01:00
Kseniia Sumarokova
7e7fc4127d
Merge branch 'master' into revert-refert-of-broken-projections-handling 2024-03-10 10:01:34 +01:00
Sema Checherinda
f7f1d86e66 fix tests test_attach_without_fetching test_replicated_merge_tree_wait_on_shutdown 2024-03-10 10:00:18 +01:00
Sema Checherinda
5c41727725 http connections pools 2024-03-10 10:00:18 +01:00
Alexey Milovidov
9ddec346a0 Miscellaneous 2024-03-10 09:02:34 +01:00
Alexander Tokmakov
92dea86bc4 Merge branch 'master' into fix_rdb_active 2024-03-08 22:26:01 +01:00
Alexander Tokmakov
854abd64d8
Merge pull request #60340 from ClickHouse/ddl_none_only_active
Add none_only_active DDL output mode
2024-03-08 22:20:40 +01:00
robot-clickhouse
babe000036 Automatic style fix 2024-03-08 16:43:10 +00:00
Alexander Tokmakov
e2317477f7 fix removing is_active node after re-creation 2024-03-08 17:30:29 +01:00
Nikita Mikhaylov
2bc4d27ac6 Bye bye 2024-03-07 19:24:39 +00:00
kssenii
bcd7133075 Merge remote-tracking branch 'origin/master' into fix-usage-of-plain-metadata 2024-03-07 17:22:11 +08:00
JackyWoo
9e7894d8cb
Reduce the number of read rows from system.numbers (#60546)
* Fix read more data for system.numbers

* Fix tests
2024-03-07 09:38:07 +01:00
Mikhail f. Shiryaev
5e597228d7
Merge pull request #60408 from ClickHouse/update-style-python
Update style python
2024-03-07 09:32:28 +01:00
robot-clickhouse
c7f5b1631c Automatic style fix 2024-03-07 08:30:34 +00:00
kssenii
f77b596374 Fix test 2024-03-07 16:17:27 +08:00
Kseniia Sumarokova
8fc3581446
Merge branch 'master' into fix-usage-of-plain-metadata 2024-03-07 14:29:57 +08:00
vdimir
56b6810122
Merge pull request #60641 from ClickHouse/vdimir/analyzer/comute_alias_columns
Resubmit "Analyzer: compute ALIAS columns right after reading"
2024-03-06 16:52:16 +01:00
Dmitry Novik
016bbfe6f8 Merge remote-tracking branch 'origin/master' into analyzer-distr-json 2024-03-06 15:09:52 +01:00
Dmitry Novik
7065e650e1 Code cleanup 2024-03-06 14:34:03 +01:00
robot-clickhouse
be98c95f58 Automatic style fix 2024-03-06 09:12:26 +00:00
kssenii
6d4514c045 Fix test 2024-03-06 16:55:48 +08:00
unashi
b4dba828a4 [fix] 2024-03-06 16:19:07 +08:00
unashi
3dbb0a12fb [fix] style 2024-03-06 16:15:37 +08:00
Antonio Andelic
e0fa26ece3
Merge pull request #60806 from Brokenice0415/add-leadership-expiry-setting
Support `leadership_expiry_ms` in  Keeper's settings
2024-03-06 09:05:50 +01:00
Zach Naimon
7ed1be6f3c fix test comment 2024-03-05 14:46:39 -05:00
Zach Naimon
b074477ffb use new syntax in a test 2024-03-05 14:45:09 -05:00
Mikhail f. Shiryaev
859044221f
Fix tests/integration/runner linter issues 2024-03-05 16:02:44 +01:00