kssenii
274457e5cf
Allow cache over azure blob storage, add tests
2022-07-18 16:15:04 +02:00
Alexander Tokmakov
2c5a88faba
deprecate Ordinary database
2022-06-23 10:20:14 +02:00
Alexander Tokmakov
5ba304476d
Merge pull request #37560 from azat/tests-scripts-proper-wait
...
Proper wait of the clickhouse-server in tests
2022-06-17 18:23:30 +03:00
Mikhail f. Shiryaev
4d45839f17
Generalize setup_minio.sh
...
- Cleanup apt garbage in the container
- Download the same binary in docker and setup_minio.sh
- Use binary and not rpm for minio
- Sort packages in Dockerfile's
2022-06-10 15:04:45 +02:00
Nikita Mikhaylov
fe477355df
Added support for schema inference for hdfsCluster
[2] ( #35812 )
2022-06-03 15:54:29 +02:00
Alexander Tokmakov
1ae919a18a
Revert "Merge pull request #35865 from azat/clickhouse-test-left-queries"
...
This reverts commit 18d094d79d
, reversing
changes made to 224f4dc620
.
2022-05-28 19:23:58 +02:00
Azat Khuzhin
28e0bb78db
tests/stateless: properly wait for server
...
If 10 seconds will not be enough to finish the server, then
clickhouse-local (that goes after) cannot obtain the logs due to status
file will be locked, like in [1]:
Code: 76. DB::Exception: Cannot lock file /var/lib/clickhouse/status. Another server instance in same directory is already running. (CANNOT_OPEN_FILE)
[1]: https://s3.amazonaws.com/clickhouse-test-reports/35075/4a064e5b6f81136f2bf923d85001f25fa05d39ce/stateless_tests_flaky_check__address__actions_.html
So use proper wait via "clickhouse stop"
v2: Fix permissions pid file for replicated database servers
They do not use default, /var/run/clickhouse-server, that do not have
proper permissions.
Fixes : #36885
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-27 07:18:51 +03:00
Alexander Tokmakov
7a9c9da0bd
Update run.sh
2022-05-04 01:10:40 +03:00
Alexander Tokmakov
193a50a688
Update run.sh
2022-05-03 23:17:03 +03:00
Alexander Tokmakov
3baf72f1d4
save system logs in func tests if server crashed
2022-05-03 20:10:07 +02:00
Azat Khuzhin
08e74b98f5
tests: do not check queries after tests for replicated database
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:31 +03:00
Alexander Tokmakov
5a50ad9de3
Merge branch 'master' into mvcc_prototype
2022-03-31 11:35:04 +02:00
Azat Khuzhin
8b84829e93
ci: replace directory system log tables artifacts with tsv
...
Changelog:
- remove query_thread_log (query_log should be enough)
- for s3 storage there /var/lib/clickhouse/data/system/*_log cannot be
used, replace them with plain TSVWithNamesAndTypes, also note, that
after schema inference it is even pretty easy to use
- support replicated database env correctly
Co-authored-by: tavplubix <tavplubix@clickhouse.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-30 21:50:55 +03:00
Alexander Tokmakov
aa6b9a2abc
Merge branch 'master' into mvcc_prototype
2022-02-23 23:22:03 +03:00
alesapin
8a0153b6d3
Merge pull request #34606 from qoega/no-clickhouse-test-deb
...
Remove clickhouse-test deb completely
2022-02-17 18:13:44 +03:00
Alexander Tokmakov
dae044f86b
Merge branch 'master' into mvcc_prototype
2022-02-17 13:49:37 +03:00
Yatsishin Ilya
bbe2c07a7b
remove clickhouse-test deb completely
2022-02-15 12:03:51 +00:00
alesapin
06499ce847
Revert "Remove docker change"
...
This reverts commit 3c80e0bff8
.
2022-02-04 14:32:11 +03:00
Alexander Tokmakov
ca5f951558
Merge branch 'master' into mvcc_prototype
2022-02-03 18:56:44 +03:00
alesapin
3c80e0bff8
Remove docker change
2022-02-02 20:36:04 +03:00
alesapin
80800e051e
Merge branch 'master' into revert-34211-revert-34153-add_func_tests_over_s3
2022-02-02 19:42:04 +03:00
alesapin
18f08ed932
Revert "Revert "Add func tests run with s3""
2022-02-01 10:20:06 +03:00
alexey-milovidov
cbfcd45be3
Revert "Add func tests run with s3"
2022-02-01 05:46:13 +03:00
alesapin
b6828f1b4a
Supress some tests for S3
2022-01-31 19:09:25 +03:00
Yatsishin Ilya
3a55f7a7d6
Do not use clickhouse-test.deb in stateless
2022-01-24 11:53:42 +00:00
Alexander Tokmakov
e1a41fc694
add system log for introspection
2022-01-14 17:03:00 +03:00
alesapin
84bccb83bd
Trying to add debug info
2021-12-10 19:38:20 +03:00
alesapin
a6e55b00e3
Revert "Revert "Split long tests into multiple checks""
2021-12-10 18:39:02 +03:00
alesapin
dcbba460c1
Revert "Split long tests into multiple checks"
2021-12-10 18:38:42 +03:00
alesapin
4c1babee05
Split long functional tests to multiple checks
2021-12-10 12:07:24 +03:00
Azat Khuzhin
d0ecdb617e
Remove duplicated not compressed logs from CI (actions)
...
Right now we cannot remove that compression since non-github actions
check will upload non compressed files then, but once old CI will be
removed it seems to be possible to remove that manual compression.
2021-11-19 21:33:48 +03:00
Alexander Tokmakov
d095cfe4c1
disable check for zk session uptime by default
2021-10-29 14:45:09 +03:00
Azat Khuzhin
8f015764a7
Add metadata for *_log into tests artifacts
...
This will allow to use artifacts as-is, i.e.:
clickhouse-local --path /path/to/log/artifact
v2: convert database to Ordinary to avoid extra symlinks dependencies.
2021-10-23 20:17:01 +03:00
tavplubix
a16ce6b54b
Merge pull request #30030 from ClickHouse/tavplubix-patch-3
...
Attach trace_log to stateless tests report as is
2021-10-13 13:21:39 +03:00
Dmitry Novik
0507391010
Do not stop CI tests processing if clickhouse-test return 1
2021-10-12 23:30:07 +03:00
tavplubix
f3c9f4be6c
Update run.sh
2021-10-12 14:38:41 +03:00
Vitaly Baranov
bbb192ee85
Convert skip_list.json into first line comments.
2021-09-12 17:15:23 +03:00
Nikita Mikhaylov
c4bf47d4a3
Better
2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
e41d1cff1d
Fix test
2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
fcfda4b983
Fix tests and update ya.make
2021-08-31 12:54:45 +00:00
alesapin
1277db4435
Merge pull request #26129 from ClickHouse/system_zookeeper_log
...
Add system.zookeeper_log table
2021-07-28 11:22:29 +03:00
Alexey Milovidov
da94ed8a87
Merge branch 'master' into random_timezone_for_stateless_tests
2021-07-18 01:12:24 +03:00
Alexander Tokmakov
4165ba2a01
add system.zookeeper_log
2021-07-09 17:05:35 +03:00
Alexey Milovidov
e80a700cff
More direct way to start ClickHouse
2021-07-04 02:13:32 +03:00
Alexander Tokmakov
c873714698
improve replicated database tests
2021-06-15 23:52:29 +03:00
Alexander Tokmakov
9d8ebd5782
run tests with Replicated database in parallel
2021-06-11 15:28:27 +03:00
Alexander Kuzmenkov
77f0be25b6
Update run.sh
2021-04-23 23:03:53 +03:00
Alexander Kuzmenkov
9f187b594c
Update run.sh
2021-04-23 21:51:26 +03:00
Alexander Kuzmenkov
294dd3c6cc
export trace log from stateless tests in flamegraph-friendly format
2021-04-23 21:50:02 +03:00
Azat Khuzhin
2575d03a33
Add trace_log into stateless/stress test artifacts
2021-04-20 08:03:29 +03:00
alexey-milovidov
786f340256
Merge pull request #22755 from kssenii/postgresql-protocol-with-row-policy
...
Allow row policy in postgresql protocol
2021-04-17 01:55:30 +03:00
alesapin
f13eade50e
Upload keeper logs from stateless tests
2021-04-14 18:04:57 +03:00
Ivan
fdbaf246fd
Fix typo
2021-04-13 16:10:02 +03:00
kssenii
9089f44a50
Fix tests
2021-04-12 18:40:34 +00:00
Alexander Kuzmenkov
31c8edf06a
disable parallel run for DatabaseReplicated
2021-04-01 20:57:31 +03:00
Alexander Kuzmenkov
b67f48999c
Merge remote-tracking branch 'origin/master' into HEAD
2021-03-31 16:27:19 +03:00
Alexander Tokmakov
500a20f30d
Merge branch 'master' into test_multiple_nodes
2021-03-30 16:23:33 +03:00
Alexander Kuzmenkov
f2325b62f4
Merge remote-tracking branch 'origin/aku/flaky-stateless' into HEAD
2021-03-30 14:04:02 +03:00
Alexander Kuzmenkov
bd5ddf0524
fixes
2021-03-30 13:49:43 +03:00
Alexander Tokmakov
9925110713
rename other occurrances
2021-03-29 23:04:50 +03:00
Alexander Kuzmenkov
653b930e54
random order in flaky check
2021-03-29 22:12:20 +03:00
Alexander Kuzmenkov
23198059f3
save query log
2021-03-29 22:12:20 +03:00
alesapin
0cb85b9ea8
Trying parallel functional tests one more time
2021-03-29 17:26:48 +03:00
Alexander Kuzmenkov
7df765e4b4
save query log
2021-03-29 14:47:57 +03:00
Alexander Tokmakov
fdae70df6c
fix tests
2021-03-18 15:50:03 +03:00
Alexander Tokmakov
ff79be8af9
fix
2021-03-16 23:01:20 +03:00
Alexander Tokmakov
735acf27d8
try run stateful tests
2021-03-16 19:39:31 +03:00
Alexander Tokmakov
e62e256e77
fix
2021-03-13 13:22:48 +03:00
Alexander Tokmakov
8e00ff7898
try run two nodes with Replicated db and NuKeeper
2021-03-13 04:25:13 +03:00
Alexander Tokmakov
d46fee0f04
Merge branch 'master' into stress_test_results
2021-02-26 00:24:22 +03:00
Alexey Milovidov
c46c300e9d
Merge branch 'master' into random_timezone_for_stateless_tests
2021-02-22 19:07:26 +03:00
Alexander Tokmakov
487b162343
fix
2021-02-22 16:53:43 +03:00
Alexander Tokmakov
eaed15b5e1
process result of func and unit tests
2021-02-20 23:04:24 +03:00
Alexander Tokmakov
9c7cf9e92e
remove some debug code
2021-02-15 13:26:34 +03:00
alesapin
626a23afc7
Fix option
2021-01-29 15:51:10 +03:00
Alexander Kuzmenkov
8070562bd0
Run tests in parallel in flaky check
2021-01-27 18:24:39 +03:00
alesapin
dfc1e8ef1d
Also upload query log
2021-01-15 10:53:37 +03:00
alesapin
b6170c1326
No logs
2021-01-15 00:18:50 +03:00
alesapin
8da81a4791
No errors
2021-01-15 00:15:48 +03:00
alesapin
490326e6b0
Fix symlinks
2021-01-14 19:24:06 +03:00
alesapin
29685aac3c
More debug for stateless tests writer
2021-01-14 13:42:51 +03:00
alexey-milovidov
279d6720ec
Update run.sh
2021-01-06 07:20:33 +03:00
Alexey Milovidov
ad9cd724e0
Merge branch 'master' into random_timezone_for_stateless_tests
2021-01-06 05:45:23 +03:00
Yatsishin Ilya
a25fa1996b
fix style checks
2020-12-29 17:57:12 +03:00
alesapin
b10f13f34a
More thread fuzzer
2020-12-21 23:24:16 +03:00
alesapin
8bbb678758
Correctly forward env
2020-12-21 23:12:01 +03:00
alesapin
8f2d4f2d1e
Fix user
2020-12-21 18:46:36 +03:00
alesapin
fdf18ceec0
Remove new line
2020-12-21 13:08:06 +03:00
alesapin
643739df6b
Trying to enable thread fuzzer in flaky check
2020-12-21 13:06:36 +03:00
alesapin
4a23c7906d
Merge with master
2020-11-23 11:39:40 +03:00
Alexander Tokmakov
b29cfa7f82
fix test with uuid
2020-10-23 15:32:57 +03:00
alesapin
0abb62107a
Exclude some tests from flaky check run
2020-10-23 13:18:06 +03:00
alesapin
d91db2473e
Fix bash
2020-10-22 17:33:23 +03:00
alesapin
369365bdb0
Fix run.sh
2020-10-21 23:11:35 +03:00
alesapin
ad655bcfc0
Add stateless flaky check
2020-10-21 17:23:45 +03:00
alesapin
a7f989193a
Merge branch 'master' into stateless_test_flaky_check
2020-10-21 17:21:25 +03:00
alesapin
e6650ed642
Fix options passing to functional tests scripts
2020-10-15 14:56:12 +03:00
Alexander Kuzmenkov
499e0766e5
Check docker scripts with shellcheck
2020-09-30 20:06:46 +03:00
alesapin
a1f4d38019
Add ability to run tests multiple time in stateless image
2020-09-29 12:44:28 +03:00
alesapin
d965199feb
Deduplicated code and use random timezone
2020-09-28 15:11:36 +03:00
alesapin
bb8a2e1617
Better clickhouse-configs
2020-09-24 11:18:36 +03:00
alesapin
a85bb16c66
Remove zookeeper from CI images
2020-09-24 10:33:22 +03:00
alesapin
27613f8346
Fix symbolizers path in test images
2020-09-21 10:38:11 +03:00
Alexey Milovidov
04a6965006
Fix error with executable dictionary source
2020-09-07 09:40:01 +03:00
Vitaly Baranov
0fcee34322
Add test.
2020-07-31 20:57:49 +03:00
Vasily Nemkov
78f69bbfc4
Retain existing config.d/query_masking_rules.xml that come from server package
2020-07-15 16:11:43 +03:00
alesapin
dc8051f737
Fixes
2020-07-08 12:47:14 +03:00
alesapin
9ea3bdd054
Fix skip lists for old branches
2020-07-08 11:41:39 +03:00