Skip to content

Commit 4d7700e

Browse files
committed
Merge branch 'main' into 11005-local-kafka-api
2 parents 410f2db + e7cb027 commit 4d7700e

File tree

12,132 files changed

+227207
-1992150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,132 files changed

+227207
-1992150
lines changed

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
/ydb/library/yql/providers/pq @ydb-platform/fq
2828
/ydb/library/yql/providers/s3 @ydb-platform/fq
2929
/ydb/library/yql/providers/solomon @ydb-platform/fq
30+
/ydb/library/yql/tests/sql/solomon @ydb-platform/fq
31+
/ydb/library/yql/tests/sql/suites/solomon @ydb-platform/fq
3032
/ydb/library/yql/udfs/common/clickhouse/client @ydb-platform/fq
3133

3234
/ydb/library/yql/yt @Krock21 @Krisha11 @zlobober @gritukan
@@ -47,3 +49,6 @@
4749
/ydb/core/formats/arrow @ydb-platform/cs
4850
/ydb/core/tx/columnshard @ydb-platform/cs
4951

52+
/ydb/apps/ydb @ydb-platform/cli
53+
/ydb/public/lib/ydb_cli @ydb-platform/cli
54+

.github/config/mute_rules.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,60 @@ Open the [Flaky](https://datalens.yandex/4un3zdm0zcnyr) dashboard.
8989
- If the `summary:` column shows `mute <= 3` and `success rate >= 98%` - **it's time to enable the test**.
9090
- Perform steps from [How to Unmute](#how-to-unmute)
9191
- You are awesome!
92+
93+
### Unmute stable and flaky tests automaticaly
94+
95+
96+
**setup**
97+
1) ```pip install PyGithub```
98+
2) request git token
99+
```
100+
# Github api (personal access token (classic)) token shoud have permitions to
101+
# repo
102+
# - repo:status
103+
# - repo_deployment
104+
# - public_repo
105+
# admin:org
106+
# project
107+
```
108+
3) save it to env `export GITHUB_TOKEN=<token>
109+
4) save to env `export CI_YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS=<iam_cloud_file>
110+
111+
**How to use**
112+
113+
0) *update your branch* - you shoud have last version of muted_ya localy
114+
1) Run instance https://github.com/ydb-platform/ydb/actions/workflows/collect_analytics.yml
115+
2) wait till end of step `Collect all test monitor (how long tests in state)` (about 7 min)
116+
3) run `create_new_muted_ya.py update_muted_ya` - it creates bunch of files in `%repo_path%/mute_update/`
117+
118+
| File Name | Description |
119+
|----------------------------------------|-------------------------------------------------------------------------------------------------|
120+
| deleted.txt | Tests what look like deleted (no runs 28 days in a row) |
121+
| deleted_debug.txt | With detailed info |
122+
| flaky.txt | Tests which are flaky today AND total runs > 3 AND fail_count > 2 |
123+
| flaky_debug.txt | With detailed info |
124+
| muted_stable.txt | Muted tests which are stable for the last 14 days |
125+
| muted_stable_debug.txt | With detailed info |
126+
| new_muted_ya.txt | Muted_ya.txt version with excluded **muted_stable** and **deleted** tests |
127+
| new_muted_ya_debug.txt | With detailed info |
128+
| new_muted_ya_with_flaky.txt | Muted_ya.txt version with excluded **muted_stable** and **deleted** tests and included **flaky**|
129+
| new_muted_ya_with_flaky_debug.txt | With detailed info |
130+
|muted_ya_sorted.txt| original muted_ya with resolved wildcards for real tests (not chunks)|
131+
|muted_ya_sorted_debug.txt| With detailed info|
132+
133+
134+
**1. Unmute Stable**
135+
1) replace content of [muted_ya](https://github.com/ydb-platform/ydb/blob/main/.github/config/muted_ya.txt) with content of **new_muted_ya.txt**
136+
2) create new PR and paste in PR Description
137+
- `<Unmuted tests : stable 9 and deleted 0>` from concole output
138+
- content from **muted_stable_debug** and **deleted_debug**
139+
3) Merge
140+
example https://github.com/ydb-platform/ydb/pull/11099
141+
142+
**2. Mute Flaky** (AFTER UNMUTE STABLE ONLY)
143+
1) replace content of [muted_ya](https://github.com/ydb-platform/ydb/blob/main/.github/config/muted_ya.txt) with content of **new_muted_ya_with_flaky.txt**
144+
2) create new PR
145+
2) run `create_new_muted_ya.py create_issues` - it creates issue for each flaky test in **flaky.txt**
146+
3) copy from console output text like ' Created issue ...' and paste in PR
147+
4) merge
148+
example https://github.com/ydb-platform/ydb/pull/11101

