Commit Graph

1887 Commits

Author SHA1 Message Date
alesapin
e221a9d577 Images file update 2021-03-30 18:44:54 +03:00
alesapin
132c2f6f22 Add jepsen docker image 2021-03-30 18:42:53 +03:00
Alexander Kuzmenkov
350546356a debug dns in docker build 2021-03-30 18:09:58 +03:00
Alexander Kuzmenkov
5f8e88aca0
boop 2021-03-30 16:39:49 +03:00
Alexander Tokmakov
500a20f30d Merge branch 'master' into test_multiple_nodes 2021-03-30 16:23:33 +03:00
Alexander Kuzmenkov
e5953f249d
Update build.sh 2021-03-30 15:34:24 +03:00
Alexander Kuzmenkov
0696ed390d
Merge pull request #22181 from ClickHouse/aku/flaky-stateless
less flaky functional tests
2021-03-30 14:40:07 +03:00
Alexander Kuzmenkov
b01897ebd7 check how ccache is used for contribs 2021-03-30 14:31:39 +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
alesapin
5e3ebb3e0e
Merge pull request #22274 from ClickHouse/rename_keeper
Rename NuKeeper and TestKeeper to Keeper in all places
2021-03-30 10:39:22 +03:00
Alexander Tokmakov
9925110713 rename other occurrances 2021-03-29 23:04:50 +03:00
Alexander Kuzmenkov
750ff0c724
Merge branch 'master' into trying_parallel_func_tests 2021-03-29 22:53:09 +03:00
Alexander Tokmakov
ccd31d1b72 Merge remote-tracking branch 'ch/rename_keeper' into test_multiple_nodes 2021-03-29 22:44:40 +03:00
Alexander Tokmakov
a5b07f2f03 Merge branch 'master' into test_multiple_nodes 2021-03-29 22:43:25 +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
Mikhail Filimonov
da6ad09db6
Add suffixes for dockerfile arguments 2021-03-29 16:27:01 +02:00
alesapin
0cb85b9ea8 Trying parallel functional tests one more time 2021-03-29 17:26:48 +03:00
alesapin
a423540452 Merge remote-tracking branch 'origin/aku/flaky-stateless' into trying_parallel_func_tests 2021-03-29 17:25:23 +03:00
Mikhail Filimonov
32c27b45a6
Add possibility to customize the source for docker image builds.
Introduce 2 arguments for clickhouse-server image Dockerfile:
deb_location & single_binary_location

That enables to build docker images from CI build easily, also for non-standard
builds (with sanitizers / for arm64 etc).
2021-03-29 15:42:18 +02:00
alesapin
581ab43cfb
Merge pull request #22132 from devwout/fix-docker-entrypoint
Fix docker entrypoint in case http_port is not in the config
2021-03-29 16:31:18 +03:00
Alexander Kuzmenkov
7df765e4b4 save query log 2021-03-29 14:47:57 +03:00
alesapin
be132a32a2 More renames 2021-03-29 11:24:56 +03:00
kssenii
f40c582e7a Replicas/shards for postgres storage 2021-03-27 20:11:48 +00:00
kssenii
f141f027f4 Make common class for external storages 2021-03-27 17:12:47 +00:00
kssenii
ae868208c2 Use pool with failover in mysql storage 2021-03-27 14:39:45 +00:00
Ilya Yatsishin
d01af5e9f8
touch to rebuild 2021-03-26 22:44:40 +03:00
alesapin
4c67e25152
Merge pull request #22102 from ClickHouse/filimonov-docker-empty-dirname
docker: avoid chown of .
2021-03-26 22:19:12 +03:00
Alexander Kuzmenkov
0675f9403c
Merge pull request #21895 from ClickHouse/aku/laglead
float RANGE OFFSET and lag/lead_in_frame
2021-03-25 23:00:22 +03:00
Ewout
6fe26493e9 Fix docker entrypoint in case http_port is not in config.
`http_port` can be removed from the configuration when serving HTTP is
not desired. When it is not present, `extract-from-config` will fail,
which will prevent the server from starting.

