alesapin
261dc06be9
Fix flaky ttl test
2023-01-17 17:08:32 +01:00
Antonio Andelic
ba363c141a
Fix integration test
2023-01-17 13:12:52 +00:00
Vitaly Baranov
8c5c423d67
Add test.
2023-01-17 13:11:24 +01:00
Sema Checherinda
2cd55bc398
fix/adjust tests in integration/test_partition
2023-01-17 12:02:18 +01:00
Vitaly Baranov
14a7ee8e26
Copy files to S3 during backup directly without using WriteBufferFromS3 to decrease memory consumption.
2023-01-17 09:35:41 +01:00
Anton Popov
6863cd152f
Merge pull request #42181 from CurtizJ/optimize-loading-parts
...
Do not load inactive parts at startup
2023-01-16 14:38:50 +01:00
Kseniia Sumarokova
75318e4cee
Merge pull request #45180 from kssenii/fix-flacky-test-multiple-disks
...
Fix flaky test test_multiple_disks/test.py::test_rename
2023-01-13 19:05:03 +01:00
Alexander Tokmakov
db91c4a749
Merge pull request #45168 from ClickHouse/tavplubix-patch-1
...
Try to fix flaky test_ttl_move_memory_usage
2023-01-13 15:01:42 +03:00
kssenii
0110b63a95
Better fix
2023-01-13 12:12:27 +01:00
Ilya Yatsishin
94e8c57d0d
Merge pull request #45094 from ClickHouse/try-fix-keeper-map
...
Try fixing KeeperMap tests
2023-01-13 00:46:43 +01:00
Yakov Olkhovskiy
842a34666c
Merge pull request #44594 from arenadata/ADQM-634
...
Add keytab parameter in kerberos section of config.xml
2023-01-12 15:07:45 -05:00
Nikolai Kochetov
e21fe952c6
Update test_ttl_move_memory_usage.py
2023-01-12 18:45:19 +01:00
Nikolai Kochetov
1911c25a7b
Merge branch 'master' into tavplubix-patch-1
2023-01-12 18:44:39 +01:00
Antonio Andelic
1f2ec534f4
Add EXISTS clauses
2023-01-12 15:39:04 +00:00
Antonio Andelic
dc4262f338
Merge branch 'master' into try-fix-keeper-map
2023-01-12 15:19:51 +00:00
Antonio Andelic
fb23a399b5
Merge pull request #45213 from ClickHouse/fix-flaky-keeper-test
...
Fix flaky `test_keeper_three_nodes_two_alive`
2023-01-12 14:57:40 +01:00
Yakov Olkhovskiy
344fa16184
Merge pull request #42991 from ClickHouse/tests-connection-error
...
add retries on ConnectionError
2023-01-12 08:32:03 -05:00
Ilya Yatsishin
23c80d77a0
Merge pull request #45206 from ClickHouse/try-fix-overcommit-test
...
Disable check to make test_overcommit_tracker not flaky
2023-01-12 14:16:11 +01:00
alesapin
df8ceeefdc
Merge pull request #45134 from ClickHouse/fix_flaky_azure_test
...
Fix flaky azure test
2023-01-12 13:02:34 +01:00
Nikita Mikhaylov
62d544e742
Fix integration test test_replicated_users::test_rename_replicated ( #45192 )
...
* Done
* Update tests/integration/test_replicated_users/test.py
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-01-12 12:36:36 +01:00
robot-clickhouse
d61e202416
Automatic style fix
2023-01-12 11:35:03 +00:00
Antonio Andelic
feaad2bd43
try avoiding bad file descriptor
2023-01-12 11:28:41 +00:00
Antonio Andelic
97266ccabc
Merge branch 'master' into try-fix-keeper-map
2023-01-12 11:16:35 +00:00
Kseniia Sumarokova
56f8899df8
Update tests/integration/test_multiple_disks/test.py
...
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-01-12 12:06:31 +01:00
Antonio Andelic
0fc279e2bb
Don't allow third node to become leader
2023-01-12 08:44:55 +00:00
Dmitry Novik
bed39f3762
Disable check to make test on flaky
2023-01-11 23:52:13 +00:00
kssenii
e3a1af6542
Fix flacky test
2023-01-11 23:51:03 +01:00
Ilya Yatsishin
bca117b26d
Merge pull request #45099 from ClickHouse/qoega-patch-4
...
Try to fix flaky test_create_user_and_login/test.py::test_login_as_dropped_user_xml
2023-01-11 23:37:03 +01:00
Nikolai Kochetov
653d18cb8c
Merge pull request #45162 from ClickHouse/disable-test_move_and_s3_memory_usage
...
Disable test_ttl_move_memory_usage as too flaky.
2023-01-11 20:30:28 +01:00
Ilya Yatsishin
cc352804df
Merge pull request #45156 from qoega/green-ci-5
...
Fix flaky test_tcp_handler_interserver_listen_host
2023-01-11 19:09:22 +01:00
Antonio Andelic
2c33c9e62c
Merge branch 'master' into try-fix-keeper-map
2023-01-11 15:05:04 +01:00
Alexander Tokmakov
764abb6410
try to fix flaky test_ttl_move_memory_usage
2023-01-11 15:55:18 +03:00
Nikolai Kochetov
07a3967d6b
Disable test_ttl_move_memory_usage as too flaky.
2023-01-11 11:20:02 +00:00
Alexander Tokmakov
b156209ed6
Update test.py
2023-01-11 14:17:44 +03:00
Yatsishin Ilya
77f0724629
Fix flaky test_tcp_handler_interserver_listen_host
2023-01-11 10:28:30 +00:00
robot-clickhouse
6d6e803cfb
Automatic style fix
2023-01-11 10:09:43 +01:00
Ilya Yatsishin
f871949d85
Try to fix flaky test_create_user_and_login/test.py::test_login_as_dropped_user_xml
2023-01-11 10:09:43 +01:00
Anton Popov
6c4f53bdca
Merge remote-tracking branch 'upstream/master' into HEAD
2023-01-11 01:00:57 +00:00
alesapin
6d86b8dd47
Fix flaky azure test
2023-01-10 19:05:02 +01:00
Antonio Andelic
7d948c9c77
Merge branch 'master' into try-fix-keeper-map
2023-01-10 15:44:28 +01:00
Antonio Andelic
134cc3e273
Change table name
2023-01-10 14:16:28 +01:00
Maksim Kita
d4a2dd43ce
Merge pull request #44891 from azat/tests/rewrite-update_field-test
...
Convert integration test_dictionaries_update_field to a stateless
2023-01-10 15:14:53 +03:00
Antonio Andelic
d7ca0c04fa
remove drop if exists
2023-01-10 11:35:02 +01:00
Antonio Andelic
7aef7d95de
Small fixes for keeper_map tests
2023-01-10 09:15:07 +00:00
robot-clickhouse
46b21629ed
Automatic style fix
2023-01-09 17:23:02 +00:00
Smita Kulkarni
93530e8d34
Added settings to disallow concurrent backups and restores
...
Implementation:
* Added server level settings to disallow concurrent backups and restores, which are read and set when BackupWorker is created in Context.
* Settings are set to true by default.
* Before starting backup or restores, added a check to see if any other backups/restores are running (except internal ones).
Testing:
* Added a test test_backup_and_restore_on_cluster/test_disallow_concurrency.
2023-01-09 18:14:39 +01:00
Nikita Mikhaylov
857799fbca
Parallel distributed insert select with s3Cluster [3] ( #44955 )
...
* Revert "Revert "Resurrect parallel distributed insert select with s3Cluster (#41535 )""
This reverts commit b8d9066004
.
* Fix build
* Better
* Fix test
* Automatic style fix
Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-01-09 13:30:32 +01:00
Kseniia Sumarokova
9ae5ad202a
Merge pull request #44707 from xiedeyantu/s3-add-config
...
S3 support upload object using storage class INTELLIGENT_TIERING
2023-01-09 13:28:53 +01:00
Roman Vasin
2995c6d866
Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-634
2023-01-09 08:26:45 +00:00
Alexey Milovidov
851e4ae59f
Fix typos
2023-01-08 07:08:20 +01:00
Antonio Andelic
c8d9368009
Retry on invalid snapshot
2023-01-07 17:08:25 +00:00
Anton Popov
1f32ffedf8
Merge pull request #43221 from ClickHouse/refactoring-ip-types
...
Replace domain IP types (IPv4, IPv6) with native
2023-01-07 12:01:21 +01:00
Alexey Milovidov
590ad41cbf
Merge pull request #44978 from azat/tests/fix-test_replicated_users
...
tests: fix test_replicated_users flakiness
2023-01-07 03:51:31 +03:00
Alexey Milovidov
d122d72ea8
Merge pull request #44996 from vitlibar/fix-test_grpc_protocol_progress
...
Fix test test_grpc_protocol/test.py::test_progress
2023-01-07 03:48:30 +03:00
Vitaly Baranov
e8355971bb
Fix test test_grpc_protocol/test.py::test_progress
2023-01-06 19:58:20 +01:00
kssenii
dd6a2c2d37
Fix style check
2023-01-06 16:53:24 +01:00
kssenii
2a030c1dc0
Merge remote-tracking branch 'upstream/master' into allow-single-disk-instead-of-storage-policy
2023-01-06 15:58:27 +01:00
Vitaly Baranov
92be50bd68
Add test for IMDS session token.
2023-01-06 15:55:26 +01:00
Vitaly Baranov
0d12d90fb5
Move common code to helpers/mock_servers.py
2023-01-06 15:55:21 +01:00
kssenii
c980e16345
Merge remote-tracking branch 'upstream/master' into storage-rabbitmq-fix-flush
2023-01-06 15:51:25 +01:00
Anton Popov
b25f875674
Merge pull request #44875 from ClickHouse/fix-another-one-cannot-read-all-data-for-lc-dict-error
...
Fix right offset for reading LowCardinality dictionary from remote fs
2023-01-06 15:24:36 +01:00
Kseniia Sumarokova
573d3283b0
Merge pull request #44327 from kssenii/use-new-named-collections-code-2
...
Replace old named collections code with new (from #43147 ) part 2
2023-01-06 13:06:26 +01:00
Nikolai Kochetov
12192ef099
Merge pull request #44938 from ClickHouse/try-fix-test_multiple_disks-test_freeze
...
Stop merges to avoid a race between merge and freeze.
2023-01-06 12:45:10 +01:00
Azat Khuzhin
7859346e40
tests: fix test_replicated_users flakiness
...
Alter for users/quotas/... does not wait until all replicas will be up
to date, so use *_with_retries() helperx.
CI: https://s3.amazonaws.com/clickhouse-test-reports/44922/bd885be9229cf47752c5c98392f09129261550f9/integration_tests__tsan__[6/6].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-06 12:45:03 +01:00
Azat Khuzhin
c03510cf6b
tests/integration: add query_and_get_error_with_retry() helper
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-06 12:45:03 +01:00
Alexey Milovidov
08ebdc9b82
Merge pull request #44903 from ClickHouse/less-flaky-test-concurrent-queries
...
Fix flaky `test_concurrent_queries_restriction_by_query_kind`
2023-01-06 03:18:28 +03:00
robot-clickhouse
62a9b33bbb
Automatic style fix
2023-01-05 16:29:58 +00:00
Ilya Yatsishin
a28d6fb490
Merge pull request #44848 from qoega/green-ci-2
...
Pre-pulling images for integration tests to detect broken infrastructure earlier
2023-01-05 17:29:39 +01:00
Nikolai Kochetov
90f3f5789f
Speedup a bit.
2023-01-05 16:23:49 +00:00
Nikolai Kochetov
dc5009d401
Stop merges to aviod a race between merge and freeze.
2023-01-05 15:28:56 +00:00
Anton Popov
ed00399eb6
Merge remote-tracking branch 'upstream/master' into HEAD
2023-01-05 14:12:02 +00:00
Yatsishin Ilya
1b03a60e43
Do not report status if we failed to pull images.
2023-01-05 13:53:45 +00:00
Ilya Yatsishin
c5f01a653c
Merge pull request #44880 from qoega/green-ci-4
...
Rewrite test_postgres_protocol test
2023-01-05 12:34:33 +01:00
Antonio Andelic
7dd8ac717a
Merge branch 'master' into less-flaky-test-concurrent-queries
2023-01-05 12:23:30 +01:00
Ilya Yatsishin
5d0f3e7819
Merge pull request #44921 from ClickHouse/fix-flaky-test-5
...
Fix flaky test `test_lost_part`
2023-01-05 10:28:07 +01:00
xiedeyantu
dfaa16b7a0
fix
2023-01-05 09:09:42 +08:00
xiedeyantu
110f95bae6
fix
2023-01-05 09:00:53 +08:00
Nikita Mikhaylov
e3ca9fb3e9
Blakc
2023-01-04 20:30:52 +00:00
Nikita Mikhaylov
ea7c338a7b
Done
2023-01-04 20:28:03 +00:00
Yatsishin Ilya
ccb6226d22
install CH before test
2023-01-04 20:07:52 +00:00
Yakov Olkhovskiy
dadd96ba6f
Merge pull request #44135 from ClickHouse/feature-protocol-proxy
...
Improve support for PROXYv1 protocol.
2023-01-04 14:06:17 -05:00
Yatsishin Ilya
daf2ccab81
Merge remote-tracking branch 'origin/master' into green-ci-2
2023-01-04 18:27:19 +00:00
xiedeyantu
2f59b1d002
better
2023-01-05 00:27:07 +08:00
Yakov Olkhovskiy
7a5a36cbed
Merge branch 'master' into refactoring-ip-types
2023-01-04 11:11:06 -05:00
Antonio Andelic
8ee589c5c1
Merge pull request #44898 from ClickHouse/try-fix-test-storage-kafka
...
Try to fix flaky `test_storage_kafka::test_kafka_produce_key_timestamp`
2023-01-04 16:54:47 +01:00
Yatsishin Ilya
03582f4b87
move logic to runner
2023-01-04 15:52:34 +00:00
Yatsishin Ilya
9cf599e58b
Merge remote-tracking branch 'origin/master' into green-ci-2
2023-01-04 15:49:22 +00:00
Yatsishin Ilya
d8d012523d
add pre-pull to runner
2023-01-04 15:47:50 +00:00
alesapin
92255e5d4b
Merge pull request #43020 from vitlibar/update-aws-c-submodules
...
Update aws-c* submodules
2023-01-04 16:25:22 +01:00
Antonio Andelic
1a1afc6a74
Make test_concurrent_queries_restriction_by_query_kind less flaky
2023-01-04 14:18:35 +00:00
Nikita Mikhaylov
e9c7555365
Use TablesDependencyGraph in DatabaseReplicated recovery process ( #44697 )
2023-01-04 14:49:39 +01:00
Yatsishin Ilya
4d5131ed7d
debug quotes
2023-01-04 13:16:31 +00:00
Antonio Andelic
890f094829
Set retention policy for Kafka topic
2023-01-04 12:04:00 +00:00
Yatsishin Ilya
08fbf6e5b2
again
2023-01-04 11:48:28 +00:00
alesapin
c09f83654d
Merge pull request #44533 from ClickHouse/40951_Allow_macro_substitution_in_endpoint
...
Allow macro substitution in endpoint of disks
2023-01-04 12:29:57 +01:00
Azat Khuzhin
0ab0f76737
Convert integration test_dictionaries_update_field to a stateless
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-04 11:05:00 +01:00
Antonio Andelic
9b58c97563
Store ZK generated data in archive
2023-01-04 09:10:16 +00:00
Alexey Milovidov
66e6f53698
Merge pull request #44839 from ClickHouse/move-odbc-test
...
Move `test_dies_with_parent` to another module
2023-01-04 05:17:19 +03:00
Alexey Milovidov
3a027d285f
Merge pull request #44828 from ClickHouse/remove-two-lines-of-code
...
What if I will remove two lines of code?
2023-01-04 04:50:52 +03:00
Ilya Yatsishin
49155d9614
Merge pull request #44711 from qoega/green-ci-1
...
Improve some integration tests and add pytest-random
2023-01-03 22:39:54 +01:00
Yatsishin Ilya
bb288c1f14
how many more?
2023-01-03 21:38:59 +00:00
Yatsishin Ilya
bbc02c0762
black
2023-01-03 21:28:54 +00:00
Yatsishin Ilya
14274d650b
Rewrite test_postgres_protocol test
2023-01-03 19:30:14 +00:00
Yatsishin Ilya
683df2dea5
fix
2023-01-03 18:56:24 +00:00
Robert Schulze
27f5aad49e
What happens if I remove 156 lines of code?
2023-01-03 18:51:16 +00:00
robot-clickhouse
d6c090b530
Automatic style fix
2023-01-03 18:29:09 +00:00
Nikolai Kochetov
da26f62a9b
Fix right offset for reading LowCardinality dictionary from remote fs in case if right mark was in the middle of compressed block.
2023-01-03 18:19:51 +00:00
Alexey Milovidov
a06d03e097
Merge pull request #44851 from qoega/green-ci-3
...
No more retries in integration tests
2023-01-03 19:40:34 +03:00
Yatsishin Ilya
3deada0c29
fix
2023-01-03 16:05:20 +00:00
kssenii
67509aa2d5
Merge remote-tracking branch 'upstream/master' into use-new-named-collections-code-2
2023-01-03 16:41:30 +01:00
Antonio Andelic
a88171b594
Add timeout for ZK stop
2023-01-03 09:59:06 +00:00
Antonio Andelic
4ccd828a44
Wait for ZK process to stop
2023-01-03 09:39:14 +00:00
Nikita Mikhaylov
b34fc8650c
Merge branch 'master' into move-odbc-test
2023-01-02 21:22:50 +01:00
SmitaRKulkarni
16dd6ca02f
Merge branch 'master' into 40951_Allow_macro_substitution_in_endpoint
2023-01-02 20:34:24 +01:00
Alexey Milovidov
e855d3519a
Merge branch 'master' into refactoring-ip-types
2023-01-02 21:58:53 +03:00
Ilya Yatsishin
8a9bb9b107
No more retries in integration tests
2023-01-02 18:56:24 +01:00
Yatsishin Ilya
3251d9278c
black
2023-01-02 17:44:04 +00:00
Yatsishin Ilya
9ab5cf7d62
Download inside runner
2023-01-02 16:46:24 +00:00
Antonio Andelic
509fd873ec
Try restarting zookeeper if connection failed ( #44834 )
2023-01-02 16:24:57 +01:00
Yatsishin Ilya
b40f6c0b10
Pre-pull docker image and fail check completely if it failed
2023-01-02 15:04:14 +00:00
Kruglov Pavel
966f57ef68
Merge pull request #42777 from Avogar/improve-streaming-engines
...
Refactor and Improve streaming engines Kafka/RabbitMQ/NATS and data formats
2023-01-02 15:59:06 +01:00
Alexey Milovidov
17e792ca0b
Merge pull request #44825 from azat/ci/integration-fixes
...
Fix misleading integration tests reports for parametrized tests
2023-01-02 17:49:57 +03:00
robot-clickhouse
675fe5cd91
Automatic style fix
2023-01-02 13:38:18 +00:00
Nikita Mikhaylov
ec5e8ee9cf
Done
2023-01-02 13:31:19 +00:00
Smita Kulkarni
5592d30798
Updated to skip access check for hdfs , as done for other tests - Allow macro substitution in endpoint
2023-01-02 14:03:51 +01:00
Yatsishin Ilya
54e2df724f
fix test
2023-01-02 12:43:16 +01:00
Yatsishin Ilya
6ec3bf40b1
black
2023-01-02 12:43:16 +01:00
Yatsishin Ilya
f779fe3c0a
Improve some integration tests
2023-01-02 12:43:16 +01:00
Azat Khuzhin
c3b3ae886f
tests/integration: ignore exit code for a running group
...
tee is useful there, otherwise logs are empty on CI
This reverts commit 92fd7def39
.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 12:08:44 +01:00
Azat Khuzhin
f2c069b852
tests/integration: allow to split parametrized tests between parallel groups
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 12:06:56 +01:00
Smita Kulkarni
2f73bf48b8
Added config to integration test test_endpoint_macro_substitution - Allow macro substitution in endpoint
2023-01-02 11:43:19 +01:00
Alexey Milovidov
b89513e789
Merge pull request #44823 from azat/tests/fix-flaky-test_multiple_disks
...
Fix flaky test_multiple_disks::test_jbod_overflow
2023-01-02 05:25:27 +03:00
Azat Khuzhin
4b71b481c7
tests/integration: do not split paramaterized tests into multiple groups
...
There is also one assumption the runner already, that leads to
misleading reports like in [1].
[1]: https://s3.amazonaws.com/clickhouse-test-reports/44762/89c071e291980e355f2c2be42dc15047caabc9bc/integration_tests__asan__%5B4/6%5D.html
Here the test test_multiple_disks/test.py::test_jbod_overflow had been
splitted into multiple groups, however because of that one assumption
it had been runned as a whole in both groups and in one it failed but
succeeded in another.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-01 23:35:21 +01:00
Azat Khuzhin
700943a2b0
tests/integration: remove logging message for undone thing
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-01 23:13:00 +01:00
Azat Khuzhin
fa78569c39
tests/integration: fix logging message
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-01 23:12:25 +01:00
Azat Khuzhin
92fd7def39
tests/integration: fix detecting exit code for a running group
...
Because of tee the exit code is the result of tee, not of the pytest.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-01 23:09:12 +01:00
Azat Khuzhin
3123761980
Fix flaky test_multiple_disks::test_jbod_overflow
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-01 22:21:24 +01:00
Alexey Milovidov
f5fc9b2825
Fix tests for bridges
2023-01-01 22:00:08 +01:00
Vitaly Baranov
426e2a9da1
Add test for getting credentials from AWS EC2 metadata.
2022-12-31 18:56:40 +01:00
alesapin
4948a8c17b
Remove disk restart proxy and disk decorator ( #44647 )
...
* Remove disk restart proxy and disk decorator
* Automatic style fix
* Returned some trash back
* Fix build again
* Fix failing test
Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2022-12-30 14:47:30 +01:00
SmitaRKulkarni
f9a3aeb172
Merge branch 'master' into 40951_Allow_macro_substitution_in_endpoint
2022-12-30 10:43:14 +01:00
Kruglov Pavel
894726bd8f
Merge branch 'master' into improve-streaming-engines
2022-12-29 22:59:45 +01:00
robot-clickhouse
c09d1bc758
Automatic style fix
2022-12-29 15:16:50 +00:00
Smita Kulkarni
8cc3b2e26c
Fixed integration flaky test issue by specifying hdfs client in each test- Allow macro substitution in endpoint
2022-12-29 16:10:06 +01:00
Nikita Mikhaylov
ffaff7167b
Fix flaky tests ( #44690 )
2022-12-29 14:32:10 +01:00
Alexey Milovidov
9378194320
Merge pull request #44688 from ClickHouse/improve-odbc-test
...
Improve odbc test
2022-12-29 15:40:47 +03:00
Azat Khuzhin
90b707d130
tests: more fixes for test_keeper_auth
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-29 09:29:24 +01:00
Alexey Milovidov
f7b2b961f7
Merge pull request #44667 from azat/tests/integration/dmesg-fix
...
Move dmesg dumping out from runner to ci-runner.py
2022-12-29 01:56:34 +03:00
Alexey Milovidov
23ea273f73
Edit another test
2022-12-28 19:49:57 +01:00
Alexey Milovidov
edd78da0cb
ODBC test: avoid poisoning other tests
2022-12-28 19:45:01 +01:00
Alexey Milovidov
0263499b0c
Merge pull request #44666 from azat/tests/integration/kazoo-stop
...
tests/integration: add missing kazoo client termination
2022-12-28 21:20:14 +03:00
Anton Popov
bc122d368a
Merge remote-tracking branch 'upstream/master' into HEAD
2022-12-28 17:45:04 +00:00
Azat Khuzhin
03f80bae90
Move dmesg dumping out from runner to ci-runner.py
...
runner is used by developers to run tests, while ci-runner.py is used
only by CI scripts, and to avoid requiring CAP_SYSLOG for manual dmesg
clear/dump had been moved.
Also for manual runs this can be done manually.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-28 15:47:46 +01:00
Vitaly Baranov
8a2fbbe88c
Merge pull request #43947 from azat/backups/dedup
...
RFC: Add ability to disable deduplication for BACKUP
2022-12-28 15:24:53 +01:00
Alexey Milovidov
1b4121459d
Merge pull request #44645 from ClickHouse/keeper-test-fix
...
Fix flaky test `test_keeper_multinode_simple`
2022-12-28 16:38:17 +03:00
Azat Khuzhin
bc6adc88c8
tests/integration: add workaround for a bug in kazoo driver
...
Refs: python-zk/kazoo#688
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-28 10:52:49 +01:00
Vitaly Baranov
b211dff013
Increase the create table timeout in test "test_backup_restore_on_cluster".
2022-12-28 00:17:19 +01:00
Nikita Mikhaylov
00ecf6dd05
Better
2022-12-27 17:04:47 +00:00
Nikita Mikhaylov
ce6264b684
Done
2022-12-27 17:03:57 +00:00
Azat Khuzhin
e1ad5cee7e
tests/integration: add missing kazoo client termination
...
pytest play games with logging output [1].
[1]: https://github.com/pytest-dev/pytest/issues/5502
But this does not actually affect ClickHouse tests, the only reason is
that the kazoo client is not stopped correctly without calling
kazoo.client.KazooClient.stop(), and that's why you can see the
following messages:
<details>
test_storage_rabbitmq/test.py::test_rabbitmq_big_message --- Logging error ---
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/kazoo/protocol/connection.py", line 179, in _socket_error_handling
yield
File "/usr/local/lib/python3.8/dist-packages/kazoo/protocol/connection.py", line 659, in _connect
self._socket = self.handler.create_connection(
File "/usr/local/lib/python3.8/dist-packages/kazoo/handlers/threading.py", line 178, in create_connection
return utils.create_tcp_connection(socket, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/kazoo/handlers/utils.py", line 265, in create_tcp_connection
sock = module.create_connection(address, timeout_at)
File "/usr/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/usr/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/kazoo/protocol/connection.py", line 579, in _connect_attempt
read_timeout, connect_timeout = self._connect(host, hostip, port)
File "/usr/local/lib/python3.8/dist-packages/kazoo/protocol/connection.py", line 659, in _connect
self._socket = self.handler.create_connection(
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.8/dist-packages/kazoo/protocol/connection.py", line 182, in _socket_error_handling
raise ConnectionDropped("socket connection error: %s" % (err,))
kazoo.exceptions.ConnectionDropped: socket connection error: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/logging/__init__.py", line 1088, in emit
stream.write(msg + self.terminator)
ValueError: I/O operation on closed file.
Call stack:
File "/usr/lib/python3.8/threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/dist-packages/kazoo/protocol/connection.py", line 512, in zk_loop
if retry(self._connect_loop, retry) is STOP_CONNECTING:
File "/usr/local/lib/python3.8/dist-packages/kazoo/retry.py", line 126, in __call__
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/kazoo/protocol/connection.py", line 552, in _connect_loop
status = self._connect_attempt(host, hostip, port, retry)
File "/usr/local/lib/python3.8/dist-packages/kazoo/protocol/connection.py", line 622, in _connect_attempt
self.logger.warning('Connection dropped: %s', e)
Message: 'Connection dropped: %s'
Arguments: (ConnectionDropped('socket connection error: None'),)
</details>
Which eventually leads to incorrectly parsed report.
This patch is an addition to the `logging.raiseExceptions=False` - #44618
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-27 17:01:06 +01:00
Kruglov Pavel
c3405be272
Increase the number of attempts in tests
2022-12-27 16:49:32 +01:00
Azat Khuzhin
c9c590071d
Add ability to disable deduplication for BACKUP
...
Right now BACKUP omit similar files, and will not allow to use this
backup as a regular table, and usually those similar files are quite
small (i.e. columns.txt).
So by using `BACKUP TO S3() deduplicate_files=0` you will be possible to
use `ATTACH TABLE` directly from S3.
P.S. right now it is possible only for the table with one part, since,
usually, there is nothing to deduplicate (if the columns are different).
v2: Add deduplicate_files into metadata
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-27 15:56:06 +01:00
Alexey Milovidov
7e447592b1
Merge pull request #44618 from azat/tests/integration/pytest-logging-fix
...
tests/integration: suppress exceptions during logging (due to pytest)
2022-12-27 14:33:37 +03:00
Alexey Milovidov
79d43c836a
Merge pull request #44572 from ClickHouse/fix-hdfs-test
...
Fix HDFS test
2022-12-27 14:31:00 +03:00
Alexey Milovidov
41fc65b47b
Merge pull request #44573 from ClickHouse/fix-distributed-queries-stress
...
Fix test_distributed_queries_stress
2022-12-27 14:30:28 +03:00
Azat Khuzhin
8b2ed0e3cd
tests/integration: disable logging.raiseExceptions
...
Due to pytest play games with logging [1] it is better to ignore it.
[1]: https://github.com/pytest-dev/pytest/issues/5502
This is due to incorrect kazoo client usage (not all clients calls
stop())
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-26 22:57:54 +01:00
Alexey Milovidov
a92a9b4d55
Merge pull request #44535 from azat/tests/integration-dmesg
...
tests: capture dmesg in integration tests
2022-12-26 23:49:02 +03:00
Roman Vasin
465cc36526
Update Exception messages in test.py
2022-12-26 13:17:22 +00:00
Roman Vasin
483e26cf2f
Merge branch 'master' into ADQM-634
2022-12-26 15:34:38 +03:00
Roman Vasin
3cdc9b3f81
Remove -vvv from kinit call in tests
2022-12-26 11:59:37 +00:00
Roman Vasin
a70e3c20fa
Make calls of test from Ubuntu client
2022-12-26 11:56:45 +00:00
Alexey Milovidov
a06c8268ea
Remove the offender
2022-12-26 11:28:26 +01:00
Alexey Milovidov
f9f0f9446d
Fix distributed_queries_stress
2022-12-25 09:46:51 +01:00
robot-clickhouse
19f05d4fb4
Automatic style fix
2022-12-25 08:38:02 +00:00
Alexey Milovidov
cbf140633b
Fix HDFS test
2022-12-25 09:30:20 +01:00
Anton Popov
0722020cae
Merge remote-tracking branch 'upstream/master' into HEAD
2022-12-23 18:15:55 +00:00
Smita Kulkarni
84362461fb
Updated test to use macro substitution for hdfs disk - Allow macro substitution in endpoint
2022-12-23 16:07:56 +01:00
Azat Khuzhin
69fadd2193
tests: capture dmesg in integration tests
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-23 15:50:10 +01:00
Smita Kulkarni
3d62bc2635
Allow macro substitution in endpoint of disks
...
Implementation:
* Updated to substitute macros in endpoint for all disks (s3, hfs, web).
Testing:
* Added an integration test test/integration/test_endpoint_macro_substitution.
2022-12-23 15:09:24 +01:00
Mikhail f. Shiryaev
6d0cd35cd0
Ignore exit code 1 for tar in integration tests
2022-12-23 13:08:59 +01:00
kssenii
8308177361
Merge remote-tracking branch 'upstream/master' into use-new-named-collections-code-2
2022-12-23 12:14:46 +01:00
Vladimir C
7482ea54ab
Merge pull request #43972 from ClickHouse/vdimir/tmp-data-in-fs-cache-2
2022-12-23 11:59:27 +01:00
kssenii
853f2ea123
Merge remote-tracking branch 'upstream/master' into use-new-named-collections-code-2
2022-12-23 11:49:02 +01:00
kssenii
8f1145f6e4
Fix tests
2022-12-23 11:47:51 +01:00
kssenii
11c0aa189a
Better error message
2022-12-22 15:29:35 +01:00
Nikolai Kochetov
773de7a8a6
Merge pull request #44472 from CurtizJ/fix-mutations
...
Fix mutations with setting `max_streams_for_merge_tree_reading`
2022-12-22 14:05:20 +01:00
kssenii
a58b8b8e6c
Fix tests
2022-12-22 12:27:42 +01:00
kssenii
ab458e68cd
Fix tests
2022-12-22 12:24:20 +01:00
vdimir
182b34c11e
Fixes
2022-12-22 10:22:57 +00:00
vdimir
511e8d698d
Rename config param tmp_cache -> temporary_data_in_cache
2022-12-22 10:22:56 +00:00
vdimir
d30d25dbbe
Temporary files evict fs cache
2022-12-22 10:22:49 +00:00
Roman Vasin
2d9f3c242b
Add test_bad_path_to_keytab test
2022-12-22 08:07:16 +00:00
Yakov Olkhovskiy
cea5b92536
binary backward compatibility test is added
2022-12-22 07:38:49 +00:00
kssenii
d3db1dd6a7
Fix tests
2022-12-22 00:27:22 +01:00
Anton Popov
5d6064cd28
better config in test
2022-12-21 11:35:11 +00:00
Kruglov Pavel
5e01a3d74e
Merge branch 'master' into improve-streaming-engines
2022-12-21 10:51:50 +01:00
Anton Popov
4b7f1e0cf2
fix mutations with setting 'max_streams_for_merge_tree_reading'
2022-12-21 01:59:53 +00:00
kssenii
1d75f740d7
Fix tests
2022-12-20 22:33:54 +01:00
kssenii
499565a604
Fix tests
2022-12-20 20:02:18 +01:00
Yakov Olkhovskiy
8462b724ca
Merge branch 'master' into feature-protocol-proxy
2022-12-20 13:12:07 -05:00