Commit Graph

39 Commits

Author SHA1 Message Date
Alexander Tokmakov
472aa12ba3 add some context to stress test failures 2023-02-01 01:25:31 +01:00
Azat Khuzhin
b1b4aaeef6 ci: more robust results parsers
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-29 09:06:03 +01:00
Mikhail f. Shiryaev
db96f9e3db
Rework test_results list/tuple/whatever into class 2023-01-09 12:09:47 +01:00
Alexey Milovidov
05c27f4e15
Merge pull request #44603 from ClickHouse/runlog
Rename `runlog.log` to `run.log` in tests
2022-12-27 15:14:05 +03:00
Alexey Milovidov
6ba360be71 Rename runlog.log to run.log 2022-12-26 16:29:32 +01:00
alesapin
bb77ad8941 Disable BC check 2022-12-25 13:49:01 +01:00
Mikhail f. Shiryaev
9a422974ab
Timeout stress-tests after 2.5 hours 2022-12-14 12:51:35 +01:00
Mikhail f. Shiryaev
e1a9f2976a
Fix stress_check.py typing 2022-11-29 14:12:27 +01:00
Azat Khuzhin
25e3bebd9d Rework core collecting on CI (eliminate gcore usage)
gcore is a gdb command, that internally uses gdb to dump the core.

However with proper configuration of limits (core_dump.size_limit) it
should not be required, althought some issues is possible:
- non standard kernel.core_pattern
- sanitizers

So yes, gcore is more "universal" (you don't need to configure any
`kernel_pattern`), but it is ad-hoc, and it has drawbacks -
**it does not work when gdb fails**. For example gdb may fail with
`Dwarf Error: DW_FORM_strx1 found in non-DWO CU` in case of DWARF-5 [1].

  [1]: https://github.com/ClickHouse/ClickHouse/pull/40772#issuecomment-1236331323.

Let's try to switch to more native way.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-04 22:07:16 +02:00
Azat Khuzhin
4de309718b tests/stress: use --privileged over --cap-add syslog to obtain dmesg
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-19 13:31:05 +02:00
Azat Khuzhin
923e2f22ef tests/stress: fix dmesg reading
After #39939 there is still an error:

    + dmesg -T
    dmesg: read kernel buffer failed: Operation not permitted

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/39939/a1981f21a153810f072af67bb6007dc1f4367c22/stress_test__debug_.html

Since it is not allowed to access dmesg by default,
one of the following is required:

- --cap-add syslog
- --cap-add cap_sys_admin
- --privileged

I decided to use as little capabilities as possible, even though it is
not that important on CI, but it is a rule of thumb.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-13 21:45:09 +02:00
Mikhail f. Shiryaev
b46622cf3c
Don't use envs for static links 2022-08-12 09:46:36 +02:00
Mikhail f. Shiryaev
372481e770
Rework S3Helper a little bit 2022-08-11 15:01:32 +02:00
Mikhail f. Shiryaev
2fb68078e8
Replace S3 URLs by parameter 2022-08-10 15:22:04 +02:00
Yakov Olkhovskiy
1a52fa183d rename Simple Check to Mergeable Check, refactor processing 2022-08-05 10:39:58 -04:00
Vladimir C
2622791b9e
upd 2022-06-01 16:17:17 +02:00
Vladimir C
773eb15afc
Try mound instead of volume docker arg in stress_check 2022-06-01 14:36:51 +02:00
Vladimir C
42feae8940
fix stress_check.py 2022-06-01 10:44:44 +02:00
vdimir
4d336d0228
Get rid of duplicate download_previous_release 2022-05-31 17:50:29 +00:00
alesapin
cf6898d05b Merge branch 'master' into fail_build_check_in_error_status 2022-03-30 11:08:24 +02:00
Nikolai Kochetov
3849e63ab1 Change database 2022-03-29 19:06:50 +00:00
alesapin
ebd72e433d Fail checks in case of errors 2022-03-29 14:41:47 +02:00
Mikhail f. Shiryaev
74c5873be0
Do not upload runlog two times 2022-03-07 14:31:17 +01:00
Mikhail f. Shiryaev
3e852ae461
Apply black to stress tests script 2022-03-07 14:25:06 +01:00
Yatsishin Ilya
bbe2c07a7b remove clickhouse-test deb completely 2022-02-15 12:03:51 +00:00
alesapin
73a593b676
Merge branch 'master' into refactor_ci_tests1 2021-12-15 16:11:28 +03:00
tavplubix
85e53b1b1f
Try fix attaching gdb in tests (#32448)
* attach gdb with sudo

* fix

* Update run.sh
2021-12-10 00:12:45 +03:00
Constantine Peresypkin
7c90d4f8e3 refactor CI tests 2021-12-03 12:22:50 +02:00
alesapin
ec0bfa7bcf Better output for some actions 2021-12-03 11:33:16 +03:00
alesapin
71e6c7e92e Add ability to rerun checks 2021-12-01 17:23:51 +03:00
Mikhail f. Shiryaev
d7cf4f78c3
Create get_event function to read event data 2021-11-29 16:07:18 +01:00
alesapin
308cc722f3 Push tests results to CI database 2021-11-19 17:47:04 +03:00
alesapin
373fda6eb8 More fixes 2021-11-12 15:36:25 +03:00
alesapin
2e6da9ea71 Fixes 2021-11-12 15:13:13 +03:00
alesapin
7a62338b0e Remove moar 2021-11-12 14:39:00 +03:00
alesapin
c1c1985e36 Get rid of build number 2021-11-12 14:07:54 +03:00
alesapin
259c806170 Don't check own run file 2021-11-01 16:27:55 +03:00
alesapin
dbfa17aabf Add correct S3 2021-11-01 13:32:56 +03:00
alesapin
47b717ceff Add stress test to github actions 2021-11-01 13:27:46 +03:00