Only fetch it when it is required for database initialization.
2021-03-25 16:14:48 +01:00
alexey-milovidov
52396acba1
Merge pull request #22064 from ClickHouse/fix-overflow-aes
Fix missing check in decrypt for AEAD mode
2021-03-25 16:01:44 +03:00
kssenii
bc36baef26 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge 2021-03-25 07:48:07 +00:00
filimonov
4b6b1311ce
Update entrypoint.sh 2021-03-24 22:33:08 +01:00
filimonov
8121c52c53
Update entrypoint.sh
fix for #22100
2021-03-24 22:24:07 +01:00
alexey-milovidov
b6a0f2f4ad
Merge pull request #22000 from ClickHouse/docker-add-tzdata
Add tzdata to Docker
2021-03-24 23:10:54 +03:00
Alexey Milovidov
6341b083fb Add test to skip list 2021-03-24 22:35:22 +03:00
kssenii
d9326cc229 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge 2021-03-24 18:28:55 +00:00
Ilya Yatsishin
4f8e3af0f7
Merge pull request #22015 from qoega/longer-sqlancer-run
Longer SQLancer run
2021-03-24 13:44:14 +03:00
Alexander Kuzmenkov
4c2278c215 Merge pull request #22047 from ClickHouse/aku/llvm-cloudflare-21.3
21.3: quick fix for broken resolution of apt.llvm.org on Yandex infra

