Azat Khuzhin
985e8ee061
clickhouse-test: fix shared list object (by fixing manager lifetime)
...
Right now it is possible to get the following error:
Having 20 errors! 0 tests passed. 0 tests skipped. 57.37 s elapsed (MainProcess).
Won't run stateful tests because test data wasn't loaded.
Traceback (most recent call last):
File "/usr/lib/python3.9/multiprocessing/managers.py", line 802, in _callmethod
conn = self._tls.connection
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/ch/clickhouse/.cmake/../tests/clickhouse-test", line 1462, in <module>
main(args)
File "/src/ch/clickhouse/.cmake/../tests/clickhouse-test", line 1261, in main
if len(restarted_tests) > 0:
File "<string>", line 2, in __len__
File "/usr/lib/python3.9/multiprocessing/managers.py", line 806, in _callmethod
self._connect()
File "/usr/lib/python3.9/multiprocessing/managers.py", line 793, in _connect
conn = self._Client(self._token.address, authkey=self._authkey)
File "/usr/lib/python3.9/multiprocessing/connection.py", line 507, in Client
c = SocketClient(address)
File "/usr/lib/python3.9/multiprocessing/connection.py", line 635, in SocketClient
s.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused
The reason behind this is that manager's thread got terminated:
ipdb> p restarted_tests._manager._process
<ForkProcess name='SyncManager-1' pid=25125 parent=24939 stopped exitcode=-SIGTERM>
Refs: #29259 (cc: @vdimir)
Follow-up for: #29197 (cc: @tavplubix)
2021-09-27 21:10:59 +03:00
tavplubix
e9749b0027
Merge pull request #29323 from ClickHouse/fix_assertion_ddl_dependency
...
Fix assertion in DDLDependencyVisitor
2021-09-27 18:06:32 +03:00
alesapin
ddd80c8e72
Merge pull request #29264 from Enmk/governance/table_comment_update
...
Implemented modifying table comments with `ALTER TABLE t MODIFY COMMENT 'value'`
2021-09-27 18:02:14 +03:00
Nikita Mikhaylov
3741b8a17e
Merge pull request #29337 from amosbird/projection-fix18
...
Fix projection merges and mutations.
2021-09-27 13:45:13 +03:00
tavplubix
1c9778603f
Update clickhouse-test
2021-09-27 11:43:00 +03:00
Maksim Kita
f7aed5aab8
Merge pull request #29393 from azat/rocksdb-fix-data-race
...
rocksdb: fix race condition during multiple DB opening
2021-09-27 11:32:59 +03:00
Nikolai Kochetov
841ef13dee
Merge pull request #29338 from ClickHouse/less-sleeps-in-integratin-tests
...
Less sleeps in integration tests.
2021-09-27 10:35:31 +03:00
alexey-milovidov
5a7f30171a
Merge pull request #29355 from ClickHouse/remove-trash-db-regexp
...
Fix assert in table function `merge` with database regexp
2021-09-27 05:50:13 +03:00
alexey-milovidov
3609d4adad
Merge pull request #29164 from azat/test_send_crash_reports-fix
...
test_send_crash_reports: suppress Fatal messages check (due to explicit SIGSEGV)
2021-09-27 03:54:10 +03:00
alexey-milovidov
319e0c1f91
Merge pull request #29229 from azat/send-UNKNOWN_DATABASE-to-client
...
Send UNKNOWN_DATABASE to the client (via TCP)
2021-09-27 02:46:01 +03:00
Alexey Milovidov
8493b014cd
Improve test
2021-09-27 02:16:58 +03:00
Alexey Milovidov
16f0f0af7f
Merge remote-tracking branch 'origin/master' into remove-trash-db-regexp
2021-09-27 02:12:13 +03:00
alexey-milovidov
1c1e2e6b28
Merge pull request #29289 from vdimir/issue-29227-rocksdb-truncate
...
Fix race in StorageSystemRocksDB
2021-09-27 01:55:07 +03:00
Azat Khuzhin
b3d1bfc67a
Send UNKNOWN_DATABASE to the client (via TCP)
...
Before this patch:
$ clickhouse-client --database foo -q 'select 1'
Code: 32. DB::Exception: Attempt to read after eof: while receiving packet from localhost:9000. (ATTEMPT_TO_READ_AFTER_EOF)
After:
$ clickhouse-client --database foo -q 'select 1'
Received exception from server (version 21.11.1):
Code: 81. DB::Exception: Received from localhost:9000. DB::Exception: Database foo doesn't exist. (UNKNOWN_DATABASE)
(query: select 1)
Fixes : #26864 (cc @vitlibar)
2021-09-26 23:45:29 +03:00
alexey-milovidov
aa48698613
Merge pull request #29368 from bharatnc/ncb/fix-name-h3isResClassIII
...
Fix H3 function name (h3ResIsClassIII to h3IsResClassIII)
2021-09-26 20:36:36 +03:00
Nikolai Kochetov
3c9e6a04bf
A little bit better
2021-09-26 18:06:32 +03:00
Anton Popov
01757a85a7
temporarily fix tests
2021-09-26 14:59:39 +03:00
Anton Popov
332a2ac990
temporarily fix tests
2021-09-26 14:58:55 +03:00
Azat Khuzhin
ad1e9e42fc
Restore test_rocksdb_options::test_table_invalid_column_family_options test
...
This reverts commit e40a13bd1f
.
2021-09-26 08:24:22 +03:00
Azat Khuzhin
d9e3419197
Restore test_rocksdb_options::test_invalid_column_family_options test
...
This reverts commit 1881c67eff
.
2021-09-26 08:24:18 +03:00
alexey-milovidov
07eef92c16
Merge pull request #29364 from azat/benchmark-fix-query_id
...
Pass through initial query_id for clickhouse-benchmark
2021-09-26 03:27:27 +03:00
mergify[bot]
15e5204a7c
Merge branch 'master' into issue-29227-rocksdb-truncate
2021-09-26 00:10:30 +00:00
alexey-milovidov
0bd962630e
Merge pull request #29341 from ClickHouse/fix-rocksdb-test
...
Fix integration test for RocksDB
2021-09-26 01:06:55 +03:00
alexey-milovidov
6107e262aa
Merge pull request #29361 from ClickHouse/remove-useless-files
...
Remove useless files related to pytest
2021-09-26 01:06:20 +03:00
alexey-milovidov
9261498e2b
Merge pull request #29375 from azat/tests-purge-unused-conf
...
RFC: tests: purge unused configs
2021-09-26 00:29:40 +03:00
bharatnc
cd17849607
fix test - rename reference file
2021-09-25 13:11:23 -07:00
Azat Khuzhin
7ec4f3339f
tests: purge unused configs
2021-09-25 21:04:40 +03:00
bharatnc
59dfc87113
Merge remote-tracking branch 'upstream/master' into ncb/fix-name-h3isResClassIII
2021-09-25 10:19:00 -07:00
bharatnc
79473f2edc
Fix tests
2021-09-25 10:13:42 -07:00
alexey-milovidov
e40a13bd1f
Remove trash
2021-09-25 19:47:29 +03:00
alexey-milovidov
87d9506bb0
Merge pull request #29348 from ClickHouse/remove-nth-value
...
Remove window function 'nth_value'
2021-09-25 19:43:02 +03:00
mergify[bot]
4bfc82d00e
Merge branch 'master' into remove-useless-files
2021-09-25 16:41:03 +00:00
alexey-milovidov
7eddf2664e
Merge pull request #29362 from ClickHouse/remove-obsolete-non-automated-tests
...
Remove obsolete non-automated tests
2021-09-25 19:40:03 +03:00
Azat Khuzhin
fb584715e1
Pass through initial query_id for clickhouse-benchmark
2021-09-25 18:05:55 +03:00
Amos Bird
3022092a36
Make long test no parallel
2021-09-25 16:16:43 +08:00
Kseniia Sumarokova
9f1dea9acb
Merge pull request #29325 from lingtaolf/feature/add-query-option
...
Clickhouse-format support option '--query'
2021-09-25 11:02:23 +03:00
Alexey Milovidov
29feb3309b
Remove obsolete non-automated tests
2021-09-25 07:09:41 +03:00
Alexey Milovidov
eaba6a7f59
Remove useless files related to pytest
2021-09-25 07:02:05 +03:00
Alexey Milovidov
fe44be522e
Fix assert in table function merge
with database regexp
2021-09-25 05:48:24 +03:00
alexey-milovidov
1881c67eff
Remove trash
2021-09-25 04:44:06 +03:00
Alexey Milovidov
06fc466438
Remove window function 'nth_value'
2021-09-25 04:39:38 +03:00
Anton Popov
7628273df4
Merge pull request #29266 from CurtizJ/normalize-asts
...
Normalize ASTs in ColumnsDescription
2021-09-25 04:01:54 +03:00
Alexey Milovidov
2b2bec3679
Make some changes to Python code that I don't understand
2021-09-25 02:04:53 +03:00
Maksim Kita
830eae6d1f
Merge pull request #29310 from kitaisreal/parser-number-binary-literal-update
...
Parser number binary literal update
2021-09-25 01:35:22 +03:00
凌涛
08983e432b
clickhouse-format support option --query
2021-09-25 00:34:33 +08:00
Nikolai Kochetov
48bdabbc26
Less sleeps in integration tests.
2021-09-24 18:25:19 +03:00
Amos Bird
23d3d894e6
Fix projection merges and mutations.
2021-09-24 22:45:50 +08:00
alesapin
3614fb9e37
Merge pull request #29223 from ClickHouse/compressed_logs
...
Compressed logs for keeper
2021-09-24 16:03:26 +03:00
Vladimir C
908ae1dc12
Merge pull request #29075 from vdimir/quantile-overflow
2021-09-24 15:03:15 +03:00
Alexander Tokmakov
165765659d
fix assertion in DDLDependencyVisitor
2021-09-24 13:22:22 +03:00