.github/config/muted_ya.txt

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ydb/core/blobstorage/ut_blobstorage/ut_scrub BlobScrubbing.mirror3dc
88
ydb/core/blobstorage/ut_blobstorage/ut_scrub BlobScrubbing.mirror3of4
99
ydb/core/blobstorage/ut_mirror3of4 Mirror3of4.ReplicationSmall
1010
ydb/core/blobstorage/ut_vdisk TBsVDiskGC.GCPutKeepBarrierSync
11+
ydb/core/blobstorage/ut_vdisk TBsLocalRecovery.WriteRestartReadHugeDecreased
1112
ydb/core/blobstorage/ut_vdisk TBsVDiskManyPutGet.ManyPutRangeGetCompactionIndexOnly
1213
ydb/core/blobstorage/ut_vdisk [*/*] chunk chunk
1314
ydb/core/cms/ut_sentinel_unstable TSentinelUnstableTests.BSControllerCantChangeStatus
@@ -38,7 +39,6 @@ ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleSplits
3839
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleSplitsThenMerges
3940
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleSplitsWithRestartsAfterWait
4041
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleSplitsWithRestartsWhenWait
41-
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.SplitEmpty
4242
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.TableReshardingConsistency64
4343
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.TableReshardingModuloN
4444
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.UpsertWhileSplitTest
@@ -56,7 +56,6 @@ ydb/core/kqp/ut/scheme [*/*]+chunk+chunk
5656
ydb/core/kqp/ut/service KqpService.CloseSessionsWithLoad
5757
ydb/core/kqp/ut/service [*/*] chunk chunk
5858
ydb/core/kqp/ut/service [*/*]+chunk+chunk
59-
ydb/core/mind/hive/ut THiveTest.DrainWithHiveRestart
6059
ydb/core/persqueue/ut TPQTest.TestReadAndDeleteConsumer
6160
ydb/core/persqueue/ut [*/*] chunk chunk
6261
ydb/core/persqueue/ut/ut_with_sdk TopicAutoscaling.CDC_Write
@@ -76,26 +75,24 @@ ydb/library/actors/http/ut sole+chunk+chunk
7675
ydb/library/actors/interconnect/ut_huge_cluster HugeCluster.AllToAll
7776
ydb/library/actors/interconnect/ut_huge_cluster sole chunk chunk
7877
ydb/library/yql/providers/generic/connector/tests/datasource/clickhouse test.py.test_select_positive[primitive_types_non_nullable_NATIVE-dqrun]
79-
ydb/library/yql/providers/generic/connector/tests/datasource/ms_sql_server test.py.test_select_positive[constant-dqrun]
8078
ydb/library/yql/providers/generic/connector/tests/datasource/ms_sql_server test.py.test_select_positive[primitives-dqrun]
8179
ydb/library/yql/providers/generic/connector/tests/datasource/ms_sql_server test.py.test_select_positive[primitives-kqprun]
8280
ydb/library/yql/providers/generic/connector/tests/datasource/mysql test.py.test_select_positive[primitives-dqrun]
8381
ydb/library/yql/providers/generic/connector/tests/datasource/mysql test.py.test_select_positive[primitives-kqprun]
8482
ydb/library/yql/providers/generic/connector/tests/datasource/oracle test.py.test_select_positive[PRIMITIVES-dqrun]
8583
ydb/library/yql/providers/generic/connector/tests/datasource/postgresql test.py.test_select_positive[primitive_types-dqrun]
8684
ydb/library/yql/providers/generic/connector/tests/datasource/ydb test.py.test_select_positive[column_selection_asterisk-dqrun]
87-
ydb/library/yql/providers/generic/connector/tests/datasource/ydb test.py.test_select_positive[primitive_types-kqprun]
8885
ydb/library/yql/providers/generic/connector/tests/join test.py.test_join[join_ch_ch-dqrun]
8986
ydb/library/yql/tests/sql/hybrid_file/part1 test.py.test[in-in_noansi_join--Debug]
9087
ydb/public/sdk/cpp/client/ydb_topic/ut [*/*] chunk chunk
9188
ydb/public/sdk/cpp/client/ydb_topic/ut [*/*]+chunk+chunk
9289
ydb/services/datastreams/ut DataStreams.TestPutRecordsCornerCases
9390
ydb/services/datastreams/ut DataStreams.TestReservedConsumersMetering
9491
ydb/services/datastreams/ut DataStreams.TestReservedStorageMetering
95-
ydb/services/keyvalue/ut KeyValueGRPCService.SimpleConcatUnexistedKey
9692
ydb/services/keyvalue/ut sole chunk chunk
9793
ydb/services/keyvalue/ut sole+chunk+chunk
9894
ydb/services/persqueue_v1/ut TPersQueueTest.DirectReadCleanCache
95+
ydb/services/persqueue_v1/ut TPersQueueTest.DirectReadNotCached
9996
ydb/services/persqueue_v1/ut [*/*] chunk chunk
10097
ydb/services/persqueue_v1/ut [*/*]+chunk+chunk
10198
ydb/services/ydb/sdk_sessions_pool_ut YdbSdkSessionsPool.StressTestSync1
@@ -135,20 +132,16 @@ ydb/tests/fq/yds test_big_state.py.TestBigState.test_gt_8mb[v1]
135132
ydb/tests/fq/yds test_mem_alloc.py.TestMemAlloc.test_hop_alloc[v1]
136133
ydb/tests/fq/yds test_mem_alloc.py.TestMemAlloc.test_join_alloc[v1]
137134
ydb/tests/fq/yds test_recovery.py.TestRecovery.test_ic_disconnection
138-
ydb/tests/fq/yds test_row_dispatcher.py.TestPqRowDispatcher.test_restart_compute_node
139135
ydb/tests/fq/yds test_select_limit_db_id.py.TestSelectLimitWithDbId.test_select_same_with_id[v1-mvp_external_ydb_endpoint0]
140136
ydb/tests/fq/yds test_yds_bindings.py.TestBindings.test_yds_insert[v1]
141137
ydb/tests/fq/yt/kqp_yt_file/part18 test.py.test[pg-join_brackets2-default.txt]
142-
ydb/tests/functional/audit test_auditlog.py.test_dml_requests_arent_logged_when_sid_is_expected
143138
ydb/tests/functional/hive test_drain.py.TestHive.test_drain_on_stop
144139
ydb/tests/functional/kqp/kqp_query_session KqpQuerySession.NoLocalAttach
145140
ydb/tests/functional/rename [test_rename.py */*] chunk chunk
146-
ydb/tests/functional/restarts test_restarts.py.TestRestartSingleBlock42.test_restart_single_node_is_ok
147141
ydb/tests/functional/serializable test.py.test_local
148142
ydb/tests/functional/serverless test_serverless.py.test_database_with_disk_quotas[enable_alter_database_create_hive_first--false]
149143
ydb/tests/functional/serverless test_serverless.py.test_database_with_disk_quotas[enable_alter_database_create_hive_first--true]
150144
ydb/tests/functional/tenants test_dynamic_tenants.py.test_create_and_drop_tenants[enable_alter_database_create_hive_first--false]
151-
ydb/tests/functional/tenants test_dynamic_tenants.py.test_create_and_drop_tenants[enable_alter_database_create_hive_first--true]
152145
ydb/tests/functional/tenants test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--false]
153146
ydb/tests/functional/tenants test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--true]
154147
ydb/tests/functional/tenants test_tenants.py.TestTenants.test_create_drop_create_table3[enable_alter_database_create_hive_first--false]

.github/scripts/analytics/get_mute_issues.py

Lines changed: 0 additions & 226 deletions
This file was deleted.

0 commit comments

Comments
 (0)