(cherry picked from commit 12f5753e5f)
2021-03-23 19:41:09 +03:00
filimonov
4cbf741e52
Update Dockerfile.alpine 2021-03-23 11:48:28 +01:00
filimonov
7793593112
Update Dockerfile.alpine 2021-03-23 10:21:51 +01:00
Yatsishin Ilya
c18018ae06 Longer SQLancer run 2021-03-23 07:26:30 +03:00
Alexey Milovidov
b824df2d3f Add tzdata to Docker 2021-03-22 22:43:26 +03:00
Alexander Kuzmenkov
b0284f20c3
Merge branch 'master' into aku/laglead 2021-03-22 21:16:27 +03:00
Alexander Kuzmenkov
5ae5134147
Merge pull request #21846 from ClickHouse/aku/perf-test-error
more robust error handling in perf test
2021-03-22 17:18:37 +03:00
kssenii
8a650c4408 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge 2021-03-22 13:38:25 +00:00
alexey-milovidov
0bad6adc48
Merge pull request #21551 from vzakaznikov/testflows_use_yandex_docker_repo
Updating docker/test/testflows/runner/dockerd-entrypoint.sh to use Yandex dockerhub-proxy
2021-03-22 02:27:50 +03:00
Alexander Kuzmenkov
1beba597ca Merge remote-tracking branch 'origin/master' into HEAD 2021-03-19 02:11:08 +03:00
Alexander Kuzmenkov
6aa9039f7d float frames and lag/lead_in_frame 2021-03-19 02:05:43 +03:00
Alexander Kuzmenkov
8ab778e26a
Merge pull request #21754 from ClickHouse/aku/fuzzer-ci-sources
make the fuzzer use sources from the CI
2021-03-18 18:02:13 +03:00
Alexander Kuzmenkov
f2ac17cfba
Update compare.sh 2021-03-18 17:59:49 +03:00
Alexander Tokmakov
343b8c906d Merge branch 'master' into test_multiple_nodes 2021-03-18 16:01:04 +03:00
Alexander Tokmakov
fdae70df6c fix tests 2021-03-18 15:50:03 +03:00
Alexander Kuzmenkov
ebd20e6052
Update run-fuzzer.sh 2021-03-18 05:09:38 +03:00
Alexander Kuzmenkov
065faf1318 more robust error handling in perf test 2021-03-18 01:32:55 +03:00
Alexander Kuzmenkov
51cd10c8eb
Update run-fuzzer.sh 2021-03-18 00:22:36 +03:00
Alexander Kuzmenkov
a3c1096fdb
Update run-fuzzer.sh 2021-03-17 21:59:03 +03:00
Alexander Kuzmenkov
5dcddbd468
boop 2021-03-17 19:52:50 +03:00
kssenii
34dea63248 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge 2021-03-17 13:32:43 +00:00
Nikita Mikhaylov
f51b41b7a4
Merge pull request #21710 from kssenii/replica-priorities
Support replicas priority for postgres dictionary source
2021-03-17 16:02:00 +03:00
Alexander Tokmakov
ff79be8af9 fix 2021-03-16 23:01:20 +03:00
Alexander Tokmakov
2d34bbb4b2 Merge branch 'master' into test_multiple_nodes 2021-03-16 21:29:26 +03:00
Alexander Tokmakov
735acf27d8 try run stateful tests 2021-03-16 19:39:31 +03:00
alexey-milovidov
65d46b54fa
Merge pull request #21673 from vzakaznikov/update_testflows_to_1.6.74
Updating TestFlows to 1.6.74
2021-03-15 22:36:27 +03:00
Alexander Kuzmenkov
a78b234a6d fixes 2021-03-15 21:45:57 +03:00
Alexander Tokmakov
ab07b3b516 Merge branch 'distributed_ddl_improvements' into test_multiple_nodes 2021-03-15 21:22:24 +03:00
Alexander Kuzmenkov
dec1e9eb6f make the fuzzer use sources from the CI 2021-03-15 19:40:48 +03:00
Alexander Tokmakov
d7c43291b1 improve hung check in stress test 2021-03-15 17:23:04 +03:00
kssenii
bd38a7a021 Fix tests 2021-03-15 06:37:07 +00:00
kssenii
8688ae9346 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge 2021-03-14 19:32:21 +00:00
kssenii
8eea6a87e9 Support replicas priority for postgres dictionary source 2021-03-14 08:51:24 +00: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
Vitaliy Zakaznikov
3269e1d331 Updating TestFlows to 1.6.74 2021-03-12 12:32:32 -05:00
tavplubix
a10c4c9ded
Update Dockerfile 2021-03-12 18:26:35 +03:00
kssenii
571590fcfb Update tests, dockerfile 2021-03-12 09:20:18 +00:00
tavplubix
2acbfd834a
Merge branch 'master' into stress_test_results 2021-03-12 12:11:33 +03:00
kssenii
9e0101e5fc Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge 2021-03-12 07:47:22 +00:00
kssenii
fd4a19bbf8 Update dockerfile and config.d 2021-03-11 21:21:14 +00:00
Vitaliy Zakaznikov
7a26707dbf Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into testflows_use_yandex_docker_repo 2021-03-10 07:17:27 -05:00
Maksim Kita
43ba554191
Merge pull request #20595 from kitaisreal/cache-dictionaries-lru-cache
Cache dictionaries lru cache
2021-03-09 19:14:30 +03:00
Vitaliy Zakaznikov
d261777060 Updating docker/test/testflows/runner/dockerd-entrypoint.sh
to configure to use Yandex dockerhub-proxy.
2021-03-09 06:53:14 -05:00
alesapin
b2c12f3762 Upload coordination log after stress test 2021-03-07 17:44:30 +03:00
alesapin
ef192ec310 Merge branch 'master' into persistent_nukeeper_snapshot_storage 2021-03-07 10:31:06 +03:00
Nikolai Kochetov
47d684a5c3
Merge pull request #21442 from traceon/row-policy-with-prewhere-perf-test-fix
Adjust prewhere_with_row_level_filter performance test
2021-03-06 22:59:00 +03:00
robot-clickhouse
4e61f45dbb Auto version update to [21.4.1.1] [54449] 2021-03-06 14:43:30 +03:00
Maksim Kita
1628c9b6c4 Fix fast test 2021-03-06 14:36:37 +03:00
Denis Glazachev
6f4e883d8d Factor out settings
Enable parallel insert select
Reduce the amount of data to process
2021-03-06 15:09:45 +04:00
alesapin
652c6cdc50 Merge branch 'master' into persistent_nukeeper_snapshot_storage 2021-03-05 16:14:37 +03:00
Nikolai Kochetov
a195e783d2 Try fix perftests. 2021-03-04 13:25:49 +03:00
alesapin
76e10a4fb1 Missed files for tests 2021-03-03 23:05:33 +03:00
Alexander Kuzmenkov
f169be740a
Merge pull request #21381 from ClickHouse/aku/perf-negative
fix a rare false negative in perf tests
2021-03-03 15:55:14 +03:00
Nikolai Kochetov
019513d869 Try fix perftests. 2021-03-03 13:42:44 +03:00
Alexander Kuzmenkov
08148e062f Fix a rare false negative in perf tests 2021-03-02 19:21:30 +03:00
alexey-milovidov
467fcbec06
Merge pull request #21292 from ClickHouse/extract-text-from-html
Rewrite extractTextFromHTML function
2021-02-28 16:36:18 +03:00
Alexey Milovidov
107d8ec811 Merge branch 'master' into extract-text-from-html 2021-02-28 04:03:32 +03:00
alexey-milovidov
9f0400f015
Merge pull request #21171 from azat/tests-bump-zookeeper
Bump zookeeper version to 3.6.2 in tests
2021-02-28 02:35:58 +03:00
alexey-milovidov
b8fba768e5
Merge pull request #21264 from ClickHouse/fix_zookeeper_update
Fix several bugs with ZooKeeper client
2021-02-28 01:57:04 +03:00
Alexey Milovidov
fd1cf49e92 Rewrite extractTextFromHTML function 2021-02-27 22:22:38 +03:00
Alexander Tokmakov
fb42dec355 fix 2021-02-27 01:20:49 +03:00
Azat Khuzhin
bc1a316b28 Bump zookeeper version to 3.6.2 in tests
3.4.12 was released 1.05.2018
2021-02-26 23:41:43 +03:00
alesapin
a48bb7e3a0 Fix redundant zookeeper reconnect and possibility of multiple zookeeper session for a single ClickHouse server 2021-02-26 22:05:25 +03:00
Alexander Tokmakov
5ee1ec5bed move more code 2021-02-26 15:58:13 +03:00
Alexander Tokmakov
422e083c96 move more code 2021-02-26 14:43:58 +03:00
alesapin
56d9d99d1c Fix style and bayan 2021-02-26 09:59:40 +03:00
Alexander Tokmakov
d46fee0f04 Merge branch 'master' into stress_test_results 2021-02-26 00:24:22 +03:00
alesapin
84102a22e7 Trying to make testkeeper better in single server mode 2021-02-25 23:30:55 +03:00
Alexander Tokmakov
fbbb0c4b69 fix 2021-02-25 19:11:43 +03:00
Alexander Tokmakov
3632c1d879 add flacky check runner 2021-02-24 19:41:44 +03:00
alesapin
5b888e1193 Merge branch 'master' into persistent_nukeeper_log_storage 2021-02-22 23:52:26 +03:00
tavplubix
72b67c07c4
trigger CI 2021-02-22 17:43:06 +03:00
Alexander Tokmakov
487b162343 fix 2021-02-22 16:53:43 +03:00
Azat Khuzhin
91c4ebaf0b Merge remote-tracking branch 'upstream/master' into yamllint 2021-02-22 08:52:54 +03:00
alexey-milovidov
e1c4ba0169
Merge pull request #21016 from azat/integration-test_materialize_mysql_database
Preserve mysql logs in test_materialize_mysql_database
2021-02-21 22:28:19 +03:00
Azat Khuzhin
9a26409147 Fix performance tests (by avoid sharding status file for right and left server)
Since cp -al (hard links):

    2021.02.21 01:09:09.991771 [ 243 ] {} <Information> StatusFile: Status file right/db/status already exists - unclean restart. Contents:
    PID: 241
    Started at: 2021-02-21 01:09:09
    Revision: 54448

    2021.02.21 01:09:09.992007 [ 243 ] {} <Error> Application: DB::Exception: Cannot lock file right/db/status. Another server instance in same directory is already running.
2021-02-21 10:56:48 +03:00
Azat Khuzhin
e922690453 Fix yamllint issues 2021-02-20 23:25:21 +03:00
Alexander Tokmakov
eaed15b5e1 process result of func and unit tests 2021-02-20 23:04:24 +03:00
Azat Khuzhin
e1bc8bb587 Wrap lines in Dockerfile for style image 2021-02-20 22:20:52 +03:00
Azat Khuzhin
d909adc8b9 Add yamllint into style docker image 2021-02-20 22:20:52 +03:00
Azat Khuzhin
4784d09d17 tests/integration: increase verbosity for test_materialize_mysql_database 2021-02-20 22:09:01 +03:00
Azat Khuzhin
6873ad1983 tests/integration: fix yamllint issues in docker-compose.yaml for mysql 2021-02-20 22:09:01 +03:00
tavplubix
a697b578bc
Merge pull request #16193 from ClickHouse/database_replicated
DatabaseReplicated: continuation of #10485
2021-02-20 19:39:34 +03:00
Alexander Tokmakov
6d9990f378 Merge branch 'stress_test_results' of https://github.com/ClickHouse/ClickHouse into stress_test_results 2021-02-20 19:28:36 +03:00
Alexander Tokmakov
694d89ad81 fix 2021-02-20 19:27:04 +03:00
Alexander Tokmakov
b62a29728f Merge branch 'master' into stress_test_results 2021-02-20 16:22:43 +03:00
Alexander Tokmakov
863c099254 fix 2021-02-20 15:57:07 +03:00
alesapin
c61769311e Merge branch 'master' into persistent_nukeeper_log_storage 2021-02-20 10:22:22 +03:00
alesapin
a860e3e758
Merge pull request #20864 from azat/fasttest-backtrace-on-failure
Improve backtrace catching on server failures in CI for fast-tests
2021-02-20 10:20:56 +03:00
tavplubix
f5fc082ed0
Update run.sh 2021-02-19 22:39:42 +03:00
tavplubix
3509fe88d8
Merge pull request #20878 from ClickHouse/fix_18926
Fix COM_FIELD_LIST response in MySQL protocol
2021-02-19 19:25:54 +03:00
Alexander Tokmakov
033f55f498 fix 2021-02-19 17:38:20 +03:00
alexey-milovidov
ceacae4ee4
Merge pull request #20462 from azat/stress-backtrace-on-failure
Improve backtrace catching on server failures in CI for stress tests
2021-02-19 17:33:29 +03:00
alesapin
068c9cfbf7 Fix logs level 2021-02-19 17:13:29 +03:00
alesapin
ea27c3ca32 Add gdb to fasttest image 2021-02-19 16:41:46 +03:00
kssenii
1c5b10de41 Use fixed version for aerospike 2021-02-19 10:42:25 +00:00
Alexander Tokmakov
4493c39bf7 fix 2021-02-19 12:57:09 +03:00
Alexander Tokmakov
afed8a8192 process stress test results 2021-02-19 01:08:44 +03:00
Alexander Tokmakov
8097532cb7 Merge branch 'master' into database_replicated 2021-02-18 17:42:06 +03:00
Alexander Tokmakov
1bad1e3a7c fix dockerfile 2021-02-18 17:37:51 +03:00
Alexander Tokmakov
97f4c457ec fix MySQL COMM_FIELD_LIST response 2021-02-18 16:27:51 +03:00
alesapin
1245710aed Merge branch 'master' into persistent_nukeeper_log_storage 2021-02-18 15:27:01 +03:00
zlx19950903
c92e613b82
Add a function htmlOrXmlCoarseParse to extract content from html or xml format string. (#19600)
* add html and xml coarse parse

* add test file

* add conditional check: hyperscan

* fix style error

* add conditional check

* bug fix

* delete unit

* typos check fix

* add unit test

* style check fix

* fix build error: case style

* acradis_skip test fix

* LINT error fix

* Remove comments

Co-authored-by: guojiantao <guojiantao15@mails.ucas.ac.cn>
Co-authored-by: Ivan <5627721+abyss7@users.noreply.github.com>
Co-authored-by: Ivan Lezhankin <ilezhankin@yandex-team.ru>
2021-02-18 15:05:55 +03:00
alesapin
abe5d9df1e
Merge pull request #20627 from ClickHouse/fix_fast_test_retry
Fix fasttest retry for failed tests
2021-02-18 11:41:21 +03:00
Vitaly Baranov
3cbb325913
Merge pull request #20506 from vitlibar/refactor-protobuf-format-io
Improved serialization in Protobuf format.
2021-02-18 11:31:37 +03:00
Azat Khuzhin
ee18f6a7ec test/fasttest: collect diagnosis by attaching with gdb in background
Otherwise sometimes stacktraces may be lost [1]:

  [1]: https://clickhouse-test-reports.s3.yandex.net/20477/8ad20fcee5aaa642c2a2dd873d02103692d554f4/fast_test.html#fail1
2021-02-18 00:14:00 +03:00
Azat Khuzhin
65f2b6a044 test/fasttest: add gdb into docker image 2021-02-18 00:14:00 +03:00
Azat Khuzhin
770c3406df test/stress: fix permissions for clickhouse directories 2021-02-18 00:13:03 +03:00
Azat Khuzhin
63eff6e8c8 test/stress: improve backtrace catching on server failures
Otherwise sometimes stracktraces may be lost [1]:

  [1]: https://clickhouse-test-reports.s3.yandex.net/19580/6aecb62416ece880cbb8ee3a803e14d841388dde/stress_test_(thread).html#fail1
2021-02-18 00:13:03 +03:00
Azat Khuzhin
f483cd091a test/stress: use clickhouse builtin start/stop to run server from the same user
This will allow to attach with gdb for better diagnosis.
2021-02-18 00:13:03 +